Clean Up When CREATE DATABASE Failed in Oracle

Q

How To Do Clean Up If CREATE DATABASE Failed in Oracle?

✍: FYIcenter.com

A

To better organize data files, you should create a dedicated directory for each Oracle database. This can be done by using Windows file explorer to create the \oraclexe\oradata\fyi\ directory. Try the CREATE DATABASE statement again, when you have the directory ready.

If your CREATE DATABASE statement failed half way again, you may have to clean up the partial result of the CREATE DATABASE statement. Here is a list of suggestions for you:

  • Run SHUTDOWN command to stop the partial started database instance.
  • Remove all files in FYI directory: \oraclexe\oradata\fyi\
  • Run STARTUP NOMOUNT PFILE command to start the empty instance again to be ready for CREATE DATABASE statement.

 

Creating New Database Instance Manually

⇒⇒Oracle Database Tutorials

2016-10-16, 229👍, 0💬