How To Do Clean Up If CREATE DATABASE Failed

Q

How To Do Clean Up If CREATE DATABASE Failed? - Oracle DBA FAQ - Creating New Database Instance Manually

✍: 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.

2007-04-23, 4991👍, 0💬