{"id":2863,"date":"2023-07-11T22:14:10","date_gmt":"2023-07-11T14:14:10","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=2863"},"modified":"2023-07-13T15:43:19","modified_gmt":"2023-07-13T07:43:19","slug":"mysql%e8%bf%99%e6%a0%b7%e4%bc%98%e5%8c%96%ef%bc%8c%e5%90%8c%e4%ba%8b%e7%9b%b4%e5%91%bc%e5%93%87%e5%a1%9e%ef%bc%81","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/mysql\/mysql%e8%bf%99%e6%a0%b7%e4%bc%98%e5%8c%96%ef%bc%8c%e5%90%8c%e4%ba%8b%e7%9b%b4%e5%91%bc%e5%93%87%e5%a1%9e%ef%bc%81\/","title":{"rendered":"MySQL\u8fd9\u6837\u4f18\u5316\uff0c\u540c\u4e8b\u76f4\u547c\u54c7\u585e\uff01"},"content":{"rendered":"<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"padding-right: 10px;padding-left: 10px;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, &quot;PingFang SC&quot;, Cambria, Cochin, Georgia, Times, &quot;Times New Roman&quot;, serif;line-height: 1.6;letter-spacing: 0.034em;color: rgb(63, 63, 63);font-size: 16px;\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u9762\u8bd5\u5b98\u5982\u679c\u95ee\u4f60\uff1a\u4f60\u4f1a\u4ece\u54ea\u4e9b\u7ef4\u5ea6\u8fdb\u884cMySQL\u6027\u80fd\u4f18\u5316\uff1f\u4f60\u4f1a\u600e\u4e48\u56de\u7b54\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6240\u8c13\u7684\u6027\u80fd\u4f18\u5316\uff0c\u4e00\u822c\u9488\u5bf9\u7684\u662fMySQL\u67e5\u8be2\u7684\u4f18\u5316\u3002\u65e2\u7136\u662f\u4f18\u5316\u67e5\u8be2\uff0c\u6211\u4eec\u81ea\u7136\u8981\u5148\u77e5\u9053\u67e5\u8be2\u64cd\u4f5c\u8981\u7ecf\u8fc7\u54ea\u4e9b\u73af\u8282\uff0c\u7136\u540e\u601d\u8003\u53ef\u4ee5\u5728\u54ea\u4e9b\u73af\u8282\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e0b\u9762\u4ece5\u4e2a\u89d2\u5ea6\u4ecb\u7ecd\u4e00\u4e0bMySQL\u4f18\u5316\u7684\u4e00\u4e9b\u7b56\u7565\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.9296296296296296\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.9296296296296296\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><br \/>\n <\/figure>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;background: rgb(251, 249, 253);color: rgb(106, 115, 125);margin-bottom: 20px;margin-top: 20px;padding: 15px 20px;line-height: 27px;border-left-color: rgb(53, 179, 120);\">\n<p style=\"line-height: 26px;font-size: 15px;color: rgb(89, 89, 89);\">\u63a8\u8350\u4e00\u5957\u57fa\u4e8e SpringBoot + Vue + uni-app \u5b9e\u73b0\u7684\u5168\u5957\u7535\u5546\u7cfb\u7edfmall\uff08<strong><span style=\"color: rgb(57, 179, 122);\">Github\u6807\u661f60K<\/span><\/strong>\uff09\uff0c\u524d\u53f0\u5546\u57ce\u9879\u76ee\u548c\u540e\u53f0\u7ba1\u7406\u7cfb\u7edf\u90fd\u6709\u4e86\uff0c\u80fd\u652f\u6301\u5b8c\u6574\u7684\u8ba2\u5355\u6d41\u7a0b\uff01\u6db5\u76d6\u5546\u54c1\u3001\u8ba2\u5355\u3001\u8d2d\u7269\u8f66\u3001\u6743\u9650\u3001\u4f18\u60e0\u5238\u3001\u4f1a\u5458\u7b49\u529f\u80fd\uff0c\u529f\u80fd\u5f88\u5f3a\u5927\uff01<\/p>\n<ul style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n     \u9879\u76ee\u5730\u5740\uff1a<strong><span style=\"color: rgb(57, 179, 122);\">https:\/\/github.com\/macrozheng\/mall<\/span><\/strong><br \/>\n    <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n     \u89c6\u9891\u6559\u7a0b\uff1a<strong><span style=\"color: rgb(57, 179, 122);\">https:\/\/www.macrozheng.com\/video\/<\/span><\/strong><br \/>\n    <\/section>\n<\/li>\n<\/ul>\n<\/blockquote>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">1. \u8fde\u63a5\u914d\u7f6e\u4f18\u5316<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5904\u7406\u8fde\u63a5\u662fMySQL\u5ba2\u6237\u7aef\u548cMySQL\u670d\u52a1\u7aef\u4eb2\u70ed\u7684\u7b2c\u4e00\u6b65\uff0c\u7b2c\u4e00\u6b65\u90fd\u8fc8\u4e0d\u597d\uff0c\u4e5f\u5c31\u522b\u8c08\u540e\u6765\u7684\u6545\u4e8b\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u65e2\u7136\u8fde\u63a5\u662f\u53cc\u65b9\u7684\u4e8b\u60c5\uff0c\u6211\u4eec\u81ea\u7136\u4ece\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u4e24\u4e2a\u65b9\u9762\u6765\u8fdb\u884c\u4f18\u5316\u55bd\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">1.1 \u670d\u52a1\u7aef\u914d\u7f6e<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u670d\u52a1\u7aef\u9700\u8981\u505a\u7684\u5c31\u662f\u5c3d\u53ef\u80fd\u5730\u591a\u63a5\u53d7\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\uff0c\u6216\u8bb8\u4f60\u9047\u5230\u8fc7<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">error 1040: Too many connections<\/code>\u7684\u9519\u8bef\uff1f\u5c31\u662f\u670d\u52a1\u7aef\u7684\u80f8\u6000\u4e0d\u591f\u5bbd\u5e7f\u5bfc\u81f4\u7684\uff0c\u683c\u5c40\u592a\u5c0f\uff01<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"1.0664451827242525\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402d9d99d468.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"602\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"1.0664451827242525\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402d9d99d468.png\" data-w=\"602\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><br \/>\n <\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6211\u4eec\u53ef\u4ee5\u4ece\u4e24\u4e2a\u65b9\u9762\u89e3\u51b3\u8fde\u63a5\u6570\u4e0d\u591f\u7684\u95ee\u9898\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u589e\u52a0\u53ef\u7528\u8fde\u63a5\u6570\uff0c\u4fee\u6539\u73af\u5883\u53d8\u91cf<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">max_connections<\/code>\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u670d\u52a1\u7aef\u7684\u6700\u5927\u8fde\u63a5\u6570\u4e3a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">151<\/code>\u4e2a<br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">show<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">variables<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">like<\/span>&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'max_connections'<\/span>;<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-------+<\/span><br>|&nbsp;Variable_name&nbsp;&nbsp;&nbsp;|&nbsp;Value&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-------+<\/span><br>|&nbsp;max_connections&nbsp;|&nbsp;151&nbsp;&nbsp;&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-------+<\/span><br>1&nbsp;row&nbsp;in&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>&nbsp;sec)<br><\/code><\/pre>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u53ca\u65f6\u91ca\u653e\u4e0d\u6d3b\u52a8\u7684\u8fde\u63a5\uff0c\u7cfb\u7edf\u9ed8\u8ba4\u7684\u5ba2\u6237\u7aef\u8d85\u65f6\u65f6\u95f4\u662f28800\u79d2\uff088\u5c0f\u65f6\uff09\uff0c\u6211\u4eec\u53ef\u4ee5\u628a\u8fd9\u4e2a\u503c\u8c03\u5c0f\u4e00\u70b9<br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">show<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">variables<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">like<\/span>&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'wait_timeout'<\/span>;<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+-------+<\/span><br>|&nbsp;Variable_name&nbsp;|&nbsp;Value&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+-------+<\/span><br>|&nbsp;wait_timeout&nbsp;&nbsp;|&nbsp;28800&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+-------+<\/span><br>1&nbsp;row&nbsp;in&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0.01<\/span>&nbsp;sec)<br><\/code><\/pre>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;background: rgb(251, 249, 253);color: rgb(106, 115, 125);margin-bottom: 20px;margin-top: 20px;padding: 15px 20px;line-height: 27px;border-left-color: rgb(53, 179, 120);\">\n<p style=\"line-height: 26px;font-size: 15px;color: rgb(89, 89, 89);\">MySQL\u6709\u975e\u5e38\u591a\u7684\u914d\u7f6e\u53c2\u6570\uff0c\u5e76\u4e14\u5927\u90e8\u5206\u53c2\u6570\u90fd\u63d0\u4f9b\u4e86\u9ed8\u8ba4\u503c\uff0c\u9ed8\u8ba4\u503c\u662fMySQL\u4f5c\u8005\u7ecf\u8fc7\u7cbe\u5fc3\u8bbe\u8ba1\u7684\uff0c\u5b8c\u5168\u53ef\u4ee5\u6ee1\u8db3\u5927\u90e8\u5206\u60c5\u51b5\u7684\u9700\u6c42\uff0c\u4e0d\u5efa\u8bae\u5728\u4e0d\u6e05\u695a\u53c2\u6570\u542b\u4e49\u7684\u60c5\u51b5\u4e0b\u8d38\u7136\u4fee\u6539\u3002<\/p>\n<\/blockquote>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">1.2 \u5ba2\u6237\u7aef\u4f18\u5316<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5ba2\u6237\u7aef\u80fd\u505a\u7684\u5c31\u662f\u5c3d\u91cf\u51cf\u5c11\u548c\u670d\u52a1\u7aef\u5efa\u7acb\u8fde\u63a5\u7684\u6b21\u6570\uff0c\u5df2\u7ecf\u5efa\u7acb\u7684\u8fde\u63a5\u80fd\u51d1\u5408\u7528\u5c31\u51d1\u5408\u7528\uff0c\u522b\u6bcf\u6b21\u6267\u884c\u4e2aSQL\u8bed\u53e5\u90fd\u521b\u5efa\u4e2a\u65b0\u8fde\u63a5\uff0c\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u8d44\u6e90\u90fd\u5403\u4e0d\u6d88\u554a\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u89e3\u51b3\u7684\u65b9\u6848\u5c31\u662f\u4f7f\u7528<strong style=\"line-height: 1.75em;\">\u8fde\u63a5\u6c60<\/strong>\u6765\u590d\u7528\u8fde\u63a5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5e38\u89c1\u7684\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u6709<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">DBCP<\/code>\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">C3P0<\/code>\u3001\u963f\u91cc\u7684<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">Druid<\/code>\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">Hikari<\/code>\uff0c\u524d\u4e24\u8005\u7528\u5f97\u5f88\u5c11\u4e86\uff0c\u540e\u4e24\u8005\u76ee\u524d\u5982\u65e5\u4e2d\u5929\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f46\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\u8fde\u63a5\u6c60\u5e76\u4e0d\u662f\u8d8a\u5927\u8d8a\u597d\uff0c\u6bd4\u5982<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">Druid<\/code>\u7684\u9ed8\u8ba4\u6700\u5927\u8fde\u63a5\u6c60\u5927\u5c0f\u662f8\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">Hikari<\/code>\u9ed8\u8ba4\u6700\u5927\u8fde\u63a5\u6c60\u5927\u5c0f\u662f10\uff0c\u76f2\u76ee\u5730\u52a0\u5927\u8fde\u63a5\u6c60\u7684\u5927\u5c0f\uff0c\u7cfb\u7edf\u6267\u884c\u6548\u7387\u53cd\u800c\u6709\u53ef\u80fd\u964d\u4f4e\u3002\u4e3a\u4ec0\u4e48\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5bf9\u4e8e\u6bcf\u4e00\u4e2a\u8fde\u63a5\uff0c\u670d\u52a1\u7aef\u4f1a\u521b\u5efa\u4e00\u4e2a\u5355\u72ec\u7684\u7ebf\u7a0b\u53bb\u5904\u7406\uff0c\u8fde\u63a5\u6570\u8d8a\u591a\uff0c\u670d\u52a1\u7aef\u521b\u5efa\u7684\u7ebf\u7a0b\u81ea\u7136\u4e5f\u5c31\u8d8a\u591a\u3002\u800c\u7ebf\u7a0b\u6570\u8d85\u8fc7CPU\u4e2a\u6570\u7684\u60c5\u51b5\u4e0b\uff0cCPU\u52bf\u5fc5\u8981\u901a\u8fc7\u5206\u914d\u65f6\u95f4\u7247\u7684\u65b9\u5f0f\u8fdb\u884c\u7ebf\u7a0b\u7684\u4e0a\u4e0b\u6587\u5207\u6362\uff0c\u9891\u7e41\u7684\u4e0a\u4e0b\u6587\u5207\u6362\u4f1a\u9020\u6210\u5f88\u5927\u7684\u6027\u80fd\u5f00\u9500\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">Hikari\u5b98\u65b9\u7ed9\u51fa\u4e86\u4e00\u4e2a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">PostgreSQL<\/code>\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u5927\u5c0f\u7684\u5efa\u8bae\u503c\u516c\u5f0f\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">CPU\u6838\u5fc3\u6570*2+1<\/code>\u3002\u5047\u8bbe\u670d\u52a1\u5668\u7684CPU\u6838\u5fc3\u6570\u662f4\uff0c\u628a\u8fde\u63a5\u6c60\u8bbe\u7f6e\u62109\u5c31\u53ef\u4ee5\u4e86\u3002\u8fd9\u79cd\u516c\u5f0f\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u5bf9\u5176\u4ed6\u6570\u636e\u5e93\u4e5f\u662f\u9002\u7528\u7684\uff0c\u5927\u5bb6\u9762\u8bd5\u7684\u65f6\u5019\u53ef\u4ee5\u5439\u4e00\u5439\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">2. \u67b6\u6784\u4f18\u5316<\/span><\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">2.1 \u4f7f\u7528\u7f13\u5b58<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u7cfb\u7edf\u4e2d\u96be\u514d\u4f1a\u51fa\u73b0\u4e00\u4e9b\u6bd4\u8f83\u6162\u7684\u67e5\u8be2\uff0c\u8fd9\u4e9b\u67e5\u8be2\u8981\u4e48\u662f\u6570\u636e\u91cf\u5927\uff0c\u8981\u4e48\u662f\u67e5\u8be2\u590d\u6742\uff08\u5173\u8054\u7684\u8868\u591a\u6216\u8005\u662f\u8ba1\u7b97\u590d\u6742\uff09\uff0c\u4f7f\u5f97\u67e5\u8be2\u4f1a\u957f\u65f6\u95f4\u5360\u7528\u8fde\u63a5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5982\u679c\u8fd9\u79cd\u6570\u636e\u7684\u5b9e\u6548\u6027\u4e0d\u662f\u7279\u522b\u5f3a\uff08\u4e0d\u662f\u6bcf\u65f6\u6bcf\u523b\u90fd\u4f1a\u53d8\u5316\uff0c\u4f8b\u5982\u6bcf\u65e5\u62a5\u8868\uff09\uff0c\u6211\u4eec\u53ef\u4ee5\u628a\u6b64\u7c7b\u6570\u636e\u653e\u5165\u7f13\u5b58\u7cfb\u7edf\u4e2d\uff0c\u5728\u6570\u636e\u7684\u7f13\u5b58\u6709\u6548\u671f\u5185\uff0c\u76f4\u63a5\u4ece\u7f13\u5b58\u7cfb\u7edf\u4e2d\u83b7\u53d6\u6570\u636e\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u51cf\u8f7b\u6570\u636e\u5e93\u7684\u538b\u529b\u5e76\u63d0\u5347\u67e5\u8be2\u6548\u7387\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.3176691729323308\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/202307112214023d3dc56b4.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1064\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3176691729323308\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/202307112214023d3dc56b4.png\" data-w=\"1064\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u7f13\u5b58\u7684\u4f7f\u7528<br \/>\n  <\/figcaption><\/figure>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">2.2 \u8bfb\u5199\u5206\u79bb\uff08\u96c6\u7fa4\u3001\u4e3b\u4ece\u590d\u5236\uff09<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u9879\u76ee\u7684\u521d\u671f\uff0c\u6570\u636e\u5e93\u901a\u5e38\u90fd\u662f\u8fd0\u884c\u5728\u4e00\u53f0\u670d\u52a1\u5668\u4e0a\u7684\uff0c\u7528\u6237\u7684\u6240\u6709\u8bfb\u5199\u8bf7\u6c42\u4f1a\u76f4\u63a5\u4f5c\u7528\u5230\u8fd9\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u5355\u53f0\u670d\u52a1\u5668\u627f\u62c5\u7684\u5e76\u53d1\u91cf\u6bd5\u7adf\u662f\u6709\u9650\u7684\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u53ef\u4ee5\u540c\u65f6\u4f7f\u7528\u591a\u53f0\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u5c06\u5176\u4e2d\u4e00\u53f0\u8bbe\u7f6e\u4e3a\u4e3a\u5c0f\u7ec4\u957f\uff0c\u79f0\u4e4b\u4e3a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\uff0c\u5176\u4f59\u8282\u70b9\u4f5c\u4e3a\u7ec4\u5458\uff0c\u53eb\u505a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u3002\u7528\u6237\u5199\u6570\u636e\u53ea\u5f80<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u5199\uff0c\u800c\u8bfb\u7684\u8bf7\u6c42\u5206\u644a\u5230\u5404\u4e2a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u8282\u70b9\u4e0a\u3002\u8fd9\u4e2a\u65b9\u6848\u53eb\u505a<strong style=\"line-height: 1.75em;\">\u8bfb\u5199\u5206\u79bb<\/strong>\u3002\u7ed9\u7ec4\u957f\u52a0\u4e0a\u7ec4\u5458\u7ec4\u6210\u7684\u5c0f\u56e2\u4f53\u8d77\u4e2a\u540d\u5b57\uff0c\u53eb<strong style=\"line-height: 1.75em;\">\u96c6\u7fa4<\/strong>\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.8389830508474576\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/2023071122140286861d016.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"708\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.8389830508474576\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/2023071122140286861d016.png\" data-w=\"708\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u8fd9\u5c31\u662f\u96c6\u7fa4<br \/>\n  <\/figcaption><\/figure>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;background: rgb(251, 249, 253);color: rgb(106, 115, 125);margin-bottom: 20px;margin-top: 20px;padding: 15px 20px;line-height: 27px;border-left-color: rgb(53, 179, 120);\">\n<p style=\"line-height: 26px;font-size: 15px;color: rgb(89, 89, 89);\">\u6ce8\uff1a\u5f88\u591a\u5f00\u53d1\u8005\u4e0d\u6ee1<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master-slave<\/code>\u8fd9\u79cd\u5177\u6709\u4fb5\u72af\u6027\u7684\u8bcd\u6c47\uff08\u56e0\u4e3a\u4ed6\u4eec\u8ba4\u4e3a\u4f1a\u8054\u60f3\u5230\u79cd\u65cf\u6b67\u89c6\u3001\u9ed1\u4eba\u5974\u96b6\u7b49\uff09\uff0c\u6240\u4ee5\u53d1\u8d77\u4e86\u4e00\u9879\u66f4\u540d\u8fd0\u52a8\u3002<\/p>\n<p style=\"line-height: 26px;font-size: 15px;color: rgb(89, 89, 89);\">\u53d7\u6b64\u5f71\u54cdMySQL\u4e5f\u4f1a\u9010\u6e10\u505c\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u7b49\u672f\u8bed\uff0c\u8f6c\u800c\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">source<\/code>\u548c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">replica<\/code>\u66ff\u4ee3\uff0c\u5927\u5bb6\u78b0\u5230\u7684\u65f6\u5019\u660e\u767d\u5373\u53ef\u3002<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f7f\u7528\u96c6\u7fa4\u5fc5\u7136\u9762\u4e34\u4e00\u4e2a\u95ee\u9898\uff0c\u5c31\u662f\u591a\u4e2a\u8282\u70b9\u4e4b\u95f4\u600e\u4e48\u4fdd\u6301\u6570\u636e\u7684\u4e00\u81f4\u6027\u3002\u6bd5\u7adf\u5199\u8bf7\u6c42\u53ea\u5f80<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u4e0a\u53d1\u9001\u4e86\uff0c\u53ea\u6709<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u7684\u6570\u636e\u662f\u6700\u65b0\u6570\u636e\uff0c\u600e\u4e48\u628a\u5bf9<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u7684\u5199\u64cd\u4f5c\u4e5f\u540c\u6b65\u5230\u5404\u4e2a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u8282\u70b9\u4e0a\u5462\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u4e3b\u4ece\u590d\u5236<\/strong>\u6280\u672f\u6765\u4e86\uff01\u6211\u5728<a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI1MDU0MTc2MQ==&amp;mid=2247484093&amp;idx=1&amp;sn=f0fb512d536701c3e0ecdbf330fd6f9d&amp;chksm=e981e113def668058493e9102039b45034312946326fca9906744615b4547a364aa7bc445c16&amp;token=795558921&amp;lang=zh_CN&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u4e00\u6761SQL\u66f4\u65b0\u8bed\u53e5\u662f\u5982\u4f55\u6267\u884c\u7684\uff1f<\/a>\u4e2d\u7c97\u6d45\u5730\u4ecb\u7ecd\u4e86\u4e00\u4e0bbinlog\u65e5\u5fd7\uff0c\u6211\u76f4\u63a5\u642c\u8fc7\u6765\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">binlog<\/code>\u662f\u5b9e\u73b0MySQL\u4e3b\u4ece\u590d\u5236\u529f\u80fd\u7684\u6838\u5fc3\u7ec4\u4ef6\u3002<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u4f1a\u5c06\u6240\u6709\u7684\u5199\u64cd\u4f5c\u8bb0\u5f55\u5230binlog\u4e2d\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u8282\u70b9\u4f1a\u6709\u4e13\u95e8\u7684I\/O\u7ebf\u7a0b\u8bfb\u53d6<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">master<\/code>\u8282\u70b9\u7684binlog\uff0c\u5c06\u5199\u64cd\u4f5c\u540c\u6b65\u5230\u5f53\u524d\u6240\u5728\u7684<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slave<\/code>\u8282\u70b9\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.7055555555555556\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402e8e89a3be.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7055555555555556\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402e8e89a3be.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u4e3b\u4ece\u590d\u5236<br \/>\n  <\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u8fd9\u79cd\u96c6\u7fa4\u7684\u67b6\u6784\u5bf9\u51cf\u8f7b\u4e3b\u6570\u636e\u5e93\u670d\u52a1\u5668\u7684\u538b\u529b\u6709\u975e\u5e38\u597d\u7684\u6548\u679c\uff0c\u4f46\u662f\u968f\u7740\u4e1a\u52a1\u6570\u636e\u8d8a\u6765\u8d8a\u591a\uff0c\u5982\u679c\u67d0\u5f20\u8868\u7684\u6570\u636e\u91cf\u6025\u5267\u589e\u52a0\uff0c\u5355\u8868\u7684\u67e5\u8be2\u6027\u80fd\u5c31\u4f1a\u5927\u5e45\u4e0b\u964d\uff0c\u800c\u8fd9\u4e2a\u95ee\u9898\u662f\u8bfb\u5199\u5206\u79bb\u4e5f\u65e0\u6cd5\u89e3\u51b3\u7684\uff0c\u6bd5\u7adf\u6240\u6709\u8282\u70b9\u5b58\u653e\u7684\u662f\u4e00\u6a21\u4e00\u6837\u7684\u6570\u636e\u554a\uff0c\u5355\u8868\u67e5\u8be2\u6027\u80fd\u5dee\uff0c\u8bf4\u7684\u81ea\u7136\u4e5f\u662f\u6240\u6709\u8282\u70b9\u6027\u80fd\u90fd\u5dee\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u8fd9\u65f6\u6211\u4eec\u53ef\u4ee5\u628a\u5355\u4e2a\u8282\u70b9\u7684\u6570\u636e\u5206\u6563\u5230\u591a\u4e2a\u8282\u70b9\u4e0a\u8fdb\u884c\u5b58\u50a8\uff0c\u8fd9\u5c31\u662f<strong style=\"line-height: 1.75em;\">\u5206\u5e93\u5206\u8868<\/strong>\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">2.3 \u5206\u5e93\u5206\u8868<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5206\u5e93\u5206\u8868\u4e2d\u7684\u8282\u70b9\u7684\u542b\u4e49\u6bd4\u8f83\u5bbd\u6cdb\uff0c\u8981\u662f\u628a\u6570\u636e\u5e93\u4f5c\u4e3a\u8282\u70b9\uff0c\u90a3\u5c31\u662f\u5206\u5e93\uff1b\u5982\u679c\u628a\u5355\u5f20\u8868\u4f5c\u4e3a\u8282\u70b9\uff0c\u90a3\u5c31\u662f\u5206\u8868\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5927\u5bb6\u90fd\u77e5\u9053\u5206\u5e93\u5206\u8868\u5206\u6210\u5782\u76f4\u5206\u5e93\u3001\u5782\u76f4\u5206\u8868\u3001\u6c34\u5e73\u5206\u5e93\u548c\u6c34\u5e73\u5206\u8868\uff0c\u4f46\u662f\u6bcf\u6b21\u90fd\u8bb0\u4e0d\u4f4f\u8fd9\u4e9b\u6982\u5ff5\uff0c\u6211\u5c31\u7ed9\u5927\u5bb6\u8be6\u7ec6\u8bf4\u4e00\u8bf4\uff0c\u5e2e\u52a9\u5927\u5bb6\u7406\u89e3\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>2.3.1 \u5782\u76f4\u5206\u5e93<span style=\"display: none;\"><\/span><\/h4>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.5175438596491229\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403202053dfb.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"912\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5175438596491229\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403202053dfb.png\" data-w=\"912\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u5782\u76f4\u5206\u5e93<br \/>\n  <\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5728\u5355\u4f53\u6570\u636e\u5e93\u7684\u57fa\u7840\u4e0a\u5782\u76f4\u5207\u51e0\u5200\uff0c\u6309\u7167\u4e1a\u52a1\u903b\u8f91\u62c6\u5206\u6210\u4e0d\u540c\u7684\u6570\u636e\u5e93\uff0c\u8fd9\u5c31\u662f<strong style=\"line-height: 1.75em;\">\u5782\u76f4\u5206\u5e93<\/strong>\u5566\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.475\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403d7d755831.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.475\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403d7d755831.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u5782\u76f4\u5206\u5e93<br \/>\n  <\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>2.3.2 \u5782\u76f4\u5206\u8868<span style=\"display: none;\"><\/span><\/h4>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.34444444444444444\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/202307112214034f4fef89d.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.34444444444444444\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/202307112214034f4fef89d.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u5782\u76f4\u5206\u8868<br \/>\n  <\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5782\u76f4\u5206\u8868\u5c31\u662f\u5728\u5355\u8868\u7684\u57fa\u7840\u4e0a\u5782\u76f4\u5207\u4e00\u5200\uff08\u6216\u51e0\u5200\uff09\uff0c\u5c06\u4e00\u4e2a\u8868\u7684\u591a\u4e2a\u5b57\u77ed\u62c6\u6210\u82e5\u5e72\u4e2a\u5c0f\u8868\uff0c\u8fd9\u79cd\u64cd\u4f5c\u9700\u8981\u6839\u636e\u5177\u4f53\u4e1a\u52a1\u6765\u8fdb\u884c\u5224\u65ad\uff0c\u901a\u5e38\u4f1a\u628a\u7ecf\u5e38\u4f7f\u7528\u7684\u5b57\u6bb5\uff08\u70ed\u5b57\u6bb5\uff09\u5206\u6210\u4e00\u4e2a\u8868\uff0c\u4e0d\u7ecf\u5e38\u4f7f\u7528\u6216\u8005\u4e0d\u7acb\u5373\u4f7f\u7528\u7684\u5b57\u6bb5\uff08\u51b7\u5b57\u6bb5\uff09\u5206\u6210\u4e00\u4e2a\u8868\uff0c\u63d0\u5347\u67e5\u8be2\u901f\u5ea6\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.42962962962962964\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/202307112214045252b39e3.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.42962962962962964\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/202307112214045252b39e3.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u5782\u76f4\u5206\u8868<br \/>\n  <\/figcaption><\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u62ff\u4e0a\u56fe\u4e3e\u4f8b\uff1a\u901a\u5e38\u60c5\u51b5\u4e0b\u5546\u54c1\u7684\u8be6\u60c5\u4fe1\u606f\u90fd\u6bd4\u8f83\u957f\uff0c\u800c\u4e14\u67e5\u770b\u5546\u54c1\u5217\u8868\u65f6\u5f80\u5f80\u4e0d\u9700\u8981\u7acb\u5373\u5c55\u793a\u5546\u54c1\u8be6\u60c5\uff08\u4e00\u822c\u90fd\u662f\u70b9\u51fb\u8be6\u60c5\u6309\u94ae\u624d\u4f1a\u8fdb\u884c\u663e\u793a\uff09\uff0c\u800c\u662f\u4f1a\u5c06\u5546\u54c1\u66f4\u91cd\u8981\u7684\u4fe1\u606f\uff08\u4ef7\u683c\u7b49\uff09\u5c55\u793a\u51fa\u6765\uff0c\u6309\u7167\u8fd9\u4e2a\u4e1a\u52a1\u903b\u8f91\uff0c\u6211\u4eec\u5c06\u539f\u6765\u7684\u5546\u54c1\u8868\u505a\u4e86\u5782\u76f4\u5206\u8868\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>2.3.3 \u6c34\u5e73\u5206\u8868<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u628a\u5355\u5f20\u8868\u7684\u6570\u636e\u6309\u7167\u4e00\u5b9a\u7684\u89c4\u5219\uff08\u884c\u8bdd\u53eb\u5206\u7247\u89c4\u5219\uff09\u4fdd\u5b58\u5230\u591a\u4e2a\u6570\u636e\u8868\u4e0a\uff0c\u6a2a\u7740\u7ed9\u6570\u636e\u8868\u6765\u4e00\u5200\uff08\u6216\u51e0\u5200\uff09\uff0c\u5c31\u662f<strong style=\"line-height: 1.75em;\">\u6c34\u5e73\u5206\u8868<\/strong>\u4e86\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.3333333333333333\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404717170f3a.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3333333333333333\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404717170f3a.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u6c34\u5e73\u5206\u8868<br \/>\n  <\/figcaption><\/figure>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.19166666666666668\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404f6f696b35.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.19166666666666668\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404f6f696b35.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u6c34\u5e73\u5206\u8868<br \/>\n  <\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>2.3.4 \u6c34\u5e73\u5206\u5e93<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u6c34\u5e73\u5206\u5e93<\/strong>\u5c31\u662f\u5bf9\u5355\u4e2a\u6570\u636e\u5e93\u6c34\u5e73\u5207\u4e00\u5200\uff0c\u5f80\u5f80\u4f34\u968f\u7740\u6c34\u5e73\u5206\u8868\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.3869653767820774\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/2023071122140454548fbcc.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"982\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.3869653767820774\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/2023071122140454548fbcc.png\" data-w=\"982\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u6c34\u5e73\u5206\u5e93<br \/>\n  <\/figcaption><\/figure>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.725\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/20230711221405e3e313f7e.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.725\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/20230711221405e3e313f7e.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u6c34\u5e73\u5206\u5e93<br \/>\n  <\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>2.3.5 \u603b\u7ed3<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u6c34\u5e73\u5206\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u89e3\u51b3\u5b58\u50a8\u7684\u74f6\u9888\uff1b\u5782\u76f4\u5206\uff0c\u4e3b\u8981\u662f\u4e3a\u4e86\u51cf\u8f7b\u5e76\u53d1\u538b\u529b\u3002<\/strong><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">2.4 \u6d88\u606f\u961f\u5217\u524a\u5cf0<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u7528\u6237\u7684\u8bf7\u6c42\u4f1a\u76f4\u63a5\u8bbf\u95ee\u6570\u636e\u5e93\uff0c\u5982\u679c\u540c\u4e00\u65f6\u523b\u5728\u7ebf\u7528\u6237\u6570\u91cf\u975e\u5e38\u5e9e\u5927\uff0c\u6781\u6709\u53ef\u80fd\u538b\u57ae\u6570\u636e\u5e93\uff08\u53c2\u8003\u660e\u661f\u51fa\u8f68\u6216\u516c\u5e03\u604b\u60c5\u65f6\u5fae\u535a\u7684\u72b6\u6001\uff09\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u8fd9\u79cd\u60c5\u51b5\u4e0b\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u6d88\u606f\u961f\u5217\u964d\u4f4e\u6570\u636e\u5e93\u7684\u538b\u529b\uff0c\u4e0d\u7ba1\u540c\u65f6\u6709\u591a\u5c11\u4e2a\u7528\u6237\u8bf7\u6c42\uff0c\u5148\u5b58\u5165\u6d88\u606f\u961f\u5217\uff0c\u7136\u540e\u7cfb\u7edf\u6709\u6761\u4e0d\u7d0a\u5730\u4ece\u6d88\u606f\u961f\u5217\u4e2d\u6d88\u8d39\u8bf7\u6c42\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.9803439803439803\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/202307112214058c8c70f65.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"814\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.9803439803439803\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/202307112214058c8c70f65.png\" data-w=\"814\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: rgb(136, 136, 136);font-size: 12px;font-family: PingFangSC-Light;\">\n   \u961f\u5217\u524a\u5cf0<br \/>\n  <\/figcaption><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">3. \u4f18\u5316\u5668\u2014\u2014SQL\u5206\u6790\u4e0e\u4f18\u5316<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5904\u7406\u5b8c\u8fde\u63a5\u3001\u4f18\u5316\u5b8c\u7f13\u5b58\u7b49\u67b6\u6784\u7684\u4e8b\u60c5\uff0cSQL\u67e5\u8be2\u8bed\u53e5\u6765\u5230\u4e86\u89e3\u6790\u5668\u548c\u4f18\u5316\u5668\u7684\u5730\u76d8\u4e86\u3002\u5728\u8fd9\u4e00\u6b65\u5982\u679c\u51fa\u4e86\u4efb\u4f55\u95ee\u9898\uff0c\u90a3\u5c31\u53ea\u80fd\u662fSQL\u8bed\u53e5\u7684\u95ee\u9898\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u53ea\u8981\u4f60\u7684\u8bed\u6cd5\u4e0d\u51fa\u95ee\u9898\uff0c\u89e3\u6790\u5668\u5c31\u4e0d\u4f1a\u6709\u95ee\u9898\u3002\u6b64\u5916\uff0c\u4e3a\u4e86\u9632\u6b62\u4f60\u5199\u7684SQL\u8fd0\u884c\u6548\u7387\u4f4e\uff0c\u4f18\u5316\u5668\u4f1a\u81ea\u52a8\u505a\u4e00\u4e9b\u4f18\u5316\uff0c\u4f46\u5982\u679c\u5b9e\u5728\u662f\u592a\u70c2\uff0c\u4f18\u5316\u5668\u4e5f\u6551\u4e0d\u4e86\u4f60\u4e86\uff0c\u53ea\u80fd\u773c\u7741\u7741\u5730\u770b\u7740\u4f60\u7684SQL\u67e5\u8be2\u6ca6\u4e3a<strong style=\"line-height: 1.75em;\">\u6162\u67e5\u8be2<\/strong>\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.1 \u6162\u67e5\u8be2<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u6162\u67e5\u8be2<\/strong>\u5c31\u662f\u6267\u884c\u5730\u5f88\u6162\u7684\u67e5\u8be2\uff08\u8fd9\u53e5\u8bdd\u8bf4\u5f97\u8ddf\u5e9f\u8bdd\u4f3c\u7684\u3002\u3002\u3002\uff09\uff0c\u53ea\u6709\u77e5\u9053MySQL\u4e2d\u6709\u54ea\u4e9b\u6162\u67e5\u8be2\u6211\u4eec\u624d\u80fd\u9488\u5bf9\u6027\u5730\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u56e0\u4e3a\u5f00\u542f\u6162\u67e5\u8be2\u65e5\u5fd7\u662f\u6709\u6027\u80fd\u4ee3\u4ef7\u7684\uff0c\u56e0\u6b64MySQL\u9ed8\u8ba4\u662f\u5173\u95ed\u6162\u67e5\u8be2\u65e5\u5fd7\u529f\u80fd\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u5f53\u524d\u6162\u67e5\u8be2\u72b6\u6001<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt; show variables like 'slow_query%';<br>+---------------------+--------------------------------------+<br>| Variable_name       | Value                                |<br>+---------------------+--------------------------------------+<br>| slow_query_log      | OFF                                  |<br>| slow_query_log_file | \/var\/lib\/mysql\/9e74f9251f6c-slow.log |<br>+---------------------+--------------------------------------+<br>2 rows in set (0.00 sec)<br><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slow_query_log<\/code>\u8868\u793a\u5f53\u524d\u6162\u67e5\u8be2\u65e5\u5fd7\u662f\u5426\u5f00\u542f\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">slow_query_log_file<\/code>\u8868\u793a\u6162\u67e5\u8be2\u65e5\u5fd7\u7684\u4fdd\u5b58\u4f4d\u7f6e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u9664\u4e86\u4e0a\u9762\u4e24\u4e2a\u53d8\u91cf\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u786e\u5b9a\u201c\u6162\u201d\u7684\u6307\u6807\u662f\u4ec0\u4e48\uff0c\u5373\u6267\u884c\u8d85\u8fc7\u591a\u957f\u65f6\u95f4\u624d\u7b97\u662f\u6162\u67e5\u8be2\uff0c\u9ed8\u8ba4\u662f<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">10S<\/code>\uff0c\u5982\u679c\u6539\u6210<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">0<\/code>\u7684\u8bdd\u5c31\u662f\u8bb0\u5f55\u6240\u6709\u7684SQL\u3002<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">show<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">variables<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">like<\/span>&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'%long_query%'<\/span>;<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-----------+<\/span><br>|&nbsp;Variable_name&nbsp;&nbsp;&nbsp;|&nbsp;Value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-----------+<\/span><br>|&nbsp;long_query_time&nbsp;|&nbsp;10.000000&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">-----------------+-----------+<\/span><br>1&nbsp;row&nbsp;in&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0.00<\/span>&nbsp;sec)<br><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>3.1.1 \u6253\u5f00\u6162\u65e5\u5fd7<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6709\u4e24\u79cd\u6253\u5f00\u6162\u65e5\u5fd7\u7684\u65b9\u5f0f<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u4fee\u6539\u914d\u7f6e\u6587\u4ef6<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">my.cnf<\/code><br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6b64\u79cd\u4fee\u6539\u65b9\u5f0f\u7cfb\u7edf\u91cd\u542f\u540e\u4f9d\u7136\u6709\u6548<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;\u662f\u5426\u5f00\u542f\u6162\u67e5\u8be2\u65e5\u5fd7<\/span><br>slow_query_log=ON<br><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;<\/span><br>long_query_time=2<br>slow_query_log_file=\/var\/lib\/mysql\/slow.log<br><\/code><\/pre>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u52a8\u6001\u4fee\u6539\u53c2\u6570\uff08\u91cd\u542f\u540e\u5931\u6548\uff09<br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;@@global.slow_query_log=<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>;<br>Query&nbsp;OK,&nbsp;0&nbsp;rows&nbsp;affected&nbsp;(0.06&nbsp;sec)<br><br>mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;@@global.long_query_time=<span style=\"color: #d19a66;line-height: 26px;\">2<\/span>;<br>Query&nbsp;OK,&nbsp;0&nbsp;rows&nbsp;affected&nbsp;(0.00&nbsp;sec)<br><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>3.1.2 \u6162\u65e5\u5fd7\u5206\u6790<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">MySQL\u4e0d\u4ec5\u4e3a\u6211\u4eec\u4fdd\u5b58\u4e86\u6162\u65e5\u5fd7\u6587\u4ef6\uff0c\u8fd8\u4e3a\u6211\u4eec\u63d0\u4f9b\u4e86\u6162\u65e5\u5fd7\u67e5\u8be2\u7684\u5de5\u5177<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">mysqldumpslow<\/code>\uff0c\u4e3a\u4e86\u6f14\u793a\u8fd9\u4e2a\u5de5\u5177\uff0c\u6211\u4eec\u5148\u6784\u9020\u4e00\u6761\u6162\u67e5\u8be2\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">SELECT<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">sleep<\/span>(<span style=\"color: #d19a66;line-height: 26px;\">5<\/span>);<br><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u7136\u540e\u6211\u4eec\u67e5\u8be2\u7528\u65f6\u6700\u591a\u76841\u6761\u6162\u67e5\u8be2\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\">[root@iZ2zejfuakcnnq2pgqyzowZ&nbsp;~]<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">#&nbsp;mysqldumpslow&nbsp;-s&nbsp;t&nbsp;-t&nbsp;1&nbsp;-g&nbsp;'select'&nbsp;\/var\/lib\/mysql\/9e74f9251f6c-slow.log<\/span><br><br>Reading&nbsp;mysql&nbsp;slow&nbsp;query&nbsp;log&nbsp;from&nbsp;\/var\/lib\/mysql\/9e74f9251f6c-slow.log<br>Count:&nbsp;1&nbsp;&nbsp;Time=10.00s&nbsp;(10s)&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">Lock<\/span>=<span style=\"color: #d19a66;line-height: 26px;\">0.00<\/span>s&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0<\/span>s)&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">Rows<\/span>=<span style=\"color: #d19a66;line-height: 26px;\">1.0<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">1<\/span>),&nbsp;root[root]@localhost<br>&nbsp;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">SELECT<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">sleep<\/span>(N)<br><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5176\u4e2d\uff0c<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Count<\/strong>\uff1a\u8868\u793a\u8fd9\u4e2aSQL\u6267\u884c\u7684\u6b21\u6570<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Time<\/strong>\uff1a\u8868\u793a\u6267\u884c\u7684\u65f6\u95f4\uff0c\u62ec\u53f7\u4e2d\u7684\u662f\u7d2f\u79ef\u65f6\u95f4<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Locks<\/strong>\uff1a\u8868\u793a\u9501\u5b9a\u7684\u65f6\u95f4\uff0c\u62ec\u53f7\u4e2d\u7684\u662f\u7d2f\u79ef\u65f6\u95f4<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Rows<\/strong>\uff1a\u8868\u793a\u8fd4\u56de\u7684\u8bb0\u5f55\u6570\uff0c\u62ec\u53f7\u4e2d\u7684\u662f\u7d2f\u79ef\u6570<br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u66f4\u591a\u5173\u4e8e<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">mysqldumpslow<\/code>\u7684\u4f7f\u7528\u65b9\u5f0f\uff0c\u53ef\u4ee5\u67e5\u9605\u5b98\u65b9\u6587\u6863\uff0c\u6216\u8005\u6267\u884c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">mysqldumpslow --help<\/code>\u5bfb\u6c42\u5e2e\u52a9\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.2 \u67e5\u770b\u8fd0\u884c\u4e2d\u7684\u7ebf\u7a0b<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6211\u4eec\u53ef\u4ee5\u8fd0\u884c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">show full processlist<\/code>\u67e5\u770bMySQL\u4e2d\u8fd0\u884c\u7684\u6240\u6709\u7ebf\u7a0b\uff0c\u67e5\u770b\u5176\u72b6\u6001\u548c\u8fd0\u884c\u65f6\u95f4\uff0c\u627e\u5230\u4e0d\u987a\u773c\u7684\uff0c\u76f4\u63a5kill\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.2101851851851852\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/202307112214075151d70a4.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.2101851851851852\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/202307112214075151d70a4.png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><br \/>\n <\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5176\u4e2d\uff0c<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Id<\/strong>\uff1a\u7ebf\u7a0b\u7684\u552f\u4e00\u6807\u5fd7\uff0c\u53ef\u4ee5\u4f7f\u7528Id\u6740\u6b7b\u6307\u5b9a\u7ebf\u7a0b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">User<\/strong>\uff1a\u542f\u52a8\u8fd9\u4e2a\u7ebf\u7a0b\u7684\u7528\u6237\uff0c\u666e\u901a\u8d26\u6237\u53ea\u80fd\u67e5\u770b\u81ea\u5df1\u7684\u7ebf\u7a0b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Host<\/strong>\uff1a\u54ea\u4e2aip\u548c\u7aef\u53e3\u53d1\u8d77\u7684\u8fde\u63a5<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">db<\/strong>\uff1a\u7ebf\u7a0b\u64cd\u4f5c\u7684\u6570\u636e\u5e93<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Command<\/strong>\uff1a\u7ebf\u7a0b\u7684\u547d\u4ee4<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Time<\/strong>\uff1a\u64cd\u4f5c\u6301\u7eed\u65f6\u95f4\uff0c\u5355\u4f4d\u79d2<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">State<\/strong>\uff1a\u7ebf\u7a0b\u7684\u72b6\u6001<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">Info<\/strong>\uff1aSQL\u8bed\u53e5\u7684\u524d100\u4e2a\u5b57\u7b26<br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.3 \u67e5\u770b\u670d\u52a1\u5668\u8fd0\u884c\u72b6\u6001<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">SHOW STATUS<\/code>\u67e5\u770bMySQL\u670d\u52a1\u5668\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u6709<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">session<\/code>\u548c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">global<\/code>\u4e24\u79cd\u4f5c\u7528\u57df\uff0c\u4e00\u822c\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">like+\u901a\u914d\u7b26<\/code>\u8fdb\u884c\u8fc7\u6ee4\u3002<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">--&nbsp;\u67e5\u770bselect\u7684\u6b21\u6570<\/span><br>mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">SHOW<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">GLOBAL<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">STATUS<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">LIKE<\/span>&nbsp;<span style=\"color: #98c379;line-height: 26px;\">'com_select'<\/span>;<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+--------+<\/span><br>|&nbsp;Variable_name&nbsp;|&nbsp;Value&nbsp;&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+--------+<\/span><br>|&nbsp;Com_select&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;168241&nbsp;|<br>+<span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">---------------+--------+<\/span><br>1&nbsp;row&nbsp;in&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0.05<\/span>&nbsp;sec)<br><\/code><\/pre>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.4 \u67e5\u770b\u5b58\u50a8\u5f15\u64ce\u8fd0\u884c\u4fe1\u606f<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">SHOW ENGINE<\/code>\u7528\u6765\u5c55\u793a\u5b58\u50a8\u5f15\u64ce\u7684\u5f53\u524d\u8fd0\u884c\u4fe1\u606f\uff0c\u5305\u62ec\u4e8b\u52a1\u6301\u6709\u7684\u8868\u9501\u3001\u884c\u9501\u4fe1\u606f\uff1b\u4e8b\u52a1\u7684\u9501\u7b49\u5f85\u60c5\u51b5\uff1b\u7ebf\u7a0b\u4fe1\u53f7\u91cf\u7b49\u5f85\uff1b\u6587\u4ef6IO\u8bf7\u6c42\uff1bBuffer pool\u7edf\u8ba1\u4fe1\u606f\u7b49\u7b49\u6570\u636e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f8b\u5982\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\"><span style=\"color: #c678dd;line-height: 26px;\">SHOW<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">ENGINE<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">INNODB<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">STATUS<\/span>;<br><\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e0a\u9762\u8fd9\u6761\u8bed\u53e5\u53ef\u4ee5\u5c55\u793ainnodb\u5b58\u50a8\u5f15\u64ce\u7684\u5f53\u524d\u8fd0\u884c\u7684\u5404\u79cd\u4fe1\u606f\uff0c\u5927\u5bb6\u53ef\u4ee5\u636e\u6b64\u627e\u5230MySQL\u5f53\u524d\u7684\u95ee\u9898\uff0c\u9650\u4e8e\u7bc7\u5e45\u4e0d\u5728\u6b64\u610f\u4e49\u8bf4\u660e\u5176\u4e2d\u4fe1\u606f\u7684\u542b\u4e49\uff0c\u5927\u5bb6\u53ea\u8981\u77e5\u9053MySQL\u63d0\u4f9b\u4e86\u8fd9\u6837\u4e00\u4e2a\u76d1\u63a7\u5de5\u5177\u5c31\u884c\u4e86\uff0c\u7b49\u5230\u9700\u8981\u7684\u65f6\u5019\u518d\u6765\u7528\u5c31\u597d\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.5 EXPLAIN\u6267\u884c\u8ba1\u5212<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u901a\u8fc7\u6162\u67e5\u8be2\u65e5\u5fd7\u6211\u4eec\u53ef\u4ee5\u77e5\u9053\u54ea\u4e9bSQL\u8bed\u53e5\u6267\u884c\u6162\u4e86\uff0c\u53ef\u662f\u4e3a\u4ec0\u4e48\u6162\uff1f\u6162\u5728\u54ea\u91cc\u5462\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">MySQL\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6267\u884c\u8ba1\u5212\u7684\u67e5\u8be2\u547d\u4ee4<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">EXPLAIN<\/code>\uff0c\u901a\u8fc7\u6b64\u547d\u4ee4\u6211\u4eec\u53ef\u4ee5\u67e5\u770bSQL\u6267\u884c\u7684\u8ba1\u5212\uff0c\u6240\u8c13\u6267\u884c\u8ba1\u5212\u5c31\u662f\uff1a\u4f18\u5316\u5668\u4f1a\u4e0d\u4f1a\u4f18\u5316\u6211\u4eec\u81ea\u5df1\u4e66\u5199\u7684SQL\u8bed\u53e5\uff08\u6bd4\u5982\u5916\u8fde\u63a5\u6539\u5185\u8fde\u63a5\u67e5\u8be2\uff0c\u5b50\u67e5\u8be2\u4f18\u5316\u4e3a\u8fde\u63a5\u67e5\u8be2...\uff09\u3001\u4f18\u5316\u5668\u9488\u5bf9\u6b64\u6761SQL\u7684\u6267\u884c\u5bf9\u54ea\u4e9b\u7d22\u5f15\u8fdb\u884c\u4e86\u6210\u672c\u4f30\u7b97\uff0c\u5e76\u6700\u7ec8\u51b3\u5b9a\u91c7\u7528\u54ea\u4e2a\u7d22\u5f15\uff08\u6216\u8005\u6700\u7ec8\u9009\u62e9\u4e0d\u7528\u7d22\u5f15\uff0c\u800c\u662f\u5168\u8868\u626b\u63cf\uff09\u3001\u4f18\u5316\u5668\u5bf9\u5355\u8868\u6267\u884c\u7684\u7b56\u7565\u662f\u4ec0\u4e48\uff0c\u7b49\u7b49\u7b49\u7b49\u3002<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;background: rgb(251, 249, 253);color: rgb(106, 115, 125);margin-bottom: 20px;margin-top: 20px;padding: 15px 20px;line-height: 27px;border-left-color: rgb(53, 179, 120);\">\n<p style=\"line-height: 26px;font-size: 15px;color: rgb(89, 89, 89);\">EXPLAIN\u5728MySQL5.6.3\u4e4b\u540e\u4e5f\u53ef\u4ee5\u9488\u5bf9UPDATE\u3001DELETE\u548cINSERT\u8bed\u53e5\u8fdb\u884c\u5206\u6790\uff0c\u4f46\u662f\u901a\u5e38\u60c5\u51b5\u4e0b\u6211\u4eec\u8fd8\u662f\u7528\u5728SELECT\u67e5\u8be2\u4e0a\u3002<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u662f\u4ece\u5b8f\u89c2\u4e0a\u591a\u4e2a\u89d2\u5ea6\u4ecb\u7ecdMySQL\u7684\u4f18\u5316\u7b56\u7565\uff0c\u56e0\u6b64\u8fd9\u91cc\u4e0d\u8be6\u7ec6\u8bf4\u660e<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">EXPLAIN<\/code>\u7684\u7ec6\u8282\uff0c\u4e4b\u540e\u5355\u72ec\u6210\u7bc7\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">3.6 SQL\u4e0e\u7d22\u5f15\u4f18\u5316<\/span><span style=\"display: none;\"><\/span><\/h3>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>3.6.1 SQL\u4f18\u5316<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">SQL\u4f18\u5316\u6307\u7684\u662fSQL\u672c\u8eab\u8bed\u6cd5\u6ca1\u6709\u95ee\u9898\uff0c\u4f46\u662f\u6709\u5b9e\u73b0\u76f8\u540c\u76ee\u7684\u7684\u66f4\u597d\u7684\u5199\u6cd5\u3002\u6bd4\u5982\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u4f7f\u7528\u5c0f\u8868\u9a71\u52a8\u5927\u8868\uff1b\u7528join\u6539\u5199\u5b50\u67e5\u8be2\uff1bor\u6539\u6210union<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u8fde\u63a5\u67e5\u8be2\u4e2d\uff0c\u5c3d\u91cf\u51cf\u5c11\u9a71\u52a8\u8868\u7684\u6247\u51fa\uff08\u8bb0\u5f55\u6570\uff09\uff0c\u8bbf\u95ee\u88ab\u9a71\u52a8\u8868\u7684\u6210\u672c\u8981\u5c3d\u91cf\u4f4e\uff0c\u5c3d\u91cf\u5728\u88ab\u9a71\u52a8\u8868\u7684\u8fde\u63a5\u5217\u4e0a\u5efa\u7acb\u7d22\u5f15\uff0c\u964d\u4f4e\u8bbf\u95ee\u6210\u672c\uff1b\u88ab\u9a71\u52a8\u8868\u7684\u8fde\u63a5\u5217\u6700\u597d\u662f\u8be5\u8868\u7684\u4e3b\u952e\u6216\u8005\u662f\u552f\u4e00\u4e8c\u7ea7\u7d22\u5f15\u5217\uff0c\u8fd9\u6837\u88ab\u9a71\u52a8\u8868\u7684\u6210\u672c\u4f1a\u964d\u5230\u66f4\u4f4e<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u5927\u504f\u79fb\u91cf\u7684limit\uff0c\u5148\u8fc7\u6ee4\u518d\u6392\u5e8f<br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u9488\u5bf9\u6700\u540e\u4e00\u6761\u4e3e\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0c\u4e0b\u9762\u4e24\u6761\u8bed\u53e5\u80fd\u5b9e\u73b0\u540c\u6837\u7684\u76ee\u7684\uff0c\u4f46\u662f\u7b2c\u4e8c\u6761\u7684\u6267\u884c\u6548\u7387\u6bd4\u7b2c\u4e00\u6761\u6267\u884c\u6548\u7387\u8981\u9ad8\u5f97\u591a\uff08\u5b58\u50a8\u5f15\u64ce\u4f7f\u7528\u7684\u662fInnoDB\uff09\uff0c\u5927\u5bb6\u611f\u53d7\u4e00\u4e0b\uff1a<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;color: #abb2bf;background: #282c34;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;font-size: 12px;-webkit-overflow-scrolling: touch;\"><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">--&nbsp;1.&nbsp;\u5927\u504f\u79fb\u91cf\u7684\u67e5\u8be2<\/span><br>mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">SELECT<\/span>&nbsp;*&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">FROM<\/span>&nbsp;user_innodb&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">LIMIT<\/span>&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">9000000<\/span>,<span style=\"color: #d19a66;line-height: 26px;\">10<\/span>;<br>Empty&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">8.18<\/span>&nbsp;sec)<br><br><span style=\"color: #5c6370;font-style: italic;line-height: 26px;\">--&nbsp;2.\u5148\u8fc7\u6ee4ID\uff08\u56e0\u4e3aID\u4f7f\u7528\u7684\u662f\u7d22\u5f15\uff09\uff0c\u518dlimit<\/span><br>mysql&gt;&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">SELECT<\/span>&nbsp;*&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">FROM<\/span>&nbsp;user_innodb&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">WHERE<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">id<\/span>&nbsp;&gt;&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">9000000<\/span>&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">LIMIT<\/span>&nbsp;<span style=\"color: #d19a66;line-height: 26px;\">10<\/span>;<br>Empty&nbsp;<span style=\"color: #c678dd;line-height: 26px;\">set<\/span>&nbsp;(<span style=\"color: #d19a66;line-height: 26px;\">0.02<\/span>&nbsp;sec)<br><\/code><\/pre>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>3.6.2 \u7d22\u5f15\u4f18\u5316<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e3a\u6162\u67e5\u8be2\u521b\u5efa\u9002\u5f53\u7684\u7d22\u5f15\u662f\u4e2a\u975e\u5e38\u5e38\u89c1\u5e76\u4e14\u975e\u5e38\u6709\u6548\u7684\u65b9\u6cd5\uff0c\u4f46\u662f\u7d22\u5f15\u662f\u5426\u4f1a\u88ab\u9ad8\u6548\u4f7f\u7528\u53c8\u662f\u53e6\u4e00\u95e8\u5b66\u95ee\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6211\u4e4b\u524d\u5199\u8fc7\u4e00\u7bc7<a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI1MDU0MTc2MQ==&amp;mid=2247484338&amp;idx=1&amp;sn=f753421c70f0e436c040af9e969c3331&amp;chksm=e981e01cdef6690ae6e4bec7c92b436019f5f30e02f35524ca8e144a92b8aa743fc2c51d2c27&amp;token=1056536482&amp;lang=zh_CN&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u7528\u597dMySQL\u7d22\u5f15\uff0c\u4f60\u5fc5\u987b\u77e5\u9053\u7684\u4e00\u4e9b\u4e8b\u60c5 <\/a>\uff0c\u611f\u5174\u8da3\u7684\u8bfb\u8005\u53ef\u4ee5\u770b\u4e00\u4e0b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">4. \u5b58\u50a8\u5f15\u64ce\u4e0e\u8868\u7ed3\u6784<\/span><\/h2>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">4.1 \u9009\u62e9\u5b58\u50a8\u5f15\u64ce<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u4f1a\u9009\u62e9MySQL\u9ed8\u8ba4\u7684\u5b58\u50a8\u5f15\u64ce\u5b58\u50a8\u5f15\u64ce<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">InnoDB<\/code>\uff0c\u4f46\u662f\u5f53\u5bf9\u6570\u636e\u5e93\u6027\u80fd\u8981\u6c42\u7cbe\u76ca\u6c42\u7cbe\u7684\u65f6\u5019\uff0c\u5b58\u50a8\u5f15\u64ce\u7684\u9009\u62e9\u4e5f\u6210\u4e3a\u4e00\u4e2a\u5173\u952e\u7684\u5f71\u54cd\u56e0\u7d20\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5efa\u8bae\u6839\u636e\u4e0d\u540c\u7684\u4e1a\u52a1\u9009\u62e9\u4e0d\u540c\u7684\u5b58\u50a8\u5f15\u64ce\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u67e5\u8be2\u64cd\u4f5c\u3001\u63d2\u5165\u64cd\u4f5c\u591a\u7684\u4e1a\u52a1\u8868\uff0c\u63a8\u8350\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">MyISAM<\/code>\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u4e34\u65f6\u8868\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">Memory<\/code>\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u5e76\u53d1\u6570\u91cf\u5927\u3001\u66f4\u65b0\u591a\u7684\u4e1a\u52a1\u9009\u62e9\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">InnoDB<\/code>\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u4e0d\u77e5\u9053\u9009\u5565\u76f4\u63a5\u9ed8\u8ba4\u3002<br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 20px;margin-top: 1.2em;\"><span style=\"background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlGVPaicjUKekwLUmAnOflibnQl0iadkwKWkaoqlvicZqeUcHSO6OFMiaXe7Q\/640?wx_fmt=png&quot;);background-size: 100% 100%;background-repeat: no-repeat;display: inline-block;width: 16px;height: 15px;line-height: 15px;margin-bottom: -1px;\"><\/span><span style=\"display: none;\"><\/span><span style=\"font-size: 17px;display: inline-block;margin-left: 8px;color: rgb(72, 179, 120);\">4.2 \u4f18\u5316\u5b57\u6bb5<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5b57\u6bb5\u4f18\u5316\u7684\u6700\u7ec8\u539f\u5219\u662f\uff1a<strong style=\"line-height: 1.75em;\">\u4f7f\u7528\u53ef\u4ee5\u6b63\u786e\u5b58\u50a8\u6570\u636e\u7684\u6700\u5c0f\u7684\u6570\u636e\u7c7b\u578b<\/strong>\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.1 \u6574\u6570\u7c7b\u578b<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">MySQL\u63d0\u4f9b\u4e866\u79cd\u6574\u6570\u7c7b\u578b\uff0c\u5206\u522b\u662f<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">tinyint<\/strong><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">smallint<\/strong><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">mediumint<\/strong><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">int<\/strong><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">integer<\/strong><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">bigint<\/strong><br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e0d\u540c\u7684\u5b58\u50a8\u7c7b\u578b\u7684\u6700\u5927\u5b58\u50a8\u8303\u56f4\u4e0d\u540c\uff0c\u5360\u7528\u7684\u5b58\u50a8\u7684\u7a7a\u95f4\u81ea\u7136\u4e5f\u4e0d\u540c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f8b\u5982\uff0c\u662f\u5426\u88ab\u5220\u9664\u7684\u6807\u8bc6\uff0c\u5efa\u8bae\u9009\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">tinyint<\/code>\uff0c\u800c\u4e0d\u662f<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">bigint<\/code>\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.2 \u5b57\u7b26\u7c7b\u578b<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4f60\u662f\u4e0d\u662f\u76f4\u63a5\u628a\u6240\u6709\u5b57\u7b26\u4e32\u7684\u5b57\u6bb5\u90fd\u8bbe\u7f6e\u4e3a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">varchar<\/code>\u683c\u5f0f\u4e86\uff1f\u751a\u81f3\u6015\u4e0d\u591f\uff0c\u8fd8\u4f1a\u76f4\u63a5\u8bbe\u7f6e\u6210<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">varchar(1024)<\/code>\u7684\u957f\u5ea6\uff1f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u5982\u679c\u4e0d\u786e\u5b9a\u5b57\u6bb5\u7684\u957f\u5ea6\uff0c\u80af\u5b9a\u662f\u8981\u9009\u62e9<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">varchar<\/code>\uff0c\u4f46\u662f<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">varchar<\/code>\u9700\u8981\u989d\u5916\u7684\u7a7a\u95f4\u6765\u8bb0\u5f55\u8be5\u5b57\u6bb5\u76ee\u524d\u5360\u7528\u7684\u957f\u5ea6\uff1b\u56e0\u6b64\u5982\u679c\u5b57\u6bb5\u7684\u957f\u5ea6\u662f\u56fa\u5b9a\u7684\uff0c\u5c3d\u91cf\u9009\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">char<\/code>\uff0c\u8fd9\u4f1a\u7ed9\u4f60\u8282\u7ea6\u4e0d\u5c11\u7684\u5185\u5b58\u7a7a\u95f4\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.3 \u975e\u7a7a<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u975e\u7a7a\u5b57\u6bb5\u5c3d\u91cf\u8bbe\u7f6e\u6210<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">NOT NULL<\/code>\uff0c\u5e76\u63d0\u4f9b\u9ed8\u8ba4\u503c\uff0c\u6216\u8005\u4f7f\u7528\u7279\u6b8a\u503c\u4ee3\u66ff<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">NULL<\/code>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u56e0\u4e3a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">NULL<\/code>\u7c7b\u578b\u7684\u5b58\u50a8\u548c\u4f18\u5316\u90fd\u4f1a\u5b58\u5728\u6027\u80fd\u4e0d\u4f73\u7684\u95ee\u9898\uff0c\u5177\u4f53\u539f\u56e0\u5728\u8fd9\u91cc\u5c31\u4e0d\u5c55\u5f00\u4e86\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.4 \u4e0d\u8981\u7528\u5916\u952e\u3001\u89e6\u53d1\u5668\u548c\u89c6\u56fe\u529f\u80fd<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u8fd9\u4e5f\u662f\u300c\u963f\u91cc\u5df4\u5df4\u5f00\u53d1\u624b\u518c\u300d\u4e2d\u63d0\u5230\u7684\u539f\u5219\u3002\u539f\u56e0\u6709\u4e09\u4e2a\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u964d\u4f4e\u4e86\u53ef\u8bfb\u6027\uff0c\u68c0\u67e5\u4ee3\u7801\u7684\u540c\u65f6\u8fd8\u5f97\u67e5\u770b\u6570\u636e\u5e93\u7684\u4ee3\u7801\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u628a\u8ba1\u7b97\u7684\u5de5\u4f5c\u4ea4\u7ed9\u7a0b\u5e8f\uff0c\u6570\u636e\u5e93\u53ea\u505a\u597d\u5b58\u50a8\u7684\u5de5\u4f5c\uff0c\u5e76\u628a\u8fd9\u4ef6\u4e8b\u60c5\u505a\u597d\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u6570\u636e\u7684\u5b8c\u6574\u6027\u6821\u9a8c\u7684\u5de5\u4f5c\u5e94\u8be5\u7531\u5f00\u53d1\u8005\u5b8c\u6210\uff0c\u800c\u4e0d\u662f\u4f9d\u8d56\u4e8e\u5916\u952e\uff0c\u4e00\u65e6\u7528\u4e86\u5916\u952e\uff0c\u4f60\u4f1a\u53d1\u73b0\u6d4b\u8bd5\u7684\u65f6\u5019\u968f\u4fbf\u5220\u70b9\u5783\u573e\u6570\u636e\u90fd\u53d8\u5f97\u5f02\u5e38\u8270\u96be\u3002<br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.5 \u56fe\u7247\u3001\u97f3\u9891\u3001\u89c6\u9891\u5b58\u50a8<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e0d\u8981\u76f4\u63a5\u5b58\u50a8\u5927\u6587\u4ef6\uff0c\u800c\u662f\u8981\u5b58\u50a8\u5927\u6587\u4ef6\u7684\u8bbf\u95ee\u5730\u5740\u3002<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-bottom: 15px;font-weight: bold;color: black;font-size: 18px;margin-top: 30px;\"><span style=\"display: none;\"><\/span>4.2.6 \u5927\u5b57\u6bb5\u62c6\u5206\u548c\u6570\u636e\u5197\u4f59<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u5927\u5b57\u6bb5\u62c6\u5206<\/strong>\u5176\u5b9e\u5c31\u662f\u524d\u9762\u8bf4\u8fc7\u7684\u5782\u76f4\u5206\u8868\uff0c\u628a\u4e0d\u5e38\u7528\u7684\u5b57\u6bb5\u6216\u8005\u6570\u636e\u91cf\u8f83\u5927\u7684\u5b57\u6bb5\u62c6\u5206\u51fa\u53bb\uff0c\u907f\u514d\u5217\u6570\u8fc7\u591a\u548c\u6570\u636e\u91cf\u8fc7\u5927\uff0c\u5c24\u5176\u662f\u4e60\u60ef\u7f16\u5199<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">SELECT *<\/code>\u7684\u60c5\u51b5\u4e0b\uff0c\u5217\u6570\u591a\u548c\u6570\u636e\u91cf\u5927\u5bfc\u81f4\u7684\u95ee\u9898\u4f1a\u88ab\u4e25\u91cd\u653e\u5927\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\"><strong style=\"line-height: 1.75em;\">\u5b57\u6bb5\u5197\u4f59<\/strong>\u539f\u5219\u4e0a\u4e0d\u7b26\u5408\u6570\u636e\u5e93\u8bbe\u8ba1\u8303\u5f0f\uff0c\u4f46\u662f\u5374\u975e\u5e38\u6709\u5229\u4e8e\u5feb\u901f\u68c0\u7d22\u3002\u6bd4\u5982\uff0c\u5408\u540c\u8868\u4e2d\u5b58\u50a8\u5ba2\u6237id\u7684\u540c\u65f6\u53ef\u4ee5\u5197\u4f59\u5b58\u50a8\u5ba2\u6237\u59d3\u540d\uff0c\u8fd9\u6837\u67e5\u8be2\u65f6\u5c31\u4e0d\u9700\u8981\u518d\u6839\u636e\u5ba2\u6237id\u83b7\u53d6\u7528\u6237\u59d3\u540d\u4e86\u3002\u56e0\u6b64\u9488\u5bf9\u4e1a\u52a1\u903b\u8f91\u9002\u5f53\u505a\u4e00\u5b9a\u7a0b\u5ea6\u7684\u5197\u4f59\u4e5f\u662f\u4e00\u79cd\u6bd4\u8f83\u597d\u7684\u4f18\u5316\u6280\u5de7\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">5. \u4e1a\u52a1\u4f18\u5316<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u4e25\u683c\u6765\u8bf4\uff0c\u4e1a\u52a1\u65b9\u9762\u7684\u4f18\u5316\u5df2\u7ecf\u4e0d\u7b97\u662fMySQL\u8c03\u4f18\u7684\u624b\u6bb5\u4e86\uff0c\u4f46\u662f\u4e1a\u52a1\u7684\u4f18\u5316\u5374\u80fd\u975e\u5e38\u6709\u6548\u5730\u51cf\u8f7b\u6570\u636e\u5e93\u8bbf\u95ee\u538b\u529b\uff0c\u8fd9\u65b9\u9762\u4e00\u4e2a\u5178\u578b\u4f8b\u5b50\u5c31\u662f\u6dd8\u5b9d\uff0c\u4e0b\u9762\u4e3e\u51e0\u4e2a\u7b80\u5355\u4f8b\u5b50\u7ed9\u5927\u5bb6\u63d0\u4f9b\u4e00\u4e0b\u601d\u8def\uff1a<\/p>\n<ol data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u4ee5\u5f80\u90fd\u662f\u53cc11\u5f53\u665a\u5f00\u59cb\u4e70\u4e70\u4e70\u7684\u6a21\u5f0f\uff0c\u6700\u8fd1\u51e0\u5e74\u53cc11\u7684\u9884\u552e\u6218\u7ebf\u8d8a\u62c9\u8d8a\u957f\uff0c\u63d0\u524d\u534a\u4e2a\u591a\u6708\u5c31\u5f00\u59cb\u4e86\uff0c\u800c\u4e14\u5404\u79cd\u5b9a\u91d1\u7ea2\u5305\u6a21\u5f0f\u4e1b\u51fa\u4e0d\u7a77\uff0c\u8fd9\u79cd\u65b9\u5f0f\u53eb\u505a<strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">\u9884\u552e\u5206\u6d41<\/strong>\u3002\u8fd9\u6837\u505a\u53ef\u4ee5\u5206\u6d41\u5ba2\u6237\u7684\u670d\u52a1\u8bf7\u6c42\uff0c\u4e0d\u5fc5\u7b49\u5230\u53cc\u5341\u4e00\u7684\u51cc\u6668\u4e00\u80a1\u8111\u5730\u96c6\u4f53\u4e0b\u5355\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u53cc\u5341\u4e00\u7684\u51cc\u6668\u4f60\u6216\u8bb8\u60f3\u67e5\u8be2\u5f53\u5929\u4e4b\u5916\u7684\u8ba2\u5355\uff0c\u4f46\u662f\u5374\u67e5\u8be2\u5931\u8d25\uff1b\u751a\u81f3\u652f\u4ed8\u5b9d\u91cc\u7684\u5c0f\u9e21\u7684\u53e3\u7cae\u90fd\u88ab\u5ef6\u8fdf\u53d1\u653e\u4e86\uff0c\u8fd9\u662f\u4e00\u79cd<strong style=\"line-height: 1.75em;color: rgb(74, 74, 74);\">\u964d\u7ea7\u7b56\u7565<\/strong>\uff0c\u96c6\u7ed3\u4e0d\u91cd\u8981\u7684\u670d\u52a1\u7684\u8ba1\u7b97\u8d44\u6e90\uff0c\u7528\u6765\u4fdd\u8bc1\u5f53\u524d\u6700\u6838\u5fc3\u7684\u4e1a\u52a1\uff1b<br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    \u53cc\u5341\u4e00\u7684\u65f6\u5019\u652f\u4ed8\u5b9d\u6781\u529b\u63a8\u8350\u4f7f\u7528\u82b1\u5457\u652f\u4ed8\uff0c\u800c\u4e0d\u662f\u94f6\u884c\u5361\u652f\u4ed8\uff0c\u867d\u7136\u4e00\u90e8\u5206\u8003\u91cf\u662f\u63d0\u9ad8\u8f6f\u4ef6\u7c98\u6027\uff0c\u4f46\u662f\u53e6\u4e00\u65b9\u9762\uff0c\u4f7f\u7528\u4f59\u989d\u5b9d\u5b9e\u9645\u4f7f\u7528\u7684\u963f\u91cc\u5185\u90e8\u670d\u52a1\u5668\uff0c\u8bbf\u95ee\u901f\u5ea6\u5feb\uff0c\u800c\u4f7f\u7528\u94f6\u884c\u5361\uff0c\u9700\u8981\u8c03\u7528\u94f6\u884c\u63a5\u53e3\uff0c\u76f8\u6bd4\u4e4b\u4e0b\u64cd\u4f5c\u8981\u6162\u4e86\u8bb8\u591a\u3002<br \/>\n   <\/section>\n<\/li>\n<\/ol>\n<hr data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;height: 1px;border-width: initial;border-style: none;border-color: initial;text-align: center;background-image: linear-gradient(to right, rgba(93, 186, 133, 0), rgba(93, 186, 133, 0.75), rgba(93, 186, 133, 0));\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">MySQL\u4f18\u5316\u7684\u603b\u7ed3\u5199\u5230\u6b64\u5c31\u7ed3\u675f\u4e86\uff0c\u5176\u4e2d\u6709\u4e0d\u5c11\u7ec6\u8282\u6ca1\u6709\u63d0\u53ca\uff0c\u591a\u5c11\u8ba9\u6211\u611f\u89c9\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u5b8c\u7f8e\u3002\u4f46\u662f\u6709\u4e9b\u77e5\u8bc6\u70b9\u63b0\u5f00\u8bb2\u53c8\u592a\u591a\u4e86\uff0c\u4e0d\u53ef\u80fd\u4e00\u4e0b\u5b50\u5168\u90e8\u5199\u4e0b\uff0c\u4e4b\u540e\u518d\u597d\u597d\u5199\u5427\u3002<\/p>\n<hr data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;height: 1px;border-width: initial;border-style: none;border-color: initial;text-align: center;background-image: linear-gradient(to right, rgba(93, 186, 133, 0), rgba(93, 186, 133, 0.75), rgba(93, 186, 133, 0));\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">Github\u4e0a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">\u6807\u661f60K<\/code>\u7684\u7535\u5546\u5b9e\u6218\u9879\u76ee\uff0c\u51fa <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509257&amp;idx=1&amp;sn=a1212912a14e67fa819108d701c64bed&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u89c6\u9891\u6559\u7a0b\uff082023\u6700\u65b0\u7248\uff09<\/a> \u4e86\uff01\u5168\u5957\u6559\u7a0b\u57fa\u4e8eSpringBoot 2.7\u7248\u672c\uff0c\u53ef\u4ee5\u8bf4\u5185\u5bb9\u975e\u5e38\u65b0\uff01\u5168\u5957\u6559\u7a0b<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">\u7ea640\u5c0f\u65f6\uff0c\u5171100\u671f<\/code>\uff0c\u901a\u8fc7\u8fd9\u5957\u6559\u7a0b\u4f60\u53ef\u4ee5\u62e5\u6709\u4e00\u4e2a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">\u6db5\u76d6\u4e3b\u6d41Java\u6280\u672f\u6808\u7684\u5b8c\u6574\u9879\u76ee\u7ecf\u9a8c<\/code>\uff0c\u540c\u65f6\u63d0\u9ad8\u81ea\u5df1<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(40, 202, 113);\">\u72ec\u7acb\u5f00\u53d1\u4e00\u4e2a\u9879\u76ee\u7684\u80fd\u529b<\/code>\uff0c\u4e0b\u9762\u662f\u9879\u76ee\u7684\u6574\u4f53\u67b6\u6784\u56fe\uff0c\u611f\u5174\u8da3\u7684\u5c0f\u4f19\u4f34\u53ef\u4ee5\u70b9\u51fb\u94fe\u63a5 <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509257&amp;idx=1&amp;sn=a1212912a14e67fa819108d701c64bed&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >mall\u89c6\u9891\u6559\u7a0b<\/a> \u52a0\u5165\u5b66\u4e60\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.7166666666666667\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/20230711221407f2f275542.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.7166666666666667\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/20230711221407f2f275542.png\"jpeg\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><br \/>\n <\/figure>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-bottom: 8px;padding-top: 1em;color: rgb(74, 74, 74);line-height: 1.75em;\">\u6574\u5957 <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509257&amp;idx=1&amp;sn=a1212912a14e67fa819108d701c64bed&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u89c6\u9891\u6559\u7a0b<\/a> \u7684\u5185\u5bb9\u8fd8\u662f\u975e\u5e38\u5b8c\u5584\u7684\uff0c\u6db5\u76d6\u4e86mall\u9879\u76ee\u6700\u4f73\u5b66\u4e60\u8def\u7ebf\u3001\u6574\u4f53\u6846\u67b6\u642d\u5efa\u3001\u4e1a\u52a1\u4e0e\u6280\u672f\u5b9e\u73b0\u5168\u65b9\u4f4d\u89e3\u6790\u3001\u7ebf\u4e0aDocker\u73af\u5883\u90e8\u7f72\u7b49\u5185\u5bb9\uff0c\u5177\u4f53\u5927\u7eb2\u53ef\u4ee5\u53c2\u8003\u4e0b\u56fe\uff0c\u4f60\u4e5f\u53ef\u4ee5\u70b9\u51fb\u94fe\u63a5 <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509257&amp;idx=1&amp;sn=a1212912a14e67fa819108d701c64bed&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >mall\u89c6\u9891\u6559\u7a0b<\/a> \u4e86\u89e3\u66f4\u591a\u5185\u5bb9\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\">\n  <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"2.9989572471324295\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085555824d8.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"jpeg\" data-w=\"959\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"2.9989572471324295\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085555824d8.png\"jpeg\" data-w=\"959\" style=\"display: block;margin-right: auto;margin-left: auto;border-radius: 4px;margin-bottom: 25px;\"><\/noscript><br \/>\n <\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;color: black;font-size: 22px;text-align: center;background-image: url(&quot;https:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwl4kiatfiboUQ4KVVeWAPxNTlRia7ARxSPpVZ36HpPTc3xibZ9p0vicLwGiasJ5KhmycMeMngWiaYFCaxfOQ\/640?wx_fmt=png&quot;);background-position: center center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 50px;margin-top: 1em;margin-bottom: 10px;\"><span style=\"display: none;\"><\/span><span style=\"display: inline-block;height: 38px;line-height: 42px;color: rgb(72, 179, 120);background-position: left center;background-repeat: no-repeat;background-attachment: initial;background-origin: initial;background-clip: initial;background-size: 63px;margin-top: 38px;font-size: 18px;margin-bottom: 10px;\">\u63a8\u8350\u9605\u8bfb<\/span><\/h2>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;color: black;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509257&amp;idx=1&amp;sn=a1212912a14e67fa819108d701c64bed&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Github\u6807\u661f60K\uff01\u8fd9\u5957\u6db5\u76d6Java\u4e3b\u6d41\u6280\u672f\u548c\u7535\u5546\u6838\u5fc3\u4e1a\u52a1\u7684\u5b9e\u6218\u6559\u7a0b\uff0c\u592a\u9999\u4e86\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247507977&amp;idx=1&amp;sn=07b2b95709b46efce1bedeae9b6ffdda&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >Github\u6807\u661f60K\uff01mall\u524d\u53f0\u5546\u57ce\u7cfb\u7edf\u6b63\u5f0f\u53d1\u5e03\uff0c\u652f\u6301\u5b8c\u6574\u8ba2\u5355\u6d41\u7a0b\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247509371&amp;idx=1&amp;sn=388ee12b3a6557f8c0f54ab7ea1236fb&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u8ba2\u5355\u7cfb\u7edf\u5c31\u8be5\u8fd9\u4e48\u8bbe\u8ba1\uff08\u4e07\u80fd\u901a\u7528\uff09\uff0c\u7a33\u7684\u4e00\u6279\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247508993&amp;idx=1&amp;sn=6a4c068b529ef84fa6c03cd9bd59a79c&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u7535\u5546\u7cfb\u7edf\u4e2d\u7684\u5546\u54c1\u529f\u80fd\u5c31\u8be5\u8fd9\u4e48\u8bbe\u8ba1\uff0c\u7a33\u7684\u4e00\u6279\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247508732&amp;idx=1&amp;sn=3d10d005c554c43e7ce601aec4a94fda&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u6743\u9650\u7cfb\u7edf\u5c31\u8be5\u8fd9\u4e48\u8bbe\u8ba1\uff08\u4e07\u80fd\u901a\u7528\uff09\uff0c\u7a33\u7684\u4e00\u6279\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);\">\n    <a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzU1Nzg4NjgyMw==&amp;mid=2247508478&amp;idx=1&amp;sn=3dad9c6ba4d52308012d2c6369299e02&amp;scene=21#wechat_redirect\" style=\"font-weight: bold;color: rgb(72, 179, 120);border-bottom: 1px solid rgb(72, 179, 120);\" data-linktype=\"2\" target=\"_blank\"  rel=\"nofollow\" >\u65b0\u5165\u804c\u4e00\u5bb6\u516c\u53f8\uff0c\u63a5\u624b\u4e86\u4e2a\u4ece\u96f6\u5f00\u59cb\u7684\u9879\u76ee\uff0c\u597d\u96be\uff01<\/a><br \/>\n   <\/section>\n<\/li>\n<\/ul>\n<\/section>\n<p><\/p>\n<section class=\"mp_profile_iframe_wrp\">\n <mp-common-profile class=\"js_uneditable custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-id=\"MzU1Nzg4NjgyMw==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/CKvMdchsUwnfLzMS3eAE7gXUvx6GYmnzuANVe5zJIGp0C084ANIia7Xo1nSADddF3eiajuhKDf0EofjI4t7hdqyA\/0?wx_fmt=png\" data-nickname=\"macrozheng\" data-alias=\"\" data-signature=\"\u4e13\u6ce8Java\u6280\u672f\u5206\u4eab\uff0c\u89e3\u6790\u4f18\u8d28\u5f00\u6e90\u9879\u76ee\u3002\u6db5\u76d6SpringBoot\u3001SpringCloud\u3001Docker\u3001K8S\u7b49\u5b9e\u7528\u6280\u672f\uff0c\u4f5c\u8005Github\u5f00\u6e90\u9879\u76eemall\uff0850K+Star\uff09\u3002\" data-from=\"0\" data-is_biz_ban=\"0\"><\/mp-common-profile><br \/>\n <img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"0.2777777777777778\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085a5a2d966.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"gif\" data-w=\"1080\" style=\"text-align: center;font-size: var(--articleFontsize);letter-spacing: 0.034em;\"><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.2777777777777778\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085a5a2d966.png\"gif\" data-w=\"1080\" style=\"text-align: center;font-size: var(--articleFontsize);letter-spacing: 0.034em;\"><\/noscript><br \/>\n<\/section>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7\uff1ahttps:\/\/mp.weixin.qq.com\/s\/oO8FMdsyKHrtOAJnrAYKcg<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u9762\u8bd5\u5b98\u5982\u679c\u95ee\u4f60\uff1a\u4f60\u4f1a\u4ece\u54ea\u4e9b\u7ef4\u5ea6\u8fdb\u884cMySQL\u6027\u80fd\u4f18\u5316\uff1f\u4f60\u4f1a\u600e\u4e48\u56de\u7b54\uff1f \u6240\u8c13\u7684\u6027\u80fd\u4f18\u5316\uff0c\u4e00\u822c\u9488\u5bf9\u7684\u662fMySQL\u67e5\u8be2\u7684\u4f18\u5316\u3002\u65e2\u7136\u662f\u4f18\u5316 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[3],"tags":[],"class_list":["post-2863","post","type-post","status-publish","format-standard","hentry","category-mysql"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-01\/202307112214013f3f7405c.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402d9d99d468.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402d9d99d468.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/202307112214023d3dc56b4.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/202307112214023d3dc56b4.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/2023071122140286861d016.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/2023071122140286861d016.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402e8e89a3be.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-02\/20230711221402e8e89a3be.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403202053dfb.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403202053dfb.png","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403d7d755831.png","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/20230711221403d7d755831.png","id":"image13"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/202307112214034f4fef89d.png","id":"image14"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-03\/202307112214034f4fef89d.png","id":"image15"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/202307112214045252b39e3.png","id":"image16"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/202307112214045252b39e3.png","id":"image17"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404717170f3a.png","id":"image18"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404717170f3a.png","id":"image19"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404f6f696b35.png","id":"image20"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/20230711221404f6f696b35.png","id":"image21"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/2023071122140454548fbcc.png","id":"image22"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-04\/2023071122140454548fbcc.png","id":"image23"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/20230711221405e3e313f7e.png","id":"image24"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/20230711221405e3e313f7e.png","id":"image25"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/202307112214058c8c70f65.png","id":"image26"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-05\/202307112214058c8c70f65.png","id":"image27"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/202307112214075151d70a4.png","id":"image28"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/202307112214075151d70a4.png","id":"image29"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/20230711221407f2f275542.png","id":"image30"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-07\/20230711221407f2f275542.png","id":"image31"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085555824d8.png","id":"image32"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085555824d8.png","id":"image33"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085a5a2d966.png","id":"image34"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/default\/nine\/2023-07-11\/22-14-08\/202307112214085a5a2d966.png","id":"image35"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"MySQL","post_date":"2023-07-11","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":297,"next_post_id":2865,"next_post_title":"MySQL\u7684on duplicate key update \u4f7f\u7528\u8bf4\u660e\u4e0e\u603b\u7ed3","previous_post_id":2461,"previous_post_title":"\u9762\u8bd5\u5b98\uff1aMySQL\u4e2dInnoDB\u7684\u7d22\u5f15\u7ed3\u6784\u4ee5\u53ca\u4f7f\u7528B+\u6811\u5b9e\u73b0\u7d22\u5f15\u7684\u539f\u56e0","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=2863"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2863\/revisions"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}