{"id":56659,"date":"2025-08-14T21:35:20","date_gmt":"2025-08-14T13:35:20","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/56659.html"},"modified":"2025-08-14T21:35:20","modified_gmt":"2025-08-14T13:35:20","slug":"tidb%e9%9b%86%e7%be%a4%e6%90%ad%e5%bb%ba%e4%b8%8e%e8%bf%90%e7%bb%b4%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/56659.html","title":{"rendered":"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357"},"content":{"rendered":"<p>TiDB \u96c6\u7fa4\u7684\u642d\u5efa\u662f\u4e00\u4e2a\u7cfb\u7edf\u6027\u7684\u5de5\u7a0b&#xff0c;\u6d89\u53ca\u89c4\u5212\u3001\u90e8\u7f72\u3001\u914d\u7f6e\u548c\u9a8c\u8bc1\u7b49\u591a\u4e2a\u6b65\u9aa4\u3002\u4ee5\u4e0b\u662f\u57fa\u4e8e\u6700\u65b0\u6700\u4f73\u5b9e\u8df5\u7684\u8be6\u7ec6\u642d\u5efa\u6307\u5357&#xff1a;<\/p>\n<hr \/>\n<h4>\u6838\u5fc3\u67b6\u6784\u7406\u89e3<\/h4>\n<p>TiDB \u96c6\u7fa4\u5305\u542b\u56db\u5927\u6838\u5fc3\u7ec4\u4ef6&#xff1a;<\/p>\n<li>TiDB Server&#xff1a;\u65e0\u72b6\u6001 SQL \u5c42&#xff08;\u9ed8\u8ba4\u7aef\u53e3 4000&#xff09;<\/li>\n<li>TiKV Server&#xff1a;\u5206\u5e03\u5f0f KV \u5b58\u50a8\u5f15\u64ce&#xff08;\u7aef\u53e3 20160&#xff09;<\/li>\n<li>PD Server&#xff1a;\u5143\u6570\u636e\u7ba1\u7406\u4e0e\u8c03\u5ea6\u4e2d\u5fc3&#xff08;\u7aef\u53e3 2379&#xff09;<\/li>\n<li>\u76d1\u63a7\u7ec4\u4ef6&#xff1a;Prometheus &#043; Grafana&#xff08;\u9ed8\u8ba4\u7aef\u53e3 3000&#xff09;<\/li>\n<hr \/>\n<h4>\u4e00\u3001\u90e8\u7f72\u524d\u51c6\u5907<\/h4>\n<h5>1. \u786c\u4ef6\u89c4\u5212\u5efa\u8bae<\/h5>\n<table>\n<tr>\u7ec4\u4ef6CPU\u5185\u5b58\u5b58\u50a8\u7f51\u7edc\u6700\u5c0f\u8282\u70b9\u6570<\/tr>\n<tbody>\n<tr>\n<td>TiDB<\/td>\n<td>16\u6838&#043;<\/td>\n<td>32GB&#043;<\/td>\n<td>SAS\/SSD<\/td>\n<td>10GbE<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>TiKV<\/td>\n<td>16\u6838&#043;<\/td>\n<td>64GB&#043;<\/td>\n<td>NVMe SSD*<\/td>\n<td>10GbE<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>PD<\/td>\n<td>4\u6838&#043;<\/td>\n<td>8GB&#043;<\/td>\n<td>SSD<\/td>\n<td>1GbE&#043;<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>Monitor<\/td>\n<td>4\u6838<\/td>\n<td>8GB<\/td>\n<td>100GB&#043;<\/td>\n<td>1GbE<\/td>\n<td>1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5173\u952e\u63d0\u793a&#xff1a;TiKV \u5fc5\u987b\u4f7f\u7528 NVMe SSD&#xff0c;\u907f\u514d\u4f7f\u7528 SATA SSD \u5bfc\u81f4\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<h5>2. \u64cd\u4f5c\u7cfb\u7edf\u4f18\u5316<\/h5>\n<p><span class=\"token comment\"># \u5173\u95ed\u900f\u660e\u5927\u9875<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> never <span class=\"token operator\">&gt;<\/span> \/sys\/kernel\/mm\/transparent_hugepage\/enabled<\/p>\n<p><span class=\"token comment\"># \u8c03\u6574\u6587\u4ef6\u63cf\u8ff0\u7b26\u9650\u5236<\/span><br \/>\n<span class=\"token builtin class-name\">echo<\/span> <span class=\"token string\">&#034;* soft nofile 1000000&#034;<\/span> <span class=\"token operator\">&gt;&gt;<\/span> \/etc\/security\/limits.conf<\/p>\n<p><span class=\"token comment\"># \u4f18\u5316\u5185\u6838\u53c2\u6570<\/span><br \/>\n<span class=\"token function\">sysctl<\/span> <span class=\"token parameter variable\">-w<\/span> <span class=\"token assign-left variable\">vm.swappiness<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span><br \/>\n<span class=\"token function\">sysctl<\/span> <span class=\"token parameter variable\">-w<\/span> <span class=\"token assign-left variable\">net.core.somaxconn<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">32768<\/span><\/p>\n<h5>3. \u62d3\u6251\u6587\u4ef6\u51c6\u5907 (topology.yaml)<\/h5>\n<p><span class=\"token key atrule\">global<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">user<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;tidb&#034;<\/span><br \/>\n  <span class=\"token key atrule\">ssh_port<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">22<\/span><br \/>\n  <span class=\"token key atrule\">deploy_dir<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\/tidb-deploy&#034;<\/span><br \/>\n  <span class=\"token key atrule\">data_dir<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;\/tidb-data&#034;<\/span><\/p>\n<p><span class=\"token key atrule\">pd_servers<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.11<br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.12<br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.13<\/p>\n<p><span class=\"token key atrule\">tidb_servers<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.21<br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.22<\/p>\n<p><span class=\"token key atrule\">tikv_servers<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.31<br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.32<br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.33<\/p>\n<p><span class=\"token key atrule\">monitoring_servers<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.41<\/p>\n<p><span class=\"token key atrule\">grafana_servers<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">host<\/span><span class=\"token punctuation\">:<\/span> 10.0.1.41<\/p>\n<hr \/>\n<h4>\u4e8c\u3001\u4f7f\u7528 TiUP \u90e8\u7f72\u96c6\u7fa4<\/h4>\n<h5>1. \u5b89\u88c5 TiUP<\/h5>\n<p><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">&#8211;proto<\/span> <span class=\"token string\">&#039;&#061;https&#039;<\/span> <span class=\"token parameter variable\">&#8211;tlsv1.2<\/span> <span class=\"token parameter variable\">-sSf<\/span> https:\/\/tiup-mirrors.pingcap.com\/install.sh <span class=\"token operator\">|<\/span> <span class=\"token function\">sh<\/span><br \/>\n<span class=\"token builtin class-name\">source<\/span> ~\/.bashrc<\/p>\n<h5>2. \u90e8\u7f72\u96c6\u7fa4<\/h5>\n<p>tiup cluster deploy tidb-test v7.5.0 .\/topology.yaml <span class=\"token parameter variable\">-y<\/span><br \/>\ntiup cluster start tidb-test<\/p>\n<h5>3. \u9a8c\u8bc1\u90e8\u7f72\u72b6\u6001<\/h5>\n<p>tiup cluster display tidb-test<\/p>\n<p>\u9884\u671f\u8f93\u51fa&#xff1a;\u6240\u6709\u8282\u70b9 Status &#061; Up<\/p>\n<hr \/>\n<h4>\u4e09\u3001\u5b89\u5168\u52a0\u56fa&#xff08;\u751f\u4ea7\u73af\u5883\u5fc5\u505a&#xff09;<\/h4>\n<h5>1. \u542f\u7528 TLS \u52a0\u5bc6<\/h5>\n<p>tiup cluster enable-tls tidb-test<\/p>\n<h5>2. \u8bbe\u7f6e SQL \u9632\u706b\u5899<\/h5>\n<p><span class=\"token keyword\">CREATE<\/span> PLACEMENT POLICY <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>restrictive<span class=\"token punctuation\">&#096;<\/span><\/span> CONSTRAINTS <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;[&#043;region&#061;sh]&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">ALTER<\/span> <span class=\"token keyword\">DATABASE<\/span> test PLACEMENT POLICY <span class=\"token operator\">&#061;<\/span> <span class=\"token identifier\"><span class=\"token punctuation\">&#096;<\/span>restrictive<span class=\"token punctuation\">&#096;<\/span><\/span><span class=\"token punctuation\">;<\/span><\/p>\n<h5>3. \u5ba1\u8ba1\u65e5\u5fd7\u914d\u7f6e<\/h5>\n<p><span class=\"token key atrule\">server_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">tidb<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">enable-audit<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token boolean important\">true<\/span><br \/>\n    <span class=\"token key atrule\">audit-log-format<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#034;json&#034;<\/span><\/p>\n<hr \/>\n<h4>\u56db\u3001\u6027\u80fd\u8c03\u4f18\u5173\u952e\u53c2\u6570<\/h4>\n<h5>TiKV \u914d\u7f6e (tikv.toml)<\/h5>\n<p>[raftstore]<br \/>\nsync-log &#061; false  # \u5f02\u6b65\u5237\u76d8\u63d0\u5347\u541e\u5410<\/p>\n<p>[rocksdb]<br \/>\nmax-background-jobs &#061; 8  # CPU\u6838\u6570\/2<\/p>\n<p>[storage]<br \/>\nreserve-space &#061; &#034;2GB&#034;  # \u9884\u9632\u78c1\u76d8\u5199\u6ee1<\/p>\n<h5>PD \u8c03\u5ea6\u53c2\u6570 (pd.toml)<\/h5>\n<p>[schedule]<br \/>\nmax-merge-region-size &#061; 20   # \u907f\u514d\u5c0fRegion\u5408\u5e76<br \/>\nhot-region-schedule-limit &#061; 8<\/p>\n<hr \/>\n<h4>\u4e94\u3001\u96c6\u7fa4\u9a8c\u8bc1\u4e0e\u6d4b\u8bd5<\/h4>\n<h5>1. \u57fa\u7840\u8fde\u63a5\u6d4b\u8bd5<\/h5>\n<p>mysql <span class=\"token parameter variable\">-h<\/span> <span class=\"token number\">10.0<\/span>.1.21 <span class=\"token parameter variable\">-P<\/span> <span class=\"token number\">4000<\/span> <span class=\"token parameter variable\">-u<\/span> root <span class=\"token parameter variable\">-e<\/span> <span class=\"token string\">&#034;SELECT VERSION()&#034;<\/span><\/p>\n<h5>2. TPC-C \u6027\u80fd\u538b\u6d4b<\/h5>\n<p>tiup bench tpcc <span class=\"token parameter variable\">-H<\/span> <span class=\"token number\">10.0<\/span>.1.21 <span class=\"token parameter variable\">-P<\/span> <span class=\"token number\">4000<\/span> <span class=\"token parameter variable\">-D<\/span> tpcc_test <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">&#8211;warehouses<\/span> <span class=\"token number\">100<\/span> <span class=\"token parameter variable\">&#8211;threads<\/span> <span class=\"token number\">64<\/span> prepare<\/p>\n<h5>3. \u5b9e\u65f6\u76d1\u63a7\u67e5\u770b<\/h5>\n<p>\u8bbf\u95ee http:\/\/monitor-ip:3000 \u67e5\u770b\u5173\u952e\u6307\u6807&#xff1a;<\/p>\n<ul>\n<li>TiDB: Query Duration &gt; 99th percentile<\/li>\n<li>TiKV: 95% Storage command duration<\/li>\n<li>PD: Region health score<\/li>\n<\/ul>\n<hr \/>\n<h4>\u516d\u3001\u8fd0\u7ef4\u5173\u952e\u547d\u4ee4<\/h4>\n<p><span class=\"token comment\"># \u6eda\u52a8\u5347\u7ea7<\/span><br \/>\ntiup cluster upgrade tidb-test v7.5.1<\/p>\n<p><span class=\"token comment\"># \u8282\u70b9\u6269\u5bb9<\/span><br \/>\ntiup cluster scale-out tidb-test scale-out.yaml<\/p>\n<p><span class=\"token comment\"># \u707e\u5907\u6062\u590d<\/span><br \/>\nbr restore full <span class=\"token parameter variable\">&#8211;pd<\/span> <span class=\"token string\">&#034;pd-ip:2379&#034;<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token string\">&#034;s3:\/\/backup-bucket\/&#034;<\/span><\/p>\n<hr \/>\n<h4>\u5e38\u89c1\u6545\u969c\u6392\u67e5\u70b9<\/h4>\n<li>\n<p>TiKV Store Down&#xff1a;<\/p>\n<ul>\n<li>\u68c0\u67e5\u78c1\u76d8 IO \u5ef6\u8fdf&#xff08;iostat -xmt 1&#xff09;<\/li>\n<li>\u786e\u8ba4\u7f51\u7edc\u5206\u533a&#xff08;tcpping tikv_ip 20160&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6162\u67e5\u8be2\u6fc0\u589e&#xff1a;<\/p>\n<ul>\n<li>\u5206\u6790 tidb_slow_query.log<\/li>\n<li>\u68c0\u67e5\u70ed\u70b9 Region&#xff08;Grafana \u2192 PD \u2192 Hot Region&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>PD Leader \u5207\u6362\u9891\u7e41&#xff1a;<\/p>\n<ul>\n<li>\u68c0\u67e5 PD \u8282\u70b9\u65f6\u949f\u540c\u6b65&#xff08;ntpstat&#xff09;<\/li>\n<li>\u76d1\u63a7 PD \u78c1\u76d8 IO \u5ef6\u8fdf<\/li>\n<\/ul>\n<\/li>\n<p>\u7279\u522b\u63d0\u9192&#xff1a;\u751f\u4ea7\u73af\u5883\u52a1\u5fc5\u90e8\u7f72\u81f3\u5c113\u4e2a PD \u8282\u70b9&#xff0c;TiKV \u8282\u70b9\u6570\u5e94\u4e3a\u5947\u6570&#xff08;\u63a8\u8350 3\/5\/7&#xff09;&#xff0c;\u907f\u514d\u8111\u88c2\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb309\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002TiDB\u96c6\u7fa4\u642d\u5efa\u6307\u5357\u6458\u8981 \u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86TiDB\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u642d\u5efa\u6d41\u7a0b\uff0c\u5305\u542b\u56db\u5927\u6838\u5fc3\u7ec4\u4ef6\uff08TiDB Server\u3001TiKV Server\u3001PD Server\u548c\u76d1\u63a7\u7ec4\u4ef6\uff09\u7684\u90e8\u7f72\u89c4\u8303\u3002\u6307\u5357\u4ece\u786c\u4ef6\u89c4\u5212\u3001\u64cd\u4f5c\u7cfb\u7edf\u4f18\u5316\u5f00\u59cb\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u62d3\u6251\u6587\u4ef6\u793a\u4f8b\u548cTiUP\u90e8\u7f72\u547d\u4ee4\uff0c\u5e76\u5f3a\u8c03\u4e86\u751f\u4ea7\u73af\u5883\u5fc5\u5907\u7684\u5b89\u5168\u52a0\u56fa\u63aa\u65bd\uff08TLS\u52a0\u5bc6\u3001SQL\u9632\u706b\u5899\u7b49\uff09\u3002\u6587\u4e2d\u8fd8\u5305\u542b\u5173\u952e\u6027\u80fd\u53c2\u6570\u8c03\u4f18\u5efa\u8bae\u3001\u96c6\u7fa4\u9a8c\u8bc1\u65b9\u6cd5\u4ee5\u53ca\u5e38\u89c1\u6545\u969c\u6392\u67e5\u70b9\uff0c\u7279\u522b\u63d0\u9192\u751f\u4ea7\u73af\u5883\u9700\u90e8\u7f72\u81f3\u5c113\u4e2aPD\u8282\u70b9\u548c\u5947\u6570\u4e2aTiKV\u8282\u70b9\u4ee5\u907f\u514d\u8111\u88c2\u95ee\u9898\u3002\u672c\u6307\u5357\u57fa\u4e8eTiDB v7.5\u7248\u672c\uff0c\u6db5\u76d6\u4e86\u4ece\u90e8\u7f72<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[114,1057,323,5896,100,44,2868],"topic":[],"class_list":["post-56659","post","type-post","status-publish","format-standard","hentry","category-server","tag-mysql","tag-tidb","tag-323","tag-5896","tag-100","tag-44","tag-2868"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/56659.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb309\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002TiDB\u96c6\u7fa4\u642d\u5efa\u6307\u5357\u6458\u8981 \u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86TiDB\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u642d\u5efa\u6d41\u7a0b\uff0c\u5305\u542b\u56db\u5927\u6838\u5fc3\u7ec4\u4ef6\uff08TiDB Server\u3001TiKV Server\u3001PD Server\u548c\u76d1\u63a7\u7ec4\u4ef6\uff09\u7684\u90e8\u7f72\u89c4\u8303\u3002\u6307\u5357\u4ece\u786c\u4ef6\u89c4\u5212\u3001\u64cd\u4f5c\u7cfb\u7edf\u4f18\u5316\u5f00\u59cb\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u62d3\u6251\u6587\u4ef6\u793a\u4f8b\u548cTiUP\u90e8\u7f72\u547d\u4ee4\uff0c\u5e76\u5f3a\u8c03\u4e86\u751f\u4ea7\u73af\u5883\u5fc5\u5907\u7684\u5b89\u5168\u52a0\u56fa\u63aa\u65bd\uff08TLS\u52a0\u5bc6\u3001SQL\u9632\u706b\u5899\u7b49\uff09\u3002\u6587\u4e2d\u8fd8\u5305\u542b\u5173\u952e\u6027\u80fd\u53c2\u6570\u8c03\u4f18\u5efa\u8bae\u3001\u96c6\u7fa4\u9a8c\u8bc1\u65b9\u6cd5\u4ee5\u53ca\u5e38\u89c1\u6545\u969c\u6392\u67e5\u70b9\uff0c\u7279\u522b\u63d0\u9192\u751f\u4ea7\u73af\u5883\u9700\u90e8\u7f72\u81f3\u5c113\u4e2aPD\u8282\u70b9\u548c\u5947\u6570\u4e2aTiKV\u8282\u70b9\u4ee5\u907f\u514d\u8111\u88c2\u95ee\u9898\u3002\u672c\u6307\u5357\u57fa\u4e8eTiDB v7.5\u7248\u672c\uff0c\u6db5\u76d6\u4e86\u4ece\u90e8\u7f72\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/56659.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-14T13:35:20+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56659.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/56659.html\",\"name\":\"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-14T13:35:20+00:00\",\"dateModified\":\"2025-08-14T13:35:20+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/56659.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/56659.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/56659.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/56659.html","og_locale":"zh_CN","og_type":"article","og_title":"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb309\u6b21\uff0c\u70b9\u8d5e3\u6b21\uff0c\u6536\u85cf4\u6b21\u3002TiDB\u96c6\u7fa4\u642d\u5efa\u6307\u5357\u6458\u8981 \u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86TiDB\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u96c6\u7fa4\u7684\u642d\u5efa\u6d41\u7a0b\uff0c\u5305\u542b\u56db\u5927\u6838\u5fc3\u7ec4\u4ef6\uff08TiDB Server\u3001TiKV Server\u3001PD Server\u548c\u76d1\u63a7\u7ec4\u4ef6\uff09\u7684\u90e8\u7f72\u89c4\u8303\u3002\u6307\u5357\u4ece\u786c\u4ef6\u89c4\u5212\u3001\u64cd\u4f5c\u7cfb\u7edf\u4f18\u5316\u5f00\u59cb\uff0c\u63d0\u4f9b\u4e86\u5b8c\u6574\u7684\u62d3\u6251\u6587\u4ef6\u793a\u4f8b\u548cTiUP\u90e8\u7f72\u547d\u4ee4\uff0c\u5e76\u5f3a\u8c03\u4e86\u751f\u4ea7\u73af\u5883\u5fc5\u5907\u7684\u5b89\u5168\u52a0\u56fa\u63aa\u65bd\uff08TLS\u52a0\u5bc6\u3001SQL\u9632\u706b\u5899\u7b49\uff09\u3002\u6587\u4e2d\u8fd8\u5305\u542b\u5173\u952e\u6027\u80fd\u53c2\u6570\u8c03\u4f18\u5efa\u8bae\u3001\u96c6\u7fa4\u9a8c\u8bc1\u65b9\u6cd5\u4ee5\u53ca\u5e38\u89c1\u6545\u969c\u6392\u67e5\u70b9\uff0c\u7279\u522b\u63d0\u9192\u751f\u4ea7\u73af\u5883\u9700\u90e8\u7f72\u81f3\u5c113\u4e2aPD\u8282\u70b9\u548c\u5947\u6570\u4e2aTiKV\u8282\u70b9\u4ee5\u907f\u514d\u8111\u88c2\u95ee\u9898\u3002\u672c\u6307\u5357\u57fa\u4e8eTiDB v7.5\u7248\u672c\uff0c\u6db5\u76d6\u4e86\u4ece\u90e8\u7f72","og_url":"https:\/\/www.wsisp.com\/helps\/56659.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-14T13:35:20+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/56659.html","url":"https:\/\/www.wsisp.com\/helps\/56659.html","name":"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-14T13:35:20+00:00","dateModified":"2025-08-14T13:35:20+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/56659.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/56659.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/56659.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"TiDB\u96c6\u7fa4\u642d\u5efa\u4e0e\u8fd0\u7ef4\u6307\u5357"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/56659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=56659"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/56659\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=56659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=56659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=56659"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=56659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}