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!

Remove datafile from database

cibernautaAug 20 2011 — edited Aug 22 2011
Hello all,

I have a database 11.1.0.7 where I wanted to remove a datafile. The database is in archivelog.

The first thing that I did was to make sure that no data was in the datafile. - OK
Then, since I only wanted to remove 1 week later, I put the datafile offline - OK
On the day (one week after putting it offline) that I was going to remove/drop the datafile from the tablespace I got an ORA- saying to put the datafile online before dropping.

And here is my problem! The database says that the datafile needs recover :(

Questions:
1- If the datafile was offline, why does it need recover?
2- Do you thing that the database will ask for all archivelogs until now to recover this datafile ?
3- If I dont want to apply all archivelogs, can I simply remove the datafile by recreating the controlfile without this datafile?

Thank you.
This post has been answered by Aman.... on Aug 22 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2011
Added on Aug 20 2011
6 comments
360 views