{"id":1107,"date":"2020-08-06T00:00:00","date_gmt":"2020-08-06T00:00:00","guid":{"rendered":"https:\/\/en.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/"},"modified":"2024-08-20T06:57:27","modified_gmt":"2024-08-20T13:57:27","slug":"tidb-4-0-elastic-real-time-htap-database-ready-for-cloud","status":"publish","type":"post","link":"https:\/\/www.pingcap.com\/ko\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/","title":{"rendered":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud"},"content":{"rendered":"<p>TiDB is an open-source, distributed, Hybrid Transactional\/Analytical Processing (HTAP) database built by <a href=\"https:\/\/www.pingcap.com\/ko\/\">PingCAP<\/a> and its open-source community. At TiDB DevCon 2020, the TiDB community&#8217;s annual technical conference, more than 80 developers, TiDB users, and partners online from all over the world shared their first-hand development and practical experience with TiDB. The topics covered finance, telecommunications, e-commerce, logistics, video, information, education, medical care, and many other industries. At the meeting, we showed <a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/release-4.0-ga\">TiDB 4.0<\/a>&#8216;s general availability (GA) technical details and its performance in a production environment. More than 3,000 people signed up to watch the live broadcast and exchanged their ideas in the group.<\/p>\n\n\n\n<p>This post is based on the keynote speech Max Liu, CEO at PingCAP, gave at this conference. <\/p>\n\n\n\n<p>Last year, at TiDB DevCon 2019, we released <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/tidb-3.0-beta-stability-at-scale\/\">TiDB 3.0 Beta<\/a>. Today, at TiDB DevCon 2020, I&#8217;m so excited to show you <a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/release-4.0-ga\">TiDB 4.0 GA<\/a>&#8216;s cutting-edge features and functionalities.<\/p>\n\n\n\n<p>I&#8217;ve always believed that, in this day and age, databases should be more real-time, more flexible, and easier to use. TiDB 4.0, an elastic, cloud-native, real-time HTAP database, is exactly that kind of database, because it provides:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Serverless TiDB<\/li>\n\n\n\n<li>Real-time HTAP<\/li>\n\n\n\n<li>Cloud-native TiDB<\/li>\n<\/ul>\n\n\n\n<p>They are the most exciting and appealing characteristics to TiDB users. They distinguish TiDB from other databases.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Serverless_TiDB\"><\/span>Serverless TiDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Serverless computing is a very important concept in the field of cloud services. If you use a large-scale TiDB cluster, you might want to reduce costs. Now, with serverless capabilities, TiDB 4.0 can automatically scale in or out in Kubernetes based on your application load.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"895\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/serverless-tidb.jpg\" alt=\"Serverless TiDB\" class=\"wp-image-1108\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb-1536x859.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-tidb-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Serverless TiDB<\/div>\n\n\n\n<p>Serverless TiDB brings you these advantages:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Being automatically elastically scalable on the cloud reduces costs.<\/strong> In the past, when you wanted to launch a system, the first task was capacity planning: assessing how many servers you needed. However, even the best plans can be inaccurate in practice. For example, you may have prepared 50 servers, but after the system ran in the production environment for a month, you found that 5 machines were enough. This led to a lot of wasted resources. Now, the entire system can elastically scale in the cloud, ensuring the most efficient use of your database resources.<\/li>\n\n\n\n<li>More importantly, TiDB&#8217;s elastic scaling means that <strong>you never need to provision system resources according to your application&#8217;s peak load<\/strong>. For example, when you have two load peaks in the morning and evening, you provision to peak capacity for 24 hours. But in fact, each peak lasts for only about 2 hours. That is to say, your application peaks are a total of 4 hours but you pay for 24 hours of peak capacity resources. Now with serverless TiDB, you can save resources and costs during off-peak hours. You can save about 70% of the costs, or even more.<\/li>\n<\/ul>\n\n\n\n<p>In addition, TiDB can automatically scale based on your application needs to handle unpredictable workloads. For example, no one knows when a commodity will be hot. If you give the system permission to automatically scale based on the actual situation, this may be &#8220;life-saving&#8221; for a business, since human intervention is often too slow and too late.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"893\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/serverless-scaling.png\" alt=\"Serverless scaling\" class=\"wp-image-1109\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling.png 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling-300x167.png 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling-1024x572.png 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling-768x429.png 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling-1536x857.png 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/serverless-scaling-1440x804.png 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Serverless scaling<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Real-time_HTAP_analytics\"><\/span>Real-time HTAP analytics<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In TiDB 4.0, we introduce <a href=\"https:\/\/docs.pingcap.com\/tidb\/v4.0\/tiflash-overview\">TiFlash<\/a>, an extended analytical engine and columnar store for TiDB. A TiDB database that incorporates TiFlash lets you perform real-time HTAP analytics.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why real-time HTAP analytics?<\/h3>\n\n\n\n<p>In today&#8217;s world, everyone wants everything to be faster and simpler. But if you still use a database in the traditional way to gain insights from large volumes of data, you can&#8217;t meet this &#8220;faster, simpler&#8221; demand. This is because in the traditional way, you need to go through a series of complicated processes to extract the changing information, events, and logs from the database and then analyze the data. In this process, a long delay often occurs. Working with outdated information can mean poor decisions and economic losses.<\/p>\n\n\n\n<p>TiFlash is seamlessly integrated with TiDB, and it inherits TiDB&#8217;s easy-to-maintain characteristics, such as online data definition language (DDL), seamless scalability, and automatic fault tolerance. And TiFlash can be synchronized with the row-store engine automatically in real time.<\/p>\n\n\n\n<p>With TiFlash, TiDB 4.0 can be at least 10 times faster than TiDB 3.0 in scenarios with a large number of complex data analytics, and you never need to worry about data inconsistency. <strong>No matter whether TiFlash processes simple Online Transactional Processing (OLTP) workloads or complex Online Analytical Processing (OLAP) workloads, it always guarantees data consistency and freshness. It also can automatically scale in or out.<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">A case for real-time HTAP analytics<\/h3>\n\n\n\n<p>Now let&#8217;s see an example. Look at the architecture diagram below. Almost all companies with a certain scale of data used this architecture. I know a TiDB user who once built a complex system like this architecture in a scenario with only dozens of TB of data. He did this just to be able to deal with OLTP workloads and make a report query. In this process, he had to connect to Kafka and an extract, transform, load (ETL) tool, reserialize the report query results, and then store the results in a storage system such as HBase. Is there a method to simplify the entire architecture?<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"895\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/a-complex-architecture.jpg\" alt=\"A complex architecture\" class=\"wp-image-1110\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture-1536x859.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/a-complex-architecture-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">A complex architecture<\/div>\n\n\n\n<p>When we recommended TiDB 4.0 to them, they accepted and deployed it in their production environment. As shown in the diagram below, we put TiDB in the middle layer, and the system complexity was greatly reduced.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"894\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-real-time-htap-architecture.jpg\" alt=\"TiDB's real-time HTAP architecture\" class=\"wp-image-1111\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture-1024x572.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture-768x429.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture-1536x858.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-real-time-htap-architecture-1440x805.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB&#8217;s real-time HTAP architecture<\/div>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"899\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-htap-architecture-saves-costs.png\" alt=\"The TiDB HTAP architecture saves costs\" class=\"wp-image-1112\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs.png 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs-300x169.png 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs-1024x575.png 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs-768x432.png 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs-1536x863.png 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-htap-architecture-saves-costs-1440x809.png 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">The TiDB HTAP architecture saves costs<\/div>\n\n\n\n<p>From the user&#8217;s perspective, it doesn&#8217;t matter whether a workload is a long or short query. To save costs, improve development efficiency, and create more value, users just want to get query results as soon as possible and reduce operation complexity as much as possible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Cloud-native_TiDB\"><\/span>Cloud-native TiDB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We&#8217;re thrilled to release the beta version of <a href=\"https:\/\/www.pingcap.com\/ko\/tidb-dedicated\/\">TiDB Cloud<\/a>, the fully-managed TiDB service delivered by <a href=\"https:\/\/www.pingcap.com\/ko\/\">PingCAP<\/a>. TiDB Cloud is the easiest, most economical, and most resilient way to unlock the full power of TiDB in the cloud, allowing the users to deploy and run TiDB clusters with just a few clicks.<\/p>\n\n\n\n<p>Two years ago, we began to develop TiDB Cloud. Today, it can seamlessly &#8220;dance in the cloud.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"897\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-cloud.png\" alt=\"TiDB Cloud\" class=\"wp-image-1113\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud.png 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud-300x168.png 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud-1024x574.png 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud-768x431.png 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud-1536x861.png 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-cloud-1440x807.png 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB Cloud<\/div>\n\n\n\n<p>If you don&#8217;t want to install or maintain TiDB, you can <a href=\"https:\/\/tidbcloud.com\/free-trial\/\">try TiDB Cloud<\/a>. Currently, TiDB Cloud supports two cloud platforms, Amazon Web Services (AWS) and Google Cloud Platform (GCP). If you&#8217;re using AWS or GCP, you can easily use TiDB with just a few clicks. It&#8217;s truly an &#8220;out of the box&#8221; solution. We&#8217;re also developing TiDB Cloud to make it support other cloud platforms.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"898\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/out-of-the-box-tidb-cloud.png\" alt=\"Out-of-the-box TiDB Cloud\" class=\"wp-image-1114\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud.png 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud-300x168.png 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud-1024x575.png 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud-768x431.png 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud-1536x862.png 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/out-of-the-box-tidb-cloud-1440x808.png 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Out-of-the-box TiDB Cloud<\/div>\n\n\n\n<p>In TiDB 4.0, we introduce more than 70 new features. To learn more about them, you can read <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/tidb-4.0-ga-gearing-you-up-for-an-unpredictable-world-with-real-time-htap-database\/\">TiDB 4.0 GA, Gearing You Up for an Unpredictable World with a Real-Time HTAP Database<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TiDB_Dashboard_a_visual_troubleshooting_tool\"><\/span>TiDB Dashboard, a visual troubleshooting tool<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>TiDB 4.0 introduces <a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/dashboard-intro\">TiDB Dashboard<\/a>, a graphical interface with various built-in widgets that let you easily diagnose, monitor, and manage your clusters. In a single interface, you can check a distributed cluster&#8217;s runtime status and manage the cluster.<\/p>\n\n\n\n<p>Even if you&#8217;re an inexperienced DBA, you can solve most cluster problems in the graphical interface. In TiDB Dashboard, you can identify hotspots and slow queries in the system and observe application load. With TiDB Dashboard, you can locate most of your system problems within 10 seconds!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"861\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-dashboard.jpg\" alt=\"TiDB Dashboard\" class=\"wp-image-1115\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard-300x161.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard-1024x551.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard-768x413.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard-1536x827.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-dashboard-1440x775.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB Dashboard<\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TiDB_performance_faster_and_faster\"><\/span>TiDB performance: faster and faster<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Performance is always an &#8220;exciting&#8221; issue. Compared with version 3.0, <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/how-we-improved-tpcc-performance-50-percent-and-tpch-performance-100-percent\/\">TiDB 4.0&#8217;s TPC-C performance improved by about 50%, and TPC-H performance increased by about 100%<\/a>. For aggregate queries, compared with version 3.0, TiDB 4.0&#8217;s performance improved by 10 times\u2014and in many scenarios even more.<\/p>\n\n\n\n<p>These achievements are attributed to contributions from the TiDB open-source community. At the end of 2019, we launched the TiDB Challenge Program, an on-going community effort to bring TiDB to a new level of stability, performance, and usability. A total of 165 participants joined in this campaign, including 23 teams and 122 individual developers. We&#8217;d like to thank them for helping us shape TiDB into a competitive product in the database industry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TiUP_get_a_TiDB_cluster_up_in_only_one_minute\"><\/span>TiUP: get a TiDB cluster up in only one minute<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Some users told us TiDB could be challenging to install. It could take them from several hours to an entire day to deploy the system. Now, this is about to change. TiDB 4.0 introduces <a href=\"https:\/\/docs.pingcap.com\/tidb\/stable\/tiup-overview\">TiUP<\/a>, a component manager that streamlines installing and configuring a TiDB cluster into a few easy commands. With TiUP, you can <a href=\"https:\/\/www.pingcap.com\/ko\/blog\/get-tidb-cluster-up-in-only-one-minute\/\">get your cluster up in just one minute<\/a>! To deploy a 15-node production cluster, it takes only 45 seconds. Whatever your need or experience level, TiUP will get your cluster up and running quickly with a minimal learning curve.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl https:\/\/tiup-mirrors.pingcap.com\/install.sh | sh  &amp;&amp; tiup playground nightly --monitor\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Security_matters\"><\/span>Security matters!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"895\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-security.jpg\" alt=\"TiDB security\" class=\"wp-image-1116\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security-1536x859.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-security-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB security<\/div>\n\n\n\n<p>Not only are more enterprises using TiDB, they are using TiDB in more critical scenarios. There&#8217;s a lot of focus on data security, so we provide security features to meet the security and privacy compliance requirements of each country.<\/p>\n\n\n\n<p>In TiDB clusters (including the ecosystem tools), data is encrypted both in-flight and at-rest. Neither PingCAP nor any other cloud vendor can violate the data privacy or security of TiDB users. When TiDB runs in the cloud, no one can see the database, and no one can intercept the data from the communication process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TiDB_40_is_ready_for_production\"><\/span>TiDB 4.0 is ready for production<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You might wonder: is TiDB 4.0 <em>really<\/em> ready for production? Let&#8217;s see a real-world case.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"896\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-in-zhihu.jpg\" alt=\"TiDB 4.0 in Zhihu\" class=\"wp-image-1117\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu-1536x860.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-in-zhihu-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB 4.0 in Zhihu<\/div>\n\n\n\n<p>Zhihu, which means &#8220;Do you know?&#8221; in classical Chinese, is the Quora of China: a question-and-answer website where all kinds of questions are created, answered, edited, and organized by the community of its users. It is China&#8217;s biggest knowledge sharing platform.<\/p>\n\n\n\n<p>Last year, Zhihu adopted TiDB in their Moneta application (which stores posts users have already read), and they published a <a href=\"https:\/\/www.pingcap.com\/ko\/case-studies\/lesson-learned-from-queries-over-1.3-trillion-rows-of-data-within-milliseconds-of-response-time-at-zhihu\/\">post<\/a> that showed how they kept their query response times at milliseconds levels despite having over 1.3 trillion rows of data.<\/p>\n\n\n\n<p>Recently, Zhihu upgraded to TiDB 4.0. Their cluster has a capacity of 1 PB, and they&#8217;ve stored 471 TB of data in the cluster.<\/p>\n\n\n\n<p>I was shocked when I first saw this, not only because of the data scale, but also shocked and moved by Zhihu&#8217;s confidence in 4.0. <strong>They upgraded to TiDB 4.0 only four days after the GA release.<\/strong> When we saw this, our confidence grew stronger. TiDB not only supports such a large data scale, but more importantly, it has greatly improved the Moneta application&#8217;s computing capability and reduced the system latency.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"896\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/reduced-latency.jpg\" alt=\"Reduced latency\" class=\"wp-image-1118\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency-1536x860.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/reduced-latency-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Reduced latency<\/div>\n\n\n\n<p>As we can see in these diagrams, compared with TiDB 3.0, TiDB 4.0 has reduced latency by 40%. In other words, if Zhihu maintains the same latency as before, they can reduce their costs by 40%.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_is_TiDB_so_popular\"><\/span>Why is TiDB so popular?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the last year, we were often asked, &#8220;Why is TiDB so popular?&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1104\" height=\"670\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-stars-on-github.png\" alt=\"The TiDB project's stars on GitHub\" class=\"wp-image-1119\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-stars-on-github.png 1104w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-stars-on-github-300x182.png 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-stars-on-github-1024x621.png 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-stars-on-github-768x466.png 768w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">The TiDB project&#8217;s stars on GitHub<\/div>\n\n\n\n<p>We&#8217;re grateful for the success of TiDB around the world and thrilled that our customers find TiDB so valuable. But the credit doesn&#8217;t entirely belong to PingCAP. We gladly share it with the open-source community. After all, PingCAP is just part of that community. It&#8217;s because of developers around the world\u2014like Square, Azure, and Zoom in the United States and Dailymotion in France\u2014who give us their feedback, file pull requests, and contribute code, that we can shape TiDB into what it is today and build TiDB&#8217;s active open-source community.<\/p>\n\n\n\n<p>When 4.0 was released, we made a word cloud to show the organizations that contribute to TiDB. We discovered that many organizations continually contribute to the TiDB community:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"900\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-contributors-organizations.jpg\" alt=\"TiDB contributors' organizations\" class=\"wp-image-1120\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations-300x169.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations-1024x576.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations-768x432.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations-1536x864.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-contributors-organizations-1440x810.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB contributors&#8217; organizations<\/div>\n\n\n\n<p>At the same time, what surprises me is the community&#8217;s creativity. For example, TiDB Contributor Dongpo Liu visualized the top 100 contributors like this:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"256\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/tidb-top-100-contributors.png\" alt=\"TiDB's top 100 contributors\" class=\"wp-image-1121\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-top-100-contributors.png 512w, https:\/\/static.pingcap.com\/files\/2020\/08\/tidb-top-100-contributors-300x150.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">TiDB&#8217;s top 100 contributors<\/div>\n\n\n\n<p>If you want to learn more about TiDB, you can attend online or offline training courses through <a href=\"https:\/\/www.pingcap.com\/ko\/education\/\">\ud551\ucea1 \ub300\ud559\uad50<\/a>.<\/p>\n\n\n\n<p>You might be ambitious and want to write a distributed database of your own. No problem. Our <a href=\"https:\/\/github.com\/pingcap\/talent-plan\">Talent Plan<\/a> program offers courses in how to build a distributed database&#8217;s computing and storage layers step by step. There will be tutors from all over the world to help you review your code or tasks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Bonus_Chaos_Mesh%C2%AE\"><\/span>Bonus: Chaos Mesh\u00ae<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finally, let&#8217;s talk about our experience in chaos engineering. There is a common understanding in the software field that all foreseeable accidents will eventually occur. We must accept the fact that complex systems are unavoidable, and we must do our best to keep them stable and resilient. Today, the complexity of the entire system is not only limited to the database, but extends to all parts of the business, and ultimately settles in the quality of services the system provides to users.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"828\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/amazon-and-netflix-microservices.jpg\" alt=\"Amazon's and Netflix's microservices\" class=\"wp-image-1122\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices-300x155.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices-1024x530.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices-768x397.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices-1536x795.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/amazon-and-netflix-microservices-1440x745.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Amazon&#8217;s and Netflix&#8217;s microservices<\/div>\n\n\n\n<p>The figure above graphically represents the connections within Amazon&#8217;s and Netflix&#8217;s microservices. These connections are actually much more complicated than spider webs. Therefore, we need a system to simulate all possible faults, let the faults happen continuously, and take precautions to enhance the robustness of the system.<\/p>\n\n\n\n<p>Therefore, when we were developing TiDB, we built a system called <strong><a href=\"https:\/\/github.com\/chaos-mesh\">Chaos Mesh\u00ae<\/a>, a cloud-native Chaos Engineering platform that orchestrates chaos experiments in Kubernetes environments. It features all-around fault injection methods for complex systems in Kubernetes, covering faults in the Pod, the network, the file system, and even the kernel<\/strong>.<\/p>\n\n\n\n<p>For example, Chaos Mesh can simulate a disk failure. In our test environment, if the disk breaks every minute, the network is isolated every minute. Although this situation rarely occurs in reality, if it does, it causes a catastrophic failure.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"896\" src=\"https:\/\/www.pingcap.com\/core\/uploads\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems.jpg\" alt=\"Chaos Mesh\u00ae designed for cloud-native systems\" class=\"wp-image-1123\" srcset=\"https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems.jpg 1600w, https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems-300x168.jpg 300w, https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems-1024x573.jpg 1024w, https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems-768x430.jpg 768w, https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems-1536x860.jpg 1536w, https:\/\/static.pingcap.com\/files\/2020\/08\/chaos-mesh-designed-for-cloud-native-systems-1440x806.jpg 1440w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<div class=\"caption-center\">Chaos Mesh\u00ae designed for cloud-native systems<\/div>\n\n\n\n<p>When we&#8217;re developing TiDB, we use Chaos Mesh to test TiDB. TiDB 4.0 received very good feedback from test users, partly due to Chaos Mesh&#8217;s &#8220;crazy and brutal&#8221; tests on TiDB. We invite you to use Chaos Mesh to test and improve your own systems.<\/p>\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>TiDB is no longer just a database product. It has become the cornerstone of many systems. Before you use it, you can refer to other people&#8217;s <a href=\"https:\/\/www.pingcap.com\/ko\/customers\/\">experiences or solutions<\/a>. We&#8217;ll be posting more articles about TiDB DevCon 2020, so stay tuned.<\/p>\n\n\n\n<p>You&#8217;re welcome to <a href=\"https:\/\/tidbcloud.com\/free-trial\/\">try TiDB<\/a>, join our <a href=\"https:\/\/slack.tidb.io\/invite?team=tidb-community&amp;channel=everyone&amp;ref=pingcap-blog\">community on Slack<\/a>, and send us your feedback.<\/p>","protected":false},"excerpt":{"rendered":"<p>At TiDB DevCon 2020, Max Liu, CEO at PingCAP, gave a keynote speech. He believes that today&#8217;s database should be more flexible, more real-time, and easier to use, and TiDB, an elastic, cloud-native, real-time HTAP database, is exactly that kind of database.<\/p>","protected":false},"author":50,"featured_media":1125,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[13],"tags":[21,85,30,79,10],"class_list":["post-1107","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-chaos-engineering","tag-cloud-native","tag-community-news","tag-devcon","tag-htap"],"acf":[],"featured_image_src":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","author_info":{"display_name":"Max Liu","author_link":"https:\/\/www.pingcap.com\/ko\/blog\/author\/max-liu\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB<\/title>\n<meta name=\"description\" content=\"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.\" \/>\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\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB\" \/>\n<meta property=\"og:description\" content=\"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pingcap.com\/ko\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\" \/>\n<meta property=\"og:site_name\" content=\"TiDB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/pingcap2015\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-06T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-20T13:57:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"534\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Max Liu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@PingCAP\" \/>\n<meta name=\"twitter:site\" content=\"@PingCAP\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Max Liu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\"},\"author\":{\"name\":\"Max Liu\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/7aeccb8936b7f908f923bdd0a6b44be8\"},\"headline\":\"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud\",\"datePublished\":\"2020-08-06T00:00:00+00:00\",\"dateModified\":\"2024-08-20T13:57:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\"},\"wordCount\":2362,\"publisher\":{\"@id\":\"https:\/\/www.pingcap.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\",\"keywords\":[\"Chaos Engineering\",\"Cloud-native\",\"Community News\",\"DevCon\",\"HTAP\"],\"articleSection\":[\"Product\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\",\"url\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\",\"name\":\"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\",\"datePublished\":\"2020-08-06T00:00:00+00:00\",\"dateModified\":\"2024-08-20T13:57:27+00:00\",\"description\":\"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage\",\"url\":\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\",\"width\":1600,\"height\":534},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pingcap.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud\"}]},{\"@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\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/7aeccb8936b7f908f923bdd0a6b44be8\",\"name\":\"Max Liu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/static.pingcap.com\/files\/2022\/10\/17234942\/avatar.jpg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2022\/10\/17234942\/avatar.jpg\",\"caption\":\"Max Liu\"},\"description\":\"Co-Founder &amp; CEO\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/max-liu-0b2390147\/\"],\"url\":\"https:\/\/www.pingcap.com\/ko\/blog\/author\/max-liu\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB","description":"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.","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\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/","og_locale":"ko_KR","og_type":"article","og_title":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB","og_description":"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.","og_url":"https:\/\/www.pingcap.com\/ko\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/","og_site_name":"TiDB","article_publisher":"https:\/\/facebook.com\/pingcap2015","article_published_time":"2020-08-06T00:00:00+00:00","article_modified_time":"2024-08-20T13:57:27+00:00","og_image":[{"width":1600,"height":534,"url":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","type":"image\/jpeg"}],"author":"Max Liu","twitter_card":"summary_large_image","twitter_creator":"@PingCAP","twitter_site":"@PingCAP","twitter_misc":{"Written by":"Max Liu","Est. reading time":"12\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#article","isPartOf":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/"},"author":{"name":"Max Liu","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/7aeccb8936b7f908f923bdd0a6b44be8"},"headline":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud","datePublished":"2020-08-06T00:00:00+00:00","dateModified":"2024-08-20T13:57:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/"},"wordCount":2362,"publisher":{"@id":"https:\/\/www.pingcap.com\/#organization"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","keywords":["Chaos Engineering","Cloud-native","Community News","DevCon","HTAP"],"articleSection":["Product"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/","url":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/","name":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud | TiDB","isPartOf":{"@id":"https:\/\/www.pingcap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","datePublished":"2020-08-06T00:00:00+00:00","dateModified":"2024-08-20T13:57:27+00:00","description":"This post is based on the keynote speech by Max Liu, CEO at PingCAP, gave at TiDB DevCon 2020. TiDB, a cloud-native, real-time HTAP database.","breadcrumb":{"@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#primaryimage","url":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","contentUrl":"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg","width":1600,"height":534},{"@type":"BreadcrumbList","@id":"https:\/\/www.pingcap.com\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pingcap.com\/"},{"@type":"ListItem","position":2,"name":"TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud"}]},{"@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"]},{"@type":"Person","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/7aeccb8936b7f908f923bdd0a6b44be8","name":"Max Liu","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/","url":"https:\/\/static.pingcap.com\/files\/2022\/10\/17234942\/avatar.jpg","contentUrl":"https:\/\/static.pingcap.com\/files\/2022\/10\/17234942\/avatar.jpg","caption":"Max Liu"},"description":"Co-Founder &amp; CEO","sameAs":["https:\/\/www.linkedin.com\/in\/max-liu-0b2390147\/"],"url":"https:\/\/www.pingcap.com\/ko\/blog\/author\/max-liu\/"}]}},"grav_blocks":false,"card_markup":"<a class=\"card-resource bg-white\" href=\"https:\/\/www.pingcap.com\/ko\/blog\/tidb-4-0-elastic-real-time-htap-database-ready-for-cloud\/\"><div class=\"card-resource__image-container\"><img class=\"card-resource__image\" alt=\"cloud-native-distributed-sql-database.jpg\" src=\"https:\/\/static.pingcap.com\/files\/2020\/08\/cloud-native-distributed-sql-database.jpg\" loading=\"lazy\" width=1600 height=534 \/><\/div><div class=\"card-resource__content-container\"><div class=\"card-resource__content-head\"><div class=\"card-resource__category\">Product<\/div><\/div><h5 class=\"card-resource__title\">TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud<\/h5><\/div><\/a>","_links":{"self":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/1107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/users\/50"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/comments?post=1107"}],"version-history":[{"count":8,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/1107\/revisions"}],"predecessor-version":[{"id":18961,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/1107\/revisions\/18961"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media\/1125"}],"wp:attachment":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media?parent=1107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/categories?post=1107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/tags?post=1107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}