Manually uninstall Oracle Database 11gR2 using the command line

Source: Internet
Author: User

You can use the command line to manually uninstall Oracle Database 11gR2. One is to use DBCA to automatically uninstall the Oracle Database, and the other is to manually uninstall the Oracle Database using the command. The following describes the procedure of the second method: 1. log on to the database as sysdba $ sqlplus/as sysdba 2. make the database in the mount status SQL> select open_mode from v $ database; check the open_mode status. If it is not "mount", run the following command: SQL> shutdown immediate; SQL> startup mount; 3. enable restricted session mode SQL> alter system enable restricted session; 4. delete database SQL> drop database; Note: 1. the database must be closed. 2. the restricted session mode must be enabled for the database. command Line drop database will delete Oracle database files (control, redo, datafile, SPFILE) 4. archivelog and rman backup files can be deleted by running the rman command. the command line drop database does not delete any data files on raw disk. You need to manually delete 6. instance registration (/etc/oratab) needs to be manually deleted

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.