Home  >  Article  >  Database  >  Delete oracle11g

Delete oracle11g

王林
王林Original
2023-05-13 13:27:37562browse

As time goes by, some old database systems will gradually disappear from computers and will be replaced by new database systems. This includes Oracle11g. Although Oracle11g was once a popular database management system, you may need some guidance regarding its uninstallation and removal. This article will provide you with detailed steps and suggestions on how to remove Oracle11g.

  1. Confirm user permissions

Before you start uninstalling and deleting Oracle11g, you need to confirm that you have sufficient user permissions. If you are a system administrator, you have sufficient permissions to complete this task. If you do not have administrator rights, you need to request the corresponding permissions from the administrator, or ask them to uninstall the software for you.

  1. Stop Oracle services

Before deleting Oracle11g, you need to stop the related Oracle services first. You can press the "Windows R" key to open the run window, enter "services.msc" and press Enter to open the Windows Service Manager. In the Service Manager, you need to find and stop Oracle-related services. Some of the main services include:

  • OracleOraDb11g_home1TNSListener;
  • OracleServiceORCL;
  • OracleOraDb11g_home1MTSRecoveryService.

Make sure that all Oracle-related services have been stopped before you can proceed with the next steps.

  1. Uninstall Oracle software

Now, you can start to uninstall Oracle11g software. You can choose to uninstall the software using Programs and Features in Control Panel, or use Oracle's uninstaller. Oracle's uninstaller can be found in the Oracle installation folder (generally, this folder is located in the C: ppOracle dmin directory). After running the uninstaller, you need to follow the prompts to uninstall and delete it.

  1. Delete Oracle-related files and directories

The uninstaller only deletes the Oracle software, but some Oracle-related files and directories still exist on your computer. In order to completely remove Oracle11g, you need to manually delete these residual files and directories. The following are some main files and directories you need to delete:

  • Oracle installation directory (generally, this directory is located in C: ppOracleproduct .2.0dbhome_1);
  • Oracle user directory (Normally, this directory is located in C: ppOracleoradata);
  • Oracle Inventory directory (Normally, this directory is located in C: Program Files (x86) OracleInventory).

Make sure you carefully delete all Oracle-related files and directories and avoid deleting other files and directories that are not related to Oracle.

  1. Modify environment variables

The computer's environment variables will be modified during the Oracle11g installation process. If you have uninstalled Oracle11g, then you need to modify these environment variables. You can find environment variables in "Advanced System Settings" in "Computer Properties". The following are the main environment variables you need to modify:

  • ORACLE_HOME;
  • ORACLE_SID;
  • PATH (need to delete C: ppOracleproduct .2.0dbhome_1 in this path ).

Make sure you modify these variables back to their original settings to avoid affecting the normal operation of other applications.

Summary

Deleting Oracle11g is not a simple task and requires careful operation. You need to confirm that you have sufficient permissions, shut down related Oracle services, uninstall Oracle11g software, manually delete related files and directories, and modify environment variables. If you have any questions or concerns about the above steps, it's best to back up your data first. At the same time, you can also seek help and advice from dedicated technical support.

The above is the detailed content of Delete oracle11g. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn