I need to add new data file into the system tablespace because its running out of space. Are there any precautionary measures I should consider since this is a production environment?
Expanding system tablespace
oracleoracle-11g-r2tablespaces
Related Question
- What are the things need to be considered while creating tablespace
- Shrinking the SYSTEM tablespace in Oracle
- Oracle ORA-01658 Error – How to Resolve on Index Tablespace When Inserting into Empty Table
- Specificness of Tablespace – Oracle Database Internals Explained
- Oracle Tablespace Creation Error – Troubleshooting Guide
- Oracle Tablespace not using 100% of available space
Best Answer
I'm assuming you're not using
ASM
.Either set the current datafile to
AUTOEXTEND
:Or, add a new datafile:
Obviously, alter the numbers and path as needed.
Adding a datafile impacts your backups. Take a full backup immediately after adding it - this is the only thing you really have to worry about.
4Gb is HUGE for a
SYSTEM
tablespace. I'd first investigate whether there are some large objects being stored in the tablespace that shouldn't be there (DBA_EXTENTS
is your friend).Also, note that you cannot remove a datafile once it has been added to the
SYSTEM
tablespace.