标签:11g 空间 test wfs nis 数据库 app taf size
//创建数据表空间
create tablespace APPDATA
logging
datafile ‘F:\app\Administrator\oradata\orcl\APPDATA.DBF‘
size 1024m
autoextend on
next 100m maxsize 2048m
extent management local;
//创建用户并指定表空间
create user wfsfj identified by wfsfj
default tablespace appdata
temporary tablespace temp;
//给用户授予权限
grant dba,connect,resource to wfsfj;
//以后以该用户登录,创建的任何数据库对象都属于test_temp 和test_data表空间,这就不用在每创建一个对象给其指定表空间了。
create tablespace sfjoa
logging
datafile ‘E:\oradata\orcl\sfjoa.dbf‘
size 2048m
autoextend on
next 100m maxsize 20480m
extent management local;
create user sfjoa identified by sfjoa
default tablespace sfjoa
temporary tablespace temp;
grant dba,connect,resource to sfjoa;
标签:11g 空间 test wfs nis 数据库 app taf size
原文地址:http://www.cnblogs.com/wqb2016/p/6512285.html