Home > Database > Oracle > oracle service deletion

oracle service deletion

PHPz
Release: 2023-05-11 17:15:37
Original
780 people have browsed it

When using Oracle database, we often need to start and stop different services separately. Oracle services refer to a group of processes registered in Windows systems. These processes are responsible for processing database requests and providing database services. Sometimes, we need to delete the Oracle service, such as when we want to reinstall the Oracle database, or when migrating the database. However, deleting Oracle services is not a simple operation. In this article, we will introduce in detail how to delete Oracle services.

  1. Confirm the service name

Before deleting the Oracle service, we first need to confirm the service name of the database instance. In Windows system, open the command prompt and execute the following command:

sc query type=service state=all | find /i "Oracle"
Copy after login

This command will list all Oracle services, including service name and service status. Make sure the name of the service you want to delete is correct.

  1. Stop the service

The service must be stopped before deleting it. Open the "Service Manager", find the service you want to delete, and stop the service. Here's how:

  • Log in to your Windows computer as an administrator.
  • Open the "Service Manager", method: Win R key, enter services.msc.
  • Find the Oracle service you want to delete in the service list, right-click the service and select the "Stop" option.
  1. Uninstall the service

The installation program of the Oracle database provides a quick uninstall tool that can be used to uninstall the Oracle service. Before we begin, we need to confirm whether the tool is included in the Oracle installer.

  • Double-click to run the Oracle installer.
  • Click the "Cancel" button until the installer window closes.
  • In Windows Explorer, find the directory of the Oracle installation program, such as: D: ppOracleproduct
    .1.0dbhome_1deinstall
  • In this directory, find the file "deinstall.bat" , right-click the file and select "Run as administrator".
  1. Uninstall option

After executing the "deinstall.bat" file, a graphical interface will appear. We need to select the uninstall option and set the uninstaller to only uninstall the Oracle service. Follow the steps below:

  • Click the "Next" button.
  • Select the "Remove components from Oracle products" option.
  • Uncheck all selected components and click the "Next" button.
  • On the "Uninstalled Products" page, choose to click the "Uninstall Products" link, and then click the "Next" button.
  • On the "Select Oracle Homes" page, select the Oracle Home you want to uninstall, and then click the "Next" button.
  • On the "Cleaning Up Install Area" page, uncheck all options and click the "Next" button.
  • On the "Summary" page, click the "Uninstall" button.
  • Wait for the uninstaller to finish executing, then click the "Finish" button to close the uninstaller.

Summary:

In this article, we introduced how to delete the Oracle service. The service must be stopped before it can be removed. You can use the quick uninstall tool provided by the Oracle installer to remove it. We need to select the uninstall option and set the uninstaller to only uninstall the Oracle service. Deleting Oracle services requires caution to avoid unnecessary losses.

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template