{"id":191134,"date":"2024-11-12T16:23:21","date_gmt":"2024-11-12T08:23:21","guid":{"rendered":"https:\/\/server.hk\/cnblog\/191134\/"},"modified":"2024-11-12T16:23:22","modified_gmt":"2024-11-12T08:23:22","slug":"%e8%a9%b3%e8%a7%a3graphdatabase%e5%9c%a8%e9%97%9c%e4%bf%82%e6%95%b8%e6%93%9a%e5%ba%ab%e4%b8%ad%e5%af%a6%e7%8f%be","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/191134\/","title":{"rendered":"\u8a73\u89e3GraphDatabase\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u5be6\u73fe"},"content":{"rendered":"<h1 id=\"%e8%a9%b3%e8%a7%a3graph-database%e5%9c%a8%e9%97%9c%e4%bf%82%e6%95%b8%e6%93%9a%e5%ba%ab%e4%b8%ad%e5%af%a6%e7%8f%be-vbjIJYfhDJ\">\u8a73\u89e3Graph Database\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u5be6\u73fe<\/h1>\n<p>\u96a8\u8457\u6578\u64da\u91cf\u7684\u6fc0\u589e\uff0c\u6578\u64da\u5eab\u6280\u8853\u4e5f\u5728\u4e0d\u65b7\u6f14\u9032\u3002\u50b3\u7d71\u7684\u95dc\u4fc2\u6578\u64da\u5eab\uff08RDBMS\uff09\u5728\u8655\u7406\u7d50\u69cb\u5316\u6578\u64da\u65b9\u9762\u8868\u73fe\u512a\u7570\uff0c\u4f46\u5728\u8655\u7406\u8907\u96dc\u7684\u95dc\u806f\u6578\u64da\u6642\uff0c\u537b\u986f\u5f97\u529b\u4e0d\u5f9e\u5fc3\u3002\u9019\u6642\uff0cGraph Database\uff08\u5716\u5f62\u6578\u64da\u5eab\uff09\u4fbf\u6210\u70ba\u4e86\u4e00\u7a2e\u6709\u6548\u7684\u89e3\u6c7a\u65b9\u6848\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eGraph Database\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u7684\u5be6\u73fe\u53ca\u5176\u512a\u52e2\u3002<\/p>\n<h2 id=\"%e4%bb%80%e9%ba%bc%e6%98%afgraph-database%ef%bc%9f-vbjIJYfhDJ\">\u4ec0\u9ebc\u662fGraph Database\uff1f<\/h2>\n<p>Graph Database\u662f\u4e00\u7a2e\u5c08\u9580\u7528\u65bc\u5b58\u5132\u548c\u67e5\u8a62\u5716\u5f62\u7d50\u69cb\u6578\u64da\u7684\u6578\u64da\u5eab\u3002\u5b83\u4ee5\u7bc0\u9ede\uff08Node\uff09\u3001\u908a\uff08Edge\uff09\u548c\u5c6c\u6027\uff08Property\uff09\u70ba\u57fa\u672c\u5143\u7d20\uff0c\u80fd\u5920\u76f4\u89c0\u5730\u8868\u793a\u5be6\u9ad4\u53ca\u5176\u4e4b\u9593\u7684\u95dc\u4fc2\u3002\u9019\u7a2e\u6578\u64da\u5eab\u7279\u5225\u9069\u5408\u8655\u7406\u793e\u4ea4\u7db2\u7d61\u3001\u63a8\u85a6\u7cfb\u7d71\u548c\u77e5\u8b58\u5716\u8b5c\u7b49\u61c9\u7528\u5834\u666f\u3002<\/p>\n<h2 id=\"%e9%97%9c%e4%bf%82%e6%95%b8%e6%93%9a%e5%ba%ab%e7%9a%84%e5%b1%80%e9%99%90%e6%80%a7-vbjIJYfhDJ\">\u95dc\u4fc2\u6578\u64da\u5eab\u7684\u5c40\u9650\u6027<\/h2>\n<p>\u95dc\u4fc2\u6578\u64da\u5eab\u4f7f\u7528\u8868\u683c\u4f86\u5b58\u5132\u6578\u64da\uff0c\u4e26\u901a\u904e\u5916\u9375\u4f86\u5efa\u7acb\u8868\u4e4b\u9593\u7684\u95dc\u806f\u3002\u96d6\u7136\u9019\u7a2e\u7d50\u69cb\u5728\u8655\u7406\u7c21\u55ae\u67e5\u8a62\u6642\u975e\u5e38\u9ad8\u6548\uff0c\u4f46\u5728\u9762\u5c0d\u8907\u96dc\u67e5\u8a62\u6642\uff0c\u6027\u80fd\u6703\u986f\u8457\u4e0b\u964d\u3002\u4f8b\u5982\uff0c\u7576\u9700\u8981\u67e5\u8a62\u591a\u5c64\u6b21\u7684\u95dc\u806f\u6642\uff0c\u95dc\u4fc2\u6578\u64da\u5eab\u9700\u8981\u9032\u884c\u591a\u6b21\u806f\u63a5\u64cd\u4f5c\uff0c\u9019\u6703\u5c0e\u81f4\u67e5\u8a62\u901f\u5ea6\u8b8a\u6162\uff0c\u4e26\u589e\u52a0\u7cfb\u7d71\u7684\u8ca0\u64d4\u3002<\/p>\n<h2 id=\"graph-database%e7%9a%84%e5%84%aa%e5%8b%a2-vbjIJYfhDJ\">Graph Database\u7684\u512a\u52e2<\/h2>\n<ul>\n<li><strong>\u9ad8\u6548\u7684\u95dc\u806f\u67e5\u8a62\uff1a<\/strong>Graph Database\u80fd\u5920\u4ee5O(1)\u7684\u6642\u9593\u8907\u96dc\u5ea6\u67e5\u8a62\u95dc\u806f\uff0c\u9019\u4f7f\u5f97\u5b83\u5728\u8655\u7406\u8907\u96dc\u7684\u95dc\u806f\u67e5\u8a62\u6642\u8868\u73fe\u512a\u7570\u3002<\/li>\n<li><strong>\u9748\u6d3b\u7684\u6578\u64da\u6a21\u578b\uff1a<\/strong>Graph Database\u4e0d\u9700\u8981\u9810\u5148\u5b9a\u7fa9\u6578\u64da\u7d50\u69cb\uff0c\u9019\u4f7f\u5f97\u5b83\u80fd\u5920\u8f15\u9b06\u9069\u61c9\u4e0d\u65b7\u8b8a\u5316\u7684\u6578\u64da\u9700\u6c42\u3002<\/li>\n<li><strong>\u76f4\u89c0\u7684\u6578\u64da\u8868\u793a\uff1a<\/strong>\u4f7f\u7528\u5716\u5f62\u7d50\u69cb\u4f86\u8868\u793a\u6578\u64da\uff0c\u4f7f\u5f97\u6578\u64da\u4e4b\u9593\u7684\u95dc\u4fc2\u66f4\u52a0\u76f4\u89c0\uff0c\u4fbf\u65bc\u7406\u89e3\u548c\u5206\u6790\u3002<\/li>\n<\/ul>\n<h2 id=\"graph-database%e7%9a%84%e5%af%a6%e7%8f%be%e6%96%b9%e5%bc%8f-vbjIJYfhDJ\">Graph Database\u7684\u5be6\u73fe\u65b9\u5f0f<\/h2>\n<p>\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u5be6\u73feGraph Database\u7684\u529f\u80fd\uff0c\u901a\u5e38\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u5e7e\u7a2e\u65b9\u5f0f\uff1a<\/p>\n<h3 id=\"1-%e4%bd%bf%e7%94%a8%e5%9c%96%e5%bd%a2%e6%93%b4%e5%b1%95-vbjIJYfhDJ\">1. \u4f7f\u7528\u5716\u5f62\u64f4\u5c55<\/h3>\n<p>\u4e00\u4e9b\u95dc\u4fc2\u6578\u64da\u5eab\u63d0\u4f9b\u4e86\u5716\u5f62\u64f4\u5c55\u529f\u80fd\uff0c\u4f8b\u5982PostgreSQL\u7684pgRouting\u548cOracle\u7684Spatial and Graph\u3002\u9019\u4e9b\u64f4\u5c55\u5141\u8a31\u7528\u6236\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u4f7f\u7528\u5716\u5f62\u6578\u64da\u7d50\u69cb\uff0c\u4e26\u63d0\u4f9b\u76f8\u61c9\u7684\u67e5\u8a62\u8a9e\u8a00\u4f86\u9032\u884c\u5716\u5f62\u64cd\u4f5c\u3002<\/p>\n<h3 id=\"2-%e6%95%b8%e6%93%9a%e5%ba%ab%e8%81%af%e5%90%88-vbjIJYfhDJ\">2. \u6578\u64da\u5eab\u806f\u5408<\/h3>\n<p>\u5c07Graph Database\u548c\u95dc\u4fc2\u6578\u64da\u5eab\u806f\u5408\u4f7f\u7528\uff0c\u53ef\u4ee5\u5145\u5206\u767c\u63ee\u5169\u8005\u7684\u512a\u52e2\u3002\u7528\u6236\u53ef\u4ee5\u5c07\u7d50\u69cb\u5316\u6578\u64da\u5b58\u5132\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\uff0c\u800c\u5c07\u8907\u96dc\u7684\u95dc\u806f\u6578\u64da\u5b58\u5132\u5728Graph Database\u4e2d\uff0c\u901a\u904eAPI\u9032\u884c\u6578\u64da\u4ea4\u4e92\u3002<\/p>\n<h3 id=\"3-%e6%95%b8%e6%93%9a%e9%81%b7%e7%a7%bb-vbjIJYfhDJ\">3. \u6578\u64da\u9077\u79fb<\/h3>\n<p>\u5c0d\u65bc\u9700\u8981\u8f49\u578b\u7684\u4f01\u696d\uff0c\u53ef\u4ee5\u8003\u616e\u5c07\u6578\u64da\u5f9e\u95dc\u4fc2\u6578\u64da\u5eab\u9077\u79fb\u5230Graph Database\u3002\u9019\u901a\u5e38\u9700\u8981\u4f7f\u7528ETL\uff08\u63d0\u53d6\u3001\u8f49\u63db\u3001\u52a0\u8f09\uff09\u5de5\u5177\u4f86\u5b8c\u6210\u6578\u64da\u7684\u8f49\u63db\u548c\u52a0\u8f09\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-vbjIJYfhDJ\">\u7d50\u8ad6<\/h2>\n<p>Graph Database\u5728\u8655\u7406\u8907\u96dc\u95dc\u806f\u6578\u64da\u65b9\u9762\u5c55\u73fe\u4e86\u5176\u7368\u7279\u7684\u512a\u52e2\uff0c\u5c24\u5176\u662f\u5728\u793e\u4ea4\u7db2\u7d61\u3001\u63a8\u85a6\u7cfb\u7d71\u7b49\u61c9\u7528\u4e2d\uff0c\u80fd\u5920\u63d0\u4f9b\u66f4\u9ad8\u6548\u7684\u67e5\u8a62\u6027\u80fd\u3002\u96a8\u8457\u6578\u64da\u9700\u6c42\u7684\u591a\u6a23\u5316\uff0c\u5c07Graph Database\u8207\u95dc\u4fc2\u6578\u64da\u5eab\u76f8\u7d50\u5408\uff0c\u5c07\u6210\u70ba\u672a\u4f86\u6578\u64da\u7ba1\u7406\u7684\u4e00\u500b\u91cd\u8981\u8da8\u52e2\u3002<\/p>\n<p>\u5982\u9700\u4e86\u89e3\u66f4\u591a\u6709\u95dc\u65bcVPS\u548c\u5176\u4ed6\u4f3a\u670d\u5668\u89e3\u6c7a\u65b9\u6848\u7684\u4fe1\u606f\uff0c\u8acb\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9 <a href=\"https:\/\/server.hk\">Server.HK<\/a>\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a2\u7d22Graph Database\u5728\u95dc\u4fc2\u6578\u64da\u5eab\u4e2d\u7684\u5be6\u73fe\uff0c\u6df1\u5165\u4e86\u89e3\u5176\u67b6\u69cb\u3001\u512a\u52e2\u53ca\u61c9\u7528\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-191134","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/191134","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=191134"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/191134\/revisions"}],"predecessor-version":[{"id":191135,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/191134\/revisions\/191135"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=191134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=191134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=191134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}