{"id":502,"date":"2023-06-05T13:29:27","date_gmt":"2023-06-05T05:29:27","guid":{"rendered":"https:\/\/por.tw\/php\/?p=481"},"modified":"2020-10-03T01:46:50","modified_gmt":"2020-10-02T17:46:50","slug":"%e7%b6%b2%e7%ab%99%e8%b3%87%e6%96%99%e5%ba%ab%e6%98%af%e9%81%b8%e6%93%87-mariadb5-%e5%a5%bd%e5%91%a2%ef%bc%9f%e9%82%84%e6%98%af%e9%81%b8%e6%93%87-mariadb10-%e6%af%94%e8%bc%83%e5%a5%bd%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/por.tw\/php\/%e7%b6%b2%e7%ab%99%e8%b3%87%e6%96%99%e5%ba%ab%e6%98%af%e9%81%b8%e6%93%87-mariadb5-%e5%a5%bd%e5%91%a2%ef%bc%9f%e9%82%84%e6%98%af%e9%81%b8%e6%93%87-mariadb10-%e6%af%94%e8%bc%83%e5%a5%bd%ef%bc%9f\/","title":{"rendered":"\u7db2\u7ad9\u8cc7\u6599\u5eab\u662f\u9078\u64c7  MariaDB5 \u597d\u5462\uff1f\u9084\u662f\u9078\u64c7 MariaDB10 \u6bd4\u8f03\u597d\uff1f"},"content":{"rendered":"<p><span style=\"font-size: 16px;\"><strong><span style=\"color: #008000;\">\u7db2\u7ad9\u4f7f\u7528PHP\u7a0b\u5f0f\u8a2d\u8a08\uff0c<\/span><span style=\"background-color: #ff0000; color: #ffffff;\">\u90a3\u8cc7\u6599\u5eab\u662f\u9078\u64c7 MariaDB5 \u597d\u5462\uff1f\u9084\u662f\u9078\u64c7 MariaDB10 \u6bd4\u8f03\u597d\uff1f<\/span><\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MySQL\u7684\u5b7f\u751f\u5144\u5f1f\u652f\u63f4NoSQL\u70ba\u5927\u8cc7\u6599\u92ea\u8def\uff0cSSD\u8207\u5feb\u9583\u8a18\u61b6\u9ad4\u6210\u70ba\u8cc7\u6599\u5eab\u6548\u80fd\u7ffb\u500d\u5229\u5668\uff01<\/strong><\/span><br \/>\n<span style=\"font-size: 24px; background-color: #ff0000; color: #ffff00;\"><strong>MariaDB 10\u65b0\u7248\u5927\u8e8d\u9032\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MySQL\u7684\u5b7f\u751f\u5144\u5f1fMariaDB\u767c\u5e03\u6700\u65b0\u7248\u672c\uff0c\u5927\u5e45\u589e\u52a0\u5c0d\u5927\u8cc7\u6599\u7684\u652f\u63f4\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u65e5\u524dMySQL\u7684\u5b7f\u751f\u5144\u5f1fMariaDB \u767c\u5e03\u5168\u65b0\u7248\u672c10\uff0c\u5f9e\u9019\u7248\u672c\u958b\u59cb\u8207MySQL\u7684\u767c\u5c55\u5206\u9053\u63da\u9463\uff01<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MariaDB 10\u8d70\u51fa\u81ea\u5df1\u7684\u9053\u8def\uff0c\u6b64\u6b21\u5927\u5e45\u5ea6\u7684\u66f4\u65b0\uff0c\u589e\u52a0\u5c0d\u5927\u8cc7\u6599\u7684\u652f\u63f4\uff0c\u751a\u81f3\u8207Fusion-io\u7b56\u7565\u806f\u76df\uff0c\u8207\u524d\u4e00\u500b\u7248\u672c\u76f8\u6bd4\uff0cMariaDB 10\u5728\u6548\u80fd\u4ee5\u53ca\u529f\u80fd\u4e0a\u90fd\u6709\u9577\u8db3\u7684\u9032\u6b65\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>Michael Widenius\uff08\u7db2\u8def\u4ee3\u865f\uff1aMonty\uff09\u540c\u70baMySQL\u8207MariaDB\u7684\u5275\u8fa6\u4eba\uff0c2008\u5e74\u4ed6\u4ee510\u5104\u7f8e\u5143\u7684\u4ee3\u50f9\u5c07MySQL\u51fa\u552e\u7d66\u6607\u967d\uff0c\u5169\u5e74\u5f8c\u7532\u9aa8\u6587\u4f75\u8cfc\u6607\u967d\uff0cMySQL\u7d93\u4e8c\u5ea6\u8f49\u624b\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px; color: #0000ff;\"><strong>\u5728\u7532\u9aa8\u6587\u7684\u7d93\u71df\u4e0b\uff0c\u539f\u672c\u4e3b\u5f35\u958b\u6e90\u7684MySQL\u8f49\u8da8\u5c01\u9589\uff0c\u7531\u65bcMichael Widenius\u5c0d\u6b64\u7b56\u7565\u4e0d\u8a8d\u540c\uff0c\u56e0\u800c\u5206\u652f\u51fa\u8207MySQL 5.5\u5b8c\u5168\u76f8\u5bb9\u7684MariaDB 5.5\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px; color: #800000;\"><strong>\u800c\u5f8cSKySQL \u548cMariaDB\u7684\u539f\u958b\u767c\u516c\u53f8Monty Program Ab\u5408\u4f75\uff0c\u91cd\u65b0\u96c6\u7d50\u958b\u5275MySQL\u7684\u5143\u8001\uff0c\u5171\u540c\u958b\u767cMariaDB 10<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; color: #008000;\"><strong>\u5f9e5.5\u76f4\u63a5\u8df3\u8e8d\u523010\u7684\u7248\u672c\u865f\u8b8a\u5316\u4e5f\u53cd\u6620\u4e86\uff0cMariaDB\u64fa\u812b\u904e\u53bb\u820a\u5305\u88b1\u4ee5\u5168\u65b0\u7684\u9762\u8c8c\u9032\u8ecd\u5e02\u5834\u7684\u4f01\u5716\u3002<\/strong><\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-650x430.png\" alt=\"\" class=\"alignnone size-medium wp-image-482\" width=\"650\" height=\"430\" srcset=\"https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-650x430.png 650w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-1024x677.png 1024w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-768x508.png 768w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-262x173.png 262w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38-272x180.png 272w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/mariadb.org_18-35-38.png 1458w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><br \/>\n<span style=\"font-size: 24px; color: #ff0000;\"><strong>MariaDB 10\u70ba\u5927\u8cc7\u6599\u5e03\u5c40\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MariaDB 10\u4e3b\u8981\u589e\u52a0\u4e863\u9805\u65b0\u7279\u8272<\/strong><\/span><br \/>\n<span style=\"font-size: 16px; color: #008000;\"><strong>\u7b2c\u4e00\u3001\u65b0\u589e\u9ad8\u6548\u8907\u88fd\u529f\u80fd\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7531\u65bcMariaDB 10\u53ef\u4ee5\u5e73\u884c\u8907\u88fd\u8cc7\u6599\u4ee5\u53ca\u66f4\u5148\u9032\u7684\u96c6\u9ad4\u63d0\u4ea4\u529f\u80fd\uff08Group Commit\uff09\uff0c\u6839\u64daMariaDB\u5b98\u7db2\uff0c\u65b0\u7248\u6548\u80fd\u5c07\u662f\u524d\u7248\u672c\u7684\u6578\u500d\uff0c\u800c\u4e5f\u56e0\u70ba\u5e73\u884c\u8907\u88fd\u7684\u529f\u80fd\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u5373\u6642\u67e5\u8a62\u4f86\u81ea\u8a31\u591a\u5927\u578b\u8cc7\u6599\u8868\u6240\u7d44\u5408\u7684\u8cc7\u6599\u8868\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px; color: #0000ff;\"><strong>\u7b2c\u4e8c\u3001\u589e\u52a0\u539f\u751fNoSQL\u652f\u63f4\u3002\u65b0\u7248\u589e\u52a0\u4e86Connect \u5f15\u64ce\u4f86\u505a\u5916\u90e8\u8cc7\u6599\u7ba1\u7406\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>Connect\u5f15\u64ce\u7684\u7528\u9014\u5c31\u50cf\u6a4b\u4e00\u6a23\uff0c\u53ef\u52d5\u614b\u5b58\u53d6\u975e\u7d50\u69cb\u6027\u6a94\u6848\u6216\u662f\u652f\u63f4ODBC\u7684\u8cc7\u6599\u5eab\uff0c\u751a\u81f3\u9084\u53ef\u4ee5\u76f4\u63a5\u5b58\u53d6Cassandra\u9019\u985e\u578bNoSQL\u8cc7\u6599\u5eab\u7cfb\u7d71\uff0c\u4e26\u8207\u5176\u4ed6\u5927\u8cc7\u6599\u6280\u8853\u4ecb\u63a5\uff0c\u9664\u6b64\u4e4b\u5916\uff0c\u4e5f\u652f\u63f4\u5e38\u898b\u7684NoSQL\u8cc7\u6599\u6b04\u4f4d\u5c0e\u5411\u6280\u8853\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px; color: #800080;\"><strong>\u7b2c\u4e09\u3001\u5167\u5efa\u5206\u7247\uff08Sharding\uff09\u529f\u80fd\uff0cMariaDB 10\u7684Spider \u5f15\u64ce\uff0c\u53ef\u4ee5\u5c07\u5927\u578b\u8cc7\u6599\u5eab\u7684\u8868\u683c\u5206\u5272\u5132\u5b58\u5230\u4e0d\u540c\u7684\u4f3a\u670d\u5668\u4e0a\uff0c\u63d0\u5347\u5c0d\u5206\u6563\u5f0f\u67b6\u69cb\u7684\u652f\u63f4\uff0c\u65e5\u5f8c\u53ea\u8981\u589e\u52a0\u4f3a\u670d\u5668\uff0c\u4fbf\u53ef\u589e\u52a0\u8cc7\u6599\u5eab\u5bb9\u91cf\u3002<\/strong><\/span><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/visdacom.com\/php\/wp-content\/uploads\/2019\/12\/MariaDB-p19.png\" alt=\"\" class=\"alignnone size-full wp-image-483\" width=\"600\" height=\"631\" srcset=\"https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/MariaDB-p19.png 600w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/MariaDB-p19-190x200.png 190w, https:\/\/por.tw\/php\/wp-content\/uploads\/2019\/12\/MariaDB-p19-171x180.png 171w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><br \/>\n<span style=\"font-size: 20px; background-color: #800000; color: #ffff00;\"><strong>MariaDB 10\u8207Fusion-io\u5408\u4f5c\u63d0\u5347\u8cc7\u6599\u5eab\u6548\u80fd\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u53e6\u5916\uff0cMariaDB\u4e5f\u8207Fusion-io\u516c\u53f8\u5f62\u6210\u7b56\u7565\u806f\u76df\uff0c\u767c\u5e03\u652f\u63f4Fusion-io\u5132\u5b58\u8a2d\u5099\u7684MariaDB\u7248\u672c\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7531\u65bcFusion-io\u63a8\u51faNVM\u58d3\u7e2e\u6280\u8853\uff0c\u514b\u670d\u5feb\u9583\u8a18\u61b6\u9ad4\u7684\u5148\u5929\u5b58\u53d6\u9650\u5236\uff0c\u4e0d\u6703\u56e0\u70ba\u4fee\u6539\u5df2\u58d3\u7e2e\u7684\u8cc7\u6599\uff0c\u800c\u9020\u6210\u8907\u96dc\u7684\u908f\u8f2f\u904b\u7b97\uff0c\u7a81\u7834\u8cc7\u6599\u5728\u786c\u9ad4\u8b80\u5beb\u6642\u7684\u901f\u5ea6\u74f6\u9838\uff0c\u540c\u6642\u4e5f\u80fd\u5ef6\u9577\u5feb\u9583\u8a18\u61b6\u9ad4\u4f7f\u7528\u7684\u58fd\u547d\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MariaDB\u70baFusion-io\u7279\u88fd\u7684\u7248\u672c\uff0c\u53ef\u4ee5\u5584\u52a0\u5229\u7528NVM\u58d3\u7e2e\u6280\u8853\uff0c\u6839\u64da\u5b98\u7db2\u8868\u793a\uff0c\u6b64\u8209\u5927\u5e45\u964d\u4f4e\u5beb\u5165\u6b21\u6578\uff0c\u4f7f\u7684\u8cc7\u6599\u5eab\u7684\u6548\u80fd\u5f97\u4ee5\u63d0\u5347\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; color: #ff0000;\"><strong>\u4e0d\u5c11\u652f\u6301\u958b\u6e90\u7684\u5ee0\u5546\u653e\u68c4MySQL\uff0c\u8f49\u5411\u4f7f\u7528MariaDB\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7531\u65bc\u7532\u9aa8\u6587\u5c0dMySQL\u7a0b\u5f0f\u767c\u5c55\u7684\u4e0d\u7a4d\u6975\u4f5c\u70ba\uff0c\u4ee5\u53ca\u958b\u6e90\u7b56\u7565\u6f38\u8da8\u5c01\u9589\u4e0b\uff0c\u4e0d\u5c11\u539f\u672c\u4f7f\u7528MySQL\u7684\u4f01\u696d\uff0c\u5bb3\u6015\u906d\u53d7\u7532\u9aa8\u6587\u7b9d\u5236\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u518d\u52a0\u4e0aMariaDB\u6392\u9664\u4e86\u904e\u53bb\u5927\u5bb6\u5c0dMySQL\u53ef\u64f4\u5c55\u6027\u7684\u7591\u616e\uff0c\u7d1b\u7d1b\u8f49\u800c\u4f7f\u7528MariaDB\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u76ee\u524dWikiMedia \u57fa\u91d1\u6703\u3001openSUSE\u3001Fedora\u3001Google\u3001WordPress\u7b49\u77e5\u540d\u7db2\u8def\u670d\u52d9\u5546\uff0c\u5747\u516c\u958b\u8868\u793a\u5df2\u5f9eMySQL\u8f49\u800c\u4f7f\u7528MariaDB\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; color: #ff00ff;\"><strong>MySQL\u8ddf\u9032\u8207\u786c\u9ad4\u5ee0\u5546\u5408\u4f5c\u7684\u8da8\u52e2\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7532\u9aa8\u6587\u8fd1\u671f\u4e5f\u91cb\u51fa\u958b\u653e\u6e90\u78bc\u7684\u6700\u65b0\u95dc\u806f\u6027\u8cc7\u6599\u5eab\u7248\u672cMySQL 5.7.4 DMR\uff08Development Milestone Release\uff09\uff0c\u5f37\u8abf\u70ba\u4e86\u7b26\u5408\u73fe\u4ee3\u96f2\u7aef\u8207\u5d4c\u5165\u61c9\u7528\u7684\u9700\u6c42\uff0c\u5927\u5e45\u6539\u5584\u4e86MySQL\u7684\u6548\u80fd\u3001\u64f4\u5c55\u6027\u8207\u53ef\u9760\u6027\uff0c\u5728\u6a19\u7aff\u6e2c\u8a66\u4e2d\u5176\u67e5\u8a62\u901f\u5ea6\u662fMySQL 5.6\u7684\u5169\u500d\u3001MySQL 5.5\u76843\u500d\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u53e6\u5916\u7532\u9aa8\u6587\u4e5f\u540c\u6a23\u80fd\u652f\u63f4Fusion-io\u5132\u5b58\u7522\u54c1\u7684FVM\u58d3\u7e2e\u6280\u8853\u4f86\u52a0\u901f\u8cc7\u6599\u5eab\u5b58\u53d6\u6548\u80fd\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u5728\u6548\u80fd\u8207\u64f4\u5c55\u6027\u4e0a\uff0cMySQL 5.7.4\u91dd\u5c0d\u56fa\u614b\u786c\u789f\u5f37\u5316\u4e86\u6548\u80fd\u8207\u541e\u5410\u91cf\uff0c\u6539\u5584InnoDB\u7de9\u885d\u5340\u8207\u5143\u8cc7\u6599\u9396\u5b9a\uff0c\u5f37\u5316\u5176\u534a\u540c\u6b65\u7684\u8907\u88fd\u6548\u80fd\uff0c\u5176\u6bcf\u79d2\u67e5\u8a62\u901f\u5ea6\u662f5.6\u7248\u76842\u500d\uff0c5.5\u7248\u76843\u500d\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u5728\u7ba1\u7406\u529f\u80fd\u4e0a\uff0c\u5e36\u4f86\u66f4\u7cbe\u78ba\u7684\u6210\u672c\u8a08\u7b97\uff0c\u6539\u5584\u6548\u80fd\u67b6\u69cb\uff0c\u4e26\u6709\u7b26\u5408AES\u6a19\u6e96\u7684256bit\u52a0\u5bc6\u53ca\u65b0\u7684\u5bc6\u78bc\u7ba1\u7406\u9078\u9805\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; color: #ff6600;\"><strong>\u964d\u4f4e\u5176\u4ed6\u8cc7\u6599\u5eab\u8f49\u63db\u5230MySQL\u7684\u6210\u672c\uff1a<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u6b64\u5916\uff0c\u70ba\u4e86\u78ba\u4fdd\u9ad8\u53ef\u5f97\u6027\u4e26\u7ba1\u7406\u591a\u500bMySQL\u4f3a\u670d\u5668\u7684MySQL Fabric\u5177\u5099\u4e86\u6545\u969c\u81ea\u52d5\u5075\u6e2c\u53ca\u8f49\u79fb\u529f\u80fd\uff1b<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u53ef\u4f9b\u5716\u5f62\u5316\u7ba1\u7406\u7684MySQL Workbench 6.1\u65b0\u589e\u6548\u80fd\u8a55\u4f30\u8207\u6700\u4f73\u5316\u67e5\u8a62\u529f\u80fd\uff0c\u4ea6\u53ef\u8b93\u7528\u6236\u8f15\u6613\u81ea\u5fae\u8edf\u7684SQL Server\u79fb\u8f49\u81f3MySQL\uff0c\u4e26\u5ba3\u7a31\u53ef\u7bc0\u7701\u6700\u9ad890%\u7684\u6574\u9ad4\u64c1\u6709\u6210\u672c\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>MySQL\u5de5\u7a0b\u526f\u7e3d\u88c1Tomas Ulin\u8868\u793a\uff0cMySQL 5.7\u5e36\u4f86\u6548\u80fd\u8207\u7ba1\u7406\u529f\u80fd\u7684\u6539\u5584\uff0c\u70ba\u4e86\u9f13\u52f5\u793e\u7fa4\u7684\u53c3\u8207\uff0c\u4e26\u9075\u5faa\u5118\u65e9\u91cb\u51fa\u7684\u5b97\u65e8\uff0c\u7532\u9aa8\u6587\u7e2e\u77ed\u5f9e\u610f\u898b\u56de\u994b\u5230\u4ea4\u4ed8\u7684\u5468\u671f\uff0c\u8b93\u4f7f\u7528\u8005\u80fd\u66f4\u5feb\u5b58\u53d6\u5f37\u5316\u7684\u7522\u54c1\u529f\u80fd\u53ca\u54c1\u8cea\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 24px; color: #ff0000;\"><strong>\u4ec0\u9ebc\u662fNoSQL\u8cc7\u6599\u5eab\uff1f<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>Web2.0\u6982\u5ff5\u7684\u6210\u719f\u767c\u5c55\u4fc3\u6210\u4e86NoSQL\u8cc7\u6599\u5eab\u7684\u8208\u8d77\u3002\u904e\u53bb\u5e7e\u5e74\u4f7f\u7528\u8005\u7db2\u8def\u884c\u70ba\u7684\u6539\u8b8a\uff0c\u6311\u6230\u4e86\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u7684\u6548\u80fd\u548c\u5f48\u6027\uff0c\u56e0\u61c9\u7206\u91cf\u8b80\u5beb\u983b\u7e41\u7684\u9700\u6c42\uff0cNoSQL\u7684\u6982\u5ff5\u91cd\u65b0\u88ab\u63d0\u51fa\uff0cNoSQL\u8cc7\u6599\u5eab\u7684\u7279\u8272\u662f\u4e0d\u4f7f\u7528SQL\u7576\u4f5c\u67e5\u8a62\u8a9e\u8a00\u3001\u52d5\u614b\u5217\u5132\u5b58\u53ca\u5206\u6563\u5f0f\u67b6\u69cb\u7b49\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; color: #008000;\"><strong>\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u7684\u64cd\u4f5c\u5177\u6709ACID\u7684\u7279\u6027<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7b2c\u4e00\u3001\u4e0d\u53ef\u5206\u5272\u6027\uff08Atomicity\uff09\uff0c\u5728\u4e00\u6b21\u7684\u4ea4\u6613\uff08Transaction\uff09\uff0c\u64cd\u4f5c\u5fc5\u9808\u5168\u90e8\u6210\u529f\uff0c\u4e00\u65e6\u767c\u751f\u932f\u8aa4\uff0c\u6240\u6709\u8cc7\u6599\u66f4\u52d5\u5c07\u56de\u5fa9\u5230\u4ea4\u6613\u4e4b\u524d\uff0c\u4e0d\u5bb9\u8a31\u6709\u4e2d\u9593\u72c0\u614b\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7b2c\u4e8c\u3001\u4e00\u81f4\u6027\uff08Consistency\uff09\uff0c\u6240\u6709\u7684\u4ea4\u6613\uff0c\u90fd\u5fc5\u9808\u9075\u5b88\u8cc7\u6599\u5eab\u8a2d\u5b9a\u898f\u5247\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7b2c\u4e09\u3001\u7368\u7acb\u6027 \uff08Isolation\uff09\u8cc7\u6599\u4ea4\u6613\u9032\u884c\u4e2d\uff0c\u4e0d\u53d7\u5176\u4ed6\u4ea4\u6613\u5f71\u97ff\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u7b2c\u56db\u3001\u6301\u4e45\u6027\uff08Durability\uff09\uff0c\u4ea4\u6613\u6210\u529f\u5f8c\uff0c\u6240\u505a\u7684\u4efb\u4f55\u8b8a\u66f4\u90fd\u6703\u88ab\u6c38\u4e45\u4fdd\u5b58\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u9019\u4e9b\u7279\u6027\u5728\u91d1\u878d\u4ea4\u6613\u5f88\u91cd\u8981\uff0c\u53ef\u4ee5\u78ba\u4fdd\u5176\u904e\u7a0b\u5b89\u5168\u53ca\u7d50\u679c\u7684\u53ef\u9760\u6027\uff0c\u800c\u904e\u53bb\u7684\u975c\u614b\u7db2\u9801\u7684\u8cc7\u6599\u5eab\u64cd\u4f5c\uff0c\u8b80\u53d6\u6bd4\u4f8b\u9060\u9ad8\u65bc\u5beb\u5165\uff0c\u5728\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u4e5f\u662f\u6c92\u6709\u554f\u984c\u7684\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u4f46\u8fd1\u5e74\u76db\u884c\u7684\u7db2\u8def\u670d\u52d9\uff0c\u5982\u793e\u7fa4\u7db2\u7ad9\u3001\u793e\u7fa4\u904a\u6232\u751a\u81f3\u662f\u7db2\u8def\u904a\u6232\uff0c\u9f90\u5927\u7684\u4f7f\u7528\u8005\u898f\u6a21\u4ee5\u53ca\u983b\u7e41\u4e92\u52d5\u7684\u64cd\u4f5c\u6a21\u5f0f\uff0c\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u7684\u53ef\u9760\u6027\u7121\u7528\u6b66\u4e4b\u5730\uff0c\u53cd\u800c\u6210\u70ba\u6548\u80fd\u74f6\u9838\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u4ee5\u793e\u7fa4\u7db2\u7ad9Facebook\u70ba\u4f8b\uff0c\u5168\u7403\u5341\u5e7e\u5104\u7528\u6236\uff0c\u6240\u6709\u7684\u4f7f\u7528\u64cd\u4f5c\u90fd\u6703\u88ab\u5beb\u5165\u8cc7\u6599\u5eab\u4e2d\uff0c\u5305\u62ec\u5857\u9d09\u7246\u4e0a\u7de8\u8f2f\u8a0a\u606f\u3001\u5373\u6642\u8a0a\u606f\u5c0d\u8a71\u3001\u4efb\u610f\u7684\u9023\u7d50\u9ede\u64ca\u548c\u5c0d\u61c9\u7528\u7a0b\u5f0f\u7684\u559c\u597d\u7b49\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>Facebook\u6bcf\u6708\u8981\u8655\u88e1\u5e7e\u767e\u5104\u7b46\u5de8\u91cf\u7684\u8cc7\u6599\uff0c\u5982\u679c\u4f7f\u7528\u95dc\u806f\u6027\u8cc7\u6599\u5eab\uff0cACID\u7684\u898f\u5247\u5c07\u6703\u56b4\u91cd\u7684\u5f71\u97ff\u8cc7\u6599\u5eab\u6548\u80fd\uff0c\u4ee5\u81f3\u65bc\u964d\u4f4e\u4f7f\u7528\u8005\u64cd\u4f5c\u7d93\u9a57\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u6b64\u5916\uff0cNoSQL\u8cc7\u6599\u5eab\u7684\u5206\u6563\u5f0f\u67b6\u69cb\uff0c\u6709\u52a9\u65bc\u7d00\u9304\u88ab\u6709\u7b56\u7565\u7684\u8907\u88fd\u5230\u4e16\u754c\u5404\u5730\u7684\u8cc7\u6599\u4e2d\u5fc3\uff0c\u4ee5\u7e2e\u77ed\u5168\u7403\u4f7f\u7528\u8005\u5b58\u53d6Facebook\u8cc7\u6599\u7684\u6642\u9593\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>NoSQL\u8cc7\u6599\u5eab\u56e0\u5176\u5206\u6563\u5f0f\u67b6\u69cb\uff0c\u5bb9\u91cf\u5bb9\u6613\u64f4\u5145\uff0c\u4f46\u8cc7\u6599\u66f4\u65b0\u53ef\u80fd\u6703\u6709\u4e0d\u540c\u6b65\u7684\u72c0\u6cc1\uff0c\u5c0d\u6b64NoSQL\u8cc7\u6599\u5eab\u63a1\u7528\u8cc7\u6599\u9072\u65e9\u6703\u4e00\u81f4\uff08Eventually Consistency\uff09\u7684\u505a\u6cd5\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u4e0d\u540c\u8cc7\u6599\u5eab\u4f3a\u670d\u5668\uff0c\u6216\u8a31\u8cc7\u6599\u6703\u56e0\u6642\u9593\u5dee\u800c\u4e0d\u540c\uff0c\u4f46\u7d42\u7a76\u6703\u540c\u6b65\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 16px;\"><strong>\u95dc\u806f\u5f0f\u8cc7\u6599\u5eab\u5fc5\u9808\u9075\u5b88ACID\u7684\u7279\u6027\uff0cNoSQL\u8cc7\u6599\u5eab\u61c9\u7528\u4e0a\u66f4\u5177\u5f48\u6027\uff0c\u5169\u985e\u578b\u8cc7\u6599\u5eab\u7cfb\u7d71\u6c92\u6709\u512a\u52a3\u4e4b\u5206\uff0c\u53ea\u6709\u9700\u6c42\u8003\u91cf\u4e0d\u540c\u3002<\/strong><\/span><br \/>\n<span style=\"font-size: 20px; background-color: #ff0000; color: #ffff00;\"><strong>MariaDB5 \u7684\u65b0\u7248\u672c\u662f\uff1a MariaDB10 \u7576\u7136\u5347\u7d1a\u4f7f\u7528\u65b0\u7248\u672c\uff0c\u662f\u6bd4\u8f03\u512a\u7570\uff08\u6c92\u6709\u7248\u672c\u662f\u8d8a\u6539\u8d8a\u5dee\u7684\u5427\uff1f\uff09<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7db2\u7ad9\u4f7f\u7528PHP\u7a0b\u5f0f\u8a2d\u8a08\uff0c\u90a3\u8cc7\u6599\u5eab\u662f\u9078\u64c7 MariaDB5 \u597d\u5462\uff1f\u9084\u662f\u9078\u64c7 MariaDB10 \u6bd4\u8f03\u597d\uff1f MyS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":482,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[22],"class_list":["post-502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-mysql-","tag-php"],"_links":{"self":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/502"}],"collection":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media\/482"}],"wp:attachment":[{"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/por.tw\/php\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}