Oracle Database uninstallation steps

Source: Internet
Author: User

When using Oracle, we often encounter some problems that cause us to have to uninstall or reinstall the Oracle database. However, uninstalling the Oracle database is a headache. If it is not correctly uninstalled, it may cause you to have to reinstall the system to completely uninstall oracle. After many practices, including reinstalling the system, we can now basically complete Oracle uninstallation. We will summarize the entire uninstallation process for future reference.

1. Stop all Oracle services

2. Use the uninstall tool provided by Oracle for OracleProgramDetach

3. Modify the registry and delete registration information related to Oracle:

(1) HKEY_LOCAL_MACHINE \ SOFTWARE \ oracle

(2) The Oracle service HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services finds Oracle-related services. There may also be multiple currentcontrolsets that try to delete Oracle services under other registration items.

(3) Items starting with Oracle are found under the Oracle Event Log HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ Eventlog \ Application and deleted.

4. deleting the Oracle system directory c: \ Program Files \ oracle is automatically generated during use. Generally, Oracle is installed on the d disk, however, this directory still appears in disk C and needs to be deleted manually.

5. this step is not necessary to delete the Oracle environment variables. If the uninstall tool is successfully run in step 1, the uninstall tool will delete the relevant information in the environment variables, but to ensure correct deletion, we recommend that you check the environment variables again, mainly the PATH variable in the environment variables and remove the Oracle variable values.

6. after the system is restarted, it is very important to delete the Oracle Home Directory D:/oracle. If you delete D:/Oracle directly, an error is reported. You must restart the computer, the system automatically deletes the installation directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.