Q
Problem solve Get help with specific problems with your technologies, process and projects.

Trying to remove datafiles from tablespace

Can we remove datafiles from tablespaces without droping the tablespace? I have tried to delete the file using SQL commands and OEM, but I could not.

There is no way to remove a datafile from a tablespace once it has been added. About the best you can do is to size the datafile down to a really small size.

If you truly wish to remove this datafile, your only recourse is to remove the tablespace's entire contents by moving the segments somewhere else, or exporting them. Then, drop the tablespace, recreate it without this datafile, and bring the segments back into the tablespace.

For More Information


Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close