1、创建临时表空间
create temporary tablespace storage_temp
tempfile 'F:\app\nstlserver\oradata\nstldb\storage_temp.dbf'
size 500M
autoextend on
next 500m maxsize 20480m
extent management local;
2、创建数据表空间
create tablespace storage_data
logging
datafile
'F:\app\nstlserver\oradata\nstldb\storage_data.dbf'
size 2048M
autoextend on
next 2048m maxsize 20480m
extent management local;
3、创建用户
create user username identified by password
default tablespace storage_data
temporary tablespace storage_temp;
4、权限赋值
grant connect,resource,dba to username;
dba最好不要轻易赋值