{"id":95102,"date":"2024-10-19T22:15:19","date_gmt":"2024-10-19T14:15:19","guid":{"rendered":"https:\/\/server.hk\/cnblog\/95102\/"},"modified":"2024-10-19T22:15:20","modified_gmt":"2024-10-19T14:15:20","slug":"oracle%e7%99%bc%e5%b8%83nosql%e6%95%b8%e6%93%9a%e5%ba%ab","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/95102\/","title":{"rendered":"Oracle\u767c\u5e03NoSQL\u6578\u64da\u5eab"},"content":{"rendered":"<h1 id=\"oracle%e7%99%bc%e5%b8%83nosql%e6%95%b8%e6%93%9a%e5%ba%ab-scxYLeupYx\">Oracle\u767c\u5e03NoSQL\u6578\u64da\u5eab<\/h1>\n<p>\u96a8\u8457\u6578\u64da\u91cf\u7684\u6fc0\u589e\uff0c\u50b3\u7d71\u7684\u95dc\u4fc2\u578b\u6578\u64da\u5eab\u5728\u8655\u7406\u5927\u898f\u6a21\u975e\u7d50\u69cb\u5316\u6578\u64da\u65b9\u9762\u9762\u81e8\u6311\u6230\u3002\u70ba\u4e86\u61c9\u5c0d\u9019\u4e00\u9700\u6c42\uff0cOracle\u65bc\u8fd1\u5e74\u4f86\u63a8\u51fa\u4e86\u5176NoSQL\u6578\u64da\u5eab\uff0c\u65e8\u5728\u63d0\u4f9b\u66f4\u9ad8\u7684\u9748\u6d3b\u6027\u548c\u53ef\u64f4\u5c55\u6027\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0eOracle NoSQL\u6578\u64da\u5eab\u7684\u7279\u9ede\u3001\u67b6\u69cb\u53ca\u5176\u61c9\u7528\u5834\u666f\u3002<\/p>\n<h2 id=\"oracle-nosql%e6%95%b8%e6%93%9a%e5%ba%ab%e7%9a%84%e7%89%b9%e9%bb%9e-scxYLeupYx\">Oracle NoSQL\u6578\u64da\u5eab\u7684\u7279\u9ede<\/h2>\n<ul>\n<li><strong>\u9ad8\u53ef\u64f4\u5c55\u6027\uff1a<\/strong>Oracle NoSQL\u6578\u64da\u5eab\u8a2d\u8a08\u4e0a\u652f\u6301\u6c34\u5e73\u64f4\u5c55\uff0c\u80fd\u5920\u8f15\u9b06\u5730\u6dfb\u52a0\u66f4\u591a\u7684\u7bc0\u9ede\u4ee5\u61c9\u5c0d\u4e0d\u65b7\u589e\u9577\u7684\u6578\u64da\u9700\u6c42\u3002<\/li>\n<li><strong>\u9748\u6d3b\u7684\u6578\u64da\u6a21\u578b\uff1a<\/strong>\u8a72\u6578\u64da\u5eab\u652f\u6301\u9375\u503c\u5c0d\u3001\u6587\u6a94\u548c\u5217\u65cf\u7b49\u591a\u7a2e\u6578\u64da\u6a21\u578b\uff0c\u9069\u5408\u4e0d\u540c\u985e\u578b\u7684\u61c9\u7528\u9700\u6c42\u3002<\/li>\n<li><strong>\u9ad8\u53ef\u7528\u6027\uff1a<\/strong>Oracle NoSQL\u6578\u64da\u5eab\u63d0\u4f9b\u81ea\u52d5\u6545\u969c\u8f49\u79fb\u548c\u6578\u64da\u8907\u88fd\u529f\u80fd\uff0c\u78ba\u4fdd\u7cfb\u7d71\u7684\u9ad8\u53ef\u7528\u6027\u548c\u6578\u64da\u7684\u6301\u4e45\u6027\u3002<\/li>\n<li><strong>\u4f4e\u5ef6\u9072\uff1a<\/strong>\u8a72\u6578\u64da\u5eab\u7684\u8a2d\u8a08\u65e8\u5728\u63d0\u4f9b\u5feb\u901f\u7684\u8b80\u5beb\u64cd\u4f5c\uff0c\u9069\u5408\u9700\u8981\u5be6\u6642\u6578\u64da\u8655\u7406\u7684\u61c9\u7528\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%9e%b6%e6%a7%8b%e5%88%86%e6%9e%90-scxYLeupYx\">\u67b6\u69cb\u5206\u6790<\/h2>\n<p>Oracle NoSQL\u6578\u64da\u5eab\u7684\u67b6\u69cb\u4e3b\u8981\u7531\u4ee5\u4e0b\u5e7e\u500b\u7d44\u4ef6\u7d44\u6210\uff1a<\/p>\n<ul>\n<li><strong>\u6578\u64da\u7bc0\u9ede\uff1a<\/strong>\u6bcf\u500b\u6578\u64da\u7bc0\u9ede\u8ca0\u8cac\u5b58\u5132\u6578\u64da\u4e26\u8655\u7406\u8acb\u6c42\u3002\u7bc0\u9ede\u4e4b\u9593\u53ef\u4ee5\u901a\u904e\u7db2\u7d61\u9032\u884c\u901a\u4fe1\u3002<\/li>\n<li><strong>\u7ba1\u7406\u7bc0\u9ede\uff1a<\/strong>\u8ca0\u8cac\u76e3\u63a7\u6574\u500b\u96c6\u7fa4\u7684\u72c0\u614b\uff0c\u4e26\u9032\u884c\u8ca0\u8f09\u5747\u8861\u548c\u6545\u969c\u6aa2\u6e2c\u3002<\/li>\n<li><strong>\u5ba2\u6236\u7aefAPI\uff1a<\/strong>\u63d0\u4f9b\u591a\u7a2e\u7de8\u7a0b\u8a9e\u8a00\u7684API\uff0c\u65b9\u4fbf\u958b\u767c\u8005\u9032\u884c\u6578\u64da\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u662f\u4e00\u500b\u7c21\u55ae\u7684Java\u4ee3\u78bc\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u4f7f\u7528Oracle NoSQL\u6578\u64da\u5eab\u9032\u884c\u57fa\u672c\u7684\u6578\u64da\u64cd\u4f5c\uff1a<\/p>\n<pre><code>\nimport oracle.kv.*;\n\npublic class NoSQLExample {\n    public static void main(String[] args) {\n        KVStore store = KVStoreFactory.getStore(\"myStore\");\n        \n        \/\/ \u63d2\u5165\u6578\u64da\n        Key key = Key.createKey(\"myKey\");\n        Value value = Value.createValue(\"myValue\".getBytes());\n        store.put(key, value);\n        \n        \/\/ \u7372\u53d6\u6578\u64da\n        Value retrievedValue = store.get(key).getValue();\n        System.out.println(\"Retrieved Value: \" + new String(retrievedValue.getValue()));\n        \n        \/\/ \u95dc\u9589\u5b58\u5132\n        store.close();\n    }\n}\n<\/code><\/pre>\n<h2 id=\"%e6%87%89%e7%94%a8%e5%a0%b4%e6%99%af-scxYLeupYx\">\u61c9\u7528\u5834\u666f<\/h2>\n<p>Oracle NoSQL\u6578\u64da\u5eab\u9069\u7528\u65bc\u591a\u7a2e\u61c9\u7528\u5834\u666f\uff0c\u5305\u62ec\u4f46\u4e0d\u9650\u65bc\uff1a<\/p>\n<ul>\n<li><strong>\u793e\u4ea4\u5a92\u9ad4\uff1a<\/strong>\u80fd\u5920\u8655\u7406\u5927\u91cf\u7528\u6236\u751f\u6210\u7684\u5167\u5bb9\u548c\u4e92\u52d5\u6578\u64da\u3002<\/li>\n<li><strong>\u7269\u806f\u7db2\uff1a<\/strong>\u652f\u6301\u4f86\u81ea\u5404\u7a2e\u8a2d\u5099\u7684\u5be6\u6642\u6578\u64da\u6d41\u3002<\/li>\n<li><strong>\u96fb\u5b50\u5546\u52d9\uff1a<\/strong>\u80fd\u5920\u5feb\u901f\u8655\u7406\u8a02\u55ae\u548c\u7528\u6236\u884c\u70ba\u6578\u64da\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-scxYLeupYx\">\u7e3d\u7d50<\/h2>\n<p>Oracle NoSQL\u6578\u64da\u5eab\u4f5c\u70ba\u4e00\u7a2e\u65b0\u8208\u7684\u6578\u64da\u5b58\u5132\u89e3\u6c7a\u65b9\u6848\uff0c\u63d0\u4f9b\u4e86\u9ad8\u53ef\u64f4\u5c55\u6027\u3001\u9748\u6d3b\u7684\u6578\u64da\u6a21\u578b\u548c\u4f4e\u5ef6\u9072\u7684\u6578\u64da\u8655\u7406\u80fd\u529b\uff0c\u9069\u5408\u5404\u7a2e\u73fe\u4ee3\u61c9\u7528\u7684\u9700\u6c42\u3002\u96a8\u8457\u6578\u64da\u91cf\u7684\u6301\u7e8c\u589e\u9577\uff0c\u9078\u64c7\u5408\u9069\u7684\u6578\u64da\u5eab\u89e3\u6c7a\u65b9\u6848\u8b8a\u5f97\u6108\u52a0\u91cd\u8981\u3002\u5c0d\u65bc\u9700\u8981\u9ad8\u6027\u80fd\u548c\u9ad8\u53ef\u7528\u6027\u7684\u61c9\u7528\uff0cOracle NoSQL\u6578\u64da\u5eab\u7121\u7591\u662f\u4e00\u500b\u503c\u5f97\u8003\u616e\u7684\u9078\u64c7\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5c0d\u65bc<code><a href=\"https:\/\/server.hk\">VPS<\/a><\/code>\u3001<code><a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a><\/code>\u6216\u5176\u4ed6<code><a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a><\/code>\u89e3\u6c7a\u65b9\u6848\u611f\u8208\u8da3\uff0c\u6b61\u8fce\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\u4ee5\u7372\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Oracle\u767c\u5e03NoSQL\u6578\u64da\u5eab\uff0c\u63d0\u4f9b\u9ad8\u6548\u80fd\u3001\u53ef\u64f4\u5c55\u7684\u6578\u64da\u89e3\u6c7a\u65b9\u6848\uff0c\u6eff\u8db3\u73fe\u4ee3\u61c9\u7528\u9700\u6c42\uff0c\u52a9\u529b\u4f01\u696d\u6578\u64da\u7ba1\u7406\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-95102","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95102","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=95102"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95102\/revisions"}],"predecessor-version":[{"id":95103,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/95102\/revisions\/95103"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=95102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=95102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=95102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}