1、創建表空間
create tablespace TEST logging datafile 'e:\app\administrator\oradata\orcl\TEST.dbf' size 100M autoextend on next 100M maxsize 4096M extent management local;2、創建用戶並指定表空間
create use testuser identified by password default tablespace TEST temporary tablespace temp;3、授權
grant connect to testuser; grant dba to testuser; grant role to testuser;