oracle10g/11g中使用impdp/expdp导入导出
我有两个数据库,一个是生产数据库,第二个是测试数据库。我想从生产数据库导出并导入到测试数据库。 我的生产数据库包含许多用户/模式,其中只有少数(<10)模式包含实际对象。 第一次,我成功地完全导出并完全导入到我的测试系统中,没有任何问题。
我们的想法是定期这样做,也许几周一次。我怎样才能完成这个过程而不再次创建一个全新的测试数据库进行重新导入?
I have two databases, one is production and second is a test. I want to export from production database and import into test database.
My production db contains many users/schema out of which only few (<10) schemas contain actual objects.
First time, i did a successful full export and full import into my test system without any problem.
The idea is to do this on a periodic basis maybe once in couple of weeks. How can i do this process without creating a whole new test database again doing the re-import??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在
impdp
中,可以选择仅使用CONTENT=DATA_ONLY
导入数据http://download.oracle.com/docs/cd /B19306_01/server.102/b14215/dp_import.htm
另请查看
TABLE_EXISTS_ACTION
(如果使用DATA_ONLY
,则已默认为APPEND
)In
impdp
there is the option to import data only usingCONTENT=DATA_ONLY
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm
Also have a look at
TABLE_EXISTS_ACTION
(which already defaults toAPPEND
if usingDATA_ONLY
)