{"id":627,"date":"2022-11-08T23:57:37","date_gmt":"2022-11-08T15:57:37","guid":{"rendered":"https:\/\/www.mengqingzhong.com\/?p=627"},"modified":"2024-01-14T11:36:52","modified_gmt":"2024-01-14T03:36:52","slug":"database-consistency-implementation","status":"publish","type":"post","link":"https:\/\/www.mengqingzhong.com\/2022\/11\/08\/database-consistency-implementation\/","title":{"rendered":"\u6570\u636e\u5e93\u4e00\u81f4\u6027\u7684\u5b9e\u73b0"},"content":{"rendered":"

2022\u5e749\u670829\u65e5\uff0c\u817e\u8baf\u4e91\u9080\u8bf7\u6211\u505a\u4e86\u4e00\u6b21\u76f4\u64ad\uff0c\u4ecb\u7ecd\u4e00\u4e0b\u6570\u636e\u5e93\u7684\u5185\u6838\u6280\u672f\u3002\u601d\u6765\u60f3\u53bb\uff0c\u9009\u4e86\u8fd9\u4e2a\u4e3b\u9898\u3002\u4e3b\u8981\u662f\u6211\u8ba4\u4e3a\u5f88\u591a\u6750\u6599\u5bf9\u4e00\u81f4\u6027\u548c\u9694\u79bb\u6027\u4ecb\u7ecd\u7684\u5f88\u6a21\u7cca\uff0c\u800c\u4e14\u4e0e\u5b9e\u73b0\u8131\u8282\u3002\u6211\u60f3\u501f\u6b64\u673a\u4f1a\uff0c\u8868\u8fbe\u4e00\u4e0b\u6211\u5bf9\u8fd9\u4e24\u4e2a\u7279\u6027\u7684\u7406\u89e3\u3002\u5e76\u4e14\u7ed3\u5408MySQL\u548cPostgreSQL\u4e24\u4e2a\u5f00\u6e90\u6570\u636e\u5e93\u7684\u5b9e\u73b0\uff0c\u4ecb\u7ecd\u4e00\u4e0b\u5b83\u4eec\u5bf9\u9694\u79bb\u7ea7\u522b\u7684\u5b9e\u73b0\u3002\u540c\u65f6\u5bf9TDSQL\u5728\u4f7f\u7528raft\u534f\u8bae\u548c\u4e24\u9636\u6bb5\u63d0\u4ea4\u65f6\u7684\u521b\u65b0\u3002<\/p>\n

\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u4e86\u4e8b\u52a1ACID\u7684\u6982\u5ff5\u3001\u5bf9\u4e00\u81f4\u6027\u548c\u9694\u79bb\u6027\u7684\u7406\u89e3\u3002\u91cd\u70b9\u4ecb\u7ecd\u4e86\u6570\u636e\u5e93\u9694\u79bb\u7ea7\u522b\u7684\u57fa\u672c\u539f\u7406\uff0c\u5e76\u4ecb\u7ecd\u4e86MySQL\u548cPostgreSQL\u9694\u79bb\u7ea7\u522b\u7684\u5b9e\u73b0\u3002\u6700\u540e\u5bf9TDSQL\u7684\u6570\u636e\u5e93\u4e00\u81f4\u6027\u5b9e\u73b0\u65b9\u6848\u505a\u4e86\u4ecb\u7ecd\u3002<\/p>\n

\u76f8\u4fe1\u8fd9\u662f\u5168\u7f51\u622a\u81f3\u76ee\u524d\u4ecb\u7ecd\u9694\u79bb\u7ea7\u522b\u6700\u8be6\u7ec6\u7684\u4e00\u4efd\u6750\u6599\uff0c\u6b22\u8fce\u6279\u8bc4\u6307\u6b63\u3002<\/p>\n

\u4e0b\u9762\u662f\u7f51\u9875\u7248\u89c6\u9891\u56de\u653e\u7684\u94fe\u63a5\u3002
\nhttps:\/\/cloud.tencent.com\/developer\/salon\/live-2005<\/a><\/p>\n

\u4e5f\u53ef\u4ee5\u7528\u5fae\u4fe1\u626b\u63cf\u4e0b\u65b9\u4e8c\u7ef4\u7801\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u8fd8\u53ef\u4ee5\u5728\u817e\u8baf\u4e91\u6570\u636e\u5e93\u7684\u5fae\u4fe1\u89c6\u9891\u53f7\u4e2d\u627e\u5230\u76f4\u64ad\u56de\u653e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u76f8\u4fe1\u8fd9\u662f\u5168\u7f51\u622a\u81f3\u76ee\u524d\u4ecb\u7ecd\u9694\u79bb\u7ea7\u522b\u6700\u8be6\u7ec6\u7684\u4e00\u4efd\u6750\u6599\uff0c\u6b22\u8fce\u6279\u8bc4\u6307\u6b63\u3002\u672c\u6587\u4e3b\u8981\u4ecb\u7ecd\u4e86\u4e8b\u52a1ACID\u7684\u6982\u5ff5\u3001\u5bf9\u4e00\u81f4\u6027\u548c\u9694\u79bb\u6027\u7684\u7406\u89e3\u3002\u91cd\u70b9\u4ecb\u7ecd\u4e86\u6570\u636e\u5e93\u9694\u79bb\u7ea7\u522b\u7684\u57fa\u672c\u539f\u7406\uff0c\u5e76\u4ecb\u7ecd\u4e86MySQL\u548cPostgreSQL\u9694\u79bb\u7ea7\u522b\u7684\u5b9e\u73b0\u3002\u6700\u540e\u5bf9TDSQL\u7684\u6570\u636e\u5e93\u4e00\u81f4\u6027\u5b9e\u73b0\u65b9\u6848\u505a\u4e86\u4ecb\u7ecd\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[16,14,17,15],"_links":{"self":[{"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/posts\/627"}],"collection":[{"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/comments?post=627"}],"version-history":[{"count":3,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/posts\/627\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/posts\/627\/revisions\/630"}],"wp:attachment":[{"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/media?parent=627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/categories?post=627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mengqingzhong.com\/wp-json\/wp\/v2\/tags?post=627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}