Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Tablespace short of space. Would you add datafile or set the maxsize limit to UNLIMITED ?

Y.RamletMay 28 2021 — edited May 28 2021

DB version : 19c 
OS : RHEL 7.x

The tablespace shown in below picture is at 86% utilization. So, I need to add space to this tablespace.

To do this, I have 2 options

Option1)
should I set the Max size to Unlimited so that some of the files shown below can grow to 32 GB using

ALTER DATABASE DATAFILE '/oradbs/wmos/dbf01/DB_WMOS/datafile/o1_mf_ts_kkms__8y7sxdwx_.dbf' AUTOEXTEND ON MAXSIZE UNLIMITED;

Option2)
or just add a datafile to the tablespace as shown below ?
ALTER TABLESPACE TS_KKMS_CLM_DAT_01 ADD DATAFILE SIZE 10g AUTOEXTEND ON MAXSIZE unlimited ;

Which option would you go for ?

post.PNG

Comments
Post Details
Added on May 28 2021
1 comment
2,077 views