Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Cannot delete a database instance

Re: Cannot delete a database instance

From: Niall Litchfield <n-litchfield_at_audit-commission.gov.uk>
Date: Wed, 25 Feb 2004 14:47:01 -0000
Message-ID: <403cb566$0$10341$ed9e5944@reading.news.pipex.net>


"Edwinah63" <edwinah_at_customercare.com.au> wrote in message news:d714e824.0402242117.73dcfcb6_at_posting.google.com...
> Hi everyone,
>
> i am trying to delete a database 'Assist'. i have:
>
> * oracle 9i
> * win 2k

> what do i need to check? how can i delete this bl**dy database?

Thanks for the kind words. It is a bit invidious to name folk as there are a *lot* of helpful people here.

To delete a database on win2k you should only need to

stop the service
run oradim -delete -sid <sid>
delete all the files from disk.

You might wish first to delete the database from listener.ora and restart the listener and tnsnames.ora as well. This will stop people from connecting to the database. to delete from OEM I *think* that you have to delete the node, carry out the database delete and the deletes from the listener, and rediscover the node. I suspect that there might be an easier way, but I am not familiar with it if so. If you have jobs and events registered against targets on the node you would need to deregister them first so it does become somewhat complex getting the order right.

hope this helps

-- 
Niall Litchfield
Oracle DBA
Audit Commission UK
Received on Wed Feb 25 2004 - 08:47:01 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US