{"id":90805,"date":"2026-08-06T02:32:33","date_gmt":"2026-08-05T18:32:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/90805.html"},"modified":"2026-08-06T02:32:33","modified_gmt":"2026-08-05T18:32:33","slug":"mysql-%e6%95%b0%e6%8d%ae%e7%9b%ae%e5%bd%95%e4%b8%8e-innodb-%e8%a1%a8%e7%a9%ba%e9%97%b4%e5%ba%95%e5%b1%82%e5%ad%98%e5%82%a8%e5%85%a8%e6%99%af%e6%8f%ad%e7%a7%98","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/90805.html","title":{"rendered":"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8"},"content":{"rendered":"<h2>MySQL \u6570\u636e\u5230\u5e95\u5b58\u5728\u54ea\u91cc&#xff1f;\u4ece\u6570\u636e\u76ee\u5f55\u5230 InnoDB \u8868\u7a7a\u95f4&#xff0c;\u4e00\u5c42\u5c42\u63ed\u5f00\u795e\u79d8\u9762\u7eb1<\/h2>\n<p>\u6458\u8981&#xff1a;\u6bcf\u6b21\u6267\u884c INSERT \u90fd\u611f\u89c9\u6570\u636e&#034;\u6d88\u5931&#034;\u8fdb\u4e86\u6570\u636e\u5e93&#xff0c;\u53ef\u5b83\u5b9e\u9645\u5b58\u5728\u78c1\u76d8\u7684\u54ea\u4e2a\u89d2\u843d&#xff1f;MySQL \u7684\u6570\u636e\u76ee\u5f55\u3001.ibd \u6587\u4ef6\u3001\u8868\u7a7a\u95f4\u3001\u533a\u3001\u6bb5\u2026\u8fd9\u4e9b\u6982\u5ff5\u4e4b\u95f4\u5230\u5e95\u662f\u4ec0\u4e48\u5173\u7cfb&#xff1f;\u672c\u6587\u5c06\u7528\u901a\u4fd7\u7684\u6bd4\u55bb\u548c\u56fe\u89e3&#xff0c;\u5e26\u4f60\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e00\u8def\u8d70\u8fdb InnoDB \u8868\u7a7a\u95f4\u7684\u5185\u90e8\u4e16\u754c\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5199\u4e00\u6761 INSERT&#xff0c;\u6570\u636e\u53bb\u4e86\u54ea\u91cc&#xff1f;<\/h3>\n<p>\u5148\u6765\u4e00\u4e2a\u7075\u9b42\u62f7\u95ee&#xff1a;\u5f53\u4f60\u6267\u884c INSERT INTO users VALUES (1, &#039;\u5f20\u4e09&#039;, &#039;zhangsan&#064;example.com&#039;) \u65f6&#xff0c;\u8fd9\u6761\u8bb0\u5f55\u6700\u7ec8\u53bb\u4e86\u78c1\u76d8\u7684\u54ea\u4e2a\u89d2\u843d&#xff1f;<\/p>\n<p>\u7b54\u6848\u85cf\u5728\u4e00\u6761\u5c42\u5c42\u9012\u8fdb\u7684\u8def\u5f84\u91cc&#xff1a;<\/p>\n<p>\u4e00\u6761 INSERT \u8bed\u53e5<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\nMySQL Server \u63a5\u6536 SQL<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\nInnoDB \u5b58\u50a8\u5f15\u64ce\u5904\u7406<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\n\u627e\u5230\u5bf9\u5e94\u7684\u8868\u7a7a\u95f4&#xff08;.ibd \u6587\u4ef6&#xff09;<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\n\u5728 B&#043; \u6811\u7d22\u5f15\u4e2d\u627e\u5230\u63d2\u5165\u4f4d\u7f6e \u2192 \u5b9a\u4f4d\u5230\u5177\u4f53\u7684\u6570\u636e\u9875<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\n\u5c06\u8bb0\u5f55\u5199\u5165\u9875\u9762&#xff0c;\u6807\u8bb0\u4e3a&#034;\u810f\u9875&#034;<br \/>\n    \u2502<br \/>\n    \u25bc<br \/>\n\u540e\u53f0\u5237\u76d8\u7ebf\u7a0b\u5c06\u810f\u9875\u5199\u5165\u78c1\u76d8 \u2192 \u6700\u7ec8\u843d\u5230\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684 .ibd \u6587\u4ef6<\/p>\n<p>\u8fd9\u4e00\u8def\u4e0a\u6d89\u53ca\u7684\u6982\u5ff5\u2014\u2014\u6570\u636e\u76ee\u5f55\u3001\u8868\u7a7a\u95f4\u3001\u533a\u3001\u6bb5\u3001\u9875\u2014\u2014\u5c31\u662f\u672c\u6587\u8981\u9010\u4e2a\u62c6\u89e3\u7684\u5185\u5bb9\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u6570\u636e\u76ee\u5f55&#xff1a;\u6570\u636e\u5e93\u7684&#034;\u5bb6&#034;<\/h3>\n<h4>2.1 \u6570\u636e\u76ee\u5f55 vs \u5b89\u88c5\u76ee\u5f55<\/h4>\n<p>\u5f88\u591a\u521d\u5b66\u8005\u5bb9\u6613\u628a\u8fd9\u4e24\u4e2a\u6982\u5ff5\u641e\u6df7&#xff0c;\u6240\u4ee5\u6211\u4eec\u5148\u6765\u505a\u4e00\u4e2a\u6e05\u6670\u7684\u533a\u5206&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  MySQL \u5b89\u88c5\u76ee\u5f55&#xff08;\u5982 \/usr\/local\/mysql&#xff09;                     \u2502<br \/>\n\u2502  \u251c\u2500\u2500 bin\/          \u2190 mysqld\u3001mysql\u3001mysqldump \u7b49\u53ef\u6267\u884c\u6587\u4ef6  \u2502<br \/>\n\u2502  \u251c\u2500\u2500 lib\/          \u2190 \u5e93\u6587\u4ef6                                \u2502<br \/>\n\u2502  \u251c\u2500\u2500 include\/      \u2190 \u5934\u6587\u4ef6                                \u2502<br \/>\n\u2502  \u2514\u2500\u2500 share\/        \u2190 \u9519\u8bef\u6d88\u606f\u3001\u5b57\u7b26\u96c6\u914d\u7f6e                    \u2502<br \/>\n\u2502                                                          \u2502<br \/>\n\u2502  \u26a0\ufe0f \u8fd9\u662f\u7a0b\u5e8f\u7684&#034;\u8eab\u4f53&#034;&#xff0c;\u4e0d\u5b58\u7528\u6237\u6570\u636e                          \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  MySQL \u6570\u636e\u76ee\u5f55&#xff08;\u5982 \/usr\/local\/var\/mysql&#xff09;                  \u2502<br \/>\n\u2502  \u251c\u2500\u2500 \u6570\u636e\u5e931\/       \u2190 \u4f60\u521b\u5efa\u7684\u6bcf\u4e2a\u6570\u636e\u5e93\u662f\u4e00\u4e2a\u6587\u4ef6\u5939           \u2502<br \/>\n\u2502  \u251c\u2500\u2500 \u6570\u636e\u5e932\/                                              \u2502<br \/>\n\u2502  \u251c\u2500\u2500 ibdata1        \u2190 \u7cfb\u7edf\u8868\u7a7a\u95f4\u6587\u4ef6                        \u2502<br \/>\n\u2502  \u251c\u2500\u2500 ib_logfile0    \u2190 redo \u65e5\u5fd7                            \u2502<br \/>\n\u2502  \u2514\u2500\u2500 &#8230;            \u2190 \u5404\u79cd\u8fd0\u884c\u65f6\u4ea7\u751f\u7684\u6570\u636e                   \u2502<br \/>\n\u2502                                                          \u2502<br \/>\n\u2502  \u26a0\ufe0f \u8fd9\u662f\u6570\u636e\u7684&#034;\u4ed3\u5e93&#034;&#xff0c;\u6240\u6709\u8868\u8bb0\u5f55\u90fd\u5b58\u5728\u8fd9\u91cc                    \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u67e5\u770b\u6570\u636e\u76ee\u5f55\u7684\u51c6\u786e\u4f4d\u7f6e&#xff1a;<\/p>\n<p>mysql<span class=\"token operator\">&gt;<\/span> <span class=\"token keyword\">SHOW<\/span> VARIABLES <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;datadir&#039;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token operator\">&#043;<\/span><span class=\"token comment\">&#8212;&#8212;&#8212;&#8212;&#8212;&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<\/span><br \/>\n<span class=\"token operator\">|<\/span> Variable_name <span class=\"token operator\">|<\/span> <span class=\"token keyword\">Value<\/span>                 <span class=\"token operator\">|<\/span><br \/>\n<span class=\"token operator\">&#043;<\/span><span class=\"token comment\">&#8212;&#8212;&#8212;&#8212;&#8212;&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<\/span><br \/>\n<span class=\"token operator\">|<\/span> datadir       <span class=\"token operator\">|<\/span> <span class=\"token operator\">\/<\/span>usr<span class=\"token operator\">\/<\/span><span class=\"token keyword\">local<\/span><span class=\"token operator\">\/<\/span>var<span class=\"token operator\">\/<\/span>mysql<span class=\"token operator\">\/<\/span> <span class=\"token operator\">|<\/span><br \/>\n<span class=\"token operator\">&#043;<\/span><span class=\"token comment\">&#8212;&#8212;&#8212;&#8212;&#8212;&#043;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;&#043;<\/span><\/p>\n<h4>2.2 \u6570\u636e\u5e93\u5728\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684\u6837\u5b50<\/h4>\n<p>\u6bcf\u5f53\u4f60\u6267\u884c CREATE DATABASE mydb \u65f6&#xff0c;MySQL \u5728\u78c1\u76d8\u4e0a\u505a\u4e86\u4e24\u4ef6\u4e8b&#xff1a;<\/p>\n<li>\u5728\u6570\u636e\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a mydb \u7684\u5b50\u6587\u4ef6\u5939<\/li>\n<li>\u5728 mydb \u6587\u4ef6\u5939\u91cc\u521b\u5efa\u4e00\u4e2a db.opt \u6587\u4ef6&#xff0c;\u8bb0\u5f55\u8be5\u6570\u636e\u5e93\u7684\u5b57\u7b26\u96c6\u548c\u6bd4\u8f83\u89c4\u5219<\/li>\n<p>\u6570\u636e\u76ee\u5f55\/<br \/>\n\u251c\u2500\u2500 mysql\/           \u2190 mysql \u7cfb\u7edf\u5e93<br \/>\n\u251c\u2500\u2500 information_schema\/  \u2190 \u7279\u6b8a\u5904\u7406&#xff0c;\u6ca1\u6709\u5b9e\u9645\u6587\u4ef6\u5939<br \/>\n\u251c\u2500\u2500 performance_schema\/<br \/>\n\u251c\u2500\u2500 sys\/<br \/>\n\u251c\u2500\u2500 mydb\/            \u2190 \u4f60\u521b\u5efa\u7684\u6570\u636e\u5e93<br \/>\n\u2502   \u2514\u2500\u2500 db.opt       \u2190 \u6570\u636e\u5e93\u5c5e\u6027\u6587\u4ef6<br \/>\n\u251c\u2500\u2500 ibdata1          \u2190 InnoDB \u7cfb\u7edf\u8868\u7a7a\u95f4<br \/>\n\u251c\u2500\u2500 ib_logfile0      \u2190 redo \u65e5\u5fd7<br \/>\n\u2514\u2500\u2500 ib_logfile1<\/p>\n<h4>2.3 \u8868\u5728\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684\u4e09\u4ef6\u5957<\/h4>\n<p>\u5efa\u8868 CREATE TABLE test (c1 INT) \u65f6&#xff0c;MySQL \u9700\u8981\u5b58\u50a8\u4e24\u7c7b\u4fe1\u606f&#xff1a;<\/p>\n<table>\n<tr>\u4fe1\u606f\u7c7b\u578b\u5185\u5bb9\u5b58\u50a8\u6587\u4ef6<\/tr>\n<tbody>\n<tr>\n<td>\u8868\u7ed3\u6784<\/td>\n<td>\u5217\u540d\u3001\u6570\u636e\u7c7b\u578b\u3001\u7ea6\u675f\u3001\u7d22\u5f15\u3001\u5b57\u7b26\u96c6\u7b49<\/td>\n<td>\u8868\u540d.frm<\/td>\n<\/tr>\n<tr>\n<td>\u8868\u6570\u636e<\/td>\n<td>\u5b9e\u9645\u63d2\u5165\u7684\u7528\u6237\u8bb0\u5f55<\/td>\n<td>\u53d6\u51b3\u4e8e\u5b58\u50a8\u5f15\u64ce<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>.frm \u662f\u4e8c\u8fdb\u5236\u6587\u4ef6&#xff0c;\u76f4\u63a5\u6253\u5f00\u4f1a\u770b\u5230\u4e71\u7801\u2014\u2014\u5b83\u662f\u7ed9 MySQL \u7a0b\u5e8f\u8bfb\u7684&#xff0c;\u4e0d\u662f\u7ed9\u4eba\u8bfb\u7684\u3002<\/p>\n<h4>2.4 InnoDB vs MyISAM&#xff1a;\u4e24\u79cd\u5b58\u50a8\u54f2\u5b66<\/h4>\n<p>\u5bf9\u4e8e\u540c\u4e00\u4e2a test \u8868&#xff0c;\u4e0d\u540c\u5b58\u50a8\u5f15\u64ce\u4ea7\u751f\u7684\u6587\u4ef6\u5b8c\u5168\u4e0d\u540c&#xff1a;<\/p>\n<p>InnoDB \u5b58\u50a8\u5f15\u64ce&#xff08;\u9ed8\u8ba4&#xff09;                   MyISAM \u5b58\u50a8\u5f15\u64ce<\/p>\n<p>mydb\/                                   mydb\/<br \/>\n\u251c\u2500\u2500 test.frm    \u2190 \u8868\u7ed3\u6784                  \u251c\u2500\u2500 test.frm    \u2190 \u8868\u7ed3\u6784<br \/>\n\u2514\u2500\u2500 test.ibd    \u2190 \u6570\u636e &#043; \u7d22\u5f15 \u5728\u4e00\u8d77        \u251c\u2500\u2500 test.MYD    \u2190 \u6570\u636e\u6587\u4ef6&#xff08;MY Data&#xff09;<br \/>\n                                           \u2514\u2500\u2500 test.MYI    \u2190 \u7d22\u5f15\u6587\u4ef6&#xff08;MY Index&#xff09;<\/p>\n<p>  \u7406\u5ff5&#xff1a;\u7d22\u5f15\u5373\u6570\u636e                         \u7406\u5ff5&#xff1a;\u7d22\u5f15\u548c\u6570\u636e\u5206\u79bb<\/p>\n<p>\u5173\u952e\u5dee\u5f02&#xff1a;InnoDB \u7684\u805a\u7c07\u7d22\u5f15\u53f6\u5b50\u8282\u70b9\u5b58\u50a8\u5b8c\u6574\u8bb0\u5f55&#xff0c;\u6240\u4ee5\u6570\u636e\u548c\u7d22\u5f15\u5728\u540c\u4e00\u4e2a .ibd \u6587\u4ef6\u4e2d\u3002MyISAM \u6ca1\u6709\u805a\u7c07\u7d22\u5f15\u7684\u6982\u5ff5&#xff0c;\u6240\u6709\u7d22\u5f15\u90fd\u662f&#034;\u4e8c\u7ea7\u7d22\u5f15&#034;&#xff0c;\u53f6\u5b50\u8282\u70b9\u5b58\u7684\u662f\u884c\u53f7&#xff08;\u800c\u975e\u4e3b\u952e&#xff09;&#xff0c;\u4ee5\u6b64\u5b9e\u73b0\u56de\u8868\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001InnoDB \u8868\u7a7a\u95f4&#xff1a;\u9875\u9762\u7684\u5927\u6c60\u5b50<\/h3>\n<h4>3.1 \u4e3a\u4ec0\u4e48\u8981\u6709\u8868\u7a7a\u95f4&#xff1f;<\/h4>\n<p>\u524d\u4e00\u7bc7\u6587\u7ae0\u8bb2\u8fc7&#xff0c;InnoDB \u4ee5 16KB \u7684\u9875 \u4e3a\u57fa\u672c\u5355\u4f4d\u7ba1\u7406\u5b58\u50a8\u7a7a\u95f4&#xff0c;\u6bcf\u4e2a\u7d22\u5f15\u5bf9\u5e94\u4e00\u68f5 B&#043; \u6811&#xff0c;\u6811\u7684\u6bcf\u4e2a\u8282\u70b9\u5c31\u662f\u4e00\u4e2a\u6570\u636e\u9875\u3002\u4f46\u95ee\u9898\u662f&#xff1a;\u6210\u5343\u4e0a\u4e07\u4e2a\u9875\u5206\u6563\u5728\u78c1\u76d8\u4e0a&#xff0c;\u8c01\u6765\u7edf\u4e00\u7ba1\u7406\u5b83\u4eec&#xff1f;<\/p>\n<p>\u4e8e\u662f&#034;\u8868\u7a7a\u95f4&#034;\u767b\u573a\u4e86\u3002\u4f60\u53ef\u4ee5\u628a\u8868\u7a7a\u95f4\u60f3\u8c61\u6210\u4e00\u4e2a\u5de8\u5927\u7684\u6c60\u5b50&#xff0c;\u6c60\u5b50\u91cc\u88c5\u6ee1\u4e86\u9875\u3002\u63d2\u5165\u8bb0\u5f55\u65f6&#xff0c;\u5c31\u4ece\u6c60\u5b50\u91cc\u635e\u51fa\u5bf9\u5e94\u7684\u9875\u6765\u5199\u5165\u3002\u8868\u7a7a\u95f4\u662f\u4e00\u4e2a\u62bd\u8c61\u6982\u5ff5&#xff0c;\u6700\u7ec8\u5bf9\u5e94\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684\u4e00\u4e2a\u6216\u591a\u4e2a\u771f\u5b9e\u6587\u4ef6\u3002<\/p>\n<p>\u8868\u7a7a\u95f4&#xff08;\u903b\u8f91\u6982\u5ff5&#xff09;<br \/>\n    \u2502<br \/>\n    \u2502 \u6620\u5c04\u5230<br \/>\n    \u25bc<br \/>\n\u6587\u4ef6\u7cfb\u7edf\u4e0a\u7684\u7269\u7406\u6587\u4ef6<br \/>\n&#xff08;\u5982 ibdata1\u3001test.ibd&#xff09;<br \/>\n    \u2502<br \/>\n    \u2502 \u5185\u90e8\u5207\u5206\u4e3a<br \/>\n    \u25bc<br \/>\n\u82e5\u5e72\u4e2a 16KB \u7684\u9875<\/p>\n<h4>3.2 \u7cfb\u7edf\u8868\u7a7a\u95f4 vs \u72ec\u7acb\u8868\u7a7a\u95f4<\/h4>\n<p>InnoDB \u63d0\u4f9b\u4e24\u79cd\u4e3b\u8981\u7684\u8868\u7a7a\u95f4\u7c7b\u578b&#xff1a;<\/p>\n<table>\n<tr>\u7279\u6027\u7cfb\u7edf\u8868\u7a7a\u95f4\u72ec\u7acb\u8868\u7a7a\u95f4<\/tr>\n<tbody>\n<tr>\n<td>\u6587\u4ef6<\/td>\n<td>ibdata1&#xff08;\u53ef\u914d\u7f6e\u591a\u4e2a&#xff09;<\/td>\n<td>\u8868\u540d.ibd<\/td>\n<\/tr>\n<tr>\n<td>\u4f5c\u7528\u8303\u56f4<\/td>\n<td>\u6574\u4e2a MySQL \u5b9e\u4f8b\u5171\u4eab\u4e00\u4e2a<\/td>\n<td>\u6bcf\u4e2a\u8868\u72ec\u4eab\u4e00\u4e2a<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5b58\u653e<\/td>\n<td>\u6240\u6709\u8868\u7684\u6570\u636e\u90fd\u53ef\u4ee5\u653e\u8fd9\u91cc<\/td>\n<td>\u6bcf\u4e2a\u8868\u7684\u6570\u636e\u5404\u81ea\u72ec\u7acb<\/td>\n<\/tr>\n<tr>\n<td>MySQL \u7248\u672c<\/td>\n<td>5.5.7 ~ 5.6.6 \u9ed8\u8ba4<\/td>\n<td>5.6.6&#043; \u9ed8\u8ba4<\/td>\n<\/tr>\n<tr>\n<td>\u914d\u7f6e\u53c2\u6570<\/td>\n<td>innodb_data_file_path<\/td>\n<td>innodb_file_per_table&#061;1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u914d\u7f6e\u7cfb\u7edf\u8868\u7a7a\u95f4\u4e3a\u591a\u4e2a\u6587\u4ef6&#xff1a;<\/p>\n<p>[server]<br \/>\n# \u521b\u5efa data1 \u548c data2 \u4e24\u4e2a\u6587\u4ef6&#xff0c;\u5404 512M&#xff0c;data2 \u4e0d\u591f\u65f6\u81ea\u52a8\u6269\u5c55<br \/>\ninnodb_data_file_path&#061;data1:512M;data2:512M:autoextend<\/p>\n<p>\u5207\u6362\u8868\u7a7a\u95f4\u7c7b\u578b&#xff1a;<\/p>\n<p><span class=\"token comment\">&#8212; \u67e5\u770b\u5f53\u524d\u4f7f\u7528\u7684\u8868\u7a7a\u95f4\u6a21\u5f0f<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> VARIABLES <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;innodb_file_per_table&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u5c06\u5df2\u6709\u8868\u4ece\u72ec\u7acb\u8868\u7a7a\u95f4\u8fc1\u79fb\u5230\u7cfb\u7edf\u8868\u7a7a\u95f4<\/span><br \/>\n<span class=\"token keyword\">ALTER<\/span> <span class=\"token keyword\">TABLE<\/span> test <span class=\"token keyword\">TABLESPACE<\/span> innodb_system<span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u5c06\u5df2\u6709\u8868\u4ece\u7cfb\u7edf\u8868\u7a7a\u95f4\u8fc1\u79fb\u56de\u72ec\u7acb\u8868\u7a7a\u95f4<\/span><br \/>\n<span class=\"token keyword\">ALTER<\/span> <span class=\"token keyword\">TABLE<\/span> test <span class=\"token keyword\">TABLESPACE<\/span> innodb_file_per_table<span class=\"token punctuation\">;<\/span><\/p>\n<p>&#x1f4a1; \u6700\u4f73\u5b9e\u8df5&#xff1a;\u73b0\u4ee3 MySQL 8.0 \u9ed8\u8ba4\u4f7f\u7528\u72ec\u7acb\u8868\u7a7a\u95f4&#xff08;innodb_file_per_table&#061;ON&#xff09;&#xff0c;\u8fd9\u6709\u51e0\u4e2a\u597d\u5904\u2014\u2014\u5220\u9664\u8868\u65f6\u76f4\u63a5\u56de\u6536\u78c1\u76d8\u7a7a\u95f4&#xff08;\u5220 .ibd \u6587\u4ef6\u5373\u53ef&#xff09;&#xff0c;\u4e0d\u540c\u8868\u7684 IO \u4e92\u4e0d\u5e72\u6270&#xff0c;\u5907\u4efd\u8fd8\u539f\u66f4\u7075\u6d3b\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u8868\u7a7a\u95f4\u7684\u5185\u90e8\u7ed3\u6784&#xff1a;\u533a\u3001\u6bb5\u4e0e\u788e\u7247<\/h3>\n<p>\u8868\u7a7a\u95f4\u4e0d\u662f\u628a\u9875\u80e1\u4e71\u5806\u5728\u4e00\u8d77&#xff0c;\u800c\u662f\u6709\u4e00\u5957\u7cbe\u5bc6\u7684\u7ed3\u6784\u3002<\/p>\n<h4>4.1 \u533a&#xff08;Extent&#xff09;&#xff1a;\u8fde\u7eed\u5b58\u50a8\u7684\u79d8\u5bc6<\/h4>\n<p>\u56de\u987e B&#043; \u6811\u7684\u8303\u56f4\u67e5\u8be2&#xff1a;\u627e\u5230\u8303\u56f4\u8d77\u70b9\u540e&#xff0c;\u6cbf\u7740\u53f6\u5b50\u8282\u70b9\u7684\u53cc\u5411\u94fe\u8868\u987a\u5e8f\u626b\u63cf\u5373\u53ef\u3002\u4f46\u5982\u679c\u94fe\u8868\u4e0a\u76f8\u90bb\u7684\u9875\u5728\u7269\u7406\u4e0a\u79bb\u5f97\u5f88\u8fdc&#xff0c;\u6bcf\u6b21\u8df3\u5230\u4e0b\u4e00\u9875\u90fd\u662f\u968f\u673a IO&#xff0c;\u78c1\u76d8\u7684\u78c1\u5934&#xff08;\u6216 SSD \u7684\u5bfb\u5740&#xff09;\u5c31\u8981\u75b2\u4e8e\u5954\u547d\u3002<\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898&#xff0c;InnoDB \u5f15\u5165\u4e86\u4e00\u4e2a\u66f4\u5927\u7684\u5206\u914d\u5355\u4f4d\u2014\u2014\u533a&#xff08;Extent&#xff09;\u3002<\/p>\n<p>\u4e00\u4e2a\u533a &#061; \u8fde\u7eed 64 \u4e2a\u9875 &#061; 64 \u00d7 16KB &#061; 1MB<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502              \u4e00\u4e2a\u533a (1MB)              \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2510\u250c\u2500\u2500\u2500\u2500\u2510\u250c\u2500\u2500\u2500\u2500\u2510 &#8230; \u250c\u2500\u2500\u2500\u2500\u2510     \u2502<br \/>\n\u2502  \u2502\u98750 \u2502\u2502\u98751 \u2502\u2502\u98752 \u2502     \u2502\u987563\u2502     \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2518\u2514\u2500\u2500\u2500\u2500\u2518\u2514\u2500\u2500\u2500\u2500\u2518     \u2514\u2500\u2500\u2500\u2500\u2518     \u2502<br \/>\n\u2502  \u2190\u2500\u2500 64 \u4e2a\u9875\u5728\u7269\u7406\u4e0a\u8fde\u7eed\u5b58\u50a8 \u2500\u2500\u2192     \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u5f53\u8868\u4e2d\u6570\u636e\u591a\u4e86\u4ee5\u540e&#xff0c;\u5206\u914d\u7a7a\u95f4\u5c31\u4ee5\u533a\u4e3a\u5355\u4f4d\u800c\u975e\u4ee5\u9875\u4e3a\u5355\u4f4d&#xff0c;\u8fd9\u6837\u540c\u4e00\u4e2a B&#043; \u6811\u8282\u70b9\u9644\u8fd1\u7684\u9875\u5927\u6982\u7387\u7269\u7406\u76f8\u90bb&#xff0c;\u8303\u56f4\u626b\u63cf\u5c31\u6210\u4e86\u987a\u5e8f IO\u3002<\/p>\n<p>&#x1f3af; \u6269\u5c55\u77e5\u8bc6&#xff1a;\u4e3a\u4ec0\u4e48\u521a\u597d\u662f 64 \u4e2a\u9875&#xff1f;1MB \u7684\u5927\u5c0f\u662f\u4e00\u4e2a\u7cbe\u5fc3\u8bbe\u8ba1\u7684\u5e73\u8861\u2014\u2014\u65e2\u5927\u5230\u80fd\u663e\u8457\u51cf\u5c11\u968f\u673a IO&#xff0c;\u53c8\u5c0f\u5230\u4e0d\u4f1a\u56e0\u4e3a\u586b\u4e0d\u6ee1\u800c\u6d6a\u8d39\u592a\u591a\u7a7a\u95f4\u3002<\/p>\n<h4>4.2 \u6bb5&#xff08;Segment&#xff09;&#xff1a;\u53f6\u5b50\u4e0e\u975e\u53f6\u5b50\u7684\u5206\u6d41<\/h4>\n<p>\u5982\u679c\u53ea\u6309\u533a\u5206\u914d&#xff0c;\u53f6\u5b50\u8282\u70b9\u548c\u975e\u53f6\u5b50\u8282\u70b9\u7684\u9875\u4f1a\u6df7\u5728\u540c\u4e00\u4e2a\u533a\u91cc&#xff0c;\u8303\u56f4\u626b\u63cf\u65f6\u4ecd\u4f1a\u626b\u5230\u5927\u91cf\u65e0\u5173\u7684\u975e\u53f6\u5b50\u9875\u3002\u4e8e\u662f InnoDB \u8fdb\u4e00\u6b65\u63d0\u51fa\u4e86\u6bb5&#xff08;Segment&#xff09;&#xff1a;<\/p>\n<p>\u4e00\u4e2a\u7d22\u5f15 &#061; 2 \u4e2a\u6bb5<br \/>\n    \u2502<br \/>\n    \u251c\u2500\u2500 \u53f6\u5b50\u8282\u70b9\u6bb5&#xff08;Leaf Segment&#xff09;<br \/>\n    \u2502   \u5b58\u653e B&#043; \u6811\u53f6\u5b50\u8282\u70b9\u7684\u6240\u6709\u9875<br \/>\n    \u2502<br \/>\n    \u2514\u2500\u2500 \u975e\u53f6\u5b50\u8282\u70b9\u6bb5&#xff08;Non-Leaf Segment&#xff09;<br \/>\n        \u5b58\u653e B&#043; \u6811\u5185\u8282\u70b9\u7684\u6240\u6709\u9875<\/p>\n<p>\u6240\u4ee5\u5bf9\u4e8e\u4e00\u4e2a\u6709 N \u4e2a\u7d22\u5f15\u7684\u8868&#xff0c;\u5c31\u6709 2N \u4e2a\u6bb5\u3002\u6bd4\u5982&#xff1a;<\/p>\n<ul>\n<li>1 \u4e2a\u805a\u7c07\u7d22\u5f15 \u2192 2 \u4e2a\u6bb5<\/li>\n<li>\u518d\u52a0 1 \u4e2a\u4e8c\u7ea7\u7d22\u5f15 \u2192 \u518d\u52a0 2 \u4e2a\u6bb5<\/li>\n<li>\u603b\u8ba1 4 \u4e2a\u6bb5<\/li>\n<\/ul>\n<p>\u6bcf\u4e2a\u6bb5\u90fd\u4ee5\u533a\u4e3a\u5355\u4f4d\u7533\u8bf7\u7a7a\u95f4&#xff0c;\u53f6\u5b50\u6bb5\u548c\u975e\u53f6\u5b50\u6bb5\u7684\u9875\u7269\u7406\u4e0a\u76f8\u4e92\u9694\u79bb&#xff0c;\u8303\u56f4\u626b\u63cf\u65f6\u7545\u884c\u65e0\u963b\u3002<\/p>\n<h4>4.3 \u788e\u7247\u533a&#xff1a;\u5c0f\u8868\u7684&#034;\u7cbe\u6253\u7ec6\u7b97&#034;<\/h4>\n<p>\u95ee\u9898\u6765\u4e86&#xff1a;\u4e00\u4e2a\u533a\u9ed8\u8ba4 1MB&#xff0c;\u90a3\u4e00\u4e2a\u53ea\u63d2\u4e86\u51e0\u5341\u6761\u8bb0\u5f55\u7684\u5c0f\u8868\u4e5f\u9700\u8981 2MB&#xff08;\u4e24\u4e2a\u6bb5\u5404\u5360\u4e00\u533a&#xff09;&#xff1f;\u8fd9\u592a\u6d6a\u8d39\u4e86\u3002<\/p>\n<p>InnoDB \u7684\u89e3\u51b3\u65b9\u6848\u662f\u788e\u7247\u533a&#xff08;Fragment Extent&#xff09;&#xff1a;<\/p>\n<p>\u5c0f\u8868\u521d\u671f&#xff08;\u6bb5\u5360\u7528 &lt; 32 \u4e2a\u5206\u6563\u9875&#xff09;&#xff1a;<\/p>\n<p>    \u6bb5 A \u7684\u96f6\u6563\u9875\u9762 \u2500\u2500\u2510<br \/>\n    \u6bb5 B \u7684\u96f6\u6563\u9875\u9762 \u2500\u2500\u253c\u2500\u2500 \u90fd\u4ece\u4e00\u4e2a&#034;\u788e\u7247\u533a&#034;\u91cc\u6309\u9875\u79df\u7528<br \/>\n    \u6bb5 C \u7684\u96f6\u6563\u9875\u9762 \u2500\u2500\u2518<\/p>\n<p>\u5927\u8868\u9636\u6bb5&#xff08;\u6bb5\u5360\u7528 \u2265 32 \u4e2a\u5206\u6563\u9875&#xff09;&#xff1a;<\/p>\n<p>    \u6bb5 A \u76f4\u63a5\u7533\u8bf7\u5b8c\u6574\u7684\u533a&#xff08;1MB&#xff09;&#xff0c;\u4e0d\u518d&#034;\u62fc\u79df&#034;<\/p>\n<p>\u6bcf\u4e2a\u533a\u6709\u56db\u79cd\u72b6\u6001&#xff1a;<\/p>\n<table>\n<tr>\u72b6\u6001\u542b\u4e49\u5f52\u5c5e<\/tr>\n<tbody>\n<tr>\n<td>FREE<\/td>\n<td>\u5b8c\u5168\u7a7a\u95f2&#xff0c;\u5565\u90fd\u6ca1\u7528<\/td>\n<td>\u76f4\u5c5e\u4e8e\u8868\u7a7a\u95f4<\/td>\n<\/tr>\n<tr>\n<td>FREE_FRAG<\/td>\n<td>\u788e\u7247\u533a&#xff0c;\u8fd8\u6709\u7a7a\u95f2\u9875\u53ef\u7528<\/td>\n<td>\u76f4\u5c5e\u4e8e\u8868\u7a7a\u95f4<\/td>\n<\/tr>\n<tr>\n<td>FULL_FRAG<\/td>\n<td>\u788e\u7247\u533a&#xff0c;\u5df2\u65e0\u7a7a\u95f2\u9875<\/td>\n<td>\u76f4\u5c5e\u4e8e\u8868\u7a7a\u95f4<\/td>\n<\/tr>\n<tr>\n<td>FSEG<\/td>\n<td>\u5df2\u5206\u914d\u7ed9\u67d0\u4e2a\u6bb5<\/td>\n<td>\u9644\u5c5e\u4e8e\u6bb5<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5982\u679c\u628a\u8868\u7a7a\u95f4\u6bd4\u4f5c\u4e00\u4e2a\u96c6\u56e2\u519b&#xff0c;\u6bb5\u5c31\u662f\u5e08&#xff0c;\u533a\u5c31\u662f\u56e2\u3002FREE\/FREE_FRAG\/FULL_FRAG \u72b6\u6001\u7684\u533a\u5c31\u50cf\u72ec\u7acb\u56e2&#xff0c;\u76f4\u63a5\u542c\u547d\u4e8e\u519b\u90e8&#xff1b;\u800c FSEG \u72b6\u6001\u7684\u533a\u5219\u662f\u5404\u5e08\u7684\u76f4\u5c5e\u56e2\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u8868\u7a7a\u95f4\u7684\u7ba1\u7406\u673a\u5236<\/h3>\n<h4>5.1 XDES Entry&#xff1a;\u6bcf\u4e2a\u533a\u7684&#034;\u8eab\u4efd\u8bc1&#034;<\/h4>\n<p>\u8868\u7a7a\u95f4\u91cc\u6709\u6210\u5343\u4e0a\u4e07\u4e2a\u533a&#xff0c;\u600e\u4e48\u8bb0\u4f4f\u6bcf\u4e2a\u533a\u7684\u72b6\u6001&#xff1f;InnoDB \u4e3a\u6bcf\u4e2a\u533a\u8bbe\u8ba1\u4e86\u4e00\u4e2a 40 \u5b57\u8282\u7684 XDES Entry&#xff08;Extent Descriptor Entry&#xff09;&#xff1a;<\/p>\n<p>XDES Entry \u7ed3\u6784&#xff08;40 \u5b57\u8282&#xff09;&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502   Segment ID     \u2502   List Node      \u2502  State   \u2502 Page State Bitmap  \u2502<br \/>\n\u2502    (8 \u5b57\u8282)       \u2502   (12 \u5b57\u8282)       \u2502 (4 \u5b57\u8282) \u2502    (16 \u5b57\u8282)        \u2502<br \/>\n\u2502                  \u2502                  \u2502          \u2502                    \u2502<br \/>\n\u2502 \u8be5\u533a\u5c5e\u4e8e\u54ea\u4e2a\u6bb5     \u2502 \u524d\u540e\u6307\u9488&#xff0c;\u7528\u4e8e     \u2502 FREE     \u2502 128 \u4e2a\u6bd4\u7279\u4f4d &#061;      \u2502<br \/>\n\u2502 &#xff08;\u5982\u679c\u5206\u914d\u7ed9\u6bb5\u7684\u8bdd&#xff09;\u2502 \u4e32\u8054\u6210\u94fe\u8868        \u2502 FREE_FRAG\u2502 64 \u7ec4 \u00d7 2 \u4f4d&#xff0c;      \u2502<br \/>\n\u2502                  \u2502                  \u2502 FULL_FRAG\u2502 \u6807\u8bb0\u533a\u5185\u6bcf\u4e2a\u9875      \u2502<br \/>\n\u2502                  \u2502                  \u2502 FSEG     \u2502 \u662f\u5426\u7a7a\u95f2            \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6bcf\u4e2a\u7ec4\u6700\u591a 256 \u4e2a\u533a&#xff0c;\u6bcf\u4e2a\u533a\u4e00\u4e2a XDES Entry&#xff0c;\u6240\u4ee5\u9700\u8981 40 \u00d7 256 &#061; 10240 \u5b57\u8282\u3002\u8fd9\u4e9b XDES Entry \u96c6\u4e2d\u5b58\u50a8\u5728\u6bcf\u4e2a\u7ec4\u7684\u7b2c\u4e00\u4e2a\u9875\u9762\u4e2d\u3002<\/p>\n<h4>5.2 \u94fe\u8868\u738b\u56fd&#xff1a;15 \u6761\u94fe\u8868\u7684\u7cbe\u5bc6\u534f\u4f5c<\/h4>\n<p>InnoDB \u7528\u94fe\u8868\u6765\u7ba1\u7406\u6240\u6709\u533a&#xff0c;\u800c\u4e0d\u662f\u6bcf\u6b21\u90fd\u904d\u5386\u626b\u63cf\u3002\u8fd9\u4e9b\u94fe\u8868\u7531 XDES Entry \u901a\u8fc7 List Node \u4e32\u8054\u800c\u6210&#xff1a;<\/p>\n<p>\u76f4\u5c5e\u4e8e\u8868\u7a7a\u95f4\u7684 3 \u6761\u94fe\u8868&#xff08;\u6240\u6709\u533a\u90fd\u53c2\u4e0e&#xff09;&#xff1a;<\/p>\n<p>  FREE \u94fe\u8868      \u2192 \u4e32\u8054\u6240\u6709 FREE \u72b6\u6001\u7684\u533a<br \/>\n  FREE_FRAG \u94fe\u8868 \u2192 \u4e32\u8054\u6240\u6709 FREE_FRAG \u72b6\u6001\u7684\u533a<br \/>\n  FULL_FRAG \u94fe\u8868 \u2192 \u4e32\u8054\u6240\u6709 FULL_FRAG \u72b6\u6001\u7684\u533a<\/p>\n<p>\u6bcf\u4e2a\u6bb5\u5185\u90e8\u8fd8\u6709 3 \u6761\u94fe\u8868&#xff08;\u53ea\u4e32\u8054\u8be5\u6bb5\u62e5\u6709\u7684\u533a&#xff09;&#xff1a;<\/p>\n<p>  FREE \u94fe\u8868      \u2192 \u8be5\u6bb5\u4e2d\u5168\u7a7a\u95f2\u7684\u533a<br \/>\n  NOT_FULL \u94fe\u8868  \u2192 \u8be5\u6bb5\u4e2d\u8fd8\u6709\u7a7a\u9875\u7684\u533a<br \/>\n  FULL \u94fe\u8868      \u2192 \u8be5\u6bb5\u4e2d\u5df2\u6ee1\u7684\u533a<\/p>\n<p>\u4ee5\u4e00\u4e2a\u53ea\u6709\u805a\u7c07\u7d22\u5f15\u7684\u8868\u4e3a\u4f8b&#xff1a;<\/p>\n<p>\u8868 t&#xff08;\u4ec5\u6709\u805a\u7c07\u7d22\u5f15&#xff09;<br \/>\n    \u2502<br \/>\n    \u251c\u2500\u2500 \u53f6\u5b50\u8282\u70b9\u6bb5 \u2192 FREE \/ NOT_FULL \/ FULL \u94fe\u8868 \u00d7 3<br \/>\n    \u2514\u2500\u2500 \u975e\u53f6\u5b50\u8282\u70b9\u6bb5 \u2192 FREE \/ NOT_FULL \/ FULL \u94fe\u8868 \u00d7 3<\/p>\n<p>    \u52a0\u4e0a\u76f4\u5c5e\u4e8e\u8868\u7a7a\u95f4\u7684 3 \u6761&#xff1a;FREE \/ FREE_FRAG \/ FULL_FRAG<br \/>\n    \u52a0\u4e0a INODE \u9875\u7684\u7ba1\u7406\u94fe\u8868&#xff1a;SEG_INODES_FULL \/ SEG_INODES_FREE<\/p>\n<p>    \u603b\u8ba1&#xff1a;3 &#043; 3\u00d72 &#043; 3 &#043; 2 &#061; 14&#043; \u6761\u94fe\u8868<\/p>\n<p>\u6bcf\u6709\u94fe\u8868\u5c31\u6709\u4e00\u4e2a List Base Node \u7ed3\u6784&#xff08;16 \u5b57\u8282&#xff09;&#xff0c;\u8bb0\u5f55\u4e86\u94fe\u8868\u7684\u5934\u8282\u70b9\u4f4d\u7f6e\u3001\u5c3e\u8282\u70b9\u4f4d\u7f6e\u548c\u8282\u70b9\u603b\u6570&#xff1a;<\/p>\n<p>List Base Node:<br \/>\n  \u251c\u2500\u2500 List Length (4 \u5b57\u8282)<br \/>\n  \u251c\u2500\u2500 First Node Page Number (4 \u5b57\u8282) &#043; Offset (2 \u5b57\u8282)<br \/>\n  \u2514\u2500\u2500 Last Node Page Number (4 \u5b57\u8282) &#043; Offset (2 \u5b57\u8282)<\/p>\n<p>\u8fd9\u4e9b\u57fa\u8282\u70b9\u5b58\u653e\u5728\u8868\u7a7a\u95f4\u5934\u90e8\u9875\u9762\u7684\u56fa\u5b9a\u4f4d\u7f6e&#xff0c;\u8bbf\u95ee\u4efb\u4f55\u4e00\u4e2a\u94fe\u8868\u90fd\u975e\u5e38\u9ad8\u6548\u3002<\/p>\n<h4>5.3 INODE Entry&#xff1a;\u6bcf\u4e2a\u6bb5\u7684&#034;\u6863\u6848&#034;<\/h4>\n<p>\u533a\u6709 XDES Entry \u8fd9\u4e2a\u8eab\u4efd\u8bc1&#xff0c;\u6bb5\u4e5f\u6709\u81ea\u5df1\u7684&#034;\u6237\u53e3\u672c&#034;\u2014\u2014INODE Entry&#xff08;192 \u5b57\u8282&#xff09;&#xff1a;<\/p>\n<p>INODE Entry \u7ed3\u6784&#xff08;192 \u5b57\u8282&#xff09;&#xff1a;<br \/>\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502 Segment ID \u2502 NOT_FULL_N_USED\u2502 FREE \u94fe\u8868     \u2502 NOT_FULL \u94fe\u8868 \u2502 FULL \u94fe\u8868            \u2502<br \/>\n\u2502  (8 \u5b57\u8282)   \u2502   (4 \u5b57\u8282)     \u2502 List Base Node\u2502 List Base Node\u2502 List Base Node      \u2502<br \/>\n\u2502            \u2502 NOT_FULL \u94fe\u8868   \u2502 (16 \u5b57\u8282)     \u2502 (16 \u5b57\u8282)     \u2502 (16 \u5b57\u8282)            \u2502<br \/>\n\u2502            \u2502 \u5df2\u4f7f\u7528\u9875\u6570      \u2502               \u2502               \u2502                     \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 Magic Number (4 \u5b57\u8282) \u2192 \u503c\u4e3a 97937874 \u8868\u793a\u5df2\u7ecf\u521d\u59cb\u5316                                \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502 Fragment Array Entry \u00d7 32 (\u6bcf\u4e2a 4 \u5b57\u8282) \u2192 \u8bb0\u5f55\u8be5\u6bb5\u96f6\u6563\u9875\u9762\u7684\u9875\u53f7                    \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u4e00\u4e2a INODE \u7c7b\u578b\u7684\u9875\u53ef\u4ee5\u5b58\u653e 85 \u4e2a INODE Entry\u3002\u5982\u679c\u6bb5\u592a\u591a\u3001\u4e00\u4e2a\u9875\u653e\u4e0d\u4e0b&#xff0c;\u5c31\u901a\u8fc7 SEG_INODES_FULL \/ SEG_INODES_FREE \u94fe\u8868\u4e32\u8054\u66f4\u591a\u7684 INODE \u9875\u9762\u3002<\/p>\n<h4>5.4 Segment Header&#xff1a;\u7d22\u5f15\u5982\u4f55\u627e\u5230\u81ea\u5df1\u7684\u6bb5<\/h4>\n<p>\u6700\u540e\u4e00\u4e2a\u5173\u952e\u95ee\u9898&#xff1a;\u6bcf\u4e2a\u7d22\u5f15\u6709\u4e24\u4e2a\u6bb5&#xff08;\u53f6\u5b50\u6bb5\u548c\u975e\u53f6\u5b50\u6bb5&#xff09;&#xff0c;\u7d22\u5f15\u600e\u4e48\u627e\u5230\u81ea\u5df1\u7684\u6bb5\u5bf9\u5e94\u7684 INODE Entry&#xff1f;<\/p>\n<p>\u7b54\u6848\u85cf\u5728\u7d22\u5f15\u6839\u9875\u9762\u7684 Page Header \u90e8\u5206&#xff1a;<\/p>\n<p>INDEX \u7c7b\u578b\u9875\u9762\u7684 Page Header&#xff08;\u90e8\u5206\u5b57\u6bb5&#xff09;&#xff1a;<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502  PAGE_BTR_SEG_LEAF      \u2502 10 \u5b57\u8282  \u2502 B&#043; \u6811\u53f6\u5b50\u8282\u70b9\u6bb5\u5bf9\u5e94\u7684 INODE Entry \u5730\u5740  \u2502<br \/>\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524<br \/>\n\u2502  PAGE_BTR_SEG_TOP       \u2502 10 \u5b57\u8282  \u2502 B&#043; \u6811\u975e\u53f6\u5b50\u8282\u70b9\u6bb5\u5bf9\u5e94\u7684 INODE Entry \u5730\u5740 \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<\/p>\n<p>\u6bcf\u4e2a Segment Header \u8bb0\u5f55\u4e00\u4e2a\u7cbe\u786e\u5730\u5740&#xff1a;<br \/>\n  \u251c\u2500\u2500 Space ID (4 \u5b57\u8282)&#xff1a;INODE Entry \u6240\u5728\u7684\u8868\u7a7a\u95f4 ID<br \/>\n  \u251c\u2500\u2500 Page Number (4 \u5b57\u8282)&#xff1a;INODE Entry \u6240\u5728\u7684\u9875\u53f7<br \/>\n  \u2514\u2500\u2500 Byte Offset (2 \u5b57\u8282)&#xff1a;INODE Entry \u5728\u9875\u5185\u7684\u504f\u79fb\u91cf<\/p>\n<p>\u8fd9\u6837&#xff0c;\u7d22\u5f15\u5c31\u80fd\u901a\u8fc7\u6839\u9875\u9762\u4e2d\u7684 Segment Header \u7cbe\u786e\u5b9a\u4f4d\u5230\u53f6\u5b50\u6bb5\u548c\u975e\u53f6\u5b50\u6bb5\u7684\u6240\u6709\u4fe1\u606f\u3002<\/p>\n<hr \/>\n<h3>\u516d\u3001\u7cfb\u7edf\u8868\u7a7a\u95f4\u4e0e\u6570\u636e\u5b57\u5178<\/h3>\n<h4>6.1 \u7cfb\u7edf\u8868\u7a7a\u95f4\u7684\u7279\u6b8a\u9875\u9762<\/h4>\n<p>\u7cfb\u7edf\u8868\u7a7a\u95f4\u7684\u6574\u4f53\u7ed3\u6784\u548c\u72ec\u7acb\u8868\u7a7a\u95f4\u7c7b\u4f3c&#xff0c;\u4f46\u591a\u4e86\u51e0\u4e2a\u8bb0\u5f55\u6574\u4e2a\u7cfb\u7edf\u4fe1\u606f\u7684\u9875\u9762&#xff1a;<\/p>\n<p>\u7cfb\u7edf\u8868\u7a7a\u95f4\u5e03\u5c40&#xff08;Space ID &#061; 0&#xff09;&#xff1a;<\/p>\n<p>  \u9875\u53f7  \u7c7b\u578b            \u7528\u9014<br \/>\n  \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500<br \/>\n  0     FSP_HDR        \u8868\u7a7a\u95f4\u5934\u90e8\u4fe1\u606f &#043; \u7b2c1\u7ec4 XDES Entry<br \/>\n  1     IBUF_BITMAP    Insert Buffer \u4f4d\u56fe<br \/>\n  2     INODE          INODE Entry \u5b58\u50a8\u9875<br \/>\n  \u2500\u2500 \u4ee5\u4e0b\u4e3a\u7cfb\u7edf\u8868\u7a7a\u95f4\u7279\u6709 \u2500\u2500<br \/>\n  3     SYS            Insert Buffer \u5934\u90e8<br \/>\n  4     INDEX          Insert Buffer \u6839\u9875\u9762<br \/>\n  5     TRX_SYS        \u4e8b\u52a1\u7cfb\u7edf\u4fe1\u606f<br \/>\n  6     SYS            \u7b2c\u4e00\u4e2a\u56de\u6eda\u6bb5<br \/>\n  7     SYS            \u6570\u636e\u5b57\u5178\u5934\u90e8 \u2b50<br \/>\n  \u2500\u2500 Doublewrite Buffer \u2500\u2500<br \/>\n  64~127               \u53cc\u5199\u7f13\u51b2\u533a&#xff08;\u7b2c1\u533a&#xff09;<br \/>\n  128~191              \u53cc\u5199\u7f13\u51b2\u533a&#xff08;\u7b2c2\u533a&#xff09;<\/p>\n<h4>6.2 InnoDB \u6570\u636e\u5b57\u5178<\/h4>\n<p>\u6267\u884c INSERT INTO t VALUES (1, &#039;hello&#039;) \u65f6&#xff0c;MySQL \u9700\u8981\u9a8c\u8bc1&#xff1a;<\/p>\n<ul>\n<li>\u8868 t \u662f\u5426\u5b58\u5728&#xff1f;<\/li>\n<li>\u5217\u6570\u91cf\u662f\u5426\u5339\u914d&#xff1f;<\/li>\n<li>\u8be5\u8868\u7684\u7d22\u5f15\u6839\u9875\u9762\u5728\u54ea\u4e2a\u8868\u7a7a\u95f4\u7684\u54ea\u4e2a\u9875&#xff1f;<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b&#034;\u5143\u6570\u636e&#034;\u90fd\u5b58\u5728 InnoDB \u7684\u5185\u90e8\u7cfb\u7edf\u8868\u4e2d&#xff1a;<\/p>\n<p>InnoDB \u7684 4 \u4e2a\u57fa\u672c\u7cfb\u7edf\u8868&#xff08;\u5b83\u4eec\u81ea\u5df1\u4e5f\u662f B&#043; \u6811&#xff09;&#xff1a;<\/p>\n<p>  SYS_TABLES      \u2192 \u6574\u4e2a InnoDB \u4e2d\u6240\u6709\u8868\u7684\u4fe1\u606f<br \/>\n  SYS_COLUMNS     \u2192 \u6240\u6709\u5217\u7684\u4fe1\u606f&#xff08;\u7c7b\u578b\u3001\u957f\u5ea6\u3001\u662f\u5426\u53ef\u7a7a&#8230;&#xff09;<br \/>\n  SYS_INDEXES     \u2192 \u6240\u6709\u7d22\u5f15\u7684\u4fe1\u606f&#xff08;\u6839\u9875\u9762\u4f4d\u7f6e\u3001\u7d22\u5f15\u7c7b\u578b&#8230;&#xff09;<br \/>\n  SYS_FIELDS      \u2192 \u6bcf\u4e2a\u7d22\u5f15\u5305\u542b\u54ea\u4e9b\u5217<\/p>\n<p>\u8fd9 4 \u5f20\u8868\u7684\u5143\u6570\u636e&#xff08;\u5b83\u4eec\u6709\u54ea\u4e9b\u5217\u3001\u7d22\u5f15\u5728\u54ea\u91cc&#xff09;\u786c\u7f16\u7801\u5728\u4ee3\u7801\u4e2d&#xff0c;\u800c\u5b83\u4eec\u7684\u7d22\u5f15\u6839\u9875\u9762\u4f4d\u7f6e\u8bb0\u5f55\u5728\u9875\u53f7\u4e3a 7 \u7684 Data Dictionary Header \u9875\u9762\u91cc&#xff1a;<\/p>\n<p>Data Dictionary Header \u7684\u5173\u952e\u5b57\u6bb5&#xff1a;<\/p>\n<p>  Max Row ID          \u2192 \u81ea\u589e row_id&#xff0c;\u5168\u5c40\u5171\u4eab<br \/>\n  Max Table ID        \u2192 \u4e0b\u6b21\u5efa\u8868\u65f6\u5206\u914d\u7ed9\u65b0\u8868\u7684 ID<br \/>\n  Max Index ID        \u2192 \u4e0b\u6b21\u5efa\u7d22\u5f15\u65f6\u5206\u914d\u7ed9\u65b0\u7d22\u5f15\u7684 ID<br \/>\n  Max Space ID        \u2192 \u4e0b\u6b21\u5efa\u8868\u7a7a\u95f4\u65f6\u5206\u914d\u7ed9\u65b0\u8868\u7a7a\u95f4\u7684 ID<\/p>\n<p>  Root of SYS_TABLES clust index        \u2192 SYS_TABLES \u805a\u7c07\u7d22\u5f15\u6839\u9875\u9762<br \/>\n  Root of SYS_TABLE_IDS sec index       \u2192 SYS_TABLES \u7684 ID \u5217\u4e8c\u7ea7\u7d22\u5f15\u6839\u9875\u9762<br \/>\n  Root of SYS_COLUMNS clust index       \u2192 SYS_COLUMNS \u805a\u7c07\u7d22\u5f15\u6839\u9875\u9762<br \/>\n  Root of SYS_INDEXES clust index       \u2192 SYS_INDEXES \u805a\u7c07\u7d22\u5f15\u6839\u9875\u9762<br \/>\n  Root of SYS_FIELDS clust index        \u2192 SYS_FIELDS \u805a\u7c07\u7d22\u5f15\u6839\u9875\u9762<\/p>\n<h4>6.3 information_schema&#xff1a;\u7ed9\u7528\u6237\u5f00\u7684&#034;\u540e\u95e8&#034;<\/h4>\n<p>\u666e\u901a\u7528\u6237\u4e0d\u80fd\u76f4\u63a5\u8bbf\u95ee SYS_* \u5185\u90e8\u7cfb\u7edf\u8868&#xff0c;\u4f46\u53ef\u4ee5\u901a\u8fc7 information_schema \u6570\u636e\u5e93\u4e2d\u7684 INNODB_SYS_* \u8868\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token keyword\">USE<\/span> information_schema<span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">SHOW<\/span> <span class=\"token keyword\">TABLES<\/span> <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;INNODB_SYS%&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u7ed3\u679c&#xff1a;<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_TABLES       \u2190 \u67e5\u770b\u6240\u6709 InnoDB \u8868\u7684\u4fe1\u606f<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_COLUMNS      \u2190 \u67e5\u770b\u6240\u6709\u5217\u7684\u5b9a\u4e49<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_INDEXES      \u2190 \u67e5\u770b\u6240\u6709\u7d22\u5f15\u7684\u4fe1\u606f<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_FIELDS       \u2190 \u67e5\u770b\u7d22\u5f15\u5305\u542b\u7684\u5217<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_TABLESPACES  \u2190 \u67e5\u770b\u6240\u6709\u8868\u7a7a\u95f4<\/span><br \/>\n<span class=\"token comment\">&#8212; INNODB_SYS_DATAFILES    \u2190 \u67e5\u770b\u8868\u7a7a\u95f4\u5bf9\u5e94\u7684\u7269\u7406\u6587\u4ef6<\/span><br \/>\n<span class=\"token comment\">&#8212; &#8230;<\/span><\/p>\n<p><span class=\"token comment\">&#8212; \u5b9e\u6218&#xff1a;\u67e5\u770b\u67d0\u4e2a\u8868\u6240\u5728\u8868\u7a7a\u95f4\u7684 ID<\/span><br \/>\n<span class=\"token keyword\">SELECT<\/span> name<span class=\"token punctuation\">,<\/span> space <span class=\"token keyword\">FROM<\/span> INNODB_SYS_TABLES <span class=\"token keyword\">WHERE<\/span> name <span class=\"token operator\">LIKE<\/span> <span class=\"token string\">&#039;%test%&#039;<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u8fd9\u4e9b INNODB_SYS_* \u8868\u4e0d\u662f\u771f\u6b63\u7684\u5185\u90e8\u7cfb\u7edf\u8868&#xff0c;\u800c\u662f MySQL \u542f\u52a8\u65f6\u4ece SYS_* \u8868\u8bfb\u53d6\u6570\u636e\u540e\u586b\u5145\u7684\u53ea\u8bfb\u5feb\u7167\u3002<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u603b\u7ed3&#xff1a;\u4e00\u5f20\u56fe\u770b\u6e05\u5168\u8c8c<\/h3>\n<p>MySQL \u6570\u636e\u5b58\u50a8\u5c42\u6b21\u7ed3\u6784<\/p>\n<p>\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n\u2502                        \u6570\u636e\u76ee\u5f55 (datadir)                         \u2502<br \/>\n\u2502  \/usr\/local\/var\/mysql\/                                          \u2502<br \/>\n\u2502                                                                 \u2502<br \/>\n\u2502  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510  \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510               \u2502<br \/>\n\u2502  \u2502  mydb\/     \u2502  \u2502  testdb\/   \u2502  \u2502  mysql\/    \u2502  &#8230; \u6570\u636e\u5e93     \u2502<br \/>\n\u2502  \u2502  \u251c db.opt  \u2502  \u2502  \u251c db.opt  \u2502  \u2502  (\u7cfb\u7edf\u5e93)  \u2502               \u2502<br \/>\n\u2502  \u2502  \u251c t1.frm  \u2502  \u2502  \u251c t2.frm  \u2502  \u2502            \u2502               \u2502<br \/>\n\u2502  \u2502  \u2514 t1.ibd \u2500\u253c\u2500\u2500\u253c\u2500\u2500\u253c\u2500\u2500\u2192 \u8868\u7a7a\u95f4 \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 \u2502<br \/>\n\u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518  \u2502  \u2514 t2.ibd   \u2502  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518               \u2502<br \/>\n\u2502                  \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518                                 \u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                            \u2502<br \/>\n        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n        \u25bc                                       \u25bc<br \/>\n   \u7cfb\u7edf\u8868\u7a7a\u95f4 (ibdata1)                   \u72ec\u7acb\u8868\u7a7a\u95f4 (t1.ibd)<br \/>\n   \u6bcf\u4e2a\u5b9e\u4f8b\u53ea\u6709\u4e00\u4efd                         \u6bcf\u4e2a\u8868\u4e00\u4efd<br \/>\n        \u2502                                       \u2502<br \/>\n        \u2502  \u250c\u2500\u2500\u2500 \u533a (Extent) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510   \u2502<br \/>\n        \u2514\u2500\u2500\u2502  \u8fde\u7eed 64 \u4e2a\u9875 &#061; 1MB             \u2502\u2500\u2500\u2500\u2518<br \/>\n           \u2502  XDES Entry \u7ba1\u7406\u6bcf\u4e2a\u533a          \u2502<br \/>\n           \u2502  FREE \/ FREE_FRAG \/ FULL_FRAG  \u2502<br \/>\n           \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                            \u2502<br \/>\n        \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n        \u25bc                                       \u25bc<br \/>\n   \u53f6\u5b50\u8282\u70b9\u6bb5 (Leaf Segment)           \u975e\u53f6\u5b50\u8282\u70b9\u6bb5 (Non-Leaf Segment)<br \/>\n   \u5b58\u653e\u5b8c\u6574\u7528\u6237\u8bb0\u5f55                     \u5b58\u653e\u76ee\u5f55\u9879\u8bb0\u5f55<br \/>\n   INODE Entry \u7ba1\u7406                     INODE Entry \u7ba1\u7406<br \/>\n   FREE \/ NOT_FULL \/ FULL \u94fe\u8868          FREE \/ NOT_FULL \/ FULL \u94fe\u8868<br \/>\n        \u2502                                       \u2502<br \/>\n        \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                            \u25bc<br \/>\n                    \u6570\u636e\u9875 (16KB)<br \/>\n                    B&#043; \u6811\u7684\u8282\u70b9<br \/>\n                    \u771f\u6b63\u7684\u8bb0\u5f55\u5b58\u50a8\u5355\u5143<\/p>\n<p>\u6838\u5fc3\u8981\u70b9\u56de\u987e&#xff1a;<\/p>\n<table>\n<tr>\u6982\u5ff5\u4e00\u53e5\u8bdd\u89e3\u91ca\u7c7b\u6bd4<\/tr>\n<tbody>\n<tr>\n<td>\u6570\u636e\u76ee\u5f55<\/td>\n<td>MySQL \u5b58\u653e\u6240\u6709\u6570\u636e\u7684\u6839\u8def\u5f84<\/td>\n<td>\u4e00\u680b\u5927\u697c<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5e93<\/td>\n<td>\u6570\u636e\u76ee\u5f55\u4e0b\u7684\u4e00\u4e2a\u5b50\u6587\u4ef6\u5939<\/td>\n<td>\u5927\u697c\u91cc\u7684\u4e00\u5c42<\/td>\n<\/tr>\n<tr>\n<td>\u8868\u7a7a\u95f4<\/td>\n<td>\u7ba1\u7406\u9875\u7684\u903b\u8f91\u5bb9\u5668&#xff0c;\u5bf9\u5e94 .ibd \u6216 ibdata1<\/td>\n<td>\u4e00\u5c42\u91cc\u7684\u4e00\u4e2a\u623f\u95f4<\/td>\n<\/tr>\n<tr>\n<td>\u533a (Extent)<\/td>\n<td>64 \u4e2a\u8fde\u7eed\u9875&#xff0c;\u5206\u914d\u7a7a\u95f4\u7684\u57fa\u672c\u5355\u4f4d<\/td>\n<td>\u623f\u95f4\u91cc\u7684\u4e00\u4e2a\u4e66\u67b6<\/td>\n<\/tr>\n<tr>\n<td>\u6bb5 (Segment)<\/td>\n<td>\u7d22\u5f15\u7684\u53f6\u5b50\/\u975e\u53f6\u5b50\u8282\u70b9\u5404\u81ea\u72ec\u7acb\u7684\u533a\u96c6\u5408<\/td>\n<td>\u4e66\u67b6\u6309&#034;\u5c0f\u8bf4\/\u5de5\u5177\u4e66&#034;\u5206\u533a<\/td>\n<\/tr>\n<tr>\n<td>\u9875 (Page)<\/td>\n<td>16KB \u7684\u8bfb\u5199\u57fa\u672c\u5355\u4f4d<\/td>\n<td>\u4e66\u67b6\u4e0a\u7684\u4e00\u672c\u4e66<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u636e\u5b57\u5178<\/td>\n<td>InnoDB \u5185\u90e8\u7cfb\u7edf\u8868&#xff0c;\u8bb0\u5f55\u8868\u548c\u7d22\u5f15\u7684\u5143\u6570\u636e<\/td>\n<td>\u623f\u95f4\u95e8\u53e3\u7684\u76ee\u5f55\u7d22\u5f15<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<p>&#x1f4da; \u5ef6\u4f38\u9605\u8bfb&#xff1a;<\/p>\n<ul>\n<li>MySQL \u5b98\u65b9\u6587\u6863&#xff1a; The InnoDB Storage Engine<\/li>\n<li>InnoDB \u8868\u7a7a\u95f4\u7ba1\u7406\u6e90\u7801\u5206\u6790<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>MySQL \u6570\u636e\u5230\u5e95\u5b58\u5728\u54ea\u91cc&#xff1f;\u4ece\u6570\u636e\u76ee\u5f55\u5230 InnoDB \u8868\u7a7a\u95f4&#xff0c;\u4e00\u5c42\u5c42\u63ed\u5f00\u795e\u79d8\u9762\u7eb1 \u6458\u8981&#xff1a;\u6bcf\u6b21\u6267\u884c INSERT \u90fd\u611f\u89c9\u6570\u636e\\&#8221;\u6d88\u5931\\&#8221;\u8fdb\u4e86\u6570\u636e\u5e93&#xff0c;\u53ef\u5b83\u5b9e\u9645\u5b58\u5728\u78c1\u76d8\u7684\u54ea\u4e2a\u89d2\u843d&#xff1f;MySQL \u7684\u6570\u636e\u76ee\u5f55\u3001.ibd \u6587\u4ef6\u3001\u8868\u7a7a\u95f4\u3001\u533a\u3001\u6bb5\u2026\u8fd9\u4e9b\u6982\u5ff5\u4e4b\u95f4\u5230\u5e95\u662f\u4ec0\u4e48\u5173\u7cfb&#xff1f;\u672c\u6587\u5c06\u7528\u901a\u4fd7\u7684\u6bd4\u55bb\u548c\u56fe\u89e3&#xff0c;\u5e26\u4f60\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e00\u8def\u8d70\u8fdb InnoDB \u8868\u7a7a\u95f4\u7684\u5185\u90e8\u4e16\u754c\u3002 \u4e00\u3001\u5199\u4e00\u6761 INSERT&#xff0c;<\/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,100],"topic":[],"class_list":["post-90805","post","type-post","status-publish","format-standard","hentry","category-server","tag-mysql","tag-100"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \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\/90805.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"MySQL \u6570\u636e\u5230\u5e95\u5b58\u5728\u54ea\u91cc&#xff1f;\u4ece\u6570\u636e\u76ee\u5f55\u5230 InnoDB \u8868\u7a7a\u95f4&#xff0c;\u4e00\u5c42\u5c42\u63ed\u5f00\u795e\u79d8\u9762\u7eb1 \u6458\u8981&#xff1a;\u6bcf\u6b21\u6267\u884c INSERT \u90fd\u611f\u89c9\u6570\u636e&quot;\u6d88\u5931&quot;\u8fdb\u4e86\u6570\u636e\u5e93&#xff0c;\u53ef\u5b83\u5b9e\u9645\u5b58\u5728\u78c1\u76d8\u7684\u54ea\u4e2a\u89d2\u843d&#xff1f;MySQL \u7684\u6570\u636e\u76ee\u5f55\u3001.ibd \u6587\u4ef6\u3001\u8868\u7a7a\u95f4\u3001\u533a\u3001\u6bb5\u2026\u8fd9\u4e9b\u6982\u5ff5\u4e4b\u95f4\u5230\u5e95\u662f\u4ec0\u4e48\u5173\u7cfb&#xff1f;\u672c\u6587\u5c06\u7528\u901a\u4fd7\u7684\u6bd4\u55bb\u548c\u56fe\u89e3&#xff0c;\u5e26\u4f60\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e00\u8def\u8d70\u8fdb InnoDB \u8868\u7a7a\u95f4\u7684\u5185\u90e8\u4e16\u754c\u3002 \u4e00\u3001\u5199\u4e00\u6761 INSERT&#xff0c;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/90805.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-05T18:32:33+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=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90805.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/90805.html\",\"name\":\"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-05T18:32:33+00:00\",\"dateModified\":\"2026-08-05T18:32:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/90805.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/90805.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/90805.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8\"}]},{\"@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":"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \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\/90805.html","og_locale":"zh_CN","og_type":"article","og_title":"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"MySQL \u6570\u636e\u5230\u5e95\u5b58\u5728\u54ea\u91cc&#xff1f;\u4ece\u6570\u636e\u76ee\u5f55\u5230 InnoDB \u8868\u7a7a\u95f4&#xff0c;\u4e00\u5c42\u5c42\u63ed\u5f00\u795e\u79d8\u9762\u7eb1 \u6458\u8981&#xff1a;\u6bcf\u6b21\u6267\u884c INSERT \u90fd\u611f\u89c9\u6570\u636e\"\u6d88\u5931\"\u8fdb\u4e86\u6570\u636e\u5e93&#xff0c;\u53ef\u5b83\u5b9e\u9645\u5b58\u5728\u78c1\u76d8\u7684\u54ea\u4e2a\u89d2\u843d&#xff1f;MySQL \u7684\u6570\u636e\u76ee\u5f55\u3001.ibd \u6587\u4ef6\u3001\u8868\u7a7a\u95f4\u3001\u533a\u3001\u6bb5\u2026\u8fd9\u4e9b\u6982\u5ff5\u4e4b\u95f4\u5230\u5e95\u662f\u4ec0\u4e48\u5173\u7cfb&#xff1f;\u672c\u6587\u5c06\u7528\u901a\u4fd7\u7684\u6bd4\u55bb\u548c\u56fe\u89e3&#xff0c;\u5e26\u4f60\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e00\u8def\u8d70\u8fdb InnoDB \u8868\u7a7a\u95f4\u7684\u5185\u90e8\u4e16\u754c\u3002 \u4e00\u3001\u5199\u4e00\u6761 INSERT&#xff0c;","og_url":"https:\/\/www.wsisp.com\/helps\/90805.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-05T18:32:33+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/90805.html","url":"https:\/\/www.wsisp.com\/helps\/90805.html","name":"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-05T18:32:33+00:00","dateModified":"2026-08-05T18:32:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/90805.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/90805.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/90805.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MySQL \u6570\u636e\u76ee\u5f55\u4e0e InnoDB \u8868\u7a7a\u95f4\u5e95\u5c42\u5b58\u50a8\u5168\u666f\u63ed\u79d8"}]},{"@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\/90805","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=90805"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/90805\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=90805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=90805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=90805"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=90805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}