{"id":37424,"date":"2023-12-11T14:41:25","date_gmt":"2023-12-11T06:41:25","guid":{"rendered":"https:\/\/wx.kaifamiao.info\/?p=37424"},"modified":"2023-12-11T14:41:25","modified_gmt":"2023-12-11T06:41:25","slug":"%e8%af%b4%e8%af%b4%e8%87%aa%e5%b7%b1%e5%af%b9%e4%ba%8e-mysql-%e5%b8%b8%e8%a7%81%e7%9a%84%e4%b8%a4%e7%a7%8d%e5%ad%98%e5%82%a8%e5%bc%95%e6%93%8e%ef%bc%9amyisam%e4%b8%8einnodb%e7%9a%84%e7%90%86%e8%a7%a3","status":"publish","type":"post","link":"http:\/\/wx.kaifamiao.info\/index.php\/2023\/12\/11\/%e8%af%b4%e8%af%b4%e8%87%aa%e5%b7%b1%e5%af%b9%e4%ba%8e-mysql-%e5%b8%b8%e8%a7%81%e7%9a%84%e4%b8%a4%e7%a7%8d%e5%ad%98%e5%82%a8%e5%bc%95%e6%93%8e%ef%bc%9amyisam%e4%b8%8einnodb%e7%9a%84%e7%90%86%e8%a7%a3\/","title":{"rendered":"\u8bf4\u8bf4\u81ea\u5df1\u5bf9\u4e8e MySQL \u5e38\u89c1\u7684\u4e24\u79cd\u5b58\u50a8\u5f15\u64ce\uff1aMyISAM\u4e0eInnoDB\u7684\u7406\u89e3\uff1f"},"content":{"rendered":"<p>&#8220;`&#8221;                    <b>InnoDB \u5f15\u64ce<\/b>\uff1aInnoDB \u5f15\u64ce\u63d0\u4f9b\u4e86\u5bf9\u6570\u636e\u5e93 acid \u4e8b\u52a1\u7684\u652f\u6301\uff0c\u5e76\u4e14\u8fd8\u63d0\u4f9b\u4e86\u884c\u7ea7\u9501\u548c\u5916\u952e\u7684\u7ea6\u675f\uff0c\u5b83\u7684\u8bbe\u8ba1\u7684\u76ee\u6807\u5c31\u662f\u5904\u7406\u5927\u6570\u636e\u5bb9\u91cf\u7684\u6570\u636e\u5e93\u7cfb\u7edf\u3002MySQL \u8fd0\u884c\u7684\u65f6\u5019\uff0cInnoDB \u4f1a\u5728\u5185\u5b58\u4e2d\u5efa\u7acb\u7f13\u51b2\u6c60\uff0c\u7528\u4e8e\u7f13\u51b2\u6570\u636e\u548c\u7d22\u5f15\u3002\u4f46\u662f\u8be5\u5f15\u64ce\u662f\u4e0d\u652f\u6301\u5168\u6587\u641c\u7d22\uff0c\u540c\u65f6\u542f\u52a8\u4e5f\u6bd4\u8f83\u7684\u6162\uff0c\u5b83\u662f\u4e0d\u4f1a\u4fdd\u5b58\u8868\u7684\u884c\u6570\u7684\uff0c\u6240\u4ee5\u5f53\u8fdb\u884c select count() from table \u6307\u4ee4\u7684\u65f6\u5019\uff0c\u9700\u8981\u8fdb\u884c\u626b\u63cf\u5168\u8868\u3002\u7531\u4e8e\u9501\u7684\u7c92\u5ea6\u5c0f\uff0c\u5199\u64cd\u4f5c\u662f\u4e0d\u4f1a\u9501\u5b9a\u5168\u8868\u7684,\u6240\u4ee5\u5728\u5e76\u53d1\u5ea6\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\u4f7f\u7528\u4f1a\u63d0\u5347\u6548\u7387\u7684\u3002<\/p>\n<p>&lt;b&gt;MyIASM \u5f15\u64ce&lt;\/b&gt;\uff1aMySQL \u7684\u9ed8\u8ba4\u5f15\u64ce\uff0c\u4f46\u4e0d\u63d0\u4f9b\u4e8b\u52a1\u7684\u652f\u6301\uff0c\u4e5f\u4e0d\u652f\u6301\u884c\u7ea7\u9501\u548c\u5916\u952e\u3002\u56e0\u6b64\u5f53\u6267\u884c\u63d2\u5165\u548c\u66f4\u65b0\u8bed\u53e5\u65f6\uff0c\u5373\u6267\u884c\u5199\u64cd\u4f5c\u7684\u65f6\u5019\u9700\u8981\u9501\u5b9a\u8fd9\u4e2a\u8868\uff0c\u6240\u4ee5\u4f1a\u5bfc\u81f4\u6548\u7387\u4f1a\u964d\u4f4e\u3002\u4e0d\u8fc7\u548c InnoDB \u4e0d\u540c\u7684\u662f\uff0cMyIASM \u5f15\u64ce\u662f\u4fdd\u5b58\u4e86\u8868\u7684\u884c\u6570\uff0c\u4e8e\u662f\u5f53\u8fdb\u884c select count() from table \u8bed\u53e5\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u7684\u8bfb\u53d6\u5df2\u7ecf\u4fdd\u5b58\u7684\u503c\u800c\u4e0d\u9700\u8981\u8fdb\u884c\u626b\u63cf\u5168\u8868\u3002\u6240\u4ee5\uff0c\u5982\u679c\u8868\u7684\u8bfb\u64cd\u4f5c\u8fdc\u8fdc\u591a\u4e8e\u5199\u64cd\u4f5c\u65f6\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u4e8b\u52a1\u7684\u652f\u6301\u7684\uff0c\u53ef\u4ee5\u5c06 MyIASM \u4f5c\u4e3a\u6570\u636e\u5e93\u5f15\u64ce\u7684\u9996\u9009\u3002<\/p>\n<p>&lt;pre&gt;&lt;code&gt;            &quot;&#8220;`<br \/>\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;`&#8221; InnoDB \u5f15\u64ce\uff1aInnoDB \u5f15\u64ce\u63d0\u4f9b\u4e86\u5bf9\u6570\u636e\u5e93 acid \u4e8b\u52a1\u7684\u652f\u6301\uff0c\u5e76 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-37424","post","type-post","status-publish","format-standard","hentry","category-c"],"_links":{"self":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/comments?post=37424"}],"version-history":[{"count":1,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37424\/revisions"}],"predecessor-version":[{"id":37425,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/posts\/37424\/revisions\/37425"}],"wp:attachment":[{"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/media?parent=37424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/categories?post=37424"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wx.kaifamiao.info\/index.php\/wp-json\/wp\/v2\/tags?post=37424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}