{"id":2461,"date":"2023-06-29T10:40:26","date_gmt":"2023-06-29T02:40:26","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=2461"},"modified":"2023-06-29T10:40:26","modified_gmt":"2023-06-29T02:40:26","slug":"%e9%9d%a2%e8%af%95%e5%ae%98%ef%bc%9amysql%e4%b8%adinnodb%e7%9a%84%e7%b4%a2%e5%bc%95%e7%bb%93%e6%9e%84%e4%bb%a5%e5%8f%8a%e4%bd%bf%e7%94%a8b%e6%a0%91%e5%ae%9e%e7%8e%b0%e7%b4%a2%e5%bc%95%e7%9a%84","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/mysql\/%e9%9d%a2%e8%af%95%e5%ae%98%ef%bc%9amysql%e4%b8%adinnodb%e7%9a%84%e7%b4%a2%e5%bc%95%e7%bb%93%e6%9e%84%e4%bb%a5%e5%8f%8a%e4%bd%bf%e7%94%a8b%e6%a0%91%e5%ae%9e%e7%8e%b0%e7%b4%a2%e5%bc%95%e7%9a%84\/","title":{"rendered":"\u9762\u8bd5\u5b98\uff1aMySQL\u4e2dInnoDB\u7684\u7d22\u5f15\u7ed3\u6784\u4ee5\u53ca\u4f7f\u7528B+\u6811\u5b9e\u73b0\u7d22\u5f15\u7684\u539f\u56e0"},"content":{"rendered":"<div class='wxsyncmain'>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5927\u5bb6\u597d\uff0c\u6211\u662f\u4e00\u5b89\uff0c\u4e4b\u524d\u6709\u4ecb\u7ecd\u4e00\u7bc7\u300a<a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MzgxMTIyOQ==&amp;mid=2247486233&amp;idx=1&amp;sn=e54ea58ededf51fd4e2b7eecaf3e67cf&amp;chksm=c028646bf75fed7d71a30fd581bf87c8be3146295c476885ff0b52f7846c1c300e05ed0e9136&amp;scene=21#wechat_redirect\" textvalue=\"\u4e00\u6587\u5e26\u4f60\u8be6\u89e3Mysql\u5e95\u5c42\u7d22\u5f15\u673a\u5236\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u4e00\u6587\u5e26\u4f60\u8be6\u89e3Mysql\u5e95\u5c42\u7d22\u5f15\u673a\u5236<\/a>\u300b\uff0c\u4eca\u5929\u7ee7\u7eed\u804a\u4e00\u804aMySQL\u7684\u4f17\u591a\u5b58\u50a8\u5f15\u64ce\u4e2dInnoDB<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5728MySQL \u7684\u4f17\u591a\u5b58\u50a8\u5f15\u64ce\u4e2d\uff0cInnoDB \u662f\u6700\u5e38\u7528\u7684\u5b58\u50a8\u5f15\u64ce\uff0c\u4e5f\u662f MySQL \u73b0\u9636\u6bb5\u552f\u4e00\u514d\u8d39\u652f\u6301\u4e8b\u52a1\u673a\u5236\u7684\u5b58\u50a8\u5f15\u64ce\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u4ee5 InnoDB \u4e3a\u4f8b\uff0c\u4ecb\u7ecd MySQL \u7684\u7d22\u5f15\u7ed3\u6784\u4ee5\u53ca\u5176\u4f7f\u7528 B+ \u6811\u5b9e\u73b0\u7d22\u5f15\u7684\u539f\u56e0<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;margin: 10px auto;height: 40px;background-color: rgb(251, 251, 251);border-bottom: 1px solid rgb(246, 246, 246);overflow: hidden;box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-left: -10px;display: inline-block;width: auto;height: 40px;background-color: rgb(33, 33, 34);border-bottom-right-radius: 100px;color: rgb(255, 255, 255);padding-right: 30px;padding-left: 30px;line-height: 40px;font-size: 16px;\">\u8868\u7a7a\u95f4<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u9996\u5148\uff0c\u6211\u4eec\u6765\u4e86\u89e3\u4e00\u4e0b MySQL \u7684\u8868\u7a7a\u95f4\u3002\u5728 MySQL \u4e2d\uff0c\u6240\u6709\u7684\u6570\u636e\u90fd\u88ab\u5b58\u50a8\u5728\u4e00\u4e2a\u7a7a\u95f4\u5185\uff0c\u79f0\u4e4b\u4e3a\u8868\u7a7a\u95f4\uff0c\u8868\u7a7a\u95f4\u5185\u90e8\u53c8\u53ef\u4ee5\u5206\u4e3a\u6bb5\uff08segment\uff09\u3001\u533a\uff08extent\uff09\u3001\u9875\uff08page\uff09\u3001\u884c\uff08row\uff09\uff0c\u5176\u903b\u8f91\u7ed3\u6784\u5982\u4e0b\u56fe\uff1a<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.6657407407407407\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.6657407407407407\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png\"  \/><\/noscript><\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u6bb5\uff08segment\uff09<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u8868\u7a7a\u95f4\u662f\u7531\u4e0d\u540c\u7684\u6bb5\u7ec4\u6210\u7684\uff0c\u5e38\u89c1\u7684\u6bb5\u6709\uff1a\u6570\u636e\u6bb5\uff0c\u7d22\u5f15\u6bb5\uff0c\u56de\u6eda\u6bb5\u7b49\u7b49\uff0c\u5728 MySQL \u4e2d\uff0c\u6570\u636e\u662f\u6309\u7167 B+ \u6811\u6765\u5b58\u50a8\uff0c\u56e0\u6b64\u6570\u636e\u5373\u7d22\u5f15\uff0c\u56e0\u6b64\u6570\u636e\u6bb5\u5373\u4e3a B+ \u6811\u7684\u53f6\u5b50\u8282\u70b9\uff0c\u7d22\u5f15\u6bb5\u4e3a B+ \u6811\u7684\u975e\u53f6\u5b50\u8282\u70b9\uff0c\u56de\u6eda\u6bb5\u7528\u4e8e\u5b58\u50a8undo\u65e5\u5fd7\uff0c\u7528\u4e8e\u4e8b\u52a1\u5931\u8d25\u540e\u6570\u636e\u56de\u6eda\u4ee5\u53ca\u5728\u4e8b\u52a1\u672a\u63d0\u4ea4\u4e4b\u524d\u901a\u8fc7undo\u65e5\u5fd7\u83b7\u53d6\u4e4b\u524d\u7248\u672c\u7684\u6570\u636e\uff0c\u5728 InnoDB 1.1 \u7248\u672c\u4e4b\u524d\uff0c\u4e00\u4e2a InnoDB \u53ea\u652f\u6301\u4e00\u4e2a\u56de\u6eda\u6bb5\uff0c\u652f\u6301 1023 \u4e2a\u5e76\u53d1\u4fee\u6539\u4e8b\u52a1\u540c\u65f6\u8fdb\u884c\uff0c\u5728 InnoDB 1.2 \u7248\u672c\uff0c\u5c06\u56de\u6eda\u6bb5\u6570\u91cf\u63d0\u9ad8\u5230\u4e86 128 \u4e2a\uff0c\u4e5f\u5c31\u662f\u8bf4\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c128 * 1023\u4e2a\u5e76\u53d1\u4fee\u6539\u4e8b\u52a1\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u533a\uff08extent\uff09<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u533a\u662f\u7531\u8fde\u7eed\u9875\u7ec4\u6210\u7684\u7a7a\u95f4\uff0c\u6bcf\u4e2a\u533a\u7684\u56fa\u5b9a\u5927\u5c0f\u4e3a 1MB\uff0c\u4e3a\u4fdd\u8bc1\u533a\u4e2d\u9875\u7684\u8fde\u7eed\u6027\uff0cInnoDB \u4f1a\u4e00\u6b21\u4ece\u78c1\u76d8\u4e2d\u7533\u8bf7 4 ~ 5 \u4e2a\u533a\uff0c\u5728\u9ed8\u8ba4\u4e0d\u538b\u7f29\u7684\u60c5\u51b5\u4e0b\uff0c\u4e00\u4e2a\u533a\u53ef\u4ee5\u5bb9\u7eb3 64 \u4e2a\u8fde\u7eed\u7684\u9875\u3002\u4f46\u662f\u5728\u5f00\u59cb\u65b0\u5efa\u8868\u7684\u65f6\u5019\uff0c\u7a7a\u8868\u7684\u9ed8\u8ba4\u5927\u5c0f\u4e3a 96KB\uff0c\u662f\u7531\u4e8e\u4e3a\u4e86\u9ad8\u6548\u7684\u5229\u7528\u78c1\u76d8\u7a7a\u95f4\uff0c\u5728\u5f00\u59cb\u63d2\u5165\u6570\u636e\u65f6\u8868\u4f1a\u5148\u5229\u7528 32 \u4e2a\u9875\u5927\u5c0f\u7684\u788e\u7247\u9875\u6765\u5b58\u50a8\u6570\u636e\uff0c\u5f53\u8fd9\u4e9b\u788e\u7247\u4f7f\u7528\u5b8c\u540e\uff0c\u8868\u5927\u5c0f\u624d\u4f1a\u6309\u7167 MB \u500d\u6570\u6765\u589e\u52a0\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u9875\uff08page\uff09<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u9875\u662f InnoDB \u5b58\u50a8\u5f15\u64ce\u7684\u6700\u5c0f\u7ba1\u7406\u5355\u4f4d\uff0c\u6bcf\u9875\u5927\u5c0f\u9ed8\u8ba4\u662f 16KB\uff0c\u4ece InnoDB 1.2.x \u7248\u672c\u5f00\u59cb\uff0c\u53ef\u4ee5\u5229\u7528innodb_page_size\u6765\u6539\u53d8\u9875\u5927\u5c0f\uff0c\u4f46\u662f\u6539\u53d8\u53ea\u80fd\u5728\u521d\u59cb\u5316 InnoDB \u5b9e\u4f8b\u524d\u8fdb\u884c\u4fee\u6539\uff0c\u4e4b\u540e\u4fbf\u65e0\u6cd5\u8fdb\u884c\u4fee\u6539\uff0c\u9664\u975emysqldump\u5bfc\u51fa\u521b\u5efa\u65b0\u5e93\uff0c\u5e38\u89c1\u7684\u9875\u7c7b\u578b\u6709\uff1a\u6570\u636e\u9875\u3001undo\u9875\u3001\u7cfb\u7edf\u9875\u3001\u4e8b\u52a1\u6570\u636e\u9875\u3001\u63d2\u5165\u7f13\u51b2\u4f4d\u56fe\u9875\u3001\u63d2\u5165\u7f13\u51b2\u7a7a\u95f2\u5217\u8868\u9875\u3001\u672a\u538b\u7f29\u7684\u4e8c\u8fdb\u5236\u5927\u5bf9\u8c61\u9875\u4ee5\u53ca\u538b\u7f29\u7684\u4e8c\u8fdb\u5236\u5927\u5bf9\u8c61\u9875\u7b49\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u884c\uff08row\uff09<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u884c\u5bf9\u5e94\u7684\u662f\u8868\u4e2d\u7684\u884c\u8bb0\u5f55\uff0c\u6bcf\u9875\u5b58\u50a8\u6700\u591a\u7684\u884c\u8bb0\u5f55\u4e5f\u662f\u6709\u786c\u6027\u89c4\u5b9a\u7684\u6700\u591a16KB\/2-200\uff0c\u5373 7992 \u884c\uff0c\u5176\u4e2d 16KB \u662f\u9875\u5927\u5c0f\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: rgba(0, 0, 0, 0.05);padding: 10px 1em;border-left-color: rgb(221, 221, 221);margin-top: 1.2em;margin-bottom: 1.2em;border-left-width: 4px;color: rgb(119, 119, 119);quotes: none;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;white-space: normal;text-size-adjust: auto;font-size: 15px;font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;line-height: 1.75em;\">\u6bcf\u4e2a\u8bb0\u5f55\u6700\u5c112\u5b57\u8282\uff0c\u6bcf\u4e2a\u9875\u90fd\u8981\u9884\u7559200\u5b57\u8282\uff0c\u8fd9\u662f\u786c\u6027\u89c4\u5b9a\uff0c\u77e5\u9053\u5c31\u884c<\/p>\n<\/blockquote>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;margin: 10px auto;height: 40px;background-color: rgb(251, 251, 251);border-bottom: 1px solid rgb(246, 246, 246);overflow: hidden;box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-left: -10px;display: inline-block;width: auto;height: 40px;background-color: rgb(33, 33, 34);border-bottom-right-radius: 100px;color: rgb(255, 255, 255);padding-right: 30px;padding-left: 30px;line-height: 40px;font-size: 16px;\">\u7d22\u5f15\u7ed3\u6784<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u805a\u7c07\u7d22\u5f15 \u6bcf\u4e2a InnoDB \u7684\u8868\u90fd\u62e5\u6709\u4e00\u4e2a\u7d22\u5f15\uff0c\u79f0\u4e4b\u4e3a\u805a\u7c07\u7d22\u5f15\uff0c\u6b64\u7d22\u5f15\u4e2d\u5b58\u50a8\u7740\u884c\u8bb0\u5f55\uff0c\u4e00\u822c\u6765\u8bf4\uff0c\u805a\u7c07\u7d22\u5f15\u662f\u6839\u636e\u4e3b\u952e\u751f\u6210\u7684\u3002\u805a\u7c07\u7d22\u5f15\u6309\u7167\u5982\u4e0b\u89c4\u5219\u521b\u5efa\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5982\u679c\u5b9a\u4e49\u4e3b\u952e\uff0cInnoDB \u4f1a\u5229\u7528\u4e3b\u952e\u6765\u751f\u6210\u5176\u805a\u7c07\u7d22\u5f15\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5982\u679c\u6ca1\u6709\u4e3b\u952e\uff0cInnoDB \u4f1a\u9009\u62e9\u4e00\u4e2a\u975e\u7a7a\u7684\u552f\u4e00\u7d22\u5f15\u6765\u521b\u5efa\u805a\u7c07\u7d22\u5f15\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5982\u679c\u8fd9\u4e5f\u6ca1\u6709\uff0cInnoDB \u4f1a\u9690\u5f0f\u7684\u521b\u5efa\u4e00\u4e2a\u81ea\u589e\u7684\u5217\u6765\u4f5c\u4e3a\u805a\u7c07\u7d22\u5f15\u3002<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">Note\uff1a\u5bf9\u4e8e\u9009\u62e9\u552f\u4e00\u7d22\u5f15\u7684\u987a\u5e8f\u662f\u6309\u7167\u5b9a\u4e49\u552f\u4e00\u7d22\u5f15\u7684\u987a\u5e8f\uff0c\u800c\u975e\u8868\u4e2d\u5217\u7684\u987a\u5e8f\uff0c\u540c\u65f6\u9009\u4e2d\u7684\u552f\u4e00\u7d22\u5f15\u5b57\u6bb5\u4f1a\u5145\u5f53\u4e3a\u4e3b\u952e\uff0c\u6216\u8005 InnoDB \u9690\u5f0f\u521b\u5efa\u7684\u81ea\u589e\u5217\u4e5f\u53ef\u4ee5\u770b\u505a\u4e3b\u952e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u805a\u7c07\u7d22\u5f15\u6574\u4f53\u662f\u4e00\u4e2a B+ \u6811\uff0c\u975e\u53f6\u5b50\u8282\u70b9\u5b58\u653e\u7684\u662f\u952e\u503c\uff0c\u53f6\u5b50\u8282\u70b9\u5b58\u653e\u7684\u662f\u884c\u6570\u636e\uff0c\u79f0\u4e4b\u4e3a\u6570\u636e\u9875\uff0c\u8fd9\u5c31\u51b3\u5b9a\u4e86\u8868\u4e2d\u7684\u6570\u636e\u4e5f\u662f\u805a\u7c07\u7d22\u5f15\u4e2d\u7684\u4e00\u90e8\u5206\uff0c\u6570\u636e\u9875\u4e4b\u95f4\u662f\u901a\u8fc7\u4e00\u4e2a\u53cc\u5411\u94fe\u8868\u6765\u94fe\u63a5\u7684\uff0c\u4e0a\u6587\u8bf4\u5230 B+ \u6811\u662f\u4e00\u68f5\u5e73\u8861\u67e5\u627e\u6811\uff0c\u4e5f\u5c31\u662f\u805a\u7c07\u7d22\u5f15\u7684\u6570\u636e\u5b58\u50a8\u662f\u6709\u5e8f\u7684\uff0c\u4f46\u8fd9\u4ec5\u662f\u903b\u8f91\u4e0a\u7684\u6709\u5e8f\u3002\u56e0\u4e3a\u6570\u636e\u9875\u4e4b\u95f4\u662f\u901a\u8fc7\u53cc\u5411\u94fe\u8868\u6765\u8fde\u63a5\uff0c\u5047\u5982\u7269\u7406\u5b58\u50a8\u4e5f\u662f\u987a\u5e8f\u7684\u8bdd\uff0c\u90a3\u7ef4\u62a4\u805a\u7c07\u7d22\u5f15\u7684\u6210\u672c\u975e\u5e38\u7684\u9ad8\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u8f85\u52a9\u7d22\u5f15<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u9664\u4e86\u805a\u7c07\u7d22\u5f15\u4e4b\u5916\u7684\u7d22\u5f15\u90fd\u53ef\u4ee5\u79f0\u4e4b\u4e3a\u8f85\u52a9\u7d22\u5f15\uff0c\u4e0e\u805a\u7c07\u7d22\u5f15\u7684\u533a\u522b\u5728\u4e8e\u8f85\u52a9\u7d22\u5f15\u7684\u53f6\u5b50\u8282\u70b9\u4e2d\u5b58\u653e\u7684\u662f\u4e3b\u952e\u7684\u952e\u503c\u3002\u4e00\u5f20\u8868\u53ef\u4ee5\u5b58\u5728\u591a\u4e2a\u8f85\u52a9\u7d22\u5f15\uff0c\u4f46\u662f\u53ea\u80fd\u6709\u4e00\u4e2a\u805a\u7c07\u7d22\u5f15\uff0c\u901a\u8fc7\u8f85\u52a9\u7d22\u5f15\u6765\u67e5\u627e\u5bf9\u5e94\u7684\u822a\u8bb0\u5f55\u7684\u8bdd\uff0c\u9700\u8981\u8fdb\u884c\u4e24\u6b65\uff0c\u7b2c\u4e00\u6b65\u901a\u8fc7\u8f85\u52a9\u7d22\u5f15\u6765\u786e\u5b9a\u5bf9\u5e94\u7684\u4e3b\u952e\uff0c\u7b2c\u4e8c\u6b65\u901a\u8fc7\u76f8\u5e94\u7684\u4e3b\u952e\u503c\u5728\u805a\u7c07\u7d22\u5f15\u4e2d\u67e5\u8be2\u5230\u5bf9\u5e94\u7684\u884c\u8bb0\u5f55\uff0c\u4e5f\u5c31\u662f\u8fdb\u884c\u4e24\u6b21 B+ \u6811\u641c\u7d22\u3002\u76f8\u53cd\uff0c\u901a\u8fc7\u8f85\u52a9\u7d22\u5f15\u6765\u67e5\u8be2\u4e3b\u952e\u7684\u8bdd\uff0c\u904d\u5386\u4e00\u6b21\u8f85\u52a9\u7d22\u5f15\u5c31\u53ef\u4ee5\u786e\u5b9a\u4e3b\u952e\u4e86\uff0c\u4e5f\u5c31\u662f\u6240\u8c13\u7684\u7d22\u5f15\u8986\u76d6\uff0c\u4e0d\u7528\u56de\u8868\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u521b\u5efa\u8f85\u52a9\u7d22\u5f15\uff0c\u53ef\u4ee5\u521b\u5efa\u5355\u5217\u7684\u7d22\u5f15\uff0c\u4e5f\u5c31\u662f\u7528\u4e00\u4e2a\u5b57\u6bb5\u6765\u521b\u5efa\u7d22\u5f15\uff0c\u4e5f\u53ef\u4ee5\u7528\u591a\u4e2a\u5b57\u6bb5\u6765\u521b\u5efa\u526f\u4e3b\u7d22\u5f15\u79f0\u4e3a\u8054\u5408\u7d22\u5f15\uff0c\u521b\u5efa\u8054\u5408\u7d22\u5f15\u540e\uff0cB+ \u6811\u7684\u8282\u70b9\u5b58\u50a8\u7684\u952e\u503c\u6570\u91cf\u4e0d\u662f \u4e00\u4e2a\uff0c\u800c\u662f\u591a\u4e2a\uff0c\u5982\u4e0b\u56fe\uff1a<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.33055555555555555\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155114927.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.33055555555555555\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155114927.png\"  \/><\/noscript><\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u8054\u5408\u7d22\u5f15\u7684 B+ \u6811\u548c\u5355\u952e\u8f85\u52a9\u7d22\u5f15\u7684 B+ \u6811\u662f\u4e00\u6837\u7684\uff0c\u952e\u503c\u90fd\u662f\u6392\u5e8f\u7684\uff0c\u901a\u8fc7\u53f6\u5b50\u8282\u70b9\u53ef\u4ee5\u903b\u8f91\u987a\u5e8f\u7684\u8bfb\u51fa\u6240\u6709\u7684\u6570\u636e\uff0c\u6bd4\u5982\u4e0a\u56fe\u6240\u5b58\u50a8\u7684\u6570\u636e\u65f6\uff0c\u6309\u7167(a,b)\u8fd9\u79cd\u5f62\u5f0f(1,1),(1,2),(2,1),(2,4),(3,1),(3,2)\u8fdb\u884c\u5b58\u653e\uff0c\u8fd9\u6837\u6709\u4e2a\u597d\u5904\uff0c\u90a3\u5c31\u662f\u5b58\u653e\u6570\u636e\u65f6\u6392\u5e8f\u4e86\uff0c\u5f53\u8fdb\u884corder by\u5bf9\u67d0\u4e2a\u5b57\u6bb5\u8fdb\u884c\u6392\u5e8f\u65f6\uff0c\u53ef\u4ee5\u51cf\u5c11\u590d\u6742\u5ea6\uff0c\u52a0\u901f\u8fdb\u884c\u67e5\u8be2\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5f53\u7528select * from table where a=? and ?\u53ef\u4ee5\u4f7f\u7528\u7d22\u5f15(a,b)\u6765\u52a0\u901f\u67e5\u8be2\uff0c\u4f46\u662f\u5728\u67e5\u8be2\u65f6\u6709\u4e00\u4e2a\u539f\u5219\uff0cSQL \u7684where\u6761\u4ef6\u7684\u987a\u5e8f\u5fc5\u987b\u548c\u4e8c\u7ea7\u7d22\u5f15\u4e00\u81f4\uff0c\u800c\u4e14\u8fd8\u9075\u5faa\u7d22\u5f15\u6700\u5de6\u539f\u5219\uff0cselect * from table where b=?\u5219\u65e0\u6cd5\u5229\u7528(a,b)\u7d22\u5f15\u6765\u52a0\u901f\u67e5\u8be2\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u8f85\u52a9\u7d22\u5f15\u8fd8\u6709\u4e00\u4e2a\u6982\u5ff5\u4fbf\u662f\u7d22\u5f15\u8986\u76d6\uff0c\u7d22\u5f15\u8986\u76d6\u7684\u4e00\u4e2a\u597d\u5904\u4fbf\u662f\u8f85\u52a9\u7d22\u5f15\u4e0d\u5305\u542b\u884c\u8bb0\u5f55\uff0c\u56e0\u6b64\u5176\u5927\u5c0f\u8fdc\u8fdc\u5c0f\u4e8e\u805a\u7c07\u7d22\u5f15\uff0c\u5229\u7528\u8f85\u52a9\u7d22\u5f15\u8fdb\u884c\u67e5\u8be2\u53ef\u4ee5\u51cf\u5c11\u5927\u91cf\u7684 IO \u64cd\u4f5c\u3002<\/section>\n<\/li>\n<\/ul>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;margin: 10px auto;height: 40px;background-color: rgb(251, 251, 251);border-bottom: 1px solid rgb(246, 246, 246);overflow: hidden;box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-left: -10px;display: inline-block;width: auto;height: 40px;background-color: rgb(33, 33, 34);border-bottom-right-radius: 100px;color: rgb(255, 255, 255);padding-right: 30px;padding-left: 30px;line-height: 40px;font-size: 16px;\">\u4e3a\u4ec0\u4e48\u4f7f\u7528 B+ \u6811\u5b9e\u73b0\u7d22\u5f15\uff1f<\/span><\/h2>\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: rgba(0, 0, 0, 0.05);padding: 10px 1em;border-left-color: rgb(221, 221, 221);margin-top: 1.2em;margin-bottom: 1.2em;border-left-width: 4px;color: rgb(119, 119, 119);quotes: none;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;white-space: normal;text-size-adjust: auto;font-size: 15px;font-family: -apple-system-font, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;line-height: 1.75em;\">\u8981\u56de\u7b54\u300c\u4e3a\u4ec0\u4e48\u4f7f\u7528 B+ \u6811\u5b9e\u73b0\u7d22\u5f15\uff1f\u300d\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u4e0d\u59a8\u53cd\u8fc7\u6765\u770b\u770b\u4f7f\u7528\u5176\u4ed6\u6811\u7ed3\u6784\u4f1a\u4ea7\u751f\u4ec0\u4e48\u6837\u7684\u95ee\u9898\u3002<\/p>\n<\/blockquote>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u4e8c\u53c9\u67e5\u627e\u6811\uff1a\u4e0d\u5e73\u8861<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u4e8c\u53c9\u67e5\u627e\u6811\uff08BST\uff0cBinary Search Tree\uff09\uff0c\u4e5f\u53eb\u4e8c\u53c9\u6392\u5e8f\u6811\uff0c\u5728\u4e8c\u53c9\u6811\u7684\u57fa\u7840\u4e0a\u9700\u8981\u6ee1\u8db3\uff1a\u4efb\u610f\u8282\u70b9\u7684\u5de6\u5b50\u6811\u4e0a\u6240\u6709\u8282\u70b9\u503c\u4e0d\u5927\u4e8e\u6839\u8282\u70b9\u7684\u503c\uff0c\u4efb\u610f\u8282\u70b9\u7684\u53f3\u5b50\u6811\u4e0a\u6240\u6709\u8282\u70b9\u503c\u4e0d\u5c0f\u4e8e\u6839\u8282\u70b9\u7684\u503c\u3002\u5982\u4e0b\u662f\u4e00\u68f5\u4e8c\u53c9\u67e5\u627e\u6811\uff1a<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.5194444444444445\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155116847.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.5194444444444445\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155116847.png\"  \/><\/noscript>\u5f53\u9700\u8981\u5feb\u901f\u67e5\u627e\u65f6\uff0c\u5c06\u6570\u636e\u5b58\u50a8\u5728 BST \u662f\u4e00\u79cd\u5e38\u89c1\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u6b64\u65f6\u67e5\u8be2\u65f6\u95f4\u53d6\u51b3\u4e8e\u6811\u9ad8\uff0c\u5e73\u5747\u65f6\u95f4\u590d\u6742\u5ea6\u662fO(lgn)\u3002\u7136\u800c\uff0cBST \u53ef\u80fd\u957f\u6b6a\u800c\u53d8\u5f97\u4e0d\u5e73\u8861\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6b64\u65f6 BST \u9000\u5316\u4e3a\u94fe\u8868\uff0c\u65f6\u95f4\u590d\u6742\u5ea6\u9000\u5316\u4e3aO(n)\u3002<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.562962962962963\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155118702.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.562962962962963\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155118702.png\"  \/><\/noscript>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5f15\u5165\u4e86\u5e73\u8861\u4e8c\u53c9\u6811\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u5e73\u8861\u4e8c\u53c9\u6811\uff1a\u65cb\u8f6c\u8017\u65f6<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5e73\u8861\u4e8c\u53c9\u6811\uff08AVL\uff0cAdelson-Velsky-Landis Tree\uff09\uff0cAVL \u6811\u662f\u4e25\u683c\u7684\u5e73\u8861\u4e8c\u53c9\u6811\uff0c\u6240\u6709\u8282\u70b9\u7684\u5de6\u53f3\u5b50\u6811\u9ad8\u5ea6\u5dee\u4e0d\u80fd\u8d85\u8fc7 1\uff1bAVL \u6811\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u5728\u5e73\u5747\u548c\u6700\u574f\u60c5\u51b5\u4e0b\u90fd\u662fO(lgn)\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">AVL \u5b9e\u73b0\u5e73\u8861\u7684\u5173\u952e\u5728\u4e8e\u65cb\u8f6c\u64cd\u4f5c\uff1a\u63d2\u5165\u548c\u5220\u9664\u53ef\u80fd\u7834\u574f\u4e8c\u53c9\u6811\u7684\u5e73\u8861\uff0c\u6b64\u65f6\u9700\u8981\u901a\u8fc7\u4e00\u6b21\u6216\u591a\u6b21\u6811\u65cb\u8f6c\u6765\u91cd\u65b0\u5e73\u8861\u8fd9\u4e2a\u6811\u3002\u5f53\u63d2\u5165\u6570\u636e\u65f6\uff0c\u6700\u591a\u53ea\u9700\u89811\u6b21\u65cb\u8f6c\uff08\u5355\u65cb\u8f6c\u6216\u53cc\u65cb\u8f6c\uff09\uff1b\u4f46\u662f\u5f53\u5220\u9664\u6570\u636e\u65f6\uff0c\u4f1a\u5bfc\u81f4\u6811\u5931\u8861\uff0cAVL \u9700\u8981\u7ef4\u62a4\u4ece\u88ab\u5220\u9664\u8282\u70b9\u5230\u6839\u8282\u70b9\u8fd9\u6761\u8def\u5f84\u4e0a\u6240\u6709\u8282\u70b9\u7684\u5e73\u8861\uff0c\u65cb\u8f6c\u7684\u91cf\u7ea7\u4e3aO(lgn)\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u7531\u4e8e\u65cb\u8f6c\u7684\u8017\u65f6\uff0cAVL \u6811\u5728\u5220\u9664\u6570\u636e\u65f6\u6548\u7387\u5f88\u4f4e\uff1b\u5728\u5220\u9664\u64cd\u4f5c\u8f83\u591a\u65f6\uff0c\u7ef4\u62a4\u5e73\u8861\u6240\u9700\u7684\u4ee3\u4ef7\u53ef\u80fd\u9ad8\u4e8e\u5176\u5e26\u6765\u7684\u597d\u5904\uff0c\u56e0\u6b64 AVL \u5b9e\u9645\u4f7f\u7528\u5e76\u4e0d\u5e7f\u6cdb\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">\u7ea2\u9ed1\u6811\uff1a\u6811\u592a\u9ad8<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u4e0e AVL \u6811\u76f8\u6bd4\uff0c\u7ea2\u9ed1\u6811\u5e76\u4e0d\u8ffd\u6c42\u4e25\u683c\u7684\u5e73\u8861\uff0c\u800c\u662f\u5927\u81f4\u7684\u5e73\u8861\uff1a\u53ea\u662f\u786e\u4fdd\u4ece\u6839\u5230\u53f6\u5b50\u7684\u6700\u957f\u7684\u53ef\u80fd\u8def\u5f84\u4e0d\u591a\u4e8e\u6700\u77ed\u7684\u53ef\u80fd\u8def\u5f84\u7684\u4e24\u500d\u957f\u3002\u4ece\u5b9e\u73b0\u6765\u770b\uff0c\u7ea2\u9ed1\u6811\u6700\u5927\u7684\u7279\u70b9\u662f\u6bcf\u4e2a\u8282\u70b9\u90fd\u5c5e\u4e8e\u4e24\u79cd\u989c\u8272\uff08\u7ea2\u8272\u6216\u9ed1\u8272\uff09\u4e4b\u4e00\uff0c\u4e14\u8282\u70b9\u989c\u8272\u7684\u5212\u5206\u9700\u8981\u6ee1\u8db3\u7279\u5b9a\u7684\u89c4\u5219\uff08\u5177\u4f53\u89c4\u5219\u7565\uff09\u3002\u7ea2\u9ed1\u6811\u793a\u4f8b\u5982\u4e0b\uff1a<img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-ratio=\"0.4111111111111111\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155119168.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-ratio=\"0.4111111111111111\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155119168.png\"  \/><\/noscript>\u4e0e AVL \u6811\u76f8\u6bd4\uff0c\u7ea2\u9ed1\u6811\u7684\u67e5\u8be2\u6548\u7387\u4f1a\u6709\u6240\u4e0b\u964d\uff0c\u8fd9\u662f\u56e0\u4e3a\u6811\u7684\u5e73\u8861\u6027\u53d8\u5dee\uff0c\u9ad8\u5ea6\u66f4\u9ad8\u3002\u4f46\u7ea2\u9ed1\u6811\u7684\u5220\u9664\u6548\u7387\u5927\u5927\u63d0\u9ad8\u4e86\uff0c\u56e0\u4e3a\u7ea2\u9ed1\u6811\u540c\u65f6\u5f15\u5165\u4e86\u989c\u8272\uff0c\u5f53\u63d2\u5165\u6216\u5220\u9664\u6570\u636e\u65f6\uff0c\u53ea\u9700\u8981\u8fdb\u884cO(1)\u6b21\u6570\u7684\u65cb\u8f6c\u4ee5\u53ca\u53d8\u8272\u5c31\u80fd\u4fdd\u8bc1\u57fa\u672c\u7684\u5e73\u8861\uff0c\u4e0d\u9700\u8981\u50cf AVL \u6811\u8fdb\u884cO(lgn)\u6b21\u6570\u7684\u65cb\u8f6c\u3002\u603b\u7684\u6765\u8bf4\uff0c\u7ea2\u9ed1\u6811\u7684\u7edf\u8ba1\u6027\u80fd\u9ad8\u4e8e AVL\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u56e0\u6b64\uff0c\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0cAVL \u6811\u7684\u4f7f\u7528\u76f8\u5bf9\u8f83\u5c11\uff0c\u800c\u7ea2\u9ed1\u6811\u7684\u4f7f\u7528\u975e\u5e38\u5e7f\u6cdb\u3002\u4f8b\u5982\uff0cJava \u4e2d\u7684TreeMap\u4f7f\u7528\u7ea2\u9ed1\u6811\u5b58\u50a8\u6392\u5e8f\u952e\u503c\u5bf9\uff1bJava 8 \u4e2d\u7684HashMap\u4f7f\u7528\u94fe\u8868 + \u7ea2\u9ed1\u6811\u89e3\u51b3\u54c8\u5e0c\u51b2\u7a81\u95ee\u9898\uff08\u5f53\u51b2\u7a81\u8282\u70b9\u8f83\u5c11\u65f6\uff0c\u4f7f\u7528\u94fe\u8868\uff0c\u5f53\u51b2\u7a81\u8282\u70b9\u8f83\u591a\u65f6\uff0c\u4f7f\u7528\u7ea2\u9ed1\u6811\uff09\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5bf9\u4e8e\u6570\u636e\u5728\u5185\u5b58\u4e2d\u7684\u60c5\u51b5\uff08\u5982\u4e0a\u8ff0\u7684TreeMap\u548cHashMap\uff09\uff0c\u7ea2\u9ed1\u6811\u7684\u8868\u73b0\u662f\u975e\u5e38\u4f18\u5f02\u7684\u3002\u4f46\u662f\u5bf9\u4e8e\u6570\u636e\u5728\u78c1\u76d8\u7b49\u8f85\u52a9\u5b58\u50a8\u8bbe\u5907\u4e2d\u7684\u60c5\u51b5\uff08\u5982 MySQL \u7b49\u6570\u636e\u5e93\uff09\uff0c\u7ea2\u9ed1\u6811\u5e76\u4e0d\u64c5\u957f\uff0c\u56e0\u4e3a\u7ea2\u9ed1\u6811\u957f\u5f97\u8fd8\u662f\u592a\u9ad8\u4e86\u3002\u5f53\u6570\u636e\u5728\u78c1\u76d8\u4e2d\u65f6\uff0c\u78c1\u76d8 IO \u4f1a\u6210\u4e3a\u6700\u5927\u7684\u6027\u80fd\u74f6\u9888\uff0c\u8bbe\u8ba1\u7684\u76ee\u6807\u5e94\u8be5\u662f\u5c3d\u91cf\u51cf\u5c11 IO \u6b21\u6570\uff1b\u800c\u6811\u7684\u9ad8\u5ea6\u8d8a\u9ad8\uff0c\u589e\u5220\u6539\u67e5\u6240\u9700\u8981\u7684 IO \u6b21\u6570\u4e5f\u8d8a\u591a\uff0c\u4f1a\u4e25\u91cd\u5f71\u54cd\u6027\u80fd\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">B \u6811\uff1a\u4e3a\u78c1\u76d8\u800c\u751f<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">B \u6811\u4e5f\u79f0 B- \u6811\uff08\u5176\u4e2d-\u4e0d\u662f\u51cf\u53f7\uff09\uff0c\u662f\u4e3a\u78c1\u76d8\u7b49\u8f85\u5b58\u8bbe\u5907\u8bbe\u8ba1\u7684\u591a\u8def\u5e73\u8861\u67e5\u627e\u6811\uff0c\u4e0e\u4e8c\u53c9\u6811\u76f8\u6bd4\uff0cB \u6811\u7684\u6bcf\u4e2a\u975e\u53f6\u8282\u70b9\u53ef\u4ee5\u6709\u591a\u4e2a\u5b50\u6811\u3002\u56e0\u6b64\uff0c\u5f53\u603b\u8282\u70b9\u6570\u91cf\u76f8\u540c\u65f6\uff0cB \u6811\u7684\u9ad8\u5ea6\u8fdc\u8fdc\u5c0f\u4e8e AVL \u6811\u548c\u7ea2\u9ed1\u6811\uff08B \u6811\u662f\u4e00\u9897\u201c\u77ee\u80d6\u5b50\u201d\uff09\uff0c\u78c1\u76d8 IO \u6b21\u6570\u5927\u5927\u51cf\u5c11\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5b9a\u4e49 B \u6811\u6700\u91cd\u8981\u7684\u6982\u5ff5\u662f\u9636\u6570\uff0c\u5bf9\u4e8e\u4e00\u68f5 m \u9636 B \u6811\uff0c\u9700\u8981\u6ee1\u8db3\u4ee5\u4e0b\u6761\u4ef6\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u6bcf\u4e2a\u8282\u70b9\u6700\u591a\u5305\u542b m \u4e2a\u5b50\u8282\u70b9\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5982\u679c\u6839\u8282\u70b9\u5305\u542b\u5b50\u8282\u70b9\uff0c\u5219\u81f3\u5c11\u5305\u542b 2 \u4e2a\u5b50\u8282\u70b9\uff1b\u9664\u6839\u8282\u70b9\u5916\uff0c\u6bcf\u4e2a\u975e\u53f6\u8282\u70b9\u81f3\u5c11\u5305\u542b m\/2 \u4e2a\u5b50\u8282\u70b9\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u62e5\u6709 k \u4e2a\u5b50\u8282\u70b9\u7684\u975e\u53f6\u8282\u70b9\u5c06\u5305\u542b k - 1 \u6761\u8bb0\u5f55\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u6240\u6709\u53f6\u8282\u70b9\u90fd\u5728\u540c\u4e00\u5c42\u4e2d\u3002<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u53ef\u4ee5\u770b\u51fa\uff0cB \u6811\u7684\u5b9a\u4e49\uff0c\u4e3b\u8981\u662f\u5bf9\u975e\u53f6\u7ed3\u70b9\u7684\u5b50\u8282\u70b9\u6570\u91cf\u548c\u8bb0\u5f55\u6570\u91cf\u7684\u9650\u5236\u3002\u4e0b\u56fe\u662f\u4e00\u4e2a 3 \u9636 B \u6811\u7684\u4f8b\u5b50\uff1a<img decoding=\"async\" class=\"lazyload\"data-ratio=\"0.41203703703703703\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155122110.png\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" data-ratio=\"0.41203703703703703\" data-type=\"png\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155122110.png\"  \/><\/noscript>B \u6811\u7684\u4f18\u52bf\u9664\u4e86\u6811\u9ad8\u5c0f\uff0c\u8fd8\u6709\u5bf9\u8bbf\u95ee\u5c40\u90e8\u6027\u539f\u7406\u7684\u5229\u7528\u3002\u6240\u8c13\u5c40\u90e8\u6027\u539f\u7406\uff0c\u662f\u6307\u5f53\u4e00\u4e2a\u6570\u636e\u88ab\u4f7f\u7528\u65f6\uff0c\u5176\u9644\u8fd1\u7684\u6570\u636e\u6709\u8f83\u5927\u6982\u7387\u5728\u77ed\u65f6\u95f4\u5185\u88ab\u4f7f\u7528\u3002B\u6811\u5c06\u952e\u76f8\u8fd1\u7684\u6570\u636e\u5b58\u50a8\u5728\u540c\u4e00\u4e2a\u8282\u70b9\uff0c\u5f53\u8bbf\u95ee\u5176\u4e2d\u67d0\u4e2a\u6570\u636e\u65f6\uff0c\u6570\u636e\u5e93\u4f1a\u5c06\u8be5\u6574\u4e2a\u8282\u70b9\u8bfb\u5230\u7f13\u5b58\u4e2d\uff1b\u5f53\u5b83\u4e34\u8fd1\u7684\u6570\u636e\u7d27\u63a5\u7740\u88ab\u8bbf\u95ee\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5728\u7f13\u5b58\u4e2d\u8bfb\u53d6\uff0c\u65e0\u9700\u8fdb\u884c\u78c1\u76d8 IO\uff1b\u6362\u53e5\u8bdd\u8bf4\uff0cB \u6811\u7684\u7f13\u5b58\u547d\u4e2d\u7387\u66f4\u9ad8\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">B \u6811\u5728\u6570\u636e\u5e93\u4e2d\u6709\u4e00\u4e9b\u5e94\u7528\uff0c\u5982 MongoDB \u7684\u7d22\u5f15\u4f7f\u7528\u4e86 B \u6811\u7ed3\u6784\u3002\u4f46\u662f\u5728\u5f88\u591a\u6570\u636e\u5e93\u5e94\u7528\u4e2d\uff0c\u4f7f\u7528\u4e86\u662f B \u6811\u7684\u53d8\u79cd B+ \u6811\u3002<\/p>\n<h3 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 20px;margin: 20px auto 5px;border-top: 1px solid rgb(221, 221, 221);box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-top: -1px;padding-top: 6px;padding-right: 5px;padding-left: 5px;font-size: 17px;border-top: 2px solid rgb(33, 33, 34);display: inline-block;line-height: 1.1;\">B+ \u6811\uff1a\u66f4\u8fdb\u4e00\u6b65\u7684\u4f18\u5316<\/span><span style=\"display: none;\"><\/span><\/h3>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">B+ \u6811\u4e5f\u662f\u591a\u8def\u5e73\u8861\u67e5\u627e\u6811\uff0c\u5176\u4e0e B \u6811\u7684\u533a\u522b\u4e3b\u8981\u5728\u4e8e\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B \u6811\u4e2d\u6bcf\u4e2a\u8282\u70b9\uff08\u5305\u62ec\u53f6\u8282\u70b9\u548c\u975e\u53f6\u8282\u70b9\uff09\u90fd\u5b58\u50a8\u771f\u5b9e\u7684\u6570\u636e\uff0cB+ \u6811\u4e2d\u53ea\u6709\u53f6\u5b50\u8282\u70b9\u5b58\u50a8\u771f\u5b9e\u7684\u6570\u636e\uff0c\u975e\u53f6\u8282\u70b9\u53ea\u5b58\u50a8\u952e\u3002\u5728 MySQL \u4e2d\uff0c\u8fd9\u91cc\u6240\u8bf4\u7684\u771f\u5b9e\u6570\u636e\uff0c\u53ef\u80fd\u662f\u884c\u7684\u5168\u90e8\u6570\u636e\uff08\u5982 InnoDB \u7684\u805a\u7c07\u7d22\u5f15\uff09\uff0c\u4e5f\u53ef\u80fd\u53ea\u662f\u884c\u7684\u4e3b\u952e\uff08\u5982 InnoDB \u7684\u8f85\u52a9\u7d22\u5f15\uff09\uff0c\u6216\u8005\u662f\u884c\u6240\u5728\u7684\u5730\u5740\uff08\u5982 MyIsam \u7684\u975e\u805a\u7c07\u7d22\u5f15\uff09\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B \u6811\u4e2d\u4e00\u6761\u8bb0\u5f55\u53ea\u4f1a\u51fa\u73b0\u4e00\u6b21\uff0c\u4e0d\u4f1a\u91cd\u590d\u51fa\u73b0\uff0c\u800c B+ \u6811\u7684\u952e\u5219\u53ef\u80fd\u91cd\u590d\u91cd\u73b0\uff0c\u4e00\u5b9a\u4f1a\u5728\u53f6\u8282\u70b9\u51fa\u73b0\uff0c\u4e5f\u53ef\u80fd\u5728\u975e\u53f6\u8282\u70b9\u91cd\u590d\u51fa\u73b0\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B+ \u6811\u7684\u53f6\u8282\u70b9\u4e4b\u95f4\u901a\u8fc7\u53cc\u5411\u94fe\u8868\u94fe\u63a5\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B \u6811\u4e2d\u7684\u975e\u53f6\u8282\u70b9\uff0c\u8bb0\u5f55\u6570\u6bd4\u5b50\u8282\u70b9\u4e2a\u6570\u5c11 1\uff1b\u800c B+ \u6811\u4e2d\u8bb0\u5f55\u6570\u4e0e\u5b50\u8282\u70b9\u4e2a\u6570\u76f8\u540c\u3002<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u7531\u6b64\uff0cB+ \u6811\u4e0e B \u6811\u76f8\u6bd4\uff0c\u6709\u4ee5\u4e0b\u4f18\u52bf\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u66f4\u5c11\u7684 IO \u6b21\u6570\uff1aB+ \u6811\u7684\u975e\u53f6\u8282\u70b9\u53ea\u5305\u542b\u952e\uff0c\u800c\u4e0d\u5305\u542b\u771f\u5b9e\u6570\u636e\uff0c\u56e0\u6b64\u6bcf\u4e2a\u8282\u70b9\u5b58\u50a8\u7684\u8bb0\u5f55\u4e2a\u6570\u6bd4 B \u6570\u591a\u5f88\u591a\uff08\u5373\u9636 m \u66f4\u5927\uff09\uff0c\u56e0\u6b64 B+ \u6811\u7684\u9ad8\u5ea6\u66f4\u4f4e\uff0c\u8bbf\u95ee\u65f6\u6240\u9700\u8981\u7684 IO \u6b21\u6570\u66f4\u5c11\u3002\u6b64\u5916\uff0c\u7531\u4e8e\u6bcf\u4e2a\u8282\u70b9\u5b58\u50a8\u7684\u8bb0\u5f55\u6570\u66f4\u591a\uff0c\u6240\u4ee5\u5bf9\u8bbf\u95ee\u5c40\u90e8\u6027\u539f\u7406\u7684\u5229\u7528\u66f4\u597d\uff0c\u7f13\u5b58\u547d\u4e2d\u7387\u66f4\u9ad8\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u66f4\u9002\u4e8e\u8303\u56f4\u67e5\u8be2\uff1a\u5728 B \u6811\u4e2d\u8fdb\u884c\u8303\u56f4\u67e5\u8be2\u65f6\uff0c\u9996\u5148\u627e\u5230\u8981\u67e5\u627e\u7684\u4e0b\u9650\uff0c\u7136\u540e\u5bf9 B \u6811\u8fdb\u884c\u4e2d\u5e8f\u904d\u5386\uff0c\u76f4\u5230\u627e\u5230\u67e5\u627e\u7684\u4e0a\u9650\uff1b\u800c B+ \u6811\u7684\u8303\u56f4\u67e5\u8be2\uff0c\u53ea\u9700\u8981\u5bf9\u94fe\u8868\u8fdb\u884c\u904d\u5386\u5373\u53ef\u3002<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u66f4\u7a33\u5b9a\u7684\u67e5\u8be2\u6548\u7387\uff1aB \u6811\u7684\u67e5\u8be2\u65f6\u95f4\u590d\u6742\u5ea6\u57281\u5230\u6811\u9ad8\u4e4b\u95f4\uff08\u5206\u522b\u5bf9\u5e94\u8bb0\u5f55\u5728\u6839\u8282\u70b9\u548c\u53f6\u8282\u70b9\uff09\uff0c\u800c B+ \u6811\u7684\u67e5\u8be2\u590d\u6742\u5ea6\u5219\u7a33\u5b9a\u4e3a\u6811\u9ad8\uff0c\u56e0\u4e3a\u6240\u6709\u6570\u636e\u90fd\u5728\u53f6\u8282\u70b9\u3002<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5f53\u7136\uff0cB+ \u6811\u4e5f\u5b58\u5728\u52a3\u52bf\uff1a\u7531\u4e8e\u952e\u4f1a\u91cd\u590d\u51fa\u73b0\uff0c\u56e0\u6b64\u4f1a\u5360\u7528\u66f4\u591a\u7684\u7a7a\u95f4\u3002\u4f46\u662f\u4e0e\u5e26\u6765\u7684\u6027\u80fd\u4f18\u52bf\u76f8\u6bd4\uff0c\u7a7a\u95f4\u52a3\u52bf\u5f80\u5f80\u53ef\u4ee5\u63a5\u53d7\uff0c\u56e0\u6b64 B+ \u6811\u7684\u5728\u6570\u636e\u5e93\u4e2d\u7684\u4f7f\u7528\u6bd4 B \u6811\u66f4\u52a0\u5e7f\u6cdb\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u524d\u9762\u8bf4\u5230\uff0cB \u6811\/B+ \u6811\u4e0e\u7ea2\u9ed1\u6811\u7b49\u4e8c\u53c9\u6811\u76f8\u6bd4\uff0c\u6700\u5927\u7684\u4f18\u52bf\u5728\u4e8e\u6811\u9ad8\u66f4\u5c0f\u3002\u5b9e\u9645\u4e0a\uff0c\u5bf9\u4e8e InnoDB \u7684 B+ \u7d22\u5f15\u6765\u8bf4\uff0c\u6811\u7684\u9ad8\u5ea6\u4e00\u822c\u5728 2 ~ 4 \u5c42\u3002\u4e0b\u9762\u6765\u8fdb\u884c\u4e00\u4e9b\u5177\u4f53\u7684\u4f30\u7b97\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u6811\u7684\u9ad8\u5ea6\u662f\u7531\u9636\u6570\u51b3\u5b9a\u7684\uff0c\u9636\u6570\u8d8a\u5927\u6811\u8d8a\u77ee\uff1b\u800c\u9636\u6570\u7684\u5927\u5c0f\u53c8\u53d6\u51b3\u4e8e\u6bcf\u4e2a\u8282\u70b9\u53ef\u4ee5\u5b58\u50a8\u591a\u5c11\u6761\u8bb0\u5f55\u3002InnoDB \u4e2d\u6bcf\u4e2a\u8282\u70b9\u4f7f\u7528\u4e00\u4e2a\u9875\uff0c\u9875\u7684\u5927\u5c0f\u4e3a 16KB\uff0c\u5176\u4e2d\u5143\u6570\u636e\u53ea\u5360\u5927\u7ea6 128 \u5b57\u8282\u5de6\u53f3\uff08\u5305\u62ec\u6587\u4ef6\u7ba1\u7406\u5934\u4fe1\u606f\u3001\u9875\u9762\u5934\u4fe1\u606f\u7b49\u7b49\uff09\uff0c\u5927\u591a\u6570\u7a7a\u95f4\u90fd\u7528\u6765\u5b58\u50a8\u6570\u636e\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5bf9\u4e8e\u975e\u53f6\u8282\u70b9\uff0c\u8bb0\u5f55\u53ea\u5305\u542b\u7d22\u5f15\u7684\u952e\u548c\u6307\u5411\u4e0b\u4e00\u5c42\u8282\u70b9\u7684\u6307\u9488\u3002\u5047\u8bbe\u6bcf\u4e2a\u975e\u53f6\u8282\u70b9\u9875\u9762\u5b58\u50a8 1000 \u6761\u8bb0\u5f55\uff0c\u5219\u6bcf\u6761\u8bb0\u5f55\u5927\u7ea6\u5360\u7528 16 \u5b57\u8282\uff1b\u5f53\u7d22\u5f15\u662f\u6574\u578b\u6216\u8f83\u77ed\u7684\u5b57\u7b26\u4e32\u65f6\uff0c\u8fd9\u4e2a\u5047\u8bbe\u662f\u5408\u7406\u7684\u3002\u5ef6\u4f38\u4e00\u4e0b\uff0c\u6211\u4eec\u7ecf\u5e38\u542c\u5230\u5efa\u8bae\u8bf4\u7d22\u5f15\u5217\u957f\u5ea6\u4e0d\u5e94\u8fc7\u5927\uff0c\u539f\u56e0\u5c31\u5728\u8fd9\u91cc\uff1a\u7d22\u5f15\u5217\u592a\u957f\uff0c\u6bcf\u4e2a\u8282\u70b9\u5305\u542b\u7684\u8bb0\u5f55\u6570\u592a\u5c11\uff0c\u4f1a\u5bfc\u81f4\u6811\u592a\u9ad8\uff0c\u7d22\u5f15\u7684\u6548\u679c\u4f1a\u5927\u6253\u6298\u6263\uff0c\u800c\u4e14\u7d22\u5f15\u8fd8\u4f1a\u6d6a\u8d39\u66f4\u591a\u7684\u7a7a\u95f4\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5bf9\u4e8e\u53f6\u8282\u70b9\uff0c\u8bb0\u5f55\u5305\u542b\u4e86\u7d22\u5f15\u7684\u952e\u548c\u503c\uff08\u503c\u53ef\u80fd\u662f\u884c\u7684\u4e3b\u952e\u3001\u4e00\u884c\u5b8c\u6574\u6570\u636e\u7b49\uff0c\u5177\u4f53\u89c1\u524d\u6587\uff09\uff0c\u6570\u636e\u91cf\u66f4\u5927\u3002\u8fd9\u91cc\u5047\u8bbe\u6bcf\u4e2a\u53f6\u8282\u70b9\u9875\u9762\u5b58\u50a8 100 \u6761\u8bb0\u5f55\uff08\u5b9e\u9645\u4e0a\uff0c\u5f53\u7d22\u5f15\u4e3a\u805a\u7c07\u7d22\u5f15\u65f6\uff0c\u8fd9\u4e2a\u6570\u5b57\u53ef\u80fd\u4e0d\u8db3 100\uff1b\u5f53\u7d22\u5f15\u4e3a\u8f85\u52a9\u7d22\u5f15\u65f6\uff0c\u8fd9\u4e2a\u6570\u5b57\u53ef\u80fd\u8fdc\u5927\u4e8e 100\uff1b\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u4f30\u7b97\uff09\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5bf9\u4e8e\u4e00\u68f5 3 \u5c42 B+ \u6811\uff0c\u7b2c\u4e00\u5c42\uff08\u6839\u8282\u70b9\uff09\u6709 1 \u4e2a\u9875\u9762\uff0c\u53ef\u4ee5\u5b58\u50a8 1000 \u6761\u8bb0\u5f55\uff1b\u7b2c\u4e8c\u5c42\u6709 1000 \u4e2a\u9875\u9762\uff0c\u53ef\u4ee5\u5b58\u50a81000<em>1000\u6761\u8bb0\u5f55\uff1b\u7b2c\u4e09\u5c42\uff08\u53f6\u8282\u70b9\uff09\u67091000<\/em>1000\u4e2a\u9875\u9762\uff0c\u6bcf\u4e2a\u9875\u9762\u53ef\u4ee5\u5b58\u50a8 100 \u6761\u8bb0\u5f55\uff0c\u56e0\u6b64\u53ef\u4ee5\u5b58\u50a81000<em>1000<\/em>100\u6761\u8bb0\u5f55\uff0c\u5373 1 \u4ebf\u6761\u3002\u800c\u5bf9\u4e8e\u4e8c\u53c9\u6811\uff0c\u5b58\u50a8 1 \u4ebf\u6761\u8bb0\u5f55\u5219\u9700\u8981 26 \u5c42\u5de6\u53f3\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;margin: 10px auto;height: 40px;background-color: rgb(251, 251, 251);border-bottom: 1px solid rgb(246, 246, 246);overflow: hidden;box-sizing: border-box;\"><span style=\"display: none;\"><\/span><span style=\"margin-left: -10px;display: inline-block;width: auto;height: 40px;background-color: rgb(33, 33, 34);border-bottom-right-radius: 100px;color: rgb(255, 255, 255);padding-right: 30px;padding-left: 30px;line-height: 40px;font-size: 16px;\">\u603b\u7ed3<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u6700\u540e\uff0c\u603b\u7ed3\u4e00\u4e0b\u5404\u79cd\u6811\u89e3\u51b3\u7684\u95ee\u9898\u4ee5\u53ca\u9762\u4e34\u7684\u65b0\u95ee\u9898\uff1a<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u4e8c\u53c9\u67e5\u627e\u6811\uff1a\u89e3\u51b3\u4e86\u6392\u5e8f\u7684\u57fa\u672c\u95ee\u9898\uff0c\u4f46\u662f\u7531\u4e8e\u65e0\u6cd5\u4fdd\u8bc1\u5e73\u8861\uff0c\u53ef\u80fd\u9000\u5316\u4e3a\u94fe\u8868\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u5e73\u8861\u4e8c\u53c9\u6811\uff1a\u901a\u8fc7\u65cb\u8f6c\u89e3\u51b3\u4e86\u5e73\u8861\u7684\u95ee\u9898\uff0c\u4f46\u662f\u65cb\u8f6c\u64cd\u4f5c\u6548\u7387\u592a\u4f4e\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">\u7ea2\u9ed1\u6811\uff1a\u901a\u8fc7\u820d\u5f03\u4e25\u683c\u7684\u5e73\u8861\u548c\u5f15\u5165\u7ea2\u9ed1\u8282\u70b9\uff0c\u89e3\u51b3\u4e86\u5e73\u8861\u4e8c\u53c9\u6811\u65cb\u8f6c\u6548\u7387\u8fc7\u4f4e\u7684\u95ee\u9898\uff0c\u4f46\u662f\u5728\u78c1\u76d8\u7b49\u573a\u666f\u4e0b\uff0c\u6811\u4ecd\u7136\u592a\u9ad8\uff0cIO \u6b21\u6570\u592a\u591a\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B \u6811\uff1a\u901a\u8fc7\u5c06\u4e8c\u53c9\u6811\u6539\u4e3a\u591a\u8def\u5e73\u8861\u67e5\u627e\u6811\uff0c\u89e3\u51b3\u4e86\u6811\u8fc7\u9ad8\u7684\u95ee\u9898\uff1b<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;color: rgb(1, 1, 1);font-size: 15px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;\">B+ \u6811\uff1a\u5728 B \u6811\u7684\u57fa\u7840\u4e0a\uff0c\u5c06\u975e\u53f6\u8282\u70b9\u6539\u9020\u4e3a\u4e0d\u5b58\u50a8\u6570\u636e\u7684\u7eaf\u7d22\u5f15\u8282\u70b9\uff0c\u8fdb\u4e00\u6b65\u964d\u4f4e\u4e86\u6811\u7684\u9ad8\u5ea6\uff1b\u6b64\u5916\u5c06\u53f6\u8282\u70b9\u4f7f\u7528\u6307\u9488\u8fde\u63a5\u6210\u94fe\u8868\uff0c\u8303\u56f4\u67e5\u8be2\u66f4\u52a0\u9ad8\u6548\u3002<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0em;color: rgb(0, 0, 0);font-size: 16px;text-align: left;text-indent: 0em;white-space: normal;outline: 0px;max-width: 100%;font-family: -apple-system-font, BlinkMacSystemFont, Arial, sans-serif;letter-spacing: 0.544px;vertical-align: inherit;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"color: rgb(178, 178, 178);font-size: 14px;\"><span style=\"margin-bottom: 0em;outline: 0px;max-width: 100%;letter-spacing: 0.544px;font-family: \u5fae\u8f6f\u96c5\u9ed1;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u6765\u6e90 |&nbsp;<\/span><span style=\"margin-bottom: 0em;outline: 0px;max-width: 100%;letter-spacing: 0.544px;font-family: \u5fae\u8f6f\u96c5\u9ed1;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\">https:\/\/guobinhit.blog.csdn.net\/article\/details\/106221933<\/span><\/span><\/p>\n<p style=\"margin-bottom: 0em;color: rgb(0, 0, 0);font-size: 16px;text-align: left;text-indent: 0em;white-space: normal;outline: 0px;max-width: 100%;font-family: -apple-system-font, BlinkMacSystemFont, Arial, sans-serif;letter-spacing: 0.544px;vertical-align: inherit;visibility: visible;box-sizing: border-box !important;overflow-wrap: break-word !important;\"><span style=\"margin-bottom: 0em;outline: 0px;max-width: 100%;letter-spacing: 0.544px;font-family: \u5fae\u8f6f\u96c5\u9ed1;visibility: visible;color: rgb(178, 178, 178);font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;\">\u6574\u7406&nbsp;|&nbsp;\u4e00\u5b89\u672a\u6765<\/span><\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"font-weight: bold;font-size: 22px;margin: 10px auto;height: 40px;background-color: rgb(251, 251, 251);border-bottom: 1px solid rgb(246, 246, 246);overflow: hidden;box-sizing: border-box;\"><span style=\"margin-left: -10px;display: inline-block;width: auto;height: 40px;background-color: rgb(33, 33, 34);border-bottom-right-radius: 100px;color: rgb(255, 255, 255);padding-right: 30px;padding-left: 30px;line-height: 40px;font-size: 16px;\">\u53f7\u5916\uff01\u53f7\u5916\uff01<\/span><\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;box-sizing: border-box;margin-bottom: 16px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Segoe UI&quot;, Arial, freesans, sans-serif;font-size: 15px;white-space: normal;text-size-adjust: auto;line-height: 1.75em;\">\u5982\u679c\u8fd9\u7bc7\u6587\u7ae0\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u6216\u8005\u6709\u6240\u542f\u53d1\u7684\u8bdd\uff0c\u5e2e\u5fd9\u70b9\u8d5e\u3001\u5728\u770b\u3001\u8f6c\u53d1\u3001\u6536\u85cf\uff0c\u4f60\u7684\u652f\u6301\u5c31\u662f\u6211\u575a\u6301\u4e0b\u53bb\u7684\u6700\u5927\u52a8\u529b\uff01<\/p>\n<section class=\"mp_profile_iframe_wrp\"><mp-common-profile class=\"custom_select_card mp_profile_iframe\" data-pluginname=\"mpprofile\" data-id=\"Mzg5MzgxMTIyOQ==\" data-headimg=\"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/QzI3807PeUlUKxuueCHNuNOXehciaM7OXnvr0pprJIAVYOs3hiaYh5JLyrcShyLJQ8iaqjyRPJPf1Pz4v4T6j1Fxw\/0?wx_fmt=png\" data-nickname=\"\u4e00\u5b89\u672a\u6765\" data-alias=\"Yi-an_future\" data-signature=\"\u81f4\u529b\u4e8eJava\uff0c\u5927\u6570\u636e\uff1b\u5fc3\u5f97\u4ea4\u6d41\uff0c\u6280\u672f\u5206\u4eab\uff1b\" data-from=\"0\"><\/mp-common-profile><\/section>\n<\/section>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"0.08658008658008658\" data-type=\"gif\" data-w=\"462\" style=\"height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155127451.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.08658008658008658\" data-type=\"gif\" data-w=\"462\" style=\"height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155127451.gif\"  \/><\/noscript><\/p>\n<p style=\"text-align: center;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MzgxMTIyOQ==&amp;mid=2247499798&amp;idx=1&amp;sn=ac73bb31624badbbc2b80187872053ae&amp;chksm=c02baf64f75c267207430b5131c07dc415bcb5329a13b06b4a157a8ee06181257e27a7d10be0&amp;scene=21#wechat_redirect\" textvalue=\"\u591a\u7ebf\u7a0b+EasyExcel\u5b9e\u73b0\u62a5\u8868\u4f18\u96c5\u5bfc\u51fa\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u591a\u7ebf\u7a0b+EasyExcel\u5b9e\u73b0\u62a5\u8868\u4f18\u96c5\u5bfc\u51fa<\/a><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p style=\"text-align: center;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MzgxMTIyOQ==&amp;mid=2247499896&amp;idx=1&amp;sn=dc98d2c4d3a99e9a50df67cbd5ad16de&amp;chksm=c02baf0af75c261c6052db9df34b29edebcdddd2d9e5f97ea40ed3c51b52f186f821b716a93c&amp;scene=21#wechat_redirect\" textvalue=\"\u6254\u6389\u5de5\u5177\u7c7b\uff01MyBatis \u4e00\u4e2a\u7b80\u5355\u914d\u7f6e\u641e\u5b9a\u52a0\u5bc6\u3001\u89e3\u5bc6\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u6254\u6389\u5de5\u5177\u7c7b\uff01MyBatis \u4e00\u4e2a\u7b80\u5355\u914d\u7f6e\u641e\u5b9a\u52a0\u5bc6\u3001\u89e3\u5bc6<\/a><\/p>\n<hr style=\"border-style: solid;border-width: 1px 0 0;border-color: rgba(0,0,0,0.1);-webkit-transform-origin: 0 0;-webkit-transform: scale(1, 0.5);transform-origin: 0 0;transform: scale(1, 0.5);\"  \/>\n<p style=\"text-align: center;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg5MzgxMTIyOQ==&amp;mid=2247501351&amp;idx=1&amp;sn=6d0519689830a534cc8721401edbd8b3&amp;chksm=c02ba955f75c20439612fa0c21ee1d456588ef24897cfa2d81d9f54721e1035bd5b9dbc8df81&amp;scene=21#wechat_redirect\" textvalue=\"\u9762\u8bd5\u5b98\uff1a\u5728\u6d4f\u89c8\u5668\u8f93\u5165URL\u56de\u8f66\u4e4b\u540e\u53d1\u751f\u4e86\u4ec0\u4e48\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" >\u9762\u8bd5\u5b98\uff1a\u5728\u6d4f\u89c8\u5668\u8f93\u5165URL\u56de\u8f66\u4e4b\u540e\u53d1\u751f\u4e86\u4ec0\u4e48<\/a><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-galleryid=\"\" data-ratio=\"0.1949685534591195\" data-type=\"gif\" data-w=\"636\" style=\"height: auto !important;\"  data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155128223.gif\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-galleryid=\"\" data-ratio=\"0.1949685534591195\" data-type=\"gif\" data-w=\"636\" style=\"height: auto !important;\"  src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155128223.gif\"  \/><\/noscript><\/p>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u4e00\u5b89\u672a\u6765              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u4e00\u5b89\uff0c\u4e4b\u524d\u6709\u4ecb\u7ecd\u4e00\u7bc7\u300a\u4e00\u6587\u5e26\u4f60\u8be6\u89e3Mysql\u5e95\u5c42\u7d22\u5f15\u673a\u5236\u300b\uff0c\u4eca\u5929\u7ee7\u7eed\u804a\u4e00\u804aMySQL\u7684\u4f17\u591a\u5b58\u50a8\u5f15\u64ce\u4e2dInnoDB \u5728M &#8230;<\/p>\n","protected":false},"author":1,"featured_media":2452,"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-2461","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525-150x150.jpeg","content_first_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525-300x127.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525.jpeg","post_frist_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525-300x127.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155106525.jpeg","post_all_images":[{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png","id":"image0"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155107461.png","id":"image1"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155114927.png","id":"image2"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155114927.png","id":"image3"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155116847.png","id":"image4"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155116847.png","id":"image5"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155118702.png","id":"image6"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155118702.png","id":"image7"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155119168.png","id":"image8"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155119168.png","id":"image9"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155122110.png","id":"image10"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155122110.png","id":"image11"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155127451.gif","id":"image12"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155127451.gif","id":"image13"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155128223.gif","id":"image14"},{"imagesurl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/06\/20230627155128223.gif","id":"image15"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"MySQL","post_date":"2023-06-29","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":319,"next_post_id":2863,"next_post_title":"MySQL\u8fd9\u6837\u4f18\u5316\uff0c\u540c\u4e8b\u76f4\u547c\u54c7\u585e\uff01","previous_post_id":2355,"previous_post_title":"\u804a\u804a Sharding-JDBC \u5206\u5e93\u5206\u8868(\u4e8c)","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2461","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=2461"}],"version-history":[{"count":0,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/2461\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/2452"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=2461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=2461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=2461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}