<script type="application/ld+json">{"@context":"http://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.simcentric.com/sc/"},{"@type":"ListItem","position":2,"name":"如何基于MyCat构建MySQL分布式集群？","item":"https://www.simcentric.com/sc/hong-kong-dedicated-server-sc/how-to-build-a-mysql-distributed-cluster-based-on-mycat/"}]}</script> {"id":9670,"date":"2024-01-12T15:44:07","date_gmt":"2024-01-12T07:44:07","guid":{"rendered":"https:\/\/www.simcentric.com\/uncategorized-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/"},"modified":"2024-01-12T15:47:07","modified_gmt":"2024-01-12T07:47:07","slug":"how-to-build-a-mysql-distributed-cluster-based-on-mycat","status":"publish","type":"post","link":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/","title":{"rendered":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<p>\u5728\u5927\u6570\u636e\u65f6\u4ee3\uff0c\u4f01\u4e1a\u9762\u4e34\u7740\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u4e0e\u5904\u7406\u6311\u6218\u3002\u4f20\u7edf\u7684\u5355\u4f53\u6570\u636e\u5e93\u7cfb\u7edf\u5df2\u96be\u4ee5\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u9ad8\u53ef\u7528\u6027\u548c\u6d77\u91cf\u6570\u636e\u5904\u7406\u7684\u8981\u6c42\u3002\u56e0\u6b64\uff0c\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u96c6\u7fa4\u5e94\u8fd0\u800c\u751f\uff0c\u800cMyCat\u4f5c\u4e3a\u4e00\u4e2a\u4f18\u79c0\u7684\u5f00\u6e90\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\uff0c\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u5df2\u6210\u4e3a\u8bb8\u591a\u4f01\u4e1a\u7684\u9996\u9009\u65b9\u6848\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>MyCat\u5206\u7247\u601d\u8def\u5206\u6790\u5b66\u4e60\u7b14\u8bb0<\/strong><\/h2>\n<p>MyCat\u662f\u4e00\u4e2a\u57fa\u4e8eJava\u5b9e\u73b0\u7684\u5f00\u6e90\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\uff0c\u5b83\u9075\u5faaMySQL\u534f\u8bae\uff0c\u5bf9\u5916\u8868\u73b0\u4e3a\u4e00\u4e2aMySQL\u670d\u52a1\u5668\u3002MyCat\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u5b83\u80fd\u591f\u5b9e\u73b0\u6570\u636e\u5e93\u7684\u5206\u8868\u5206\u5e93\uff0c\u5373\u5c06\u5355\u4e00\u7684\u5927\u8868\u6c34\u5e73\u5207\u5206\u6210\u591a\u4e2a\u5c0f\u8868\uff0c\u8fd9\u4e9b\u5c0f\u8868\u5206\u6563\u5b58\u50a8\u5728\u4e0d\u540c\u7684\u6570\u636e\u5e93\u8282\u70b9\u4e0a\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\u548c\u6570\u636e\u7684\u8bfb\u5199\u6548\u7387\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>MyCat\u7684\u6838\u5fc3\u7ec4\u4ef6<\/strong><\/h2>\n<ul>\n<li>Schema: \u903b\u8f91\u5e93\uff0c\u5bf9\u5e94\u4e8eMySQL\u4e2d\u7684Database\uff08\u6570\u636e\u5e93\uff09\uff0c\u4e00\u4e2a\u903b\u8f91\u5e93\u4e2d\u53ef\u4ee5\u6709\u591a\u4e2aTable\uff08\u8868\uff09\u3002<\/li>\n<li>Table: \u903b\u8f91\u8868\uff0c\u5373\u7269\u7406\u6570\u636e\u5e93\u4e2d\u7684\u8868\u3002\u5728MyCat\u4e2d\uff0c\u8868\u9700\u8981\u7ed1\u5b9a\u5230\u903b\u8f91\u6570\u636e\u8282\u70b9DataNode\u3002<\/li>\n<li>DataNode: \u903b\u8f91\u6570\u636e\u8282\u70b9\uff0c\u4e5f\u79f0\u4e3a\u5206\u7247\u8282\u70b9\uff0c\u5b83\u6307\u5411\u5b58\u50a8\u5b9e\u9645\u6570\u636e\u7684\u7269\u7406\u8282\u70b9\uff0c\u901a\u8fc7DataSource\u8fdb\u884c\u5173\u8054\u3002<\/li>\n<li>DataSource: \u7269\u7406\u5e93\u7684\u8bbf\u95ee\u5730\u5740\uff0c\u7528\u4e8e\u8fde\u63a5\u5230\u5177\u4f53\u7684\u6570\u636e\u5b58\u50a8\u8282\u70b9\u3002<\/li>\n<li>\u5206\u7247\u89c4\u5219: \u51b3\u5b9a\u4e86\u5982\u4f55\u5c06\u6570\u636e\u5206\u5e03\u5230\u4e0d\u540c\u7684\u5206\u7247\u4e0a\u3002\u9009\u62e9\u5408\u9002\u7684\u5206\u7247\u89c4\u5219\u5bf9\u4e8e\u6570\u636e\u5206\u5e03\u7684\u5747\u5300\u6027\u4e0e\u67e5\u8be2\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>MyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u7684\u642d\u5efa\u6b65\u9aa4<\/strong><\/h2>\n<h3><strong>MySQL\u8282\u70b9\u5b89\u88c5\u4e0e\u914d\u7f6e:<\/strong><\/h3>\n<p>\u5b89\u88c5MySQL 8.0.11\u8282\u70b9\uff0c\u521b\u5efa\u7edf\u4e00\u7684\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u6bd4\u5982szabm\u3002\u6ce8\u610f\uff0c\u914d\u7f6e\u53c2\u6570lower_case_table_names=1\u4ee5\u907f\u514d\u5927\u5c0f\u5199\u654f\u611f\u95ee\u9898\u3002<\/p>\n<h3><strong>\u5b89\u88c5Java\u73af\u5883:<\/strong><\/h3>\n<p>MyCat\u57fa\u4e8eJava\u5f00\u53d1\uff0c\u56e0\u6b64\u5fc5\u987b\u5148\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Java\u73af\u5883\u3002\u63a8\u8350\u4f7f\u7528Oracle JDK 8\u6216\u66f4\u9ad8\u7248\u672c\u3002<\/p>\n<h3><strong>\u5b89\u88c5MySQL\u5ba2\u6237\u7aef:<\/strong><\/h3>\n<p>\u4e3a\u4e86\u7ba1\u7406\u540e\u7aef\u6570\u636e\u5e93\uff0c\u9700\u8981\u5b89\u88c5MySQL\u5ba2\u6237\u7aef\u3002\u53ef\u4ee5\u4eceMySQL\u5b98\u7f51\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684\u4e8c\u8fdb\u5236\u5305\uff0c\u89e3\u538b\u5e76\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u65b9\u4fbf\u4f7f\u7528\u3002<\/p>\n<h3><strong>MyCat\u8f6f\u4ef6\u5b89\u88c5:<\/strong><\/h3>\n<p>\u4eceMyCat\u5b98\u7f51\u4e0b\u8f7dMyCat\u8f6f\u4ef6\u5305\uff0c\u89e3\u538b\u540e\u8bbe\u7f6eMYCAT_HOME\u73af\u5883\u53d8\u91cf\u5e76\u5c06\u5176bin\u76ee\u5f55\u52a0\u5165PATH\u4e2d\u3002<\/p>\n<h3><strong>\u542f\u52a8MyCat\u670d\u52a1:<\/strong><\/h3>\n<p>\u901a\u8fc7\u6267\u884cMyCat start\u547d\u4ee4\u542f\u52a8MyCat\u670d\u52a1\uff0c\u68c0\u67e5\u65e5\u5fd7\u786e\u4fdd\u670d\u52a1\u542f\u52a8\u65e0\u8bef\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u6d4b\u8bd5MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u67b6\u6784<\/strong><\/h2>\n<p>\u642d\u5efa\u5b8c\u6210\u540e\uff0c\u5e94\u8fdb\u884c\u5f7b\u5e95\u7684\u6d4b\u8bd5\u4ee5\u786e\u4fdd\u96c6\u7fa4\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u3002\u6d4b\u8bd5\u65f6\u5e94\u6ce8\u610f\u6570\u636e\u5206\u7247\u7684\u5747\u5300\u6027\u3001\u8bfb\u5199\u5206\u79bb\u7b56\u7565\u3001\u96c6\u7fa4\u7684\u5bb9\u9519\u80fd\u529b\u548c\u6269\u5c55\u6027\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u6027\u80fd\u4f18\u5316\u4e0e\u76d1\u63a7<\/strong><\/h2>\n<p>\u642d\u5efa\u5206\u5e03\u5f0f\u96c6\u7fa4\u540e\uff0c\u6027\u80fd\u4f18\u5316\u548c\u76d1\u63a7\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u3002\u901a\u8fc7\u7ec6\u5316\u5206\u7247\u89c4\u5219\u3001\u4f18\u5316\u67e5\u8be2\u8bed\u53e5\u3001\u4f7f\u7528\u7f13\u5b58\u548c\u8bfb\u5199\u5206\u79bb\u7b49\u624b\u6bb5\u6765\u63d0\u9ad8\u96c6\u7fa4\u6027\u80fd\u3002\u540c\u65f6\uff0c\u4f7f\u7528\u76d1\u63a7\u5de5\u5177\u5982Zabbix\u3001Prometheus\u7b49\u6765\u76d1\u63a7\u96c6\u7fa4\u72b6\u6001\uff0c\u53ca\u65f6\u53d1\u73b0\u548c\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text]<\/p>\n<h2><strong>\u7ed3\u8bba<\/strong><\/h2>\n<p>\u57fa\u4e8eMyCat\u6784\u5efa\u7684MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u4e3a\u4f01\u4e1a\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u9760\u3001\u9ad8\u6548\u3001\u6613\u6269\u5c55\u7684\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\u3002\u901a\u8fc7\u5408\u7406\u914d\u7f6e\u548c\u7ef4\u62a4\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u5347\u6570\u636e\u5e93\u5904\u7406\u80fd\u529b\uff0c\u6ee1\u8db3\u73b0\u4ee3\u5728\u5904\u7406\u5927\u6570\u636e\u548c\u9ad8\u5e76\u53d1\u9700\u6c42\u65e5\u76ca\u589e\u957f\u7684\u4eca\u5929\uff0c\u4f20\u7edf\u5355\u4f53\u6570\u636e\u5e93\u9762\u4e34\u7740\u6027\u80fd\u74f6\u9888\u548c\u53ef\u7528\u6027\u6311\u6218\u3002\u4e3a\u4e86\u514b\u670d\u8fd9\u4e9b\u9650\u5236\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u8f6c\u5411\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\uff0c\u5176\u4e2d\u57fa\u4e8eMyCat\u7684MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u56e0\u5176\u51fa\u8272\u7684\u6027\u80fd\u548c\u7075\u6d3b\u6027\u800c\u53d7\u5230\u9752\u7750\u3002<\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u5728\u5927\u6570\u636e\u65f6\u4ee3\uff0c\u4f01\u4e1a\u9762\u4e34\u7740\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u4e0e\u5904\u7406\u6311\u6218\u3002\u4f20\u7edf\u7684\u5355\u4f53\u6570\u636e\u5e93\u7cfb\u7edf\u5df2\u96be\u4ee5\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u9ad8\u53ef\u7528\u6027\u548c\u6d77\u91cf\u6570\u636e\u5904\u7406\u7684\u8981\u6c42\u3002\u56e0\u6b64\uff0c\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u96c6\u7fa4\u5e94\u8fd0\u800c\u751f\uff0c\u800cMyCat\u4f5c\u4e3a\u4e00\u4e2a\u4f18\u79c0\u7684\u5f00\u6e90\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\uff0c\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u5df2\u6210\u4e3a\u8bb8\u591a\u4f01\u4e1a\u7684\u9996\u9009\u65b9\u6848\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] MyCat\u5206\u7247\u601d\u8def\u5206\u6790\u5b66\u4e60\u7b14\u8bb0 MyCat\u662f\u4e00\u4e2a\u57fa\u4e8eJava\u5b9e\u73b0\u7684\u5f00\u6e90\u6570\u636e\u5e93\u4e2d\u95f4\u4ef6\uff0c\u5b83\u9075\u5faaMySQL\u534f\u8bae\uff0c\u5bf9\u5916\u8868\u73b0\u4e3a\u4e00\u4e2aMySQL\u670d\u52a1\u5668\u3002MyCat\u7684\u6838\u5fc3\u4ef7\u503c\u5728\u4e8e\u5b83\u80fd\u591f\u5b9e\u73b0\u6570\u636e\u5e93\u7684\u5206\u8868\u5206\u5e93\uff0c\u5373\u5c06\u5355\u4e00\u7684\u5927\u8868\u6c34\u5e73\u5207\u5206\u6210\u591a\u4e2a\u5c0f\u8868\uff0c\u8fd9\u4e9b\u5c0f\u8868\u5206\u6563\u5b58\u50a8\u5728\u4e0d\u540c\u7684\u6570\u636e\u5e93\u8282\u70b9\u4e0a\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7684\u5e76\u53d1\u5904\u7406\u80fd\u529b\u548c\u6570\u636e\u7684\u8bfb\u5199\u6548\u7387\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] MyCat\u7684\u6838\u5fc3\u7ec4\u4ef6 Schema: \u903b\u8f91\u5e93\uff0c\u5bf9\u5e94\u4e8eMySQL\u4e2d\u7684Database\uff08\u6570\u636e\u5e93\uff09\uff0c\u4e00\u4e2a\u903b\u8f91\u5e93\u4e2d\u53ef\u4ee5\u6709\u591a\u4e2aTable\uff08\u8868\uff09\u3002 Table: \u903b\u8f91\u8868\uff0c\u5373\u7269\u7406\u6570\u636e\u5e93\u4e2d\u7684\u8868\u3002\u5728MyCat\u4e2d\uff0c\u8868\u9700\u8981\u7ed1\u5b9a\u5230\u903b\u8f91\u6570\u636e\u8282\u70b9DataNode\u3002 DataNode: \u903b\u8f91\u6570\u636e\u8282\u70b9\uff0c\u4e5f\u79f0\u4e3a\u5206\u7247\u8282\u70b9\uff0c\u5b83\u6307\u5411\u5b58\u50a8\u5b9e\u9645\u6570\u636e\u7684\u7269\u7406\u8282\u70b9\uff0c\u901a\u8fc7DataSource\u8fdb\u884c\u5173\u8054\u3002 DataSource: \u7269\u7406\u5e93\u7684\u8bbf\u95ee\u5730\u5740\uff0c\u7528\u4e8e\u8fde\u63a5\u5230\u5177\u4f53\u7684\u6570\u636e\u5b58\u50a8\u8282\u70b9\u3002 \u5206\u7247\u89c4\u5219: \u51b3\u5b9a\u4e86\u5982\u4f55\u5c06\u6570\u636e\u5206\u5e03\u5230\u4e0d\u540c\u7684\u5206\u7247\u4e0a\u3002\u9009\u62e9\u5408\u9002\u7684\u5206\u7247\u89c4\u5219\u5bf9\u4e8e\u6570\u636e\u5206\u5e03\u7684\u5747\u5300\u6027\u4e0e\u67e5\u8be2\u6027\u80fd\u81f3\u5173\u91cd\u8981\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] MyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u7684\u642d\u5efa\u6b65\u9aa4 MySQL\u8282\u70b9\u5b89\u88c5\u4e0e\u914d\u7f6e: \u5b89\u88c5MySQL 8.0.11\u8282\u70b9\uff0c\u521b\u5efa\u7edf\u4e00\u7684\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u6bd4\u5982szabm\u3002\u6ce8\u610f\uff0c\u914d\u7f6e\u53c2\u6570lower_case_table_names=1\u4ee5\u907f\u514d\u5927\u5c0f\u5199\u654f\u611f\u95ee\u9898\u3002 \u5b89\u88c5Java\u73af\u5883: MyCat\u57fa\u4e8eJava\u5f00\u53d1\uff0c\u56e0\u6b64\u5fc5\u987b\u5148\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Java\u73af\u5883\u3002\u63a8\u8350\u4f7f\u7528Oracle JDK 8\u6216\u66f4\u9ad8\u7248\u672c\u3002 \u5b89\u88c5MySQL\u5ba2\u6237\u7aef: \u4e3a\u4e86\u7ba1\u7406\u540e\u7aef\u6570\u636e\u5e93\uff0c\u9700\u8981\u5b89\u88c5MySQL\u5ba2\u6237\u7aef\u3002\u53ef\u4ee5\u4eceMySQL\u5b98\u7f51\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u7684\u4e8c\u8fdb\u5236\u5305\uff0c\u89e3\u538b\u5e76\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u4ee5\u65b9\u4fbf\u4f7f\u7528\u3002 MyCat\u8f6f\u4ef6\u5b89\u88c5: \u4eceMyCat\u5b98\u7f51\u4e0b\u8f7dMyCat\u8f6f\u4ef6\u5305\uff0c\u89e3\u538b\u540e\u8bbe\u7f6eMYCAT_HOME\u73af\u5883\u53d8\u91cf\u5e76\u5c06\u5176bin\u76ee\u5f55\u52a0\u5165PATH\u4e2d\u3002 \u542f\u52a8MyCat\u670d\u52a1: \u901a\u8fc7\u6267\u884cMyCat start\u547d\u4ee4\u542f\u52a8MyCat\u670d\u52a1\uff0c\u68c0\u67e5\u65e5\u5fd7\u786e\u4fdd\u670d\u52a1\u542f\u52a8\u65e0\u8bef\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u6d4b\u8bd5MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u67b6\u6784 \u642d\u5efa\u5b8c\u6210\u540e\uff0c\u5e94\u8fdb\u884c\u5f7b\u5e95\u7684\u6d4b\u8bd5\u4ee5\u786e\u4fdd\u96c6\u7fa4\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u3002\u6d4b\u8bd5\u65f6\u5e94\u6ce8\u610f\u6570\u636e\u5206\u7247\u7684\u5747\u5300\u6027\u3001\u8bfb\u5199\u5206\u79bb\u7b56\u7565\u3001\u96c6\u7fa4\u7684\u5bb9\u9519\u80fd\u529b\u548c\u6269\u5c55\u6027\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u6027\u80fd\u4f18\u5316\u4e0e\u76d1\u63a7 \u642d\u5efa\u5206\u5e03\u5f0f\u96c6\u7fa4\u540e\uff0c\u6027\u80fd\u4f18\u5316\u548c\u76d1\u63a7\u662f\u4e0d\u53ef\u6216\u7f3a\u7684\u3002\u901a\u8fc7\u7ec6\u5316\u5206\u7247\u89c4\u5219\u3001\u4f18\u5316\u67e5\u8be2\u8bed\u53e5\u3001\u4f7f\u7528\u7f13\u5b58\u548c\u8bfb\u5199\u5206\u79bb\u7b49\u624b\u6bb5\u6765\u63d0\u9ad8\u96c6\u7fa4\u6027\u80fd\u3002\u540c\u65f6\uff0c\u4f7f\u7528\u76d1\u63a7\u5de5\u5177\u5982Zabbix\u3001Prometheus\u7b49\u6765\u76d1\u63a7\u96c6\u7fa4\u72b6\u6001\uff0c\u53ca\u65f6\u53d1\u73b0\u548c\u89e3\u51b3\u95ee\u9898\u3002 [\/vc_column_text][\/vc_column][\/vc_row][vc_row el_class=&#8221;blog-detail-section&#8221;][vc_column][vc_column_text] \u7ed3\u8bba \u57fa\u4e8eMyCat\u6784\u5efa\u7684MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u4e3a\u4f01\u4e1a\u63d0\u4f9b\u4e86\u4e00\u4e2a\u53ef\u9760\u3001\u9ad8\u6548\u3001\u6613\u6269\u5c55\u7684\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\u3002\u901a\u8fc7\u5408\u7406\u914d\u7f6e\u548c\u7ef4\u62a4\uff0c\u53ef\u4ee5\u5927\u5927\u63d0\u5347\u6570\u636e\u5e93\u5904\u7406\u80fd\u529b\uff0c\u6ee1\u8db3\u73b0\u4ee3\u5728\u5904\u7406\u5927\u6570\u636e\u548c\u9ad8\u5e76\u53d1\u9700\u6c42\u65e5\u76ca\u589e\u957f\u7684\u4eca\u5929\uff0c\u4f20\u7edf\u5355\u4f53\u6570\u636e\u5e93\u9762\u4e34\u7740\u6027\u80fd\u74f6\u9888\u548c\u53ef\u7528\u6027\u6311\u6218\u3002\u4e3a\u4e86\u514b\u670d\u8fd9\u4e9b\u9650\u5236\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u8f6c\u5411\u5206\u5e03\u5f0f\u6570\u636e\u5e93\u89e3\u51b3\u65b9\u6848\uff0c\u5176\u4e2d\u57fa\u4e8eMyCat\u7684MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\u56e0\u5176\u51fa\u8272\u7684\u6027\u80fd\u548c\u7075\u6d3b\u6027\u800c\u53d7\u5230\u9752\u7750\u3002 [\/vc_column_text][\/vc_column][\/vc_row] [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":3,"featured_media":9668,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[62],"tags":[1127,1128],"class_list":["post-9670","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hong-kong-dedicated-server-sc","tag-mycat-mysql-distributed-cluster-sc","tag-mycat-sharding-strategy-analysis-study-notes-sc"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f | Simcentric Solutions<\/title>\n<meta name=\"description\" content=\"\u5728\u5927\u6570\u636e\u65f6\u4ee3\uff0c\u4f01\u4e1a\u9762\u4e34\u7740\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u4e0e\u5904\u7406\u6311\u6218\u3002\u4f20\u7edf\u7684\u5355\u4f53\u6570\u636e\u5e93\u7cfb\u7edf\u5df2\u96be\u4ee5\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u9ad8\u53ef\u7528\u6027\u548c\u6d77\u91cf\u6570\u636e\u5904\u7406\u7684\u8981\u6c42\u3002\u56e0\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"company\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f | Simcentric Solutions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670\" \/>\n<meta property=\"og:site_name\" content=\"\u65b0\u5929\u57df\u4e92\u8054\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-12T07:44:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-12T07:47:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"594\" \/>\n\t<meta property=\"og:image:height\" content=\"587\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f | Simcentric Solutions","description":"\u5728\u5927\u6570\u636e\u65f6\u4ee3\uff0c\u4f01\u4e1a\u9762\u4e34\u7740\u6d77\u91cf\u6570\u636e\u7684\u5b58\u50a8\u4e0e\u5904\u7406\u6311\u6218\u3002\u4f20\u7edf\u7684\u5355\u4f53\u6570\u636e\u5e93\u7cfb\u7edf\u5df2\u96be\u4ee5\u6ee1\u8db3\u9ad8\u5e76\u53d1\u3001\u9ad8\u53ef\u7528\u6027\u548c\u6d77\u91cf\u6570\u636e\u5904\u7406\u7684\u8981\u6c42\u3002\u56e0","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670","og_locale":"zh_CN","og_type":"company","og_title":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f | Simcentric Solutions","og_url":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670","og_site_name":"\u65b0\u5929\u57df\u4e92\u8054","article_published_time":"2024-01-12T07:44:07+00:00","article_modified_time":"2024-01-12T07:47:07+00:00","og_image":[{"width":594,"height":587,"url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg","type":"image\/jpeg"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#article","isPartOf":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/"},"author":{"name":"Felix Cheung","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/2865b3454f789caf7083a203799d4a6d"},"headline":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f","datePublished":"2024-01-12T07:44:07+00:00","dateModified":"2024-01-12T07:47:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/"},"wordCount":177,"publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"image":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg","keywords":["MyCat MySQL\u5206\u5e03\u5f0f\u96c6\u7fa4","MyCat\u5206\u7247\u601d\u8def\u5206\u6790\u5b66\u4e60\u7b14\u8bb0"],"articleSection":["\u9999\u6e2f\u670d\u52a1\u5668"],"inLanguage":"zh-CHN"},{"@type":"WebPage","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/","url":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/","name":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f | Simcentric Solutions","isPartOf":{"@id":"https:\/\/simcentric.com\/tc\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#primaryimage"},"image":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg","datePublished":"2024-01-12T07:44:07+00:00","dateModified":"2024-01-12T07:47:07+00:00","breadcrumb":{"@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#breadcrumb"},"inLanguage":"zh-CHN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#primaryimage","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2024\/01\/sim0112__v1_blog.jpg","width":594,"height":587},{"@type":"BreadcrumbList","@id":"https:\/\/www.simcentric.com\/sc\/hong-kong-dedicated-server-sc\/how-to-build-a-mysql-distributed-cluster-based-on-mycat\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simcentric.com\/sc\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u57fa\u4e8eMyCat\u6784\u5efaMySQL\u5206\u5e03\u5f0f\u96c6\u7fa4\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/simcentric.com\/tc\/#website","url":"https:\/\/simcentric.com\/tc\/","name":"Simcentric Solutions","description":"","publisher":{"@id":"https:\/\/simcentric.com\/tc\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simcentric.com\/tc\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CHN"},{"@type":"Organization","@id":"https:\/\/simcentric.com\/tc\/#organization","name":"Simcentric Solutions","url":"https:\/\/simcentric.com\/tc\/","logo":{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/","url":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","contentUrl":"https:\/\/www.simcentric.com\/wp-content\/uploads\/2023\/06\/sim-logo-2023.png","width":800,"height":222,"caption":"Simcentric Solutions"},"image":{"@id":"https:\/\/simcentric.com\/tc\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/simcentric.com\/tc\/#\/schema\/person\/2865b3454f789caf7083a203799d4a6d","name":"Felix Cheung","image":{"@type":"ImageObject","inLanguage":"zh-CHN","@id":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/836e6f2be80c47f0897198ffea03fae331dad9aaafbc988c752691eb595e0e2f?s=96&d=mm&r=g","caption":"Felix Cheung"}}]}},"_links":{"self":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/comments?post=9670"}],"version-history":[{"count":2,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670\/revisions"}],"predecessor-version":[{"id":9672,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/posts\/9670\/revisions\/9672"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/media\/9668"}],"wp:attachment":[{"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/media?parent=9670"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/categories?post=9670"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simcentric.com\/sc\/wp-json\/wp\/v2\/tags?post=9670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}