{"id":18720,"date":"2024-08-07T00:09:16","date_gmt":"2024-08-07T07:09:16","guid":{"rendered":"https:\/\/www.pingcap.com\/?post_type=case-study&#038;p=18720"},"modified":"2024-12-03T00:57:22","modified_gmt":"2024-12-03T08:57:22","slug":"top-150-global-bank-enhances-bank-statement-access-with-tidb","status":"publish","type":"case-study","link":"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/","title":{"rendered":"Top 150 Global Bank Enhances Bank Statement Access with TiDB"},"content":{"rendered":"<p>The client is a leading bank with over 200 branches worldwide dedicated to providing professional and comprehensive financial services. It is proudly ranked within the Top 150 banks by Tier 1 capital on <em>The Banker (TB)<\/em> 2024 global list.\u00a0<\/p>\n\n\n\n<p>With the rapid expansion of electronic channels, customers increasingly demand the convenience and superior experience of detailed transaction history queries. Catering to such personalized needs makes the historical bank statement query service emerge as a key business system server across various customer touch points.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Challenge_Data_Processing_Flexibility_and_Efficiency\"><\/span>The Challenge: Data Processing Flexibility and Efficiency<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The first generation of the historical statement query architecture involved replicating detailed data from the core Oracle accounting system to <a href=\"https:\/\/www.pingcap.com\/ko\/article\/sql-partition-demystified-from-concept-to-implementation\/\">partitioned tables<\/a> within another Oracle cluster. Core interfaces queried the historical statement cluster by date, utilizing existing resources to initiate operations swiftly and meet basic statement query needs.&nbsp;<\/p>\n\n\n\n<p>However, as data volumes surged and business requirements evolved, performance bottlenecks in complex queries emerged, slowing responses under high concurrency. The lack of data preprocessing compromised flexibility and efficiency, creating difficulty in adapting to personalized business scenarios.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Transition to Second-Generation Architecture<\/h3>\n\n\n\n<p>The second-generation architecture shifted to a big data technology stack to resolve these issues. Using offline ETL processes to sync data to a big data platform, Hive aggregated summary and detailed tables before importing data into Elasticsearch and HBase.&nbsp;<\/p>\n\n\n\n<p>Elasticsearch served as a full-text search engine for rapid text information retrieval, while HBase, a <a href=\"https:\/\/www.pingcap.com\/ko\/article\/relational-vs-non-relational-databases-whats-the-difference\/\">NoSQL database<\/a>, stored structured data. Combining Elasticsearch for querying and HBase for storing complete records by keys solved the rapid query challenge for massive data volumes.<\/p>\n\n\n\n<p>Compared to the first-generation architecture, this second-gen system is decoupled from the core. It migrates and further processes core statement data, operating without the limitations of the core framework. It leveraged offline data processing to replace real-time summary calculations and joins in online environments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Challenges Still Exist<\/h3>\n\n\n\n<p>Despite advancements, the second-generation architecture couldn\u2019t handle transaction queries on the same day since it used offline data. Integrating core interfaces to accommodate real-time business requirements necessitated querying current-day data and merging it with T-1 data for real-time responses. Additionally, the big data cluster shared resources with other services, causing potential performance issues due to resource contention, highlighting the need for further optimization.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Solution_Next_Generation_of_Bank_Statement_Query_Architecture\"><\/span>The Solution: Next Generation of Bank Statement Query Architecture<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the latter half of 2023, the bank implemented <a href=\"https:\/\/www.pingcap.com\/ko\/tidb\/\">\ud2f0DB<\/a>, an open-source <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/why-distributed-sql-databases-elevate-modern-app-dev\/\">distributed SQL database<\/a>, to develop a cutting-edge architecture for querying historical bank statements. This new system relies on TiDB\u2019s native distributed database technology. It features an active-active deployment strategy within the same city, utilizing two copies at each of the two central data hubs and four TiKV storage nodes.&nbsp;<\/p>\n\n\n\n<p>This configuration ensures robust synchronization across data centers. The result is a solution offering financial-grade data consistency, zero data loss, high processing speed, and minimal latency, significantly bolstering system availability and scalability for future growth.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"778\" src=\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements.png\" alt=\"Next Generation of Bank Statement Query Architecture\" class=\"wp-image-18721\" srcset=\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements.png 1600w, https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements-300x146.png 300w, https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements-1024x498.png 1024w, https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements-768x373.png 768w, https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements-1536x747.png 1536w, https:\/\/static.pingcap.com\/files\/2024\/08\/06200303\/architecture-for-querying-historical-bank-statements-1440x700.png 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">TiDB Capabilities and Enhancements&nbsp;<\/h3>\n\n\n\n<p><a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/tidb-architecture\">TiDB\u2019s architecture<\/a> supports complex, multi-condition queries that integrate various parameters, such as account numbers, transaction dates, transaction types (debit\/credit), transaction codes, transaction amounts, and serial numbers. This flexibility significantly enriches the customer experience by allowing detailed, tailored transaction history queries.<\/p>\n\n\n\n<p>Moreover, the system provides unified and standardized services for querying historical statement details across all customer interaction channels. This integration enhances the efficiency of business operations and streamlines data handling, making it easier to manage and retrieve historical financial information across the bank\u2019s expansive network.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Results\"><\/span>The Results<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Improved System Performance and Response Times<\/strong>: Utilizing TiDB alongside upgraded Platform-as-a-Service (PaaS) layer capabilities, the average response time for core historical statement query interfaces was reduced from 90 milliseconds to under 50 milliseconds\u2014achieving a performance boost of over 44%.<\/li>\n\n\n\n<li><strong>Extended Query Date Ranges for Mobile Banking Channels<\/strong>: The new system allows for an extended date range for single transaction queries via mobile banking and other channels, supporting spans of up to five years. This enhancement allows customers to access transaction data from the inception of the first-generation core system to the present day, offering greater flexibility and depth in banking services.<\/li>\n\n\n\n<li><strong>High Availability Ensured by Same-City Disaster Recovery<\/strong>: The system\u2019s deployment strategy\u2014spanning two data centers and three applications with fully live data\u2014ensures robust support for continuous business operations. This approach guarantees 24\/7 availability, achieving a continuity rate of 99.99%.<\/li>\n\n\n\n<li><strong>Reduced Application Development Costs<\/strong>: By standardizing application development on SQL, the bank has eliminated the complexities associated with managing multiple heterogeneous data platforms. This simplification has not only lowered technical barriers but also significantly sped up the response cycle to meet business needs more efficiently.<\/li>\n<\/ul>\n\n\n\n<p>TiDB\u2019s innovative distributed database architecture does more than just solve traditional performance and <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/multi-tenant-architecture-enhancing-database-scalability-tidb\/\">scalability<\/a> challenges. It also significantly enhances the user experience by offering fast, flexible, and reliable data query capabilities. By integrating this advanced technology, the bank maintains its position at the forefront of financial services, adeptly meeting the dynamic needs of its customers and ensuring ongoing operational continuity.<\/p>","protected":false},"excerpt":{"rendered":"<p>The client is a leading bank with over 200 branches worldwide dedicated to providing professional and comprehensive financial services. It is proudly ranked within the Top 150 banks by Tier 1 capital on The Banker (TB) 2024 global list.\u00a0 With the rapid expansion of electronic channels, customers increasingly demand the convenience and superior experience of [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":18722,"template":"","tags":[16,11,9,111],"customer":[275],"industry":[184],"class_list":["post-18720","case-study","type-case-study","status-publish","has-post-thumbnail","hentry","tag-distributed-system","tag-real-time-analytics","tag-scalability","tag-tidb","customer-top-150-global-bank","industry-fintech"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB<\/title>\n<meta name=\"description\" content=\"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB\" \/>\n<meta property=\"og:description\" content=\"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\" \/>\n<meta property=\"og:site_name\" content=\"TiDB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/pingcap2015\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-03T08:57:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@PingCAP\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\",\"url\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\",\"name\":\"Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg\",\"datePublished\":\"2024-08-07T07:09:16+00:00\",\"dateModified\":\"2024-12-03T08:57:22+00:00\",\"description\":\"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage\",\"url\":\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg\",\"width\":1500,\"height\":500,\"caption\":\"top 100 global bank\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pingcap.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Case Studies\",\"item\":\"https:\/\/www.pingcap.com\/customers\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Top 150 Global Bank Enhances Bank Statement Access with TiDB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.pingcap.com\/#website\",\"url\":\"https:\/\/www.pingcap.com\/\",\"name\":\"TiDB\",\"description\":\"TiDB | SQL at Scale\",\"publisher\":{\"@id\":\"https:\/\/www.pingcap.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.pingcap.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.pingcap.com\/#organization\",\"name\":\"PingCAP\",\"url\":\"https:\/\/www.pingcap.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png\",\"width\":811,\"height\":232,\"caption\":\"PingCAP\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/pingcap2015\",\"https:\/\/x.com\/PingCAP\",\"https:\/\/linkedin.com\/company\/pingcap\",\"https:\/\/youtube.com\/channel\/UCuq4puT32DzHKT5rU1IZpIA\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB","description":"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/","og_locale":"ko_KR","og_type":"article","og_title":"Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB","og_description":"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.","og_url":"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/","og_site_name":"TiDB","article_publisher":"https:\/\/facebook.com\/pingcap2015","article_modified_time":"2024-12-03T08:57:22+00:00","og_image":[{"width":1500,"height":500,"url":"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@PingCAP","twitter_misc":{"Est. reading time":"4\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/","url":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/","name":"Top 150 Global Bank Enhances Bank Statement Access with TiDB | TiDB","isPartOf":{"@id":"https:\/\/www.pingcap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage"},"image":{"@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg","datePublished":"2024-08-07T07:09:16+00:00","dateModified":"2024-12-03T08:57:22+00:00","description":"Explore how TiDB solves scalability challenges for the bank, and enhances the user experience by offering reliable data query capabilities.","breadcrumb":{"@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#primaryimage","url":"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg","contentUrl":"https:\/\/static.pingcap.com\/files\/2024\/08\/06200408\/bank.jpeg","width":1500,"height":500,"caption":"top 100 global bank"},{"@type":"BreadcrumbList","@id":"https:\/\/www.pingcap.com\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pingcap.com\/"},{"@type":"ListItem","position":2,"name":"Case Studies","item":"https:\/\/www.pingcap.com\/customers\/"},{"@type":"ListItem","position":3,"name":"Top 150 Global Bank Enhances Bank Statement Access with TiDB"}]},{"@type":"WebSite","@id":"https:\/\/www.pingcap.com\/#website","url":"https:\/\/www.pingcap.com\/","name":"\ud2f0DB","description":"TiDB | SQL at Scale","publisher":{"@id":"https:\/\/www.pingcap.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pingcap.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.pingcap.com\/#organization","name":"PingCAP","url":"https:\/\/www.pingcap.com\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/","url":"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png","contentUrl":"https:\/\/static.pingcap.com\/files\/2021\/11\/pingcap-logo.png","width":811,"height":232,"caption":"PingCAP"},"image":{"@id":"https:\/\/www.pingcap.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/pingcap2015","https:\/\/x.com\/PingCAP","https:\/\/linkedin.com\/company\/pingcap","https:\/\/youtube.com\/channel\/UCuq4puT32DzHKT5rU1IZpIA"]}]}},"card_markup":"<div class=\"card-case-study\"><div class=\"card-case-study__image-container\"><img class=\"card-case-study__image\" alt=\"bank-white\" src=\"https:\/\/static.pingcap.com\/files\/2024\/08\/07000609\/bank-white.png\" loading=\"lazy\" width=314 height=313 \/><\/div><span class=\"card-case-study__title\">Top 150 Global Bank Enhances Bank Statement Access with TiDB<\/span><div class=\"card-case-study__button\"><a class=\"button--secondary\" href=\"https:\/\/www.pingcap.com\/ko\/case-study\/top-150-global-bank-enhances-bank-statement-access-with-tidb\/\" target=\"_blank\">View Case Study<\/a><\/div><\/div>","_links":{"self":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/case-study\/18720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/case-study"}],"about":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/types\/case-study"}],"author":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/users\/8"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media\/18722"}],"wp:attachment":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media?parent=18720"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/tags?post=18720"},{"taxonomy":"customer","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/customer?post=18720"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/industry?post=18720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}