{"id":761,"date":"2021-08-09T11:50:55","date_gmt":"2021-08-09T03:50:55","guid":{"rendered":"https:\/\/choson_steven.lifenet.com.tw\/?p=761"},"modified":"2021-08-09T11:50:55","modified_gmt":"2021-08-09T03:50:55","slug":"%e4%ba%8b%e5%8b%99%e7%9a%84%e6%95%b8%e6%93%9a%e6%8c%81%e4%b9%85%e6%80%a7%e8%a7%a3%e6%b1%ba%e6%96%b9%e6%a1%88%ef%bc%88the-data-persistence-solution-for-transactions%ef%bc%89","status":"publish","type":"post","link":"https:\/\/choson.lifenet.com.tw\/?p=761","title":{"rendered":"\u4e8b\u52d9\u7684\u6578\u64da\u6301\u4e45\u6027\u89e3\u6c7a\u65b9\u6848\uff08the data persistence solution for transactions\uff09"},"content":{"rendered":"\n<p><img decoding=\"async\" src=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/20132160GEQirE8SpX.jpg\" alt=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/20132160GEQirE8SpX.jpg\">****<br>-\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/panoply.io\/data-warehouse-guide\/data-mart-vs-data-warehouse\/\" target=\"_blank\" rel=\"noreferrer noopener\">https : \/\/panoply.io\/data-warehouse-guide\/data-mart-vs-data-warehouse\/<\/a><\/p>\n\n\n\n<p><strong>\u7121SQL\uff08NoSQL\uff09<\/strong><br>\u5b83\u610f\u5473\u8457 NoSQL \u652f\u6301\u591a\u7bc0\u9ede\u4e26\u884c\u8a08\u7b97\u7684\u9375\u503c\u5b58\u5132\u3002\u9375\u503c\u3001\u6587\u6a94\u3001\u5716\u5f62\u5b58\u5132\u662f\u4e00\u4e9b\u6700\u8457\u540d\u7684 NoSQL \u5b58\u5132\u3002<\/p>\n\n\n\n<p><strong>\u4e0d\u50c5\u662f SQL\uff08Not only SQL\uff09<\/strong><br>NoSQL\uff08\u6700\u521d\u6307\u201c\u975e SQL\u201d\u6216\u201c\u975e\u95dc\u4fc2\u201d\uff09\u8cc7\u6599\u5eab\u63d0\u4f9b\u4e86\u4e00\u7a2e\u5b58\u5132\u548c\u6aa2\u7d22\u8cc7\u6599\u7684\u6a5f\u5236\uff0c\u8a72\u6a5f\u5236\u4ee5\u95dc\u4fc2\u8cc7\u6599\u5eab\u4e2d\u4f7f\u7528\u7684\u8868\u683c\u95dc\u4fc2\u4ee5\u5916\u7684\u65b9\u5f0f\u5efa\u6a21\u3002<br>NoSQL \u8cc7\u6599\u5eab\u8d8a\u4f86\u8d8a\u591a\u5730\u7528\u65bc\u5927\u6578\u64da\u548c\u5be6\u6642 Web \u61c9\u7528\u7a0b\u5e8f\u3002NoSQL \u7cfb\u7d71\u6709\u6642\u4e5f\u88ab\u7a31\u70ba\u201c\u4e0d\u50c5\u50c5\u662f SQL\u201d\uff0c\u4ee5\u5f37\u8abf\u5b83\u5011\u53ef\u80fd\u652f\u6301\u985e\u4f3c SQL \u7684\u67e5\u8a62\u8a9e\u8a00\uff0c\u6216\u8005\u5728\u591a\u8a9e\u8a00\u6301\u4e45\u67b6\u69cb\u4e2d\u8207 SQL \u8cc7\u6599\u5eab\u4e26\u5b58\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/NoSQL\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u7f3a\u4e4f\u771f\u6b63\u7684 ACID \u4e8b\u52d9\uff08Lack of True ACID Transaction\uff09<\/strong><br>\u5927\u591a\u6578 NoSQL \u5b58\u5132\u7f3a\u4e4f\u771f\u6b63\u7684 ACID \u4e8b\u52d9\uff0c\u5118\u7ba1\u4e00\u4e9b\u8cc7\u6599\u5eab\u5df2\u5c07\u5b83\u5011\u4f5c\u70ba\u8a2d\u8a08\u7684\u6838\u5fc3\u3002\u76f8\u53cd\uff0c\u5927\u591a\u6578 NoSQL \u8cc7\u6599\u5eab\u63d0\u4f9b\u4e86\u201c\u6700\u7d42\u4e00\u81f4\u6027\u201d\u7684\u6982\u5ff5\uff0c\u5176\u4e2d\u8cc7\u6599\u5eab\u66f4\u6539\u201c\u6700\u7d42\u201d\uff08\u901a\u5e38\u5728\u5e7e\u6beb\u79d2\u5167\uff09\u50b3\u64ad\u5230\u6240\u6709\u7bc0\u9ede\uff0c\u56e0\u6b64\u5c0d\u8cc7\u6599\u7684\u67e5\u8a62\u53ef\u80fd\u4e0d\u6703\u7acb\u5373\u8fd4\u56de\u66f4\u65b0\u7684\u8cc7\u6599\u6216\u53ef\u80fd\u5c0e\u81f4\u8b80\u53d6\u7684\u8cc7\u6599\u4e0d\u51c6\u78ba\uff0c\u4e00\u500b\u7a31\u70ba\u9673\u820a\u8b80\u53d6\u7684\u554f\u984c\u3002\u6b64\u5916\uff0c\u4e00\u4e9b NoSQL \u7cfb\u7d71\u53ef\u80fd\u6703\u51fa\u73fe\u5beb\u5165\u4e1f\u5931\u548c\u5176\u4ed6\u5f62\u5f0f\u7684\u8cc7\u6599\u4e1f\u5931\u3002\u4e00\u4e9b NoSQL \u7cfb\u7d71\u63d0\u4f9b\u4e86\u8af8\u5982\u9810\u5beb\u65e5\u8a8c\u4e4b\u985e\u7684\u6982\u5ff5\u4f86\u907f\u514d\u8cc7\u6599\u4e1f\u5931\u3002\u5c0d\u65bc\u8de8\u591a\u500b\u8cc7\u6599\u5eab\u7684\u5206\u4f48\u5f0f\u4e8b\u52d9\u8655\u7406\uff0c\u8cc7\u6599\u4e00\u81f4\u6027\u662f\u4e00\u500b\u66f4\u5927\u7684\u6311\u6230\uff0c\u5c0d\u65bc NoSQL \u548c\u95dc\u4fc2\u8cc7\u6599\u5eab\u4f86\u8aaa\u90fd\u662f\u56f0\u96e3\u7684\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/NoSQL\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u5546\u696d\u667a\u80fd\uff08Business Intelligence\uff09<\/strong><br>\u5546\u696d\u667a\u80fd (BI) \u5305\u62ec\u4f01\u696d\u7528\u65bc\u5c0d\u5546\u696d\u4fe1\u606f\u9032\u884c\u8cc7\u6599\u5206\u6790\u7684\u7b56\u7565\u548c\u6280\u8853\u3002BI \u6280\u8853\u63d0\u4f9b\u696d\u52d9\u904b\u71df\u7684\u6b77\u53f2\u3001\u7576\u524d\u548c\u9810\u6e2c\u8996\u5716\u3002\u5546\u696d\u667a\u80fd\u6280\u8853\u7684\u5e38\u898b\u529f\u80fd\u5305\u62ec\u5831\u544a\u3001\u5728\u7dda\u5206\u6790\u8655\u7406\u3001\u5206\u6790\u3001\u8cc7\u6599\u6316\u6398\u3001\u6d41\u7a0b\u6316\u6398\u3001\u8907\u96dc\u4e8b\u4ef6\u8655\u7406\u3001\u696d\u52d9\u7e3e\u6548\u7ba1\u7406\u3001\u57fa\u6e96\u6e2c\u8a66\u3001\u6587\u672c\u6316\u6398\u3001\u9810\u6e2c\u5206\u6790\u548c\u898f\u7bc4\u5206\u6790\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Business_intelligence\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u8cc7\u6599\u5009\u5eab\uff08Data Warehouse\uff09<\/strong><br>\u5728\u8a08\u7b97\u4e2d\uff0c\u8cc7\u6599\u5009\u5eab\uff08DW \u6216 DWH\uff09\uff0c\u4e5f\u7a31\u70ba\u4f01\u696d\u8cc7\u6599\u5009\u5eab (EDW)\uff0c\u662f\u7528\u65bc\u5831\u544a\u548c\u8cc7\u6599\u5206\u6790\u7684\u7cfb\u7d71\uff0c\u88ab\u8a8d\u70ba\u662f\u5546\u696d\u667a\u80fd\u7684\u6838\u5fc3\u7d44\u4ef6\u3002DW \u662f\u4f86\u81ea\u4e00\u500b\u6216\u591a\u500b\u4e0d\u540c\u4f86\u6e90\u7684\u96c6\u6210\u8cc7\u6599\u7684\u4e2d\u592e\u5b58\u5132\u5eab\u3002\u5b83\u5011\u5c07\u7576\u524d\u548c\u6b77\u53f2\u8cc7\u6599\u5b58\u5132\u5728\u4e00\u500b\u5730\u65b9\uff0c\u7528\u65bc\u70ba\u6574\u500b\u4f01\u696d\u7684\u54e1\u5de5\u5275\u5efa\u5206\u6790\u5831\u544a\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_warehouse\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u8cc7\u6599\u8d85\u5e02\uff08Data Mart\uff09<\/strong><br>\u8cc7\u6599\u8d85\u5e02\u662f\u8cc7\u6599\u5009\u5eab\u7684\u4e00\u7a2e\u7c21\u55ae\u5f62\u5f0f\uff0c\u5c08\u6ce8\u65bc\u55ae\u500b\u4e3b\u984c\uff08\u6216\u529f\u80fd\u5340\u57df\uff09\uff0c\u56e0\u6b64\u5b83\u5011\u5f9e\u6709\u9650\u6578\u91cf\u7684\u4f86\u6e90\uff08\u5982\u92b7\u552e\u3001\u8ca1\u52d9\u6216\u71df\u92b7\uff09\u4e2d\u63d0\u53d6\u8cc7\u6599\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_warehouse\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>OLAP \u548c OLTP<br>OLAP<\/strong><br>\u5728\u7dda\u5206\u6790\u8655\u7406 (OLAP) \u7684\u7279\u9ede\u662f\u4ea4\u6613\u91cf\u76f8\u5c0d\u8f03\u4f4e\u3002\u67e5\u8a62\u901a\u5e38\u975e\u5e38\u8907\u96dc\u4e26\u4e14\u6d89\u53ca\u805a\u5408\u3002OLAP \u8cc7\u6599\u5eab\u5c07\u805a\u5408\u7684\u6b77\u53f2\u8cc7\u6599\u5b58\u5132\u5728\u591a\u7dad\u6a21\u5f0f\uff08\u901a\u5e38\u662f\u661f\u578b\u6a21\u5f0f\uff09\u4e2d\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_warehouse\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>OLTP<\/strong><br>\u5728\u7dda\u4e8b\u52d9\u8655\u7406\uff08OLTP\uff09\u7684\u7279\u9ede\u662f\u6709\u5927\u91cf\u77ed\u7684\u5728\u7dda\u4e8b\u52d9\uff08INSERT\u3001UPDATE\u3001DELETE\uff09\u3002OLTP \u7cfb\u7d71\u5f37\u8abf\u5728\u591a\u8a2a\u554f\u74b0\u5883\u4e2d\u975e\u5e38\u5feb\u901f\u7684\u67e5\u8a62\u8655\u7406\u548c\u7dad\u8b77\u8cc7\u6599\u5b8c\u6574\u6027\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Data_warehouse\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u95dc\u4fc2\u578b\u8cc7\u6599\u5eab\u7ba1\u7406\u7cfb\u7d71\uff08RDBMS\uff09<\/strong><br><img decoding=\"async\" src=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/20132160H38mwApkRK.jpg\" alt=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/20132160H38mwApkRK.jpg\"><br><img decoding=\"async\" src=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/201321603kBklYxb0J.jpg\" alt=\"https:\/\/ithelp.ithome.com.tw\/upload\/images\/20210809\/201321603kBklYxb0J.jpg\"><\/p>\n\n\n\n<p>\u95dc\u4fc2\u8cc7\u6599\u5eab\u662f\u4e00\u7a2e\u57fa\u65bc\u8cc7\u6599\u95dc\u4fc2\u6a21\u578b\u7684\u6578\u5b57\u8cc7\u6599\u5eab\uff0c\u7531 EF Codd \u5728 1970 \u5e74\u63d0\u51fa\u3002\u7528\u65bc\u7dad\u8b77\u95dc\u4fc2\u8cc7\u6599\u5eab\u7684\u8edf\u4ef6\u7cfb\u7d71\u662f\u95dc\u4fc2\u8cc7\u6599\u5eab\u7ba1\u7406\u7cfb\u7d71 (RDBMS)\u3002\u8a31\u591a\u95dc\u4fc2\u8cc7\u6599\u5eab\u7cfb\u7d71\u53ef\u4ee5\u9078\u64c7\u4f7f\u7528\u6a19\u6e96 SQL\uff08\u7d50\u69cb\u5316\u67e5\u8a62\u8a9e\u8a00\uff09\u4f86\u67e5\u8a62\u548c\u7dad\u8b77\u8cc7\u6599\u5eab\u3002\u70ba\u4e86\u4f7f\u8cc7\u6599\u5eab\u7ba1\u7406\u7cfb\u7d71 (DBMS) \u9ad8\u6548\u6e96\u78ba\u5730\u904b\u884c\uff0c\u5b83\u5fc5\u9808\u4f7f\u7528 ACID \u4e8b\u52d9\u3002<br>\u8cc7\u6599\u4f86\u6e90\uff1a<a href=\"https:\/\/en.wikipedia.org\/wiki\/Relational_database\" target=\"_blank\" rel=\"noreferrer noopener\">\u7dad\u57fa\u767e\u79d1<\/a><\/p>\n\n\n\n<p><strong>\u6982\u62ec<br>. \u554f\u984c\u7684\u4e3b\u8981\u601d\u60f3\u662f\u95dc\u65bc\u201c\u4ea4\u6613\u91cf\u5de8\u5927\u201d\u3002\u4ea4\u6613\u6700\u91cd\u8981\u7684\u56e0\u7d20\u662f\u5b8c\u6574\u6027\u3002\u4e8b\u52d9\u5fc5\u9808\u6eff\u8db3ACID\u539f\u5247\u7684\u8981\u6c42\u3002<br>. \u5982\u679c\u63a1\u7528\u975eACID\u4ea4\u6613\u89e3\u6c7a\u65b9\u6848\uff0c\u5247\u7121\u6cd5\u4fdd\u8b49\u5ba2\u6236\u7684\u8a02\u55ae\u53ef\u9760\u3002\u5b83\u53ef\u80fd\u7f3a\u5931\u4e14\u672a\u5be6\u73fe\u3002\u53ef\u4ee5\u63a5\u53d7\u55ce\uff1f\u6211\u4e0d\u9019\u9ebc\u8a8d\u70ba\u3002<br>. \u8cc7\u6599\u5009\u5eab\u6216\u8cc7\u6599\u96c6\u5e02\u4e2d\u7684\u8cc7\u6599\u7528\u65bc\u5206\u6790\uff0c\u901a\u5e38\u662f\u53ea\u8b80\u7684\u3002<br>. \u95dc\u4fc2\u8cc7\u6599\u5eab\u652f\u6301 ACID \u4e8b\u52d9\u3002\u5b83\u901a\u5e38\u88ab\u6b78\u985e\u70ba\u5728\u7dda\u4e8b\u52d9\u8655\u7406 (OLTP) \u7cfb\u7d71\u3002<br>. \u6240\u6709\u56db\u500b\u9078\u9805\u90fd\u63d0\u4f9b\u5bb9\u932f\u4ee5\u907f\u514d\u55ae\u9ede\u6545\u969c\u3002<\/strong><\/p>\n\n\n\n<p>\u8cc7\u6599\u4f86\u6e90\uff1a&nbsp;<a href=\"https:\/\/wentzwu.com\/2019\/10\/12\/cissp-practice-questions-20191013\/\" target=\"_blank\" rel=\"noreferrer noopener\">Wentz Wu QOTD-20191013<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>****-\u8cc7\u6599\u4f86\u6e90\uff1ahttps : \/\/panoply.io\/data-warehouse-guide\/dat [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-761","post","type-post","status-publish","format-standard","hentry","category-cisspcertified-information-systems-security-professional"],"_links":{"self":[{"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=761"}],"version-history":[{"count":1,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/761\/revisions"}],"predecessor-version":[{"id":762,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/761\/revisions\/762"}],"wp:attachment":[{"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/choson.lifenet.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}