Teach you to simply uninstall Oracle

  

We sometimes install one or more databases because of the need of work, and now we want to delete it, fearing that it will bring about any bad consequences if you delete it improperly. In fact, if you are careful If you have one point, there will be no sequelae. Let me introduce you to the following methods.

Note: Always make a backup of Oracle

1. Delete the database with DBCA

Start DBCA, select “delete database” then follow the prompts step by step until At last. At this time, a dialog box will pop up "The database is deleted, whether to perform other operations", select "No", no other operations. At this point, the database has been deleted.

2. Stop all Oracle services

Open the Start menu, right-click "Computer", select "Manage", find "Services", double-click to open, find all Start with “Oracle/ORA”, right click and select “stop”.

3. Deleting Oracle components with Oracle Universal Installer

Start the Oracle Universal Installer, select the products to be uninstalled, click Delete, and confirm that click ““ Close” after uninstallation is complete. >

4. Manually delete the Oracle-related content in the registry

1.Win+R Go to the run, enter regedit into the registry, ctrl+F find the value of inst_locr, and write down.

2. Again ctrl+F find the values ​​starting with ora/Oracle/ord/EnumOra and remove them from the registry.

5. Delete Oracle-related environment variables

1. Right-click "Computer", select "Attributes", select "Advanced System Settings", select “ Advanced & rdquo;, click & ldquo; environment variables & rdquo; enter the environment variable settings.

2. Modify PATH, delete the path related to Oracle and CLASSPATH.

3. Delete environment variables: Oracle_HOME, Oracle_SID, TNS_ADMIN, JSERV, WV, GATEWAY_CFG

Copyright © Windows knowledge All Rights Reserved