{"id":10006831,"date":"2022-11-08T15:50:48","date_gmt":"2022-11-08T07:50:48","guid":{"rendered":"https:\/\/ityet.com\/?p=10006831"},"modified":"2022-11-08T15:50:48","modified_gmt":"2022-11-08T07:50:48","slug":"%e4%ba%ac%e4%b8%9c%e4%ba%91%e5%bc%80%e5%8f%91%e8%80%85%ef%bd%9cmysql%e5%9f%ba%e4%ba%8ebinlake%e5%90%8c%e6%ad%a5es%e7%a7%af%e5%8e%8b%e8%a7%a3%e5%86%b3%e6%96%b9%e6%a1%88","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006831","title":{"rendered":"\u4eac\u4e1c\u4e91\u5f00\u53d1\u8005\uff5cmysql\u57fa\u4e8ebinlake\u540c\u6b65ES\u79ef\u538b\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"<h2>1 \u80cc\u666f\u4e0e\u76ee\u6807<\/h2>\n<h2>1.1 \u80cc\u666f<\/h2>\n<p>\u56fd\u9645\u8d22\u52a1\u6cf0\u56fd\u6bcf\u6708\u6708\u521d\u8d26\u5355\u4efb\u52a1\u751f\u6210\uff0c\u6216\u8005\u91cd\u7b97\u8d26\u5355\u6570\u636e\uff0c\u6570\u636e\u540c\u6b65\u65b9\u6848\u4e3amysql\u901a\u8fc7binlake\u540c\u6b65ES\u6570\u636e\uff0c\u5728\u540c\u6b65\u8fc7\u7a0b\u4e2d\u53d1\u73b0\u8ba1\u8d39\u4e8b\u4ef6\u8868\uff0c\u8ba1\u8d39\u7ed3\u679c\u8868\u5747\u6709\u5ef6\u8fdf\uff0cES\u6570\u636e\u4e0eMysql\u6570\u636e\u4e0d\u4e00\u81f4\uff0c\u5bfc\u81f4\u4e1a\u52a1\u9875\u9762\u67e5\u8be2\u6570\u636e\u4e0d\u51c6\u786e\uff0c\u90e8\u5206\u6838\u5fc3\u8ba1\u7b97\u901a\u8fc7ES\u6821\u9a8c\u5931\u8d25<\/p>\n<h2>1.2\u76ee\u6807<\/h2>\n<p>\u89e3\u51b3binlake\u5230JMQ\u79ef\u538b\u540c\u6b65ES\u5ef6\u8fdf\u95ee\u9898<\/p>\n<h2>2 \u5f53\u524d\u4e1a\u52a1\u6d41\u7a0b<\/h2>\n<h2>2.1 \u6d41\u7a0b\u56fe<\/h2>\n<p>\u73b0\u6709\u4e1a\u52a1\u57fa\u672c\u6d41\u7a0b\u5982\u4e0b\u56fe\uff0c\u5305\u542b\u8fd0\u8425\u7aef\u548c\u5916\u90e8\u6570\u636e\u63a5\u5165\uff0c\u6574\u4f53\u64cd\u4f5c\u5230\u6570\u636e\u5b58\u50a8\u6d41\u7a0b<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758068\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>2.2 \u6570\u636e\u6d41<\/h2>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758069\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>3 \u95ee\u9898\u5206\u6790<\/h2>\n<h2>3.1 \u95ee\u9898\u73b0\u8c61<\/h2>\n<p>jmq\u79ef\u538b\uff0c\u62a5\u8b66  <br \/>\u56fd\u5185\u7ad9\u622a\u56fe\u5982\u4e0b<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758070\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758071\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>3.2 \u7b5b\u67e5\u5206\u6790<\/h2>\n<p>\u666e\u53ca\uff1aJMQ\u9ed8\u8ba4\u751f\u4ea7\u8005\u53d1\u9001\u6d88\u606fQPS\u53d7\u5230\u4e3b\u9898\u7684broker\u6570\u91cf\u5f71\u54cd\uff0c(8w\/s)\/broker<\/p>\n<h2>3.2.1 MQ\u79ef\u538b\u5206\u6790<\/h2>\n<p>1\uff09\u5206\u6790\u539f\u56e0\u4e00\u3001ES\u5199\u5165\u91cf\u5927\uff0c\u5bfc\u81f4ES\u5199\u5165QPS\u74f6\u9888<\/p>\n<p>ES\u5199\u5165\u74f6\u9888\u9700\u8981\u8fdb\u884c\u538b\u6d4b\uff0c\u624d\u80fd\u786e\u5b9a\u5b9e\u9645\u662f\u5426\u8fbe\u5230\u74f6\u9888\uff1b  <br \/>\u901a\u8fc7\u67e5\u8be2\u96c6\u7fa4\u8d1f\u8f7d\uff0c\u5199\u5165\u961f\u5217\u6709\u65e0\u79ef\u538b\uff0ccpu\u9ad8\u4e0d\u9ad8\uff0c\u6765\u5b9a\u4f4d  <br \/>\u4ee5\u4e0b\u4e3a\u8c03\u6574MQ\u6279\u91cf\u6d88\u8d39\u5927\u5c0f\u540e\u7684ES\u76d1\u63a7  <br \/>\u5199\u5165\u961f\u5217\u65e0\u79ef\u538b\uff0cCPU\u4e0d\u9ad8\uff0c\u5199\u5165QPS\u6ca1\u6709\u8fbe\u5230\u74f6\u9888<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758072\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758073\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>2\uff09\u5206\u6790\u539f\u56e0\u4e8c\u3001ES\u5199\u5165\u6162\u5bfc\u81f4\u6d88\u8d39\u79ef\u538b<\/p>\n<p>ES\u89e3\u6790\u670d\u52a1\u89e3\u6790\u6162\uff0c\u74f6\u9888\u5728ES\u89e3\u6790\u5904  <br \/>\u6839\u636e\u5f53\u524d\u7cfb\u7edfCPU\u3001\u8d1f\u8f7d\u4fe1\u606f\u5b9a\u4f4d\u662f\u5426\u670d\u52a1\u5668\u6027\u80fd\u6ee1\u8d1f\u8377\uff0c\u662f\u5426\u6269\u5bb9  <br \/>\u65e0\u62a5\u8b66\u4fe1\u606f\uff0c\u6574\u4f53\u8fd0\u884c\u5e73\u7a33\uff0c\u57fa\u672c\u6392\u9664\u4e1a\u52a1\u8d44\u6e90\u8fbe\u5230\u74f6\u9888\u95ee\u9898\u5f15\u8d77\u5199\u5165\u6162<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758074\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>MQ\u6d88\u8d39\u7aef\u6d88\u8d39\u6162\uff0c\u74f6\u9888\u5728\u6d88\u8d39\u5e76\u53d1\u5904  <br \/>\u5f53\u524d\u4e3b\u9898\u5206\u7247\u65703\uff0c\u961f\u5217\u6570\u4e3a15\uff0c\u9ed8\u8ba4\u6700\u5927\u5e76\u53d1\u6570\u4e3a15*10\uff0c\u62a5\u8b66\u5f53\u65f6\u5165\u961f\u6570500~700\/s  <br \/>\u5b9a\u4f4d\u95ee\u9898\uff0c\u4e3aMQ\u6d88\u8d39\u6162\uff0c\u5176\u6839\u672c\u539f\u56e0\u4e3a\u53d7\u5230ES-Parse\u4e1a\u52a1\u7cfb\u7edf\u5904\u7406\u901f\u5ea6\u5f71\u54cd<\/p>\n<h2>3.3 \u4e34\u65f6\u5904\u7406\u65b9\u6848<\/h2>\n<p>\u5f00\u542fmq\u5e76\u884c\u6d88\u8d39\u7b56\u7565\uff0c\u5199\u5165QPS\u663e\u8457\u589e\u52a0<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758075\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>4 \u5982\u4f55\u63d0\u5347\u6d88\u8d39\u901f\u7387\uff0c\u63d0\u5347\u5199\u5165ES\u901f\u7387<\/h2>\n<p>\u9020\u6210\u95ee\u9898\u539f\u56e0\u6838\u5fc3\u70b9\u662fMQ\u79ef\u538b\uff0c\u4e1a\u52a1\u7cfb\u7edf\u6d88\u8d39\u6162\uff0cMQ\u5165\u961f\u6570\u5927\u4e8e\u51fa\u961f\u6570\uff0c\u5bfc\u81f4\u79ef\u538b<\/p>\n<h2>4.1 \u539f\u7406\u5206\u6790<\/h2>\n<h2>4.1.1 \u5b58\u50a8\u6d41\u7a0b\u89e3\u6790<\/h2>\n<p>\u7b2c\u4e00\u6b65\uff1abinlake\u8ba2\u9605mysql binlog  <br \/>\u7b2c\u4e8c\u6b65\uff1a\u53d1MQ\uff0cJMQ\u6570\u636e\u4f20\u8f93  <br \/>\u7b2c\u4e09\u6b65\uff1a\u6d88\u8d39JMQ\u6570\u636e\uff0cES Paser\u6570\u636e\u89e3\u6790\uff0c  <br \/>\u7b2c\u56db\u6b65\uff1a\u6570\u636e\u5b58\u50a8<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758076\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>4.1.2 binlake\u57fa\u672c\u539f\u7406<\/h2>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758077\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>4.1.3 binlake\u53d1\u9001MQ\u8fc7\u7a0b<\/h2>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758078\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<h2>4.1.4 JMQ\u6d88\u8d39\u539f\u7406<\/h2>\n<p>JMQ\u6d88\u8d39\u9ed8\u8ba4\u5c31\u662f\u6279\u91cf\u6d88\u8d39  <br \/>\u6d88\u8d39\u539f\u7406\u5982\u4e0b\u56fe<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758079\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u6279\u91cf\u6d88\u8d39\u4e0e\u5e76\u884c\u6d88\u8d39\u539f\u7406\u5982\u4e0b\u56fe<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758080\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u901a\u8fc7\u5206\u6790\uff0c\u5728\u672a\u5f00\u542f\u5e76\u884c\u6d88\u8d39\u524d\u63d0\u4e0b\uff0c\u5f53\u524d\u4e3b\u9898\u6700\u5927\u5904\u5e76\u53d1\u7684\u6d88\u8d39\u5904\u7406\u80fd\u529b\u5373\u662f\u961f\u5217\u6570<\/p>\n<h2>4.2 \u63d0\u5347\u6d88\u8d39\u901f\u7387\u7684\u51e0\u79cd\u65b9\u6848<\/h2>\n<h2>4.2.1MQ\u589e\u52a0\u6d88\u8d39\u901f\u5ea6\u65b9\u6cd5<\/h2>\n<p><strong>\u6269\u5bb9\uff0c\u589e\u52a0\u5e76\u53d1\u6d88\u8d39\u80fd\u529b<\/strong>  <br \/>\u9488\u5bf9MQ\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4e00\u5207\u6269\u5bb9\u90fd\u80fd\u89e3\u51b3\u95ee\u9898\uff0c\u589e\u5927\u5206\u7247\u6570\uff0c\u589e\u52a0\u961f\u5217\u6570  <br \/>\u9700\u8981\u989d\u5916\u8d44\u6e90\uff0c\u7533\u8bf7\u6269\u5bb9\u65b0\u7684broker\uff0c\u540c\u65f6\u8003\u8651\u589e\u52a0\u6d88\u8d39\u7aef\u5b9e\u4f8b<\/p>\n<p><strong>\u589e\u52a0\u6279\u91cf\u5927\u5c0f<\/strong>  <br \/>\u9996\u5148\u4fdd\u8bc1\uff0c\u4e1a\u52a1\u7cfb\u7edf(ES-Parse)\u6d88\u8d39MQ\u6d88\u606f\uff0c\u5904\u740610\u6761\u548c\u5904\u7406100\u6761\u901f\u5ea6\u57fa\u672c\u4e00\u6837  <br \/>\u5b9e\u8df5\uff1a\u56fd\u9645\u8d22\u52a1\u9488\u5bf9\u6b64\u65b9\u6cd5\u8fdb\u884c\u4ee3\u7801\u903b\u8f91\u6539\u9020<\/p>\n<p><strong>\u5f00\u542f\u5e76\u884c\u6570<\/strong>  <br \/>\u7406\u8bba\u4e0a\u589e\u52a0\uff08\u5e76\u884c\u6570\/\u6279\u91cf\u6570\uff09\u7684\u500d\u6570\u5e76\u53d1\u5904\u7406\u80fd\u529b  <br \/>\u8981\u6c42\u6570\u636e\u65e0\u5e8f\uff0c\u9488\u5bf9\u4e71\u5e8f\uff0c\u6570\u636e\u5b58\u50a8\uff0c\u4e0d\u5f71\u54cd\u4e1a\u52a1<\/p>\n<h2>4.2.2 \u5e76\u884c\u6709\u5e8f\u7684\u65b9\u6848<\/h2>\n<p>1\uff09\u5b9e\u73b0\u6570\u636e\u5e42\u7b49\u6027\uff0c\u589e\u52a0\u7f13\u5b58\uff0c\u5e76\u884c\u6d88\u8d39\u7b56\u7565<\/p>\n<p>\u65b9\u6848\u6d41\u7a0b<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758081\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u57fa\u7840\u5b9e\u73b0\u6d41\u7a0b\uff1a<\/p>\n<p>1\uff09\u6839\u636ebinlake\u53d1\u9001mq\uff0c\u5728mq\u7aef\u5f00\u542f\u5e76\u884c\u6d88\u8d39\uff0c\u786e\u4fdd\u5e76\u884c\u6d88\u8d39  <br \/>2\uff09\u6839\u636e\u4e1a\u52a1\u5355\u53f7\u5bf9\uff0c\u5355\u53f7\u52a0\u9501\uff08\u5982\u9ea6\u54f2\u4f26\u5bf9\u8fd0\u5355\u53f7\u52a0\u9501\uff0c\u5373\u5bf9\u5355\u53f7\u52a0\u5206\u5e03\u5f0f\u9501\uff09\uff0c\u6839\u636e\u5bf9\u5e94\u7684ID\u83b7\u53d6ES\u6570\u636e\u3002  <br \/>3\uff09\u6821\u9a8c\u6570\u636e\u662f\u5426\u6709\u6548\uff0c\u82e5\u67e5\u8be2\u65e0\u6570\u636e\uff0c\u5219\u76f4\u63a5\u65b0\u589e\uff1b\u82e5\u67e5\u8be2\u7684\u6570\u636e\u72b6\u6001\u5927\u4e8e\u5f53\u524d\u6570\u636e\u72b6\u6001\uff0c\u5219\u76f4\u63a5\u629b\u5f03\uff0c\u82e5\u67e5\u8be2\u72b6\u6001\u5c0f\u4e8e\u5f53\u524d\u6570\u636e\u72b6\u6001\uff0c\u5219\u76f4\u63a5\u66f4\u65b0\u6570\u636e  <br \/>4\uff09\u66f4\u65b0\u7f13\u5b58\u5e76\u91ca\u653e\u9501<\/p>\n<p>\u4f18\u70b9<\/p>\n<ul>\n<li>\u6307\u5b9a\u8d44\u6e90\u60c5\u51b5\u4e0b\uff0c\u589e\u5927\u6d88\u8d39\u7aef\u5e76\u53d1<\/li>\n<li>\u53ef\u4ee5\u5f00\u542f\u5e76\u884c\u6d88\u8d39\uff0c\u4e14\u4fdd\u8bc1\u987a\u5e8f\u6d88\u8d39<\/li>\n<li>\u53ef\u4ee5\u4f7f\u5f97\u8d44\u6e90\u5145\u5206\u5229\u7528\uff0c\u589e\u52a0\u6d88\u8d39\u6027\u80fd<\/li>\n<\/ul>\n<p>\u7f3a\u70b9<\/p>\n<ul>\n<li>\u589e\u52a0\u6beb\u79d2\u7ea7\u7f13\u5b58\u989d\u5916\u5f00\u9500<\/li>\n<\/ul>\n<p>\u5b9e\u8df5\uff1a\u9ea6\u54f2\u4f26\u8fd0\u5355\u4e2d\u5fc3\u9488\u5bf9\u6b64\u65b9\u6848\u5b9e\u73b0binlake\u6570\u636e\u540c\u6b65ES<\/p>\n<p>2\uff09binlake\u4e3b\u9898\u5206\u53d1\u5b50\u4e3b\u9898\uff0c\u663e\u793a\u589e\u5927\u5e76\u53d1\u7b56\u7565<\/p>\n<p><img decoding=\"async\" referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000042758082\" alt=\"\" title=\"\" loading=\"lazy\"><\/p>\n<p>\u4f18\u70b9\uff1a<\/p>\n<ul>\n<li>\u903b\u8f91\u76f8\u5bf9\u7b80\u5355\uff0c\u4e0d\u9700\u8981\u5f00\u53d1\u590d\u6742\u903b\u8f91\uff0c\u65e0\u9700\u5f15\u5165\u989d\u5916\u4e2d\u95f4\u4ef6<\/li>\n<li>\u9884\u4f30\u8f6c\u53d1\u6d88\u606f\u901f\u7387\u5373\u662f\u5b9e\u9645\u5904\u7406\u901f\u7387<\/li>\n<\/ul>\n<p>\u63d0\u5347\u901f\u7387\u8ba1\u7b97:<\/p>\n<ul>\n<li>\u539f\u4e3b\u9898\u5355\u7ebf\u7a0b\u5904\u7406\u4e00\u6761\u6570\u636e\u5b58\u50a8\u5230ES\u65f6\u95f4\u4e3aes_time\uff0c\u4e3e\u4f8b\u4e3a50ms\uff0c\u6bcf\u79d2\u541e\u5410\u91cf\u662f20\u6761<\/li>\n<li>\u73b0\u5355\u7ebf\u7a0b\u8f6c\u53d1MQ\u4e00\u6761\u6570\u636e\u65f6\u95f4\u4e3atrans_time\uff0c\u4e3e\u4f8b\u4e3a20ms\uff0c\u6bcf\u79d2\u8f6c\u53d1\u541e\u5410\u91cf50\u6761<\/li>\n<li>\u5047\u8bbe\u8f6c\u53d1topic\u4e3aN\u4e2a\u5b50\u4e3b\u9898\uff0c\u5219\u541e\u5410\u91cf\u7406\u8bba\u4e3an*20\u5b9e\u9645\u5c0f\u4e8e\u8f6c\u53d1\u541e\u5410\u91cf50\uff0c\u6b64\u5904\u591a\u5b50\u4e3b\u9898\u5bf9cpu\u6838\u6570\u7ade\u4e89<\/li>\n<li>\u63d0\u5347\u541e\u5410\u91cf\u4e3a=(1000ms\/trans_time )\u8f6c\u53d1\u541e\u5410\u91cf &#8211; (1000ms\/es_time)\u539f\u6709\u541e\u5410\u91cf<\/li>\n<\/ul>\n<p>\u7f3a\u70b9<\/p>\n<ul>\n<li>\u6269\u5c55\u6027\u4e0d\u597d\uff0c\u5b9e\u9645\u7ed3\u679c\u6709\u5f85\u9a8c\u8bc1\uff0c\u5c0f\u4e8e\u9884\u4f30\u503c<\/li>\n<\/ul>\n<p>\u5b9e\u8df5\uff1a\u8de8\u5883\u8d64\u9053\u5206\u53d1\u4e2d\u5fc3\u5b9e\u73b0\u7c7b\u4f3c\u529f\u80fd\u5b9e\u8df5\uff0c\u6d88\u606f\u8f6c\u53d1\uff0c\u5176\u4ed6MQ\u5b9e\u73b0<\/p>\n<p>3\uff09\u4fe9\u79cd\u65b9\u6848\u5bf9\u6bd4<\/p>\n<p>\u4e3b\u9898\u8f83\u5c11\u4e00\u4e2a\u4fe9\u4e2a\u4e3b\u9898\u60c5\u51b5\u4e0b\uff0c\u4e14\u4e1a\u52a1\u5904\u7406\u6bd4\u8f83\u8017\u65f6\u60c5\u51b5\u4e0b\uff0c\u4e0d\u60f3\u989d\u5916\u5f00\u53d1\uff0c\u53ef\u9009\u65b9\u6848\u4e8c  <br \/>\u957f\u671f\u65b9\u6848\u9009\u62e9\u65b9\u6848\u4e00\uff0c\u5e76\u884c\u6d88\u8d39\u7b56\u7565\uff0c\u53ef\u4f38\u7f29\u6027\uff0c\u53ef\u6269\u5c55\uff0c\u652f\u6301\u52a8\u6001\u6269\u5bb9<\/p>\n<h2>5.\u603b\u7ed3<\/h2>\n<p>\u9488\u5bf9MQ\u79ef\u538b\u95ee\u9898\uff0c\u5e76\u884c\u6d88\u8d39\u53ef\u4ee5\u662f\u89e3\u51b3\u95ee\u9898\u7684\u4e00\u5927\u5229\u5668\uff0c\u672c\u6587\u4ecebinlake\u540c\u6b65ES\u8fdb\u884c\u5206\u6790\uff0c\u540c\u65f6\u9488\u5bf9\u79ef\u538b\u63a8\u8350\u4fe9\u79cd\u65b9\u6848\uff0c\u5e76\u4ece\u6027\u80fd\u5408\u7406\u5229\u7528\u53ca\u6269\u5c55\u6027\u5206\u6790\uff0c\u7b80\u8981\u4ecb\u7ecd\u65b9\u6848\u4e8c\u5e76\u884c\u6709\u5e8f\u6d88\u8d39\u7b56\u7565\uff0c\u5e0c\u671b\u80fd\u591f\u5e2e\u52a9\u5927\u5bb6\uff0c\u5982\u6709\u95ee\u9898\uff0c\u8bf7\u968f\u65f6\u6307\u51fa\uff01<\/p>\n<hr>\n<p>\u4f5c\u8005\uff1a\u4efb\u6d2a\u6ce2<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042758066\">https:\/\/segmentfault.com\/a\/1190000042758066<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 \u80cc\u666f\u4e0e\u76ee\u6807 1.1 \u80cc\u666f \u56fd\u9645\u8d22\u52a1\u6cf0\u56fd\u6bcf\u6708\u6708\u521d\u8d26\u5355\u4efb\u52a1\u751f\u6210\uff0c\u6216\u8005\u91cd\u7b97\u8d26\u5355\u6570\u636e\uff0c\u6570\u636e\u540c\u6b65\u65b9\u6848\u4e3amysql\u901a\u8fc7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10006831","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006831","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006831"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006831\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}