qinyios

建表空间

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

分类:

技术点:

相关文章:

  • 2021-07-20
  • 2022-01-28
  • 2022-01-01
  • 2021-11-23
  • 2021-12-27
  • 2022-01-08
  • 2021-05-17
  • 2021-05-25
猜你喜欢
  • 2022-01-04
  • 2021-06-13
  • 2022-02-09
  • 2021-11-29
  • 2021-10-20
  • 2021-06-29
相关资源
相似解决方案