| |
GeekInterview.com > Interview Questions > Oracle > Database Administration
| Print | |
Question: How to DROP an Oracle Database?
Answer: You can do it at the OS level by deleting all the files of the database. The files to be deleted can be found using:
1) select * from dba_data_files; 2) select * from v$logfile; 3) select * from v$controlfile; 4) archive log list 5) initSID.ora 6) In addition you can clean the UDUMP, BDUMP, scripts etc
Clean up the listener.ora and the tnsnames.ora. make sure that the oratab entry is also removed. |
| April 04, 2007 00:25:55 |
#2 |
| charles_ch27 |
Member Since: Visitor Total Comments: N/A |
RE: How to DROP an Oracle Database? |
In Oracle 10g, there is a new command to drop an entire database.
Startup restrict mount; drop database <instance_name>; |
| |
Back To Question | |