SQL> select * from dba_directories;
create directory dump_hisdir as ‘/rman_backup/rmanbackup/dump_hisdir/’;
grant read,write on directory dump_hisdir to system;
expdp system/password directory=dump_hisdir dumpfile=expd20210112.dmp logfile=exdp20210112 full=y
impdp SYSTEM/password@xjtj directory=‘dp_dir’ dumpfile=‘ktyymhis20211104.dmp’ FULL=y ignore=y
CREATE TABLESPACE TSP_CPR
DATAFILE ‘D:\app\Administrator\oradata\TEST2\apcpr.dbf’ SIZE 10130M REUSE AUTOEXTEND ON NEXT 5M MAXSIZE UNLIMITED
LOGGING
ONLINE
BLOCKSIZE 8K
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
SEGMENT SPACE MANAGEMENT AUTO;
–16