Импорт схемы.
SQL>create tablespace xmn datafile '/oradb/zfastlob/xmn.dbf' size 6g
SQL>create user xmn_xxmn identified by xxx default tablespace xmn_xxmn temporary tablespace temp;
SQL>grant resource to xmn_xxmn;
SQL>grant connect to xmn_xxmn;
SQL>create or replace directory xmn_dir AS '/oradb/zfra/dump';
impdp sys@oradev schemas=xmn_xxmn directory='XMN_DIR' dumpfile=XMN_DUMP.DMP logfile=import.xmn.log
SQL>drop user xmn_xxmn cascade;
SQL>create tablespace xmn datafile '/oradb/zfastlob/xmn.dbf' size 6g
SQL>create user xmn_xxmn identified by xxx default tablespace xmn_xxmn temporary tablespace temp;
SQL>grant resource to xmn_xxmn;
SQL>grant connect to xmn_xxmn;
SQL>create or replace directory xmn_dir AS '/oradb/zfra/dump';
impdp sys@oradev schemas=xmn_xxmn directory='XMN_DIR' dumpfile=XMN_DUMP.DMP logfile=import.xmn.log
SQL>drop user xmn_xxmn cascade;
Комментариев нет:
Отправить комментарий