{"id":92180,"date":"2024-10-19T03:27:17","date_gmt":"2024-10-18T19:27:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/92180\/"},"modified":"2024-10-19T03:27:17","modified_gmt":"2024-10-18T19:27:17","slug":"ora-39005-%e5%8f%83%e6%95%b8%e4%b8%8d%e4%b8%80%e8%87%b4-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/92180\/","title":{"rendered":"ORA-39005: \u53c3\u6578\u4e0d\u4e00\u81f4 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-39005-%e5%8f%83%e6%95%b8%e4%b8%8d%e4%b8%80%e8%87%b4-oracle-%e5%a0%b1%e9%8c%af-%e6%95%85%e9%9a%9c%e4%bf%ae%e5%be%a9-%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86-FbKJyVEyMH\">ORA-39005: \u53c3\u6578\u4e0d\u4e00\u81f4 ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406<\/h1>\n<p>\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u9032\u884c\u6578\u64da\u5c0e\u5165\u6216\u5c0e\u51fa\u6642\uff0c\u7d93\u5e38\u6703\u9047\u5230\u5404\u7a2e\u932f\u8aa4\u4ee3\u78bc\u3002\u5176\u4e2d\uff0c<strong>ORA-39005<\/strong> \u662f\u4e00\u500b\u5e38\u898b\u7684\u932f\u8aa4\uff0c\u901a\u5e38\u8868\u793a\u5728\u57f7\u884c\u6578\u64da\u6cf5\u64cd\u4f5c\u6642\u51fa\u73fe\u4e86\u53c3\u6578\u4e0d\u4e00\u81f4\u7684\u554f\u984c\u3002\u672c\u6587\u5c07\u6df1\u5165\u63a2\u8a0e\u6b64\u932f\u8aa4\u7684\u539f\u56e0\u3001\u89e3\u6c7a\u65b9\u6848\u4ee5\u53ca\u5982\u4f55\u9032\u884c\u9060\u7a0b\u8655\u7406\u3002<\/p>\n<h2 id=\"ora-39005-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-FbKJyVEyMH\">ORA-39005 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>ORA-39005 \u932f\u8aa4\u901a\u5e38\u767c\u751f\u5728\u4f7f\u7528 <code>Data Pump<\/code> \u9032\u884c\u6578\u64da\u5c0e\u5165\u6216\u5c0e\u51fa\u6642\u3002\u9019\u500b\u932f\u8aa4\u7684\u4e3b\u8981\u539f\u56e0\u5305\u62ec\uff1a<\/p>\n<ul>\n<li><strong>\u4e0d\u4e00\u81f4\u7684\u53c3\u6578\u8a2d\u7f6e\uff1a<\/strong>\u5728\u57f7\u884c <code>expdp<\/code> \u6216 <code>impdp<\/code> \u547d\u4ee4\u6642\uff0c\u6240\u4f7f\u7528\u7684\u53c3\u6578\u53ef\u80fd\u8207\u6578\u64da\u5eab\u7684\u8a2d\u7f6e\u4e0d\u4e00\u81f4\u3002\u4f8b\u5982\uff0c\u5c0e\u51fa\u6642\u6307\u5b9a\u7684\u8868\u7a7a\u9593\u8207\u5c0e\u5165\u6642\u7684\u8868\u7a7a\u9593\u4e0d\u5339\u914d\u3002<\/li>\n<li><strong>\u7248\u672c\u4e0d\u517c\u5bb9\uff1a<\/strong>\u5982\u679c\u6578\u64da\u6cf5\u7684\u7248\u672c\u8207\u6578\u64da\u5eab\u7684\u7248\u672c\u4e0d\u517c\u5bb9\uff0c\u4e5f\u53ef\u80fd\u5c0e\u81f4\u6b64\u932f\u8aa4\u3002\u78ba\u4fdd\u4f7f\u7528\u7684\u5de5\u5177\u7248\u672c\u8207\u6578\u64da\u5eab\u7248\u672c\u76f8\u7b26\u3002<\/li>\n<li><strong>\u7f3a\u5c11\u5fc5\u8981\u7684\u6b0a\u9650\uff1a<\/strong>\u57f7\u884c\u6578\u64da\u6cf5\u64cd\u4f5c\u7684\u7528\u6236\u5fc5\u9808\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u3002\u5982\u679c\u6b0a\u9650\u4e0d\u8db3\uff0c\u53ef\u80fd\u6703\u5c0e\u81f4\u53c3\u6578\u4e0d\u4e00\u81f4\u7684\u932f\u8aa4\u3002<\/li>\n<\/ul>\n<h2 id=\"%e8%a7%a3%e6%b1%ba-ora-39005-%e9%8c%af%e8%aa%a4%e7%9a%84%e6%96%b9%e6%b3%95-FbKJyVEyMH\">\u89e3\u6c7a ORA-39005 \u932f\u8aa4\u7684\u65b9\u6cd5<\/h2>\n<p>\u8981\u4fee\u5fa9 ORA-39005 \u932f\u8aa4\uff0c\u53ef\u4ee5\u63a1\u53d6\u4ee5\u4e0b\u5e7e\u500b\u6b65\u9a5f\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e5%8f%83%e6%95%b8%e8%a8%ad%e7%bd%ae-FbKJyVEyMH\">1. \u6aa2\u67e5\u53c3\u6578\u8a2d\u7f6e<\/h3>\n<p>\u9996\u5148\uff0c\u6aa2\u67e5\u5728\u57f7\u884c <code>expdp<\/code> \u6216 <code>impdp<\/code> \u6642\u6240\u4f7f\u7528\u7684\u6240\u6709\u53c3\u6578\u3002\u78ba\u4fdd\u6240\u6709\u53c3\u6578\u7684\u8a2d\u7f6e\u90fd\u662f\u4e00\u81f4\u7684\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code>expdp user\/password DIRECTORY=dpump_dir DUMPFILE=mydump.dmp LOGFILE=mydump.log TABLES=mytable<\/code><\/pre>\n<pre><code>impdp user\/password DIRECTORY=dpump_dir DUMPFILE=mydump.dmp LOGFILE=mydump.log TABLES=mytable<\/code><\/pre>\n<h3 id=\"2-%e7%a2%ba%e8%aa%8d%e7%89%88%e6%9c%ac%e5%85%bc%e5%ae%b9%e6%80%a7-FbKJyVEyMH\">2. \u78ba\u8a8d\u7248\u672c\u517c\u5bb9\u6027<\/h3>\n<p>\u6aa2\u67e5 Oracle \u6578\u64da\u5eab\u7684\u7248\u672c\u548c\u6578\u64da\u6cf5\u5de5\u5177\u7684\u7248\u672c\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u67e5\u770b\u6578\u64da\u5eab\u7248\u672c\uff1a<\/p>\n<pre><code>SELECT * FROM v$version;<\/code><\/pre>\n<p>\u78ba\u4fdd\u6578\u64da\u6cf5\u5de5\u5177\u7684\u7248\u672c\u8207\u6578\u64da\u5eab\u7248\u672c\u76f8\u7b26\uff0c\u5fc5\u8981\u6642\u9032\u884c\u5347\u7d1a\u6216\u964d\u7d1a\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e7%94%a8%e6%88%b6%e6%ac%8a%e9%99%90-FbKJyVEyMH\">3. \u6aa2\u67e5\u7528\u6236\u6b0a\u9650<\/h3>\n<p>\u78ba\u4fdd\u57f7\u884c\u6578\u64da\u6cf5\u64cd\u4f5c\u7684\u7528\u6236\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6aa2\u67e5\u7528\u6236\u7684\u6b0a\u9650\uff1a<\/p>\n<pre><code>SELECT * FROM user_sys_privs;<\/code><\/pre>\n<p>\u5982\u679c\u6b0a\u9650\u4e0d\u8db3\uff0c\u8acb\u806f\u7e6b\u6578\u64da\u5eab\u7ba1\u7406\u54e1\u9032\u884c\u6388\u6b0a\u3002<\/p>\n<h2 id=\"%e9%81%a0%e7%a8%8b%e8%99%95%e7%90%86-ora-39005-%e9%8c%af%e8%aa%a4-FbKJyVEyMH\">\u9060\u7a0b\u8655\u7406 ORA-39005 \u932f\u8aa4<\/h2>\n<p>\u5728\u67d0\u4e9b\u60c5\u6cc1\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u9032\u884c\u9060\u7a0b\u8655\u7406\u4f86\u89e3\u6c7a ORA-39005 \u932f\u8aa4\u3002\u9019\u53ef\u4ee5\u901a\u904e\u4ee5\u4e0b\u6b65\u9a5f\u5be6\u73fe\uff1a<\/p>\n<ul>\n<li><strong>\u4f7f\u7528\u9060\u7a0b\u684c\u9762\u5de5\u5177\uff1a<\/strong>\u53ef\u4ee5\u4f7f\u7528\u5982 <code>SSH<\/code> \u6216 <code>RDP<\/code> \u7b49\u5de5\u5177\u9060\u7a0b\u9023\u63a5\u5230\u6578\u64da\u5eab\u6240\u5728\u7684\u4f3a\u670d\u5668\uff0c\u9032\u884c\u5fc5\u8981\u7684\u6aa2\u67e5\u548c\u4fee\u5fa9\u3002<\/li>\n<li><strong>\u9060\u7a0b\u65e5\u8a8c\u6aa2\u67e5\uff1a<\/strong>\u6aa2\u67e5\u6578\u64da\u6cf5\u7684\u65e5\u8a8c\u6587\u4ef6\uff0c\u9019\u4e9b\u65e5\u8a8c\u6587\u4ef6\u901a\u5e38\u6703\u63d0\u4f9b\u66f4\u8a73\u7d30\u7684\u932f\u8aa4\u4fe1\u606f\uff0c\u5e6b\u52a9\u5b9a\u4f4d\u554f\u984c\u3002<\/li>\n<li><strong>\u9060\u7a0b\u57f7\u884c SQL \u547d\u4ee4\uff1a<\/strong>\u5728\u9060\u7a0b\u9023\u63a5\u5f8c\uff0c\u53ef\u4ee5\u76f4\u63a5\u57f7\u884c SQL \u547d\u4ee4\u4f86\u6aa2\u67e5\u6578\u64da\u5eab\u72c0\u614b\u548c\u7528\u6236\u6b0a\u9650\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-FbKJyVEyMH\">\u7e3d\u7d50<\/h2>\n<p>ORA-39005 \u932f\u8aa4\u901a\u5e38\u662f\u7531\u65bc\u53c3\u6578\u4e0d\u4e00\u81f4\u3001\u7248\u672c\u4e0d\u517c\u5bb9\u6216\u6b0a\u9650\u4e0d\u8db3\u5f15\u8d77\u7684\u3002\u901a\u904e\u6aa2\u67e5\u53c3\u6578\u8a2d\u7f6e\u3001\u78ba\u8a8d\u7248\u672c\u517c\u5bb9\u6027\u4ee5\u53ca\u6aa2\u67e5\u7528\u6236\u6b0a\u9650\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u89e3\u6c7a\u6b64\u554f\u984c\u3002\u5728\u9700\u8981\u6642\uff0c\u9060\u7a0b\u8655\u7406\u4e5f\u80fd\u5e6b\u52a9\u5feb\u901f\u5b9a\u4f4d\u548c\u4fee\u5fa9\u932f\u8aa4\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5728\u5c0b\u627e\u9ad8\u6548\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u89e3\u6c7a\u65b9\u6848\uff0cServer.HK \u63d0\u4f9b\u591a\u7a2e\u9078\u64c7\uff0c\u6eff\u8db3\u4e0d\u540c\u9700\u6c42\u7684\u5ba2\u6236\u3002\u7121\u8ad6\u662f\u6578\u64da\u5eab\u7ba1\u7406\u9084\u662f\u5176\u4ed6\u61c9\u7528\uff0c\u9078\u64c7\u5408\u9069\u7684 <a href=\"https:\/\/server.hk\">\u4f3a\u670d\u5668<\/a> \u5c07\u6709\u52a9\u65bc\u63d0\u5347\u60a8\u7684\u696d\u52d9\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-39005 \u932f\u8aa4\uff0c\u4e86\u89e3\u53c3\u6578\u4e0d\u4e00\u81f4\u7684\u539f\u56e0\uff0c\u638c\u63e1 ORACLE \u6545\u969c\u4fee\u5fa9\u8207\u9060\u7a0b\u8655\u7406\u6280\u5de7\uff0c\u63d0\u5347\u6578\u64da\u5eab\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-92180","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92180","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=92180"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92180\/revisions"}],"predecessor-version":[{"id":92181,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92180\/revisions\/92181"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=92180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=92180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=92180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}