Oracle Data Dump 내 보 내기 - 빠 르 고 강력 합 니 다.

922 단어 Oaclesql


---     ,     
CREATE DIRECTORY datadir1 AS '/opt/oracle/wkdir';

---                ,
SQL> ! mkdir -p /opt/oracle/wkdir

---   

GRANT READ,WRITE ON DIRECTORY datadir1 TO db_user;

---   

expdp db_user/db_passwd@dbName SCHEMAS=db_user  parallel=4 DUMPFILE=datadir1:schema1%U.dmp LOGFILE=datadir1:expschema.log

---   

impdp db_user/db_passwd@dbName SCHEMAS=db_user  parallel=4 DUMPFILE=datadir1:schema1%U.dmp EXCLUDE=constraint, ref_constraint, index,materialized_view TABLE_EXISTS_ACTION=replace logfile=datadir1:impschema.log

---           
expdp clearspace/XSJpa4TdQn2RJBL@bocc SCHEMAS=clearspace DUMPFILE=datadir1:schema1%U.dmp  parallel=4  LOGFILE=datadir1:expschema.log  EXCLUDE=TABLE:\"IN\(\'table1\',\'table2\'\)\"



좋은 웹페이지 즐겨찾기