Add/Drop/Alter datafile
-- Add a datafile to a tablespace
oracle configurationintermediate
by OracleDba
12 views
-- Add a datafile to a tablespace
123456
Alter tablespace USERS add datafile '/u01/data/users02.dbf' size 5G;
Alter database datafile '/u01/data/users02.dbf' autoextend on;
alter database datafile '/u01/data/users02.dbf' resize 10G;
Alter database datafile '/u01/data/users02.dbf' offline;
Alter database datafile '/u01/data/users02.dbf' online;
Alter tablespace USERS drop datafile '/u01/data/users02.dbf';Please to add comments
No comments yet. Be the first to comment!