Add Datafile


select FILE_NAME,TABLESPACE_NAME,bytes/1024/1024 size_MB,AUTOEXTENSIBLE
from dba_data_files where tablespace_name = '';






To add new datafile:

alter tablespace add datafile'
' size 1G autoextend on maxsize 20G;

Note: Make sure correct path is entered and the correct datafile naming convention is followed as per the existing datafiles.


To extend existing datafile size:

alter database datafile '' resize 25G;

Comments

Popular posts from this blog

Change Protection Mode for Active Dataguard (11GR2)

Reboot Exadata Machine

STEPS TO troubleshoot long running concurrent request in R12.2.x