标签:rom 创建 locate ora acl select ble oracle 增加
--查看表空间存放位置
select t1.name,t2.name
from v$tablespace t1,v$datafile t2
where t1.ts# = t2.ts#;
--创建表空间
create tablespace FASP
datafile ‘/oradata/ORCL/datafile/FASP.dbf‘ size 512M
autoextend on next 100M maxsize unlimited logging
extent management local autoallocate
segment space management auto;
--增加表空间
ALTER TABLESPACE FASP ADD DATAFILE ‘/oradata/ORCL/datafile/FASP01.dbf‘ SIZE 10G AUTOEXTEND OFF;
--表空间自动增长
ALTER DATABASE DATAFILE ‘/oradata/ORCL/datafile/FASP01.dbf‘ AUTOEXTEND ON NEXT 512M ;
标签:rom 创建 locate ora acl select ble oracle 增加
原文地址:https://www.cnblogs.com/bingmengzhang/p/10271907.html