oracle 表空间创建
作者:互联网
Oracle表空间:
查看表空间路径:select * from dba_data_files
/*分为四步 */
/*第1步:创建临时表空间 */
create temporary tablespace u1_temp
tempfile 'C:\APP\ORACLE\ORADATA\ORCL\u1_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*第2步:创建数据表空间 */
create tablespace u1_data
logging
datafile 'C:\APP\ORACLE\ORADATA\ORCL\u1_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
/*第3步:创建用户并指定表空间 */
create user u1 identified by password
default tablespace u1_data
temporary tablespace u1_temp;
/*第4步:给用户授予权限 */
grant connect,resource,dba to u1
修改用户密码:
create user u1 identified by a123456;
标签:50m,temp,创建,create,u1,空间,tablespace,oracle,data 来源: https://blog.csdn.net/weixin_40329707/article/details/98875160