分类: 服务器与存储
2008-06-13 13:28:52
#下载某个用户所有对象exp dbuser/oracle file=dbuser.dmp log=dbuser.log owner=dbuser buffer=4096000 feedback=10000
#下载一张或几张表exp dbuser/oracle file=dbuser.dmp log=dbuser.log tables=emp,resume buffer=4096000 feedback=10000
#下载某张表的部分数据exp dbuser/oracle file=1.dmp,2.dmp,3.dmp,… filesize=1000m tables=emp buffer=4096000 feedback=10000
#以多个固定大小文件方式下载某张表exp dbuser/oracle file=dbuser.dmp log=dbuser.log tables=emp buffer=4096000 feedback=10000 query=\"where name like \'a%\' and duty=\'1\' and age\<40\"
#直通路径方式exp dbuser/oracle file=dbuser.dmp log=dbuser.log tables=emp direct=y feedback=10000
B:上载#上载整个实例imp dbuser/oracle file=oradb.dmp log=oradb.log full=y buffer=4096000 commit=y ignore=y feedback=10000
#上载某个用户所有对象imp dbuser/oracle file=dbuser.dmp log=dbuser.log fromuser=dbuser touser=dbuser2 buffer=4096000 commit=y ignore=y feedback=10000
#上载一张或几张表imp dbuser2/oracle file=dbuser.dmp log=dbuser.log tables=emp,resume fromuser=dbuser touser=dbuser2 buffer=4096000 commit=y ignore=y feedback=10000
#以多个固定大小文件方式上载某张表imp dbuser/oracle file=\(1.dmp,2.dmp,3.dmp,…\) filesize=1000m tables=emp fromuser=dbuser touser=dbuser2 buffer=4096000 commit=y ignore=y feedback=10000