swot

1、切换到Oracle用户

 

su - oracle

 

2、登录sys用户

sqlplus / as sysdba

3、创建表空间

#查询表空间路径
select name from V$datafile;
#查询结果如下:

 

#创建表空间

create  tablespace  AECIP_CIF  datafile \'/home/oracle/oradata/afa_aecip/AECIP_CIF.dbf \' size 50m  autoextend on next 50m maxsize 10240m extent management local;

4、创建临时表空间

create  temporary  tablespace  AECIP_CIF_temp  tempfile \'/home/oracle/oradata/afa_aecip/AECIP_CIF_temp.dbf\' size 50m  autoextend on next 50m maxsize 10240m extent management local;

5、创建用户名密码与表形成映射关系

create user AECIP_CIF identified by "aecip_cif" default tablespace  AECIP_CIF temporary tablespace  AECIP_CIF_temp;

6、进行赋权

grant connect,resource,dba to AECIP_CIF;
grant create session to AECIP_CIF;

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-10
  • 2021-11-30
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-25
  • 2021-10-12
  • 2022-12-23
  • 2021-07-25
  • 2021-07-12
  • 2022-12-23
  • 2021-08-31
相关资源
相似解决方案