--查询表空间位置:
select * from sys.dba_data_files;
create tablespace NEW_TABLESPACENAME datafile 'D:/app/Administrator/oradata/orcl/NEW_TABLESPACENAME'
size 1M autoextend on next 50M maxsize unlimited;
--创建用户
create user NEW_USERNAME identified by "NEW_PASSWORD" default tablespace NEW_TABLESPACENAME
profile DEFAULT ACCOUNT UNLOCK;
--给用户授权
grant connect to NEW_USERNAME;
grant dba to NEW_USERNAME;
grant unlimited tablespace to NEW_USERNAME;