{"id":96332,"date":"2024-10-20T08:32:16","date_gmt":"2024-10-20T00:32:16","guid":{"rendered":"https:\/\/server.hk\/cnblog\/96332\/"},"modified":"2024-10-20T08:32:17","modified_gmt":"2024-10-20T00:32:17","slug":"orc%e6%95%b8%e6%93%9a%e5%ba%ab%e5%b0%8e%e5%85%a5%e5%91%bd%e5%90%8d%e8%a6%8f%e7%af%84%e5%8f%8a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-orc%e6%95%b8%e6%93%9a%e5%ba%ab%e5%b0%8e%e5%85%a5%e5%91%bd%e5%90%8d","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/96332\/","title":{"rendered":"Orc\u6578\u64da\u5eab\u5c0e\u5165\u547d\u540d\u898f\u7bc4\u53ca\u6ce8\u610f\u4e8b\u9805 (orc\u6578\u64da\u5eab\u5c0e\u5165\u547d\u540d)"},"content":{"rendered":"<h1 id=\"orc%e6%95%b8%e6%93%9a%e5%ba%ab%e5%b0%8e%e5%85%a5%e5%91%bd%e5%90%8d%e8%a6%8f%e7%af%84%e5%8f%8a%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-ZVicfCVuAT\">Orc\u6578\u64da\u5eab\u5c0e\u5165\u547d\u540d\u898f\u7bc4\u53ca\u6ce8\u610f\u4e8b\u9805<\/h1>\n<p>\u5728\u7576\u4eca\u6578\u64da\u9a45\u52d5\u7684\u4e16\u754c\u4e2d\uff0c\u6578\u64da\u5eab\u7684\u7ba1\u7406\u548c\u5c0e\u5165\u8b8a\u5f97\u8d8a\u4f86\u8d8a\u91cd\u8981\u3002Orc\uff08Optimized Row Columnar\uff09\u683c\u5f0f\u662f\u4e00\u7a2e\u9ad8\u6548\u7684\u6578\u64da\u5b58\u5132\u683c\u5f0f\uff0c\u7279\u5225\u9069\u5408\u5927\u6578\u64da\u8655\u7406\u3002\u672c\u6587\u5c07\u63a2\u8a0eOrc\u6578\u64da\u5eab\u5c0e\u5165\u7684\u547d\u540d\u898f\u7bc4\u53ca\u6ce8\u610f\u4e8b\u9805\uff0c\u4ee5\u5e6b\u52a9\u958b\u767c\u8005\u548c\u6578\u64da\u5de5\u7a0b\u5e2b\u66f4\u597d\u5730\u7ba1\u7406\u548c\u4f7f\u7528Orc\u6578\u64da\u5eab\u3002<\/p>\n<h2 id=\"orc%e6%95%b8%e6%93%9a%e5%ba%ab%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%a6%82%e5%bf%b5-ZVicfCVuAT\">Orc\u6578\u64da\u5eab\u7684\u57fa\u672c\u6982\u5ff5<\/h2>\n<p>Orc\u662f\u4e00\u7a2e\u5217\u5f0f\u5b58\u5132\u683c\u5f0f\uff0c\u4e3b\u8981\u7528\u65bcHadoop\u751f\u614b\u7cfb\u7d71\u4e2d\u3002\u5b83\u7684\u8a2d\u8a08\u76ee\u7684\u662f\u70ba\u4e86\u63d0\u9ad8\u67e5\u8a62\u6027\u80fd\u548c\u58d3\u7e2e\u6548\u7387\u3002Orc\u683c\u5f0f\u652f\u6301\u8907\u96dc\u6578\u64da\u985e\u578b\uff0c\u4e26\u4e14\u80fd\u5920\u6709\u6548\u5730\u8655\u7406\u5927\u898f\u6a21\u6578\u64da\u96c6\u3002\u9019\u4f7f\u5f97Orc\u6210\u70ba\u6578\u64da\u5009\u5eab\u548c\u5927\u6578\u64da\u5206\u6790\u7684\u7406\u60f3\u9078\u64c7\u3002<\/p>\n<h2 id=\"%e5%91%bd%e5%90%8d%e8%a6%8f%e7%af%84-ZVicfCVuAT\">\u547d\u540d\u898f\u7bc4<\/h2>\n<p>\u5728\u5c0e\u5165Orc\u6578\u64da\u5eab\u6642\uff0c\u9075\u5faa\u4e00\u5b9a\u7684\u547d\u540d\u898f\u7bc4\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u9019\u4e0d\u50c5\u6709\u52a9\u65bc\u63d0\u9ad8\u6578\u64da\u7684\u53ef\u8b80\u6027\uff0c\u9084\u80fd\u6e1b\u5c11\u672a\u4f86\u7dad\u8b77\u7684\u56f0\u96e3\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5efa\u8b70\u7684\u547d\u540d\u898f\u7bc4\uff1a<\/p>\n<ul>\n<li><strong>\u4e00\u81f4\u6027\uff1a<\/strong>\u6240\u6709\u8868\u540d\u3001\u5217\u540d\u548c\u6578\u64da\u5eab\u540d\u61c9\u4fdd\u6301\u4e00\u81f4\u7684\u547d\u540d\u98a8\u683c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u9078\u64c7\u4f7f\u7528\u99dd\u5cf0\u547d\u540d\u6cd5\uff08CamelCase\uff09\u6216\u4e0b\u5283\u7dda\u547d\u540d\u6cd5\uff08snake_case\uff09\u3002<\/li>\n<li><strong>\u63cf\u8ff0\u6027\uff1a<\/strong>\u547d\u540d\u61c9\u8a72\u80fd\u5920\u6e05\u6670\u5730\u63cf\u8ff0\u6578\u64da\u7684\u5167\u5bb9\u3002\u4f8b\u5982\uff0c\u5c0d\u65bc\u7528\u6236\u4fe1\u606f\u8868\uff0c\u53ef\u4ee5\u547d\u540d\u70ba\u201cuser_info\u201d\u800c\u4e0d\u662f\u201ctable1\u201d\u3002<\/li>\n<li><strong>\u907f\u514d\u7e2e\u5beb\uff1a<\/strong>\u9664\u975e\u662f\u5ee3\u70ba\u4eba\u77e5\u7684\u7e2e\u5beb\uff0c\u5426\u5247\u61c9\u907f\u514d\u4f7f\u7528\u7e2e\u5beb\uff0c\u4ee5\u514d\u9020\u6210\u6df7\u6dc6\u3002<\/li>\n<li><strong>\u4f7f\u7528\u5c0f\u5beb\u5b57\u6bcd\uff1a<\/strong>\u5728\u5927\u591a\u6578\u60c5\u6cc1\u4e0b\uff0c\u4f7f\u7528\u5c0f\u5beb\u5b57\u6bcd\u53ef\u4ee5\u907f\u514d\u5927\u5c0f\u5beb\u654f\u611f\u554f\u984c\uff0c\u7279\u5225\u662f\u5728\u4e0d\u540c\u7684\u64cd\u4f5c\u7cfb\u7d71\u4e2d\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%b0%8e%e5%85%a5%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-ZVicfCVuAT\">\u5c0e\u5165\u6ce8\u610f\u4e8b\u9805<\/h2>\n<p>\u5728\u5c0e\u5165Orc\u6578\u64da\u5eab\u6642\uff0c\u6709\u5e7e\u500b\u6ce8\u610f\u4e8b\u9805\u9700\u8981\u8003\u616e\uff1a<\/p>\n<ul>\n<li><strong>\u6578\u64da\u985e\u578b\u5339\u914d\uff1a<\/strong>\u78ba\u4fdd\u5c0e\u5165\u7684\u6578\u64da\u985e\u578b\u8207Orc\u683c\u5f0f\u652f\u6301\u7684\u6578\u64da\u985e\u578b\u76f8\u5339\u914d\u3002\u4f8b\u5982\uff0cOrc\u652f\u6301\u6574\u6578\u3001\u6d6e\u9ede\u6578\u3001\u5b57\u7b26\u4e32\u7b49\u57fa\u672c\u6578\u64da\u985e\u578b\u3002<\/li>\n<li><strong>\u6578\u64da\u6e05\u6d17\uff1a<\/strong>\u5728\u5c0e\u5165\u6578\u64da\u4e4b\u524d\uff0c\u61c9\u9032\u884c\u6578\u64da\u6e05\u6d17\uff0c\u4ee5\u53bb\u9664\u91cd\u8907\u6578\u64da\u548c\u4e0d\u4e00\u81f4\u7684\u6578\u64da\u683c\u5f0f\u3002<\/li>\n<li><strong>\u6027\u80fd\u512a\u5316\uff1a<\/strong>\u5728\u5c0e\u5165\u904e\u7a0b\u4e2d\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u5206\u5340\u548c\u5206\u6876\u6280\u8853\u4f86\u63d0\u9ad8\u67e5\u8a62\u6027\u80fd\u3002\u4f8b\u5982\uff0c\u5c0d\u65bc\u6642\u9593\u5e8f\u5217\u6578\u64da\uff0c\u53ef\u4ee5\u6309\u65e5\u671f\u9032\u884c\u5206\u5340\u3002<\/li>\n<li><strong>\u6e2c\u8a66\u5c0e\u5165\uff1a<\/strong>\u5728\u6b63\u5f0f\u5c0e\u5165\u4e4b\u524d\uff0c\u5efa\u8b70\u5148\u9032\u884c\u5c0f\u898f\u6a21\u7684\u6e2c\u8a66\u5c0e\u5165\uff0c\u4ee5\u78ba\u4fdd\u6578\u64da\u7684\u5b8c\u6574\u6027\u548c\u6b63\u78ba\u6027\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b5%90%e8%ab%96-ZVicfCVuAT\">\u7d50\u8ad6<\/h2>\n<p>Orc\u6578\u64da\u5eab\u7684\u5c0e\u5165\u904e\u7a0b\u4e2d\uff0c\u9075\u5faa\u547d\u540d\u898f\u7bc4\u548c\u6ce8\u610f\u4e8b\u9805\u662f\u81f3\u95dc\u91cd\u8981\u7684\u3002\u9019\u4e0d\u50c5\u80fd\u63d0\u9ad8\u6578\u64da\u7684\u53ef\u8b80\u6027\uff0c\u9084\u80fd\u6e1b\u5c11\u672a\u4f86\u7dad\u8b77\u7684\u56f0\u96e3\u3002\u901a\u904e\u5408\u7406\u7684\u547d\u540d\u548c\u8b39\u614e\u7684\u5c0e\u5165\u7b56\u7565\uff0c\u958b\u767c\u8005\u548c\u6578\u64da\u5de5\u7a0b\u5e2b\u53ef\u4ee5\u66f4\u6709\u6548\u5730\u7ba1\u7406\u548c\u5229\u7528Orc\u6578\u64da\u5eab\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5c0d\u65bcVPS\u6216\u5176\u4ed6\u96f2\u670d\u52d9\u6709\u8208\u8da3\uff0c\u6b61\u8fce\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4e86\u89e3\u66f4\u591a\u4fe1\u606f\u3002\u7121\u8ad6\u662f\u9078\u64c7<a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a>\u9084\u662f\u5176\u4ed6\u670d\u52d9\uff0c\u6211\u5011\u90fd\u80fd\u63d0\u4f9b\u5c08\u696d\u7684\u652f\u6301\u548c\u89e3\u6c7a\u65b9\u6848\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3Orc\u6578\u64da\u5eab\u5c0e\u5165\u7684\u547d\u540d\u898f\u7bc4\u53ca\u6ce8\u610f\u4e8b\u9805\uff0c\u78ba\u4fdd\u6578\u64da\u4e00\u81f4\u6027\u8207\u53ef\u8b80\u6027\uff0c\u63d0\u5347\u6578\u64da\u7ba1\u7406\u6548\u7387\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-96332","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/96332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=96332"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/96332\/revisions"}],"predecessor-version":[{"id":96333,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/96332\/revisions\/96333"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=96332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=96332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=96332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}