{"id":68523,"date":"2018-09-12T08:10:47","date_gmt":"2018-09-12T00:10:47","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=68523"},"modified":"2018-09-05T09:12:26","modified_gmt":"2018-09-05T01:12:26","slug":"mysql-manage","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/mysql-manage.html","title":{"rendered":"MySQL\u8fd0\u7ef4\u7ecf\u9a8c"},"content":{"rendered":"

\"\"<\/p>\n

1. \u6982\u8981<\/strong><\/div>\n

\u6bcf\u53f0\u673a\u5668\u90fd\u4f7f\u7528\u591a\u5b9e\u4f8b\u7684\u6a21\u578b\u3002 \u6bcf\u4e2a\u673a\u5668\u653e\u591a\u4e2a\u5b9e\u4f8b\uff0c\u6bcf\u4e2a\u5b9e\u4f8b\u653e\u591a\u4e2aDB\u3002<\/p>\n

\u591a\u5b9e\u4f8b\u4e4b\u95f4\u6ca1\u6709\u8fdb\u884c\u8d44\u6e90\u9694\u79bb\uff0c\u8fd9\u4e48\u505a\u662f\u8ba9\u6bcf\u4e2a\u5b9e\u4f8b\u90fd\u80fd\u53d1\u6325\u6700\u5927\u6027\u80fd\u3002<\/p>\n

\u76ee\u524d\u5927\u90e8\u5206\u6838\u5fc3\u4e1a\u52a1\u5df2\u5207\u6362\u6210MyRocks\u5f15\u64ce\uff0c\u5728\u673a\u5668\u786c\u4ef6\u914d\u7f6e\u4e0d\u53d8\u7684\u60c5\u51b5\uff0c\u7ea6\u53ef\u8282\u7701\u4e00\u534a\u673a\u5668\u3002<\/p>\n

\u653e\u5728MyRocks\u4e0a\u7684\u6838\u5fc3\u4e1a\u52a1\u4e3b\u8981\u6709\uff1aFeed\u3001Post\u3001\u793e\u4ea4\u56fe\u8c31\u7b49\u8bfb\u5199\u6df7\u5408\u4e1a\u52a1\u3002<\/p>\n

MyRocks\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/facebook\/mysql-5.6<\/p>\n

\u53e6\u5916\uff0cMariaDB 10.2\u7248\u672c\u4e5f\u5373\u5c06\u6574\u5408MyRocks\u5f15\u64ce\u3002<\/p>\n

2. \u9ad8\u53ef\u7528\u673a\u5236<\/strong><\/div>\n

\u91c7\u7528\u57fa\u4e8eGTID\u7684\u4e00\u4e3b\u591a\u4ece\u7ed3\u6784\uff0c\u5916\u52a0\u4e00\u4e2a\u57fa\u4e8elossless semi-sync\u673a\u5236\u7684mysqlbinlog\u5b9e\u73b0\u7684binlog server\uff08\u53ef\u4ee5\u7406\u89e3\u4e3aMySQL 5.7\u7684loss zero replication\uff09\u3002<\/p>\n

\u57fa\u4e8e\u591a\u6570\u6d3e\u5b9e\u73b0\u81ea\u52a8\u9009\u4e3b\u3002<\/p>\n

\u57fa\u4e8e\u914d\u7f6e\u4e2d\u5fc3\u5b9e\u73b0\u5207\u6362\uff0c\u672a\u4f7f\u7528VIP\u3002<\/p>\n

\u5728\u8ba4\u4e3asemi-sync\u590d\u5236\u53ef\u4fdd\u8bc1\u4e3b\u4ece\u6570\u636e\u4e00\u81f4\u6027\u7684\u5047\u8bbe\u524d\u63d0\u4e0b\uff0c\u53d1\u751f\u6545\u969c\u5207\u6362\u65f6\uff0c\u5229\u7528\u4e0a\u8ff0\u7684binlog server\u4e2d\u7684\u65e5\u5fd7\u8fdb\u884c\u8865\u5168\u540e\u518d\u9009\u65b0\u4e3b\u3001\u5207\u6362\u3002<\/p>\n

\u82e5\u4e2a\u522b\u60c5\u51b5\u4e0b\u7531\u4e8e\u7279\u6b8a\u539f\u56e0\uff0c\u51fa\u73b0\u4ece\u5e93\u5168\u90e8\u6302\u6389\u7684\u60c5\u51b5\uff0c\u4f1a\u5c06\u5168\u90e8\u8bf7\u6c42\u5207\u5230\u4e3b\u5e93\uff0c\u7531\u5b83\u625b\u8d77\u6240\u6709\u7684\u4e1a\u52a1\u670d\u52a1\u538b\u529b\u3002<\/p>\n

\u67d0\u4e2a\u4ece\u5e93\u6302\u6389\u65f6\uff0c\u53ef\u4ee5\u52a8\u6001\u6458\u9664\u3002<\/p>\n

3. \u5907\u4efd\u673a\u5236<\/strong><\/div>\n

\u6240\u6709\u7684\u5907\u4efd\u90fd\u662f\u57fa\u4e8emysqldump\u5b9e\u73b0\uff0c\u4e4b\u6240\u4ee5\u91c7\u7528mysqldump\u903b\u8f91\u5907\u4efd\u597d\u5904\u6709\uff1a<\/p>\n