创建临时表空间:
create temporary tablespace mdm_temp
tempfile ‘/u01/app/oracle/tempspace/mdm_temp.dbf‘
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
创建表空间:
create tablespace MDM
logging
datafile ‘/u01/app/oracle/tablespace/mdm.dbf‘
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
创建用户:
create user mdm identified by mdm_cbpm_root
default tablespace mdm
temporary tablespace mdm_temp;
给用户授权:
grant connect,resource,dba to mdm;
删除用户
drop user mdm cascade;
删除表空间
drop tablespace mdm including contents and datafiles;
查询表空间名称:
Select tablespace_name from dba_tablespaces;
时间: 2024-12-22 10:57:53