{"id":837,"date":"2021-01-14T00:00:00","date_gmt":"2021-01-14T00:00:00","guid":{"rendered":"https:\/\/en.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/"},"modified":"2024-07-16T21:05:19","modified_gmt":"2024-07-17T04:05:19","slug":"no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data","status":"publish","type":"case-study","link":"https:\/\/www.pingcap.com\/ko\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/","title":{"rendered":"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data"},"content":{"rendered":"<p class=\"wp-block-paragraph\">58.com is China&#8217;s leading online marketplace for classifieds covering various categories, such as jobs, real estate, automotive, financing, used goods, and local services. Merchants and consumers can publish their advertisements on our online platform so that they can connect, share information, and conduct business. By the end of 2018, we had more than 500 million users, and our total revenue in 2019 was nearly US $2.23 billion.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As our businesses grew, large amounts of data flooded into our databases. But <strong>standalone MySQL databases couldn&#8217;t store so much data,<\/strong> and MySQL sharding was an undesirable solution. To achieve MySQL high availability, we needed an external tool. <strong>To perform Online Analytical Processing (OLAP), we had to use complicated and tedious extract, transform, load (ETL) jobs.<\/strong> We looked for a scalable, easy-to-maintain, highly available database to solve these issues.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After an investigation, we adopted <a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/overview\">\ud2f0DB<\/a>, an open-source, distributed, Hybrid Transactional\/Analytical Processing (HTAP) database. Now, our production environment has <strong>52 TiDB clusters<\/strong> that <strong>store 160+ TB of data<\/strong>, with <strong>320+ servers<\/strong> running in <strong>15 applications<\/strong>. To maintain such large-scale clusters, we <strong>only need two DBAs<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, we&#8217;ll deep dive into why we migrated from MySQL to TiDB and how we use TiDB to scale out our databases, perform real-time analytics, and achieve high availability.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Our_pain_points\"><\/span>Our pain points<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We stored our private cloud monitoring data in MySQL. Because our data size was huge, we needed to regularly clean our tables. This was a lot of work for our DBAs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When we used MySQL, we encountered these problems:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>A standalone MySQL database has limited capacity.<\/strong> It can&#8217;t store enough data to meet our needs.<\/li>\n\n\n\n<li><strong>Sharding was troublesome.<\/strong> At 58.com, we didn&#8217;t have a middleware team, and our developers needed to operate and maintain sharding scenarios by themselves. After we sharded our database, it took a lot of work to aggregate the data.<\/li>\n\n\n\n<li><strong>To perform OLAP analytics, we must do complex and boring ETL tasks.<\/strong> An ETL process was time-consuming, and this hindered our ability to do real-time data analytics.<\/li>\n\n\n\n<li><strong>To achieve high availability, MySQL relies on an external tool.<\/strong> We used Master High Availability (MHA) to implement MySQL high availability, but it increased our maintenance cost.<\/li>\n\n\n\n<li><strong>In the primary-secondary database framework, MySQL has high latency on the secondary database.<\/strong> When we performed data description language (DDL) operations, high latency occurred in the secondary database. This greatly affected real-time reads.<\/li>\n\n\n\n<li><strong>A standalone MySQL database couldn&#8217;t support large amounts of writes.<\/strong> When our writes in a standalone MySQL database reached about 15,000 rows of data, we encountered a database performance bottleneck.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Therefore, we looked for a new database solution with the following capabilities:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>It has an active community.<\/strong> If its community is not active, when we find issues or bugs, we can&#8217;t get solutions.<\/li>\n\n\n\n<li><strong>It&#8217;s easy to operate and maintain.<\/strong><\/li>\n\n\n\n<li><strong>It can solve our current problems<\/strong>, such as issues brought by sharding and lots of writes and deletes.<\/li>\n\n\n\n<li><strong>It is suitable for many application scenarios and provides multiple solutions.<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_we_chose_TiDB_a_NewSQL_database\"><\/span>Why we chose TiDB, a NewSQL database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/overview\">\ud2f0DB<\/a> is an open-source, cloud-native, distributed SQL database built by <a href=\"https:\/\/www.pingcap.com\/ko\/\">PingCAP<\/a> and its open-source community. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability. It&#8217;s a one-stop solution for both Online Transactional Processing (OLTP) and OLAP workloads. You can learn more about TiDB&#8217;s architecture <a href=\"https:\/\/docs.pingcap.com\/tidb\/v4.0\/architecture\">\uc5ec\uae30<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We adopted TiDB, because it met all our requirements for the database:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>TiDB uses distributed storage, and it can easily scale out.<\/strong> We no longer need to worry that a single machine&#8217;s capacity is limited.<\/li>\n\n\n\n<li><strong>TiDB is highly available.<\/strong> We don&#8217;t need to use an additional high-availability service. So TiDB helps us eliminate extra operation and maintenance costs.<\/li>\n\n\n\n<li><strong>TiDB supports writes from multiple nodes.<\/strong> This prevents a database performance bottleneck when we write about 15,000 rows of data to a single node.<\/li>\n\n\n\n<li><strong>TiDB provides data aggregation solutions for sharding<\/strong>. With TiDB, we no longer need to shard databases.<\/li>\n\n\n\n<li><strong>TiDB has a complete monitoring system.<\/strong> We don&#8217;t need to build our own monitoring software.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_were_using_TiDB_as_an_alternative_to_MySQL\"><\/span>How we&#8217;re using TiDB as an alternative to MySQL<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">So far, we&#8217;ve deployed <strong>52 TiDB clusters<\/strong> in the production environment to <strong>store 160+ TB of data<\/strong>, with <strong>320+ servers<\/strong> running in <strong>15 applications.<\/strong> Our databases have <strong>5.5 billion daily visits<\/strong>. To maintain such large-scale clusters, we <strong>only need two DBAs<\/strong>, and, meanwhile, they&#8217;re also managing MySQL databases.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">TiDB&#8217;s architecture at 58.com<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In a TiDB cluster, our application separates read and write domain names, and the backend uses load balancers to balance read and write loads. By default, a single cluster has four TiDB nodes, one for writes and three for reads. If write performance becomes a bottleneck, we can add TiDB nodes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2021\/11\/tidb-architecture-at-58.com_-1024x508.jpg\" alt=\"\" class=\"wp-image-2713\" srcset=\"https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_-1024x508.jpg 1024w, https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_-300x149.jpg 300w, https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_-768x381.jpg 768w, https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_-1536x762.jpg 1536w, https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_-1440x715.jpg 1440w, https:\/\/static.pingcap.com\/files\/2021\/11\/tidb-architecture-at-58.com_.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">TiDB&#8217;s architecture at 58.com<br><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">From TiDB 2.0 to TiDB 4.0.2<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The following table summarizes how we&#8217;ve used TiDB over the years and how our reliance on TiDB has grown.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Date<\/strong><\/td><td><strong>TiDB version<\/strong><\/td><td><strong>Environment<\/strong><\/td><\/tr><tr><td>April 2018<\/td><td>TiDB 2.0 was introduced in production<\/td><td>\n<ul>\n<li>Migrated our monitoring log to TiDB<\/li>\n<li>About 2,000 visits per second<\/li>\n<li>7 TB\u20138 TB of data<\/li>\n<\/ul>\n<\/td><\/tr><tr><td>December 2018<\/td><td>Upgraded to TiDB 2.1<\/td><td>Four TiDB clusters in production storing all our private cloud&#8217;s log system data<\/td><\/tr><tr><td>September 2019<\/td><td>Upgraded to TiDB 3.02 in production and test environments<\/td><td>\n<ul>\n<li>80 TiDB physical machines storing 40 TB of data<\/li>\n<li>1 billion daily visits<\/li>\n<li>2,300 MySQL clusters and 11 TiDB clusters<\/li>\n<li>(We gradually migrated from MySQL to TiDB.)<\/li>\n<\/ul>\n<\/td><\/tr><tr><td>September 2020<\/td><td>Upgraded all TiDB clusters to 4.0.2<\/td><td>\n<ul>\n<li>The Technology and Engineering Group (TEG) Payment Management Center (PMC) order statement application is our core business, and we guarantee that not a single row of its data would be lost. It stored 20 TB of data, with 4,000 read queries per second (QPS) and 1,000 write QPS.<\/li>\n<li><strong>It took us only 9 minutes to upgrade our 20 TB cluster!<\/strong><\/li>\n<\/ul>\n<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Our applications running on TiDB<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;re running <strong>242 TiDB databases in 15 applications<\/strong>. To name a few:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>TiDB clusters<\/strong><\/td><td><strong>Applications<\/strong><\/td><td><strong>Application details<\/strong><\/td><td><strong>Detailed information<\/strong><\/td><td><strong>Comment<\/strong><\/td><\/tr><tr><td rowspan=\"3\">TEG<\/td><td>WList management backend and audio configuration<\/td><td>WList is a general-purpose distributed key-list storage platform developed by the 58 Architecture Platform Department<\/td><td>Data size: 6.3 billion rows of data<\/td><td rowspan=\"3\">7.2 TB in the past 6 months, 7 flash memory cards have been damaged in these applications. <br>But <strong>thanks to TiDB\u2019s high availability, they didn\u2019t affect our businesses<\/strong>.<\/td><\/tr><tr><td>WTable management backend<\/td><td>The WTable cluster application accesses monitoring data such as machine CPU, I\/O, and network<\/td><td>Data size: 26.2 billion rows of data<\/td><\/tr><tr><td>Search index<\/td><td>It stores data about user search terms used in the last year<\/td><td>Current data size: 300 million rows of data; <br>Daily increase: 500 thousand to 800 thousand rows of data<\/td><\/tr><tr><td rowspan=\"2\">Anjuke (a real estate information service platform)<\/td><td>Operation log<\/td><td>Operation log<\/td><td>Daily increase: 40 million rows of data<\/td><td><\/td><\/tr><tr><td>Statement log<\/td><td>Statement log<\/td><td>QPS: 10 thousand at peak<br>Disk: 1 TB<\/td><td><\/td><\/tr><tr><td>User growth<\/td><td>58 information<\/td><td>\ub274\uc2a4<\/td><td>Data size: 50 million rows of data<br>Disk: 1 TB<\/td><td><\/td><\/tr><tr><td>Information security<\/td><td>Verification center<\/td><td>Verification center<\/td><td>Daily increase: 1 million rows of data<\/td><td><\/td><\/tr><tr><td>Financial company<\/td><td>The financial real-time data warehouse\u2019s underlying data storage&nbsp;<\/td><td>The financial real-time data warehouse\u2019s underlying data storage<\/td><td>Thousands of tables<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks to TiDB&#8217;s horizontal scalability, high availability, and HTAP capabilities, we could say goodbye to troublesome MySQL sharding and time-consuming ETL. It&#8217;s so easy to scale out our databases and maintain such large-scale clusters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, at 58.com, we use databases including MySQL, Redis, MongoDB, Elasticsearch, and TiDB. We receive about 800 billion visits per day. We have 4,000+ clusters, with 1,500+ physical servers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have any questions or you&#8217;d like to learn more about our experience with TiDB, you can join the <a href=\"https:\/\/slack.tidb.io\/invite?team=tidb-community&amp;channel=everyone&amp;ref=pingcap-blog\">TiDB community on Slack<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This post talks about how TiDB, a highly available MySQL alternative, helps 58.com avoid MySQL sharding, scale out their databases, and simplify their database maintenance.<\/p>","protected":false},"author":95,"featured_media":838,"template":"","tags":[55,10,14,26,11,9],"customer":[80],"industry":[8],"class_list":["post-837","case-study","type-case-study","status-publish","has-post-thumbnail","hentry","tag-high-availability","tag-htap","tag-mysql","tag-no-sharding","tag-real-time-analytics","tag-scalability","customer-58-com","industry-internet"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB<\/title>\n<meta name=\"description\" content=\"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.\" \/>\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\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB\" \/>\n<meta property=\"og:description\" content=\"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pingcap.com\/ko\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/\" \/>\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-07-17T04:05:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.pingcap.com\/files\/2021\/01\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"403\" \/>\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=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data1\" content=\"6\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\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/\",\"url\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/\",\"name\":\"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/static.pingcap.com\\\/files\\\/2021\\\/01\\\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg\",\"datePublished\":\"2021-01-14T00:00:00+00:00\",\"dateModified\":\"2024-07-17T04:05:19+00:00\",\"description\":\"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/#primaryimage\",\"url\":\"https:\\\/\\\/static.pingcap.com\\\/files\\\/2021\\\/01\\\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg\",\"contentUrl\":\"https:\\\/\\\/static.pingcap.com\\\/files\\\/2021\\\/01\\\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg\",\"width\":1200,\"height\":403},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pingcap.com\\\/case-study\\\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\\\/#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\":\"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data\"}]},{\"@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":"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB","description":"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.","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\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/","og_locale":"ko_KR","og_type":"article","og_title":"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB","og_description":"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.","og_url":"https:\/\/www.pingcap.com\/ko\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/","og_site_name":"TiDB","article_publisher":"https:\/\/facebook.com\/pingcap2015","article_modified_time":"2024-07-17T04:05:19+00:00","og_image":[{"width":1200,"height":403,"url":"https:\/\/static.pingcap.com\/files\/2021\/01\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@PingCAP","twitter_misc":{"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"6\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/","url":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/","name":"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data | TiDB","isPartOf":{"@id":"https:\/\/www.pingcap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/#primaryimage"},"image":{"@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2021\/01\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg","datePublished":"2021-01-14T00:00:00+00:00","dateModified":"2024-07-17T04:05:19+00:00","description":"In this post, 58.com will deep dive into why they migrated from MySQL to TiDB with no sharding and how to achieve high availability.","breadcrumb":{"@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/#primaryimage","url":"https:\/\/static.pingcap.com\/files\/2021\/01\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg","contentUrl":"https:\/\/static.pingcap.com\/files\/2021\/01\/no-mysql-sharding-no-etl-scale-out-mysql-alternative.jpg","width":1200,"height":403},{"@type":"BreadcrumbList","@id":"https:\/\/www.pingcap.com\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/#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":"Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data"}]},{"@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=\"58.com\" src=\"https:\/\/static.pingcap.com\/files\/2023\/12\/14202503\/58.com_.png\" loading=\"lazy\" width=123 height=102 \/><\/div><span class=\"card-case-study__title\">Goodbye, MySQL Sharding: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data<\/span><div class=\"card-case-study__button\"><a class=\"button--secondary\" href=\"https:\/\/www.pingcap.com\/ko\/case-study\/no-sharding-no-etl-use-scale-out-mysql-alternative-to-store-160-tb-of-data\/\" target=\"_blank\">View Case Study<\/a><\/div><\/div>","_links":{"self":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/case-study\/837","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\/95"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media\/838"}],"wp:attachment":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media?parent=837"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/tags?post=837"},{"taxonomy":"customer","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/customer?post=837"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/industry?post=837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}