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

Circumstances for error after removing data file and shutting down

When the database is open and I remove the data file from the operating system and then shutdown the database, it gives an error, which is correct. But when I add a data file to the database and then remove this file and then shutdown the database, it does not give the error. Can you please let me know why this is happenning?
The reason that adding the data file, removing it, and shutting down the database does not give an error is because the database does not need to update this data file header on database close. Therefore, it does not see it as missing. When you start the database, it will notice that the data file is missing and report an error back to you.
This was last published in November 2004

Dig Deeper on Oracle database backup and recovery

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.