温馨提示×

oracle 数据导入导出

发布时间:2020-06-24 02:56:38 来源:网络 阅读:211 作者:001wrf 栏目:关系型数据库

I am the new of Oracle , and that i need to learn more about it . But as you know , here is the company , not the school , you just stady by yourself , and no one can help you a lots .

So that , for the work , i need to learn how to backup our databases .

Do it like that ,you want to backup all of the database files, you can do it like that :

expdp username/password schemas=XXX dumpfile=xxx.dump directory=exp_dir 

If you want to backup one time data and one table , you can add the condition to the order, for example:

expdp username/password dumpfil=XXX directory=exp_dir tables=table01 query=\""where time\<to_char\(\"2014\-10\-01\" , "yyyy\-MM\-dd"\)\""


Imput the data to the database ,


impdp username/password schemas=XXX directory=exp_dir dumpfile=XXX.dump logfile=XXX.log

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。