{"id":1346,"date":"2016-07-25T17:02:52","date_gmt":"2016-07-25T09:02:52","guid":{"rendered":"http:\/\/www.strongd.net\/?p=1346"},"modified":"2016-07-25T17:03:01","modified_gmt":"2016-07-25T09:03:01","slug":"oracle-expdpimpdp%e9%ab%98%e7%89%88%e6%9c%ac%e5%af%bc%e5%85%a5%e5%88%b0%e4%bd%8e%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=1346","title":{"rendered":"oracle expdp\/impdp\u9ad8\u7248\u672c\u5bfc\u5165\u5230\u4f4e\u7248\u672c"},"content":{"rendered":"<p>oracle \u5bfc\u5165\u5bfc\u51fa\u00a0 \u4f7f\u7528expdp\/impdp<br \/>\n\u6211\u7684\u7248\u672c11gR2\u00a0\u00a0 \u7248\u672c\u53f7 11.2.0.1.0\u00a0\u00a0\u00a0 \u540c\u4e8b\u7684\u662f11gr1 \u9700\u8981\u6307\u5b9a\u7248\u672c\u53f711.1.0.6.0<\/p>\n<p>\u6211\u88c5\u7684oracle\u662f11gR2\u00a0 \u540c\u4e8b\u88c5\u7684\u662f11gR1\u00a0 \u7528expdp\u5bfc\u51fa\u00a0 impdp\u5bfc\u5165\u00a0 \u63d0\u793a\u7248\u672c\u4e0d\u517c\u5bb9\u9519\u8bef<br \/>\n\u7ecf\u67e5\u770boracle\u6587\u6863\u00a0 \u770b\u5230\u4e86 \u8fd9\u4e2a\u53c2\u6570version\u00a0 \u6700\u540e\u52a0oracle\u7248\u672c\u53f7 version=11.1.0.6.0\u00a0\u00a0 \u6210\u529f\u5bfc\u5165<\/p>\n<p>Sql\u4ee3\u7801<br \/>\n&#8211;\u521b\u5efadump\u6587\u4ef6\u76ee\u5f55<br \/>\ncreate directory dump_test as &#8216;D:\\test\\dump&#8217;<br \/>\n&#8211;\u6388\u6743\u8bfb\u5199\u6743\u9650\u7ed9\u4f60\u8981\u64cd\u4f5c\u7684\u7528\u6237<br \/>\ngrant read, write on directory dump_test to<br \/>\nusername<\/p>\n<p>&#8211;\u67e5\u8be2\u662f\u5426\u5b58\u5728\u81ea\u5df1\u521b\u5efa\u7684\u6587\u4ef6\u76ee\u5f55<br \/>\nselect * from dba_directories;<\/p>\n<p>select\u00a0 * from da.user_tables<\/p>\n<p>&#8211;\u6ce8\u610f\u4f4e\u7248\u672c\u662f\u4e0d\u80fd\u5bfc\u5165\u9ad8\u7248\u672c \u6bd4\u5982\u6211\u7684<a class=\"keylink\" href=\"http:\/\/www.2cto.com\/database\/\" target=\"_blank\">\u6570\u636e\u5e93<\/a>\u662f11gR2 \u5bf9\u65b9\u662f11gr1 \u9700\u8981\u6307\u5b9a\u7248\u672c\u53f711.1.0.6.0<br \/>\nexpdp username\/password directory=dump_test dumpfile=data.dmp\u00a0 version=11.1.0.6.0<br \/>\n&#8211;\u9ed8\u8ba4\u5bfc\u5728\u521a\u624d\u521b\u5efa\u7684\u76ee\u5f55 &#8216;D:\\test\\dump&#8217;<\/p>\n<p>&#8211;\u5bfc\u5165\u6587\u4ef6<br \/>\nimpdp username\/password directory=dump_test dumpfile=data.dmp<\/p>\n","protected":false},"excerpt":{"rendered":"<p>oracle \u5bfc\u5165\u5bfc\u51fa\u00a0 \u4f7f\u7528expdp\/impdp \u6211\u7684\u7248\u672c11gR2\u00a0\u00a0 \u7248\u672c\u53f7 11.2.0.1.0\u00a0\u00a0\u00a0 \u540c\u4e8b\u7684\u662f11gr1 \u9700\u8981\u6307\u5b9a\u7248\u672c\u53f711.1.0.6.0 \u6211\u88c5\u7684oracle\u662f11gR2\u00a0 \u540c\u4e8b\u88c5\u7684\u662f11gR1\u00a0 \u7528expdp\u5bfc\u51fa\u00a0 impdp\u5bfc\u5165\u00a0 \u63d0\u793a\u7248\u672c\u4e0d\u517c\u5bb9\u9519\u8bef \u7ecf\u67e5\u770boracle\u6587\u6863\u00a0 \u770b\u5230\u4e86 \u8fd9\u4e2a\u53c2\u6570version\u00a0 \u6700\u540e\u52a0oracle\u7248\u672c\u53f7 version=11.1.0.6.0\u00a0\u00a0 \u6210\u529f\u5bfc\u5165 Sql\u4ee3\u7801 &#8211;\u521b\u5efadump\u6587\u4ef6\u76ee\u5f55 create directory dump_test as &#8216;D:\\test\\dump&#8217; &#8211;\u6388\u6743\u8bfb\u5199\u6743\u9650\u7ed9\u4f60\u8981\u64cd\u4f5c\u7684\u7528\u6237 grant read, write on directory dump_test to username &#8211;\u67e5\u8be2\u662f\u5426\u5b58\u5728\u81ea\u5df1\u521b\u5efa\u7684\u6587\u4ef6\u76ee\u5f55 select * from dba_directories; select\u00a0 * from da.user_tables &#8211;\u6ce8\u610f\u4f4e\u7248\u672c\u662f\u4e0d\u80fd\u5bfc\u5165\u9ad8\u7248\u672c \u6bd4\u5982\u6211\u7684\u6570\u636e\u5e93\u662f11gR2 \u5bf9\u65b9\u662f11gr1 \u9700\u8981\u6307\u5b9a\u7248\u672c\u53f711.1.0.6.0 expdp username\/password directory=dump_test dumpfile=data.dmp\u00a0 version=11.1.0.6.0 &#8211;\u9ed8\u8ba4\u5bfc\u5728\u521a\u624d\u521b\u5efa\u7684\u76ee\u5f55 &#8216;D:\\test\\dump&#8217; &hellip; <a href=\"https:\/\/www.strongd.net\/?p=1346\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">oracle expdp\/impdp\u9ad8\u7248\u672c\u5bfc\u5165\u5230\u4f4e\u7248\u672c<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[200],"class_list":["post-1346","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-oracle"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1346"}],"version-history":[{"count":1,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1346\/revisions"}],"predecessor-version":[{"id":1347,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/1346\/revisions\/1347"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}