{"id":92186,"date":"2024-10-19T03:30:17","date_gmt":"2024-10-18T19:30:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/92186\/"},"modified":"2024-10-19T03:30:18","modified_gmt":"2024-10-18T19:30:18","slug":"ora-39015-%e4%bd%9c%e6%a5%ad%e6%9c%aa%e5%9c%a8%e9%81%8b%e8%a1%8c-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\/92186\/","title":{"rendered":"ORA-39015: \u4f5c\u696d\u672a\u5728\u904b\u884c ORACLE \u5831\u932f \u6545\u969c\u4fee\u5fa9 \u9060\u7a0b\u8655\u7406"},"content":{"rendered":"<h1 id=\"ora-39015-%e4%bd%9c%e6%a5%ad%e6%9c%aa%e5%9c%a8%e9%81%8b%e8%a1%8c-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-qEVhdDMzTP\">ORA-39015: \u4f5c\u696d\u672a\u5728\u904b\u884c 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\u53ef\u80fd\u6703\u9047\u5230\u932f\u8aa4\u4ee3\u78bc <code>ORA-39015<\/code>\uff0c\u8a72\u932f\u8aa4\u4fe1\u606f\u986f\u793a\u300c\u4f5c\u696d\u672a\u5728\u904b\u884c\u300d\u3002\u9019\u901a\u5e38\u8868\u793a\u5728\u57f7\u884c\u6578\u64da\u6cf5\u4f5c\u696d\u6642\u51fa\u73fe\u4e86\u554f\u984c\uff0c\u5c0e\u81f4\u4f5c\u696d\u7121\u6cd5\u6b63\u5e38\u904b\u884c\u3002\u672c\u6587\u5c07\u63a2\u8a0e\u6b64\u932f\u8aa4\u7684\u539f\u56e0\u53ca\u5176\u89e3\u6c7a\u65b9\u6848\uff0c\u5e6b\u52a9\u7528\u6236\u66f4\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u6392\u9664\u3002<\/p>\n<h2 id=\"ora-39015-%e9%8c%af%e8%aa%a4%e7%9a%84%e5%8e%9f%e5%9b%a0-qEVhdDMzTP\">ORA-39015 \u932f\u8aa4\u7684\u539f\u56e0<\/h2>\n<p>\u7576\u60a8\u5728 Oracle \u6578\u64da\u5eab\u4e2d\u57f7\u884c\u6578\u64da\u6cf5\u4f5c\u696d\u6642\uff0c\u53ef\u80fd\u6703\u56e0\u70ba\u4ee5\u4e0b\u5e7e\u500b\u539f\u56e0\u5c0e\u81f4 <code>ORA-39015<\/code> \u932f\u8aa4\uff1a<\/p>\n<ul>\n<li><strong>\u4f5c\u696d\u672a\u555f\u52d5\uff1a<\/strong>\u5982\u679c\u6578\u64da\u6cf5\u4f5c\u696d\u5c1a\u672a\u555f\u52d5\uff0c\u5247\u6703\u51fa\u73fe\u6b64\u932f\u8aa4\u3002\u9019\u53ef\u80fd\u662f\u56e0\u70ba\u7528\u6236\u5728\u672a\u6b63\u78ba\u555f\u52d5\u4f5c\u696d\u7684\u60c5\u6cc1\u4e0b\u5617\u8a66\u67e5\u8a62\u4f5c\u696d\u72c0\u614b\u3002<\/li>\n<li><strong>\u4f5c\u696d\u5df2\u5b8c\u6210\uff1a<\/strong>\u5982\u679c\u4f5c\u696d\u5df2\u7d93\u5b8c\u6210\u6216\u88ab\u53d6\u6d88\uff0c\u5247\u518d\u6b21\u67e5\u8a62\u4f5c\u696d\u72c0\u614b\u6642\u4e5f\u6703\u51fa\u73fe\u6b64\u932f\u8aa4\u3002<\/li>\n<li><strong>\u6b0a\u9650\u554f\u984c\uff1a<\/strong>\u7528\u6236\u53ef\u80fd\u6c92\u6709\u8db3\u5920\u7684\u6b0a\u9650\u4f86\u67e5\u770b\u6216\u7ba1\u7406\u6578\u64da\u6cf5\u4f5c\u696d\uff0c\u9019\u4e5f\u53ef\u80fd\u5c0e\u81f4\u932f\u8aa4\u3002<\/li>\n<li><strong>\u6578\u64da\u5eab\u9023\u63a5\u554f\u984c\uff1a<\/strong>\u5982\u679c\u6578\u64da\u5eab\u9023\u63a5\u4e0d\u7a69\u5b9a\u6216\u4e2d\u65b7\uff0c\u5247\u53ef\u80fd\u6703\u5c0e\u81f4\u4f5c\u696d\u7121\u6cd5\u6b63\u5e38\u904b\u884c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%95%85%e9%9a%9c%e6%8e%92%e9%99%a4%e6%ad%a5%e9%a9%9f-qEVhdDMzTP\">\u6545\u969c\u6392\u9664\u6b65\u9a5f<\/h2>\n<p>\u70ba\u4e86\u89e3\u6c7a <code>ORA-39015<\/code> \u932f\u8aa4\uff0c\u60a8\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\u6545\u969c\u6392\u9664\uff1a<\/p>\n<h3 id=\"1-%e6%aa%a2%e6%9f%a5%e4%bd%9c%e6%a5%ad%e7%8b%80%e6%85%8b-qEVhdDMzTP\">1. \u6aa2\u67e5\u4f5c\u696d\u72c0\u614b<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u6aa2\u67e5\u6578\u64da\u6cf5\u4f5c\u696d\u7684\u72c0\u614b\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b SQL \u67e5\u8a62\u4f86\u67e5\u770b\u7576\u524d\u7684\u4f5c\u696d\u72c0\u614b\uff1a<\/p>\n<pre><code>SELECT job_name, state, operation, job_mode\nFROM dba_datapump_jobs;<\/code><\/pre>\n<p>\u9019\u5c07\u986f\u793a\u6240\u6709\u6578\u64da\u6cf5\u4f5c\u696d\u7684\u72c0\u614b\u3002\u5982\u679c\u4f5c\u696d\u672a\u555f\u52d5\u6216\u5df2\u5b8c\u6210\uff0c\u60a8\u9700\u8981\u6839\u64da\u60c5\u6cc1\u9032\u884c\u76f8\u61c9\u7684\u8655\u7406\u3002<\/p>\n<h3 id=\"2-%e9%87%8d%e6%96%b0%e5%95%9f%e5%8b%95%e4%bd%9c%e6%a5%ad-qEVhdDMzTP\">2. \u91cd\u65b0\u555f\u52d5\u4f5c\u696d<\/h3>\n<p>\u5982\u679c\u4f5c\u696d\u672a\u555f\u52d5\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u555f\u52d5\u4f5c\u696d\uff1a<\/p>\n<pre><code>EXEC DBMS_DATAPUMP.START_JOB('your_job_name');<\/code><\/pre>\n<p>\u78ba\u4fdd\u5c07 <code>your_job_name<\/code> \u66ff\u63db\u70ba\u5be6\u969b\u7684\u4f5c\u696d\u540d\u7a31\u3002<\/p>\n<h3 id=\"3-%e6%aa%a2%e6%9f%a5%e6%ac%8a%e9%99%90-qEVhdDMzTP\">3. \u6aa2\u67e5\u6b0a\u9650<\/h3>\n<p>\u78ba\u4fdd\u60a8\u64c1\u6709\u8db3\u5920\u7684\u6b0a\u9650\u4f86\u67e5\u770b\u548c\u7ba1\u7406\u6578\u64da\u6cf5\u4f5c\u696d\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u4f86\u6388\u4e88\u5fc5\u8981\u7684\u6b0a\u9650\uff1a<\/p>\n<pre><code>GRANT DATAPUMP_IMP_FULL_DATABASE TO your_user;<\/code><\/pre>\n<p>\u540c\u6a23\uff0c\u5c07 <code>your_user<\/code> \u66ff\u63db\u70ba\u5be6\u969b\u7684\u7528\u6236\u540d\u3002<\/p>\n<h3 id=\"4-%e6%aa%a2%e6%9f%a5%e6%95%b8%e6%93%9a%e5%ba%ab%e9%80%a3%e6%8e%a5-qEVhdDMzTP\">4. \u6aa2\u67e5\u6578\u64da\u5eab\u9023\u63a5<\/h3>\n<p>\u5982\u679c\u60a8\u61f7\u7591\u6578\u64da\u5eab\u9023\u63a5\u5b58\u5728\u554f\u984c\uff0c\u8acb\u6aa2\u67e5\u7db2\u7d61\u9023\u63a5\u548c\u6578\u64da\u5eab\u7684\u904b\u884c\u72c0\u614b\u3002\u78ba\u4fdd\u6578\u64da\u5eab\u670d\u52d9\u6b63\u5e38\u904b\u884c\uff0c\u4e26\u4e14\u6c92\u6709\u7db2\u7d61\u4e2d\u65b7\u3002<\/p>\n<h2 id=\"%e7%b5%90%e8%ab%96-qEVhdDMzTP\">\u7d50\u8ad6<\/h2>\n<p>\u9047\u5230 <code>ORA-39015<\/code> \u932f\u8aa4\u6642\uff0c\u901a\u904e\u6aa2\u67e5\u4f5c\u696d\u72c0\u614b\u3001\u91cd\u65b0\u555f\u52d5\u4f5c\u696d\u3001\u6aa2\u67e5\u6b0a\u9650\u4ee5\u53ca\u78ba\u8a8d\u6578\u64da\u5eab\u9023\u63a5\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u9032\u884c\u6545\u969c\u6392\u9664\u3002\u9019\u4e9b\u6b65\u9a5f\u4e0d\u50c5\u80fd\u5e6b\u52a9\u60a8\u89e3\u6c7a\u7576\u524d\u7684\u554f\u984c\uff0c\u9084\u80fd\u63d0\u9ad8\u60a8\u5728\u4f7f\u7528 Oracle \u6578\u64da\u5eab\u6642\u7684\u64cd\u4f5c\u6548\u7387\u3002<\/p>\n<p>\u5982\u9700\u9032\u4e00\u6b65\u4e86\u89e3\u6709\u95dc\u6578\u64da\u5eab\u7ba1\u7406\u548c\u6545\u969c\u6392\u9664\u7684\u8cc7\u8a0a\uff0c\u60a8\u53ef\u4ee5\u8a2a\u554f\u6211\u5011\u7684\u7db2\u7ad9\uff0c\u7372\u53d6\u66f4\u591a\u8cc7\u6e90\u548c\u652f\u6301\u3002\u7121\u8ad6\u662f <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u9084\u662f\u5176\u4ed6\u670d\u52d9\uff0c\u6211\u5011\u90fd\u81f4\u529b\u65bc\u63d0\u4f9b\u6700\u4f73\u7684\u89e3\u6c7a\u65b9\u6848\u4ee5\u6eff\u8db3\u60a8\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u89e3\u6c7a ORA-39015 \u932f\u8aa4\uff0c\u4e86\u89e3 Oracle \u4f5c\u696d\u672a\u904b\u884c\u7684\u539f\u56e0\u53ca\u9060\u7a0b\u8655\u7406\u6545\u969c\u4fee\u5fa9\u65b9\u6cd5\uff0c\u63d0\u5347\u6578\u64da\u5eab\u904b\u884c\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-92186","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92186","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=92186"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92186\/revisions"}],"predecessor-version":[{"id":92187,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/92186\/revisions\/92187"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=92186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=92186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=92186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}