Remove datafile from database
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.