Drop/Delete an instance [message #662427] |
Mon, 01 May 2017 23:17 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/62bdd417a24324b15a73520ed300d852?s=64&d=mm&r=g) |
Gr8dba
Messages: 3 Registered: May 2017
|
Junior Member |
|
|
HI,
I am fairly new Oracle DBA and I am training to find a job.
I made a mistake while typing to create my oracle instance. I would like to drop/delete that instance but I am not able to:
I was supposed to enter:
> ORADIM -NEW -SID prod -PFILE "C:\oracle\product\11.2.0\prod\initprod.ora
instead, I typed in
> ORADIM -NEW -SID prod -PFILE "C:\oracle\product\11.2.0 by mistake i typed "enter" while aiming at the "\"
I got the message:
Instance Created.
I would like to find that instance and drop it completely and try it again.
Thanks
|
|
|
Re: Drop/Delete an instance [message #662429 is a reply to message #662427] |
Tue, 02 May 2017 00:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
John Watson
Messages: 8964 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Th oradim utility doesn't create an instance, all it does is create a Windows service. So you can remove it with the Windows registry editor. Or, if you want, you can use oradim with the -DELETE switch:
DIM-00002: The specified command was invalid.
Enter one of the following commands:
Create an instance by specifying the following options:
-NEW -SID sid | -ASMSID sid | -MGMTDBSID sid | -IOSSID sid | -APXSID sid|
-SRVC srvc | -ASMSRVC srvc | -MGMTDBSRVC srvc | -IOSSRVC srvc |
-APXSRVC srvc [-SYSPWD pass] [-STARTMODE auto|manual]
[-SRVCSTART system|demand] [-PFILE file | -SPFILE] [-MAXUSERS maxusers]
[-SHUTMODE normal|immediate|abort] [-TIMEOUT secs] [-RUNAS osusr/ospass]
Edit an instance by specifying the following options:
-EDIT -SID sid | -ASMSID sid | -MGMTDBSID sid | -IOSSID sid | -APXSID sid
[-SYSPWD pass] [-STARTMODE auto|manual] [-SRVCSTART system|demand]
[-PFILE file | -SPFILE] [-SHUTMODE normal|immediate|abort]
[-SHUTTYPE srvc|inst] [-MAXUSERS maxusers] [-RUNAS osusr/ospass]
Delete instances by specifying the following options:
-DELETE -SID sid | -ASMSID sid | -MGMTDBSID sid | -IOSSID sid |
-APXSID sid| -SRVC srvc | -ASMSRVC srvc | -MGMTDBSRVC srvc |
-IOSSRVC srvc | -APXSRVC srvc
|
|
|
|
|
Re: Drop/Delete an instance [message #666314 is a reply to message #662456] |
Fri, 27 October 2017 06:29 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
gazzag
Messages: 1119 Registered: November 2010 Location: Bedwas, UK
|
Senior Member |
|
|
Gr8dba wrote on Tue, 02 May 2017 16:41Thank you all for your help! it is very appreciated. I will try when I am off from work and provide feedback!
|
|
|