windows給oracle導入dmp文件


建表空間

create tablespace THAMS
logging
datafile 'D:\test2\TOOLBOX.dbf'
size 700m
autoextend on
next 32m maxsize unlimited
extent management local;

建目錄

create directory dump_testamber2 as '/home/oracle/amber2dmp';

建用戶

create user abc identified by 123456;

賦權限

 grant connect,resource,dba to abc;

grant dba,resource,unlimited tablespace to CWBASEYJY;

 

grant read,write on directory dump_testamber2 to abc;

    將表空間賦給用戶
           alter user MYUSER default tablespace MYTABLESPACE;

    將目錄賦給用戶
             grant read,write on directory DIRDP to MYUSER;

 

impdp thams/thams DIRECTORY=zgdir DUMPFILE=expdat.dmp full=y encryption_password=123456


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM