{"id":31445,"date":"2026-01-27T11:59:58","date_gmt":"2026-01-27T19:59:58","guid":{"rendered":"https:\/\/www.pingcap.com\/?p=31445"},"modified":"2026-02-09T07:16:22","modified_gmt":"2026-02-09T15:16:22","slug":"seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay","status":"publish","type":"post","link":"https:\/\/www.pingcap.com\/ko\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/","title":{"rendered":"Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay"},"content":{"rendered":"<p>Database upgrades are often a source of &#8220;performance anxiety.&#8221; Even with extensive testing, the gap between a sterile staging environment and the chaotic reality of production\u2014characterized by shifting SQL parameters, bursty concurrency, and complex execution contexts\u2014often leads to unexpected post-upgrade regressions. <\/p>\n\n\n\n<p><strong>Traffic Replay on <a href=\"https:\/\/www.pingcap.com\/ko\/tidb\/cloud\/\">TiDB Cloud<\/a><\/strong>, an internal-only tool currently in development for a wider release, bridges this gap. It allows you to upgrade with production-fidelity confidence by catching execution plan regressions and performance &#8220;cliffs&#8221; before they ever reach your users.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Key Terminology<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CPS (Commands Per Second):<\/strong> The volume of SQL commands executed per second. Replay fidelity is measured by how closely the test CPS matches the production curve.<\/li>\n\n\n\n<li><strong>Prepared Statements &amp; Plan Cache:<\/strong> By preserving statement IDs to 1:1 simulate prepared statements, we ensure <strong>Plan Cache<\/strong> efficiency is accurately modeled.<\/li>\n\n\n\n<li><strong>99% Accuracy:<\/strong> The statistical correlation between production and replay traffic in CPS shape and query mix.<\/li>\n<\/ul>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Problem_with_Traditional_Database_Testing\"><\/span>The Problem with Traditional Database Testing<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Common synthetic benchmarking (client-side simulation) often fails to reflect actual production pressure. Traffic Replay addresses these specific &#8220;fidelity gaps&#8221;:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Feature<\/strong><\/td><td><strong>Synthetic Simulation (Traditional)<\/strong><\/td><td><strong>Traffic Replay (TiDB Cloud)<\/strong><\/td><\/tr><tr><td>Load Patterns<\/td><td>Static: Relies on fixed scripts or simple randomization.<\/td><td>Dynamic: Captures mixed request types and fluctuating frequencies.<\/td><\/tr><tr><td>Data Distribution<\/td><td>Uniform: Often misses hotspots or data skewness.<\/td><td>Authentic: Validates cache and indexing under real-world data skew.<\/td><\/tr><tr><td>Concurrency<\/td><td>Fixed: Linear or static concurrency models.<\/td><td>Real-world: Replicates bursts and interrelated session states.<\/td><\/tr><tr><td>Execution Context<\/td><td>Oversimplified: Often misses session variables or Plan Cache state.<\/td><td>High Fidelity: 1:1 mapping of connections and prepared statements.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_Should_You_Use_TiDB_Cloud_Traffic_Replay\"><\/span>When Should You Use TiDB Cloud Traffic Replay?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If your application meets any of the following criteria, Traffic Replay should be a mandatory step in your maintenance lifecycle:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Major Version Upgrades:<\/strong> Moving across significant architectural changes (e.g., TiDB 6.x to 8.x).<\/li>\n\n\n\n<li><strong>Optimizer Changes:<\/strong> When enabling new features like optimizer enhancements.<\/li>\n\n\n\n<li><strong>High P99\/P999 Sensitivity:<\/strong> For latency-critical applications where even a 5ms regression is unacceptable.<\/li>\n\n\n\n<li><strong>Workload Volatility:<\/strong> For systems with highly bursty traffic or complex query patterns.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_TiDB_Cloud_Traffic_Replay_Works\"><\/span>How TiDB Cloud Traffic Replay Works<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>TiDB Cloud Traffic Replay is an integrated operational workflow, not just a tool.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Storage &amp; Security<\/h3>\n\n\n\n<p>To begin, you must <a href=\"https:\/\/docs.pingcap.com\/tidbcloud\/tidb-cloud-auditing\/\">enable audit logging<\/a> via the web console, which records requests directly to object storage (e.g., S3).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Encryption:<\/strong> Audit logs are stored in encrypted S3 buckets. Data is encrypted in transit via TLS.<\/li>\n\n\n\n<li><strong>Sensitive Data Exclusion: <\/strong>Audit logs contain original SQL statements. To ensure high fidelity, the data is not masked during replay. However, users can manage data privacy at the source: during the recording phase, you can selectively exclude specific databases, tables, or sensitive SQL types.<\/li>\n\n\n\n<li><strong>Retention:<\/strong> Ensure your log retention window covers the &#8220;peak traffic&#8221; period you wish to replay.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2. The Operational Flow<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Environment Setup: <\/strong>Before replaying, create a test cluster and use the TiDB Cloud BR tool to restore production data to this test cluster (usually taking just a few hours). The test cluster size is a trade-off:\n<ul class=\"wp-block-list\">\n<li><strong>1:1 Cluster:<\/strong> For highest fidelity (validating P99 latency and resource contention).<\/li>\n\n\n\n<li><strong>Scaled-down Cluster:<\/strong> For cost-effective directional testing. <em>Note: Expect different absolute latency and hotspot behavior.<\/em><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Inputs:<\/strong> Select the backup snapshot&#8217;s timestamp as the replay&#8217;s starting point. You can manually terminate the session at any time once you have gathered sufficient data.<\/li>\n\n\n\n<li><strong>Execution:<\/strong> The replay tool then begins reading audit logs from that timestamp, parsing them into SQL statements, and executing them on the test cluster. The engine maps production connection IDs 1-to-1 to test connections, preserving transaction states.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image-1024x420.png\" alt=\"TiDB Cloud traffic replay in action.\" class=\"wp-image-31446\" srcset=\"https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image-1024x420.png 1024w, https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image-300x123.png 300w, https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image-768x315.png 768w, https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image-1536x629.png 1536w, https:\/\/static.pingcap.com\/files\/2026\/01\/23080112\/whiteboard_exported_image.png 1928w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">3. Outputs<\/h3>\n\n\n\n<p>Once complete, TiDB Cloud generates a comparison report for efficiently comparing cluster health based on:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Key Metric Diffs:<\/strong> CPS, Latency, and CPU deltas.<\/li>\n\n\n\n<li><strong>Slow Query<\/strong><strong> Diffs:<\/strong> Queries that were fast in production but slow in the new version.<\/li>\n\n\n\n<li><strong>Top <\/strong><strong>SQL<\/strong><strong> Diffs:<\/strong> Queries that consume more CPU resources in the new version.<\/li>\n<\/ul>\n\n\n\n<p>The chart below compares the CPS, component CPU usage, and latency results from a customer&#8217;s pre-upgrade traffic replay:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"483\" src=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27115135\/image-3-1024x483.png\" alt=\"\" class=\"wp-image-31500\" srcset=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27115135\/image-3-1024x483.png 1024w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115135\/image-3-300x142.png 300w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115135\/image-3-768x362.png 768w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115135\/image-3.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>The chart shows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CPS Overlap:<\/strong> The CPS margin of error is within 1%, with the comparison curves nearly overlapping, indicating that the workload fidelity is nearly perfect. We are testing the actual pressure of your business.<\/li>\n\n\n\n<li><strong>P999 Latency:<\/strong> The max P999 latency decreases by more than 20%. The tail latency matters because upgrades often impact complex edge-case queries.<\/li>\n\n\n\n<li><strong>CPU Utilization:<\/strong> The CPU usage of TiDB, TiKV, and TiFlash decreases by more than 10%. You have identified a clear performance gain or cost-saving opportunity.<\/li>\n<\/ul>\n\n\n\n<p>Next, we have a comparison of slow queries and resource-intensive SQL statements:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" src=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27115201\/image-4-1024x256.png\" alt=\"\" class=\"wp-image-31501\" srcset=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27115201\/image-4-1024x256.png 1024w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115201\/image-4-300x75.png 300w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115201\/image-4-768x192.png 768w, https:\/\/static.pingcap.com\/files\/2026\/01\/27115201\/image-4.png 1280w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It is evident that the total number of slow queries decreased significantly, and <strong>optimized SQL statements far outnumbered those that showed regression<\/strong>. For the identified regressions, we can download the details and bind their execution plans to prevent any business impact after the upgrade.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"The_Regression_Playbook_What_if_Things_Go_Wrong\"><\/span>The Regression Playbook: What if Things Go Wrong?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finding a regression is a &#8220;win&#8221;\u2014it means you caught it early. Follow this sequence:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Identify:<\/strong> Locate the specific SQL Digest in the &#8220;Slow Query&#8221; section.<\/li>\n\n\n\n<li><strong>Confirm:<\/strong> Compare execution plans. Is it a stats drift or an optimizer change?<\/li>\n\n\n\n<li><strong>Remediate:<\/strong> Use <strong>SQL<\/strong><strong> Plan Binding<\/strong> to lock in a known &#8220;good&#8221; plan or update statistics.<\/li>\n\n\n\n<li><strong>Validate:<\/strong> Re-run the replay session to ensure the fix holds under production pressure.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Limitations_to_Keep_in_Mind\"><\/span>Limitations to Keep in Mind<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Users should be aware of the following technical constraints inherent in the replay process:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Inter-Connection Temporal Drifts:<\/strong> The absolute temporal alignment between independent sessions may vary, potentially leading to a different global execution order than seen in production.<\/li>\n\n\n\n<li><strong>DML<\/strong><strong> Result Divergence:<\/strong> The results of DML statements may differ from production. For example, if a table uses <strong>Auto-increment columns<\/strong>, the generated IDs in the replay environment may not match those in production due to differences in concurrency timing or environment variables.<\/li>\n<\/ul>\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>By achieving 99% accuracy in workload reproduction, Traffic Replay on TiDB Cloud transforms upgrades from a &#8220;risky event&#8221; into a &#8220;validated routine.&#8221;<\/p>\n\n\n\n<p><em>Ready to secure your next upgrade? Run a 30-minute traffic session from your last peak period, and compare your P999 latency and Top SQL CPU time.<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>Database upgrades are often a source of &#8220;performance anxiety.&#8221; Even with extensive testing, the gap between a sterile staging environment and the chaotic reality of production\u2014characterized by shifting SQL parameters, bursty concurrency, and complex execution contexts\u2014often leads to unexpected post-upgrade regressions. Traffic Replay on TiDB Cloud, an internal-only tool currently in development for a wider [&hellip;]<\/p>\n","protected":false},"author":248,"featured_media":31495,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","footnotes":""},"categories":[13],"tags":[446,444,147,445,31],"class_list":["post-31445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product","tag-benchmarking","tag-database-upgrades","tag-distributed-sql","tag-testing","tag-tidb-cloud"],"acf":[],"featured_image_src":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png","author_info":{"display_name":"Ming Zhang","author_link":"https:\/\/www.pingcap.com\/ko\/blog\/author\/zhang-ming\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TiDB Cloud Traffic Replay: Seamless Production Upgrades<\/title>\n<meta name=\"description\" content=\"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.\" \/>\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\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TiDB Cloud Traffic Replay: Seamless Production Upgrades\" \/>\n<meta property=\"og:description\" content=\"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pingcap.com\/ko\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\" \/>\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=\"2026-01-27T19:59:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-09T15:16:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114749\/tidb_1200x627-2-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1254\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ming Zhang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114802\/tidb_twitter_1600x900-3-2.png\" \/>\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=\"Ming Zhang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\"},\"author\":{\"name\":\"Ming Zhang\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/a55cf922e1711d8b320299945d1994f7\"},\"headline\":\"Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay\",\"datePublished\":\"2026-01-27T19:59:58+00:00\",\"dateModified\":\"2026-02-09T15:16:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\"},\"wordCount\":997,\"publisher\":{\"@id\":\"https:\/\/www.pingcap.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png\",\"keywords\":[\"Benchmarking\",\"Database Upgrades\",\"Distributed SQL\",\"Testing\",\"TiDB Cloud\"],\"articleSection\":[\"Product\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\",\"url\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\",\"name\":\"TiDB Cloud Traffic Replay: Seamless Production Upgrades\",\"isPartOf\":{\"@id\":\"https:\/\/www.pingcap.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png\",\"datePublished\":\"2026-01-27T19:59:58+00:00\",\"dateModified\":\"2026-02-09T15:16:22+00:00\",\"description\":\"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage\",\"url\":\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png\",\"width\":3600,\"height\":1200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.pingcap.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay\"}]},{\"@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\/a55cf922e1711d8b320299945d1994f7\",\"name\":\"Ming Zhang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/static.pingcap.com\/files\/2023\/09\/28005238\/20230928-155213-150x150.jpeg\",\"contentUrl\":\"https:\/\/static.pingcap.com\/files\/2023\/09\/28005238\/20230928-155213-150x150.jpeg\",\"caption\":\"Ming Zhang\"},\"description\":\"Software Engineer\",\"url\":\"https:\/\/www.pingcap.com\/ko\/blog\/author\/zhang-ming\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TiDB Cloud Traffic Replay: Seamless Production Upgrades","description":"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.","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\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/","og_locale":"ko_KR","og_type":"article","og_title":"TiDB Cloud Traffic Replay: Seamless Production Upgrades","og_description":"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.","og_url":"https:\/\/www.pingcap.com\/ko\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/","og_site_name":"TiDB","article_publisher":"https:\/\/facebook.com\/pingcap2015","article_published_time":"2026-01-27T19:59:58+00:00","article_modified_time":"2026-02-09T15:16:22+00:00","og_image":[{"width":2400,"height":1254,"url":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114749\/tidb_1200x627-2-1.png","type":"image\/png"}],"author":"Ming Zhang","twitter_card":"summary_large_image","twitter_image":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114802\/tidb_twitter_1600x900-3-2.png","twitter_creator":"@PingCAP","twitter_site":"@PingCAP","twitter_misc":{"Written by":"Ming Zhang","Est. reading time":"5\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#article","isPartOf":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/"},"author":{"name":"Ming Zhang","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/a55cf922e1711d8b320299945d1994f7"},"headline":"Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay","datePublished":"2026-01-27T19:59:58+00:00","dateModified":"2026-02-09T15:16:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/"},"wordCount":997,"publisher":{"@id":"https:\/\/www.pingcap.com\/#organization"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png","keywords":["Benchmarking","Database Upgrades","Distributed SQL","Testing","TiDB Cloud"],"articleSection":["Product"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/","url":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/","name":"TiDB Cloud Traffic Replay: Seamless Production Upgrades","isPartOf":{"@id":"https:\/\/www.pingcap.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage"},"image":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage"},"thumbnailUrl":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png","datePublished":"2026-01-27T19:59:58+00:00","dateModified":"2026-02-09T15:16:22+00:00","description":"Ensure seamless TiDB Cloud upgrades with Traffic Replay. Replicate workloads with 99% accuracy to find performance issues early.","breadcrumb":{"@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/"]}]},{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#primaryimage","url":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png","contentUrl":"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png","width":3600,"height":1200},{"@type":"BreadcrumbList","@id":"https:\/\/www.pingcap.com\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pingcap.com\/"},{"@type":"ListItem","position":2,"name":"Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay"}]},{"@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\/a55cf922e1711d8b320299945d1994f7","name":"Ming Zhang","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.pingcap.com\/#\/schema\/person\/image\/","url":"https:\/\/static.pingcap.com\/files\/2023\/09\/28005238\/20230928-155213-150x150.jpeg","contentUrl":"https:\/\/static.pingcap.com\/files\/2023\/09\/28005238\/20230928-155213-150x150.jpeg","caption":"Ming Zhang"},"description":"Software Engineer","url":"https:\/\/www.pingcap.com\/ko\/blog\/author\/zhang-ming\/"}]}},"grav_blocks":false,"card_markup":"<a class=\"card-resource bg-white\" href=\"https:\/\/www.pingcap.com\/ko\/blog\/seamless-tidb-cloud-upgrades-replicating-production-workloads-traffic-replay\/\"><div class=\"card-resource__image-container\"><img class=\"card-resource__image\" alt=\"tidb_feature_1800x600 (1)\" src=\"https:\/\/static.pingcap.com\/files\/2026\/01\/27114731\/tidb_feature_1800x600-1-3.png\" loading=\"lazy\" width=3600 height=1200 \/><\/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\">Seamless TiDB Cloud Upgrades: Replicating Production Workloads with Traffic Replay<\/h5><\/div><\/a>","_links":{"self":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/31445","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\/248"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/comments?post=31445"}],"version-history":[{"count":7,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/31445\/revisions"}],"predecessor-version":[{"id":31734,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/posts\/31445\/revisions\/31734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media\/31495"}],"wp:attachment":[{"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/media?parent=31445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/categories?post=31445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pingcap.com\/ko\/wp-json\/wp\/v2\/tags?post=31445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}