Guide to clean uninstallation of Oracle database: Stop Oracle service View dependencies Uninstall Oracle main program Delete Oracle Home directory Delete registry keys Delete environment variables Clear disk fragments Restart computer
Oracle Database Clean Uninstallation Guide
How to uninstall the Oracle database?
To cleanly uninstall the Oracle database, you can follow the steps below:
1. Stop all Oracle services
Run as administrator Command prompt and execute the following command:
<code>net stop "OracleServiceORCL" net stop "OracleOraDB11g_home1TNSListener"</code>
2. View dependencies
Use the Dependency Walker tool to check the dependencies of Oracle components. This will help you identify all components that need to be uninstalled.
<code>D:\>\dependwalker.exe oracle.exe</code>
3. Uninstall the Oracle main program
Uninstall the Oracle main program through the control panel or a third-party uninstall tool (such as Revo Uninstaller).
4. Delete the Oracle Home directory
Manually delete the Oracle home directory (usually located at C:\oraclexe) and any other related directories (such as C:\Program Files\ Oracle).
5. Delete registry keys
Use Registry Editor to delete the following registry keys:
6. Delete environment variables
Delete the following environment variables:
7. Clear Disk Defragmentation
Run Disk Defragmentation to clean up any fragments left behind after Oracle was uninstalled.
8. Restart the computer
Restart the computer to apply the changes and completely remove the Oracle database.
The above is the detailed content of How to uninstall the oracle database cleanly. For more information, please follow other related articles on the PHP Chinese website!