2022最新新闻,热狗seo外包,建设电子商务网站的目的和意义,好看的html页面模板useridtest/test --导出的用户#xff0c;本地用户!!directorydmpfile --导出的逻辑目录#xff0c;一定要在oracle中创建完成的#xff0c;并且给用户授权读写权限dumpfilexx.dmp --导出的数据文件的名称#xff0c;如果想在指定的位置的话可以写…useridtest/test --导出的用户本地用户!!directorydmpfile --导出的逻辑目录一定要在oracle中创建完成的并且给用户授权读写权限dumpfilexx.dmp --导出的数据文件的名称如果想在指定的位置的话可以写成dumpfile/home/oracle/userxx.dmplogfilexx.log --日志文件如果不写这个参数的话默认名称就是export.log可以在本地的文件夹中找到schemasuserxx --使用dblink导出的用户不是本地的用户需要加上schema来确定导出的用户类似于exp中的owner但还有一定的区别EXCLUDETABLE:IN(T1,T2,T3) --exclude 可以指定不导出的东西tableindex等后面加上不想导出的表名network_linkdb_local --这个参数是使用的dblink来远程导出需要指定dblink的名称列出一些场景1)导出用户及其对象expdp scott/tigerorcl schemasscott dumpfileexpdp.dmp directorydump_dir logfileexpdp.log;2)导出指定表expdp scott/tigerorcl tablesemp,dept dumpfileexpdp.dmp directorydump_dir logfileexpdp.log;3)按查询条件导expdp scott/tigerorcl directorydump_dir dumpfileexpdp.dmp tablesempquerywhere deptno20 logfileexpdp.log;4)按表空间导expdp system/managerorcl directorydump_dir dumpfiletablespace.dmp tablespacestemp,example logfileexpdp.log;5)导整个数据库expdp scott/123127.0.0.1/orcl directorydump_dir dumpfilely.dmp fully logfileexpdp.log;6)导入指定表impdp scott/tigerorcl directorydump_dir dumpfileexpdp.dmp table_exists_actionreplace;