1、创建表空间
create tablespace 表空间名称 datafile '/oradata/PFNEW/ETL.DBF' size 1024M autoextend on next 64M permanent online;
--查看数据文件
select * from dba_data_files;
--增加数据文件
--ALTER TABLESPACE "USERS" ADD DATAFILE '/oradata/PFWDNEW/datafile/USER10.DBF' SIZE 30G AUTOEXTEND ON NEXT 1000M MAXSIZE UNLIMITED;
2、创建用户
create user 用户名 identified by 密码 default tablespace 表空间;
3、授权
grant connect,resource,unlimited tablespace to 用户名;