How to delete a database in Oracle 11 without using DBCA

Source: Internet
Author: User

1-The SID of the imported database, if not defined
Export Oracle_sid=database
2-Connect to the database with operating system authentication
[Email protected] ~]$ sqlplus/as sysdbasql*plus:release 11.2.0.1.0 Production on Mon Dec 1 17:38:02 2014Copyright (c) 1982, Oracle. All rights reserved. Connected to an idle instance.
3-Starting the DB instance
Sql> Startuporacle instance started.  Total System Global area 3340451840 bytesfixed size 2217952 bytesvariable size 1828718624 bytesdatabase buffers 1493172224 Bytesredo buffers 16343040 bytesdatabase mounted. Database opened.
4-Close the database
sql> shutdown immediate;database closed. Database dismounted. ORACLE instance shut down.
5-Start Exclusive mode
Sql> Startup Mount Exclusive Restrictoracle instance started.  Total System Global area 3340451840 bytesfixed size 2217952 bytesvariable size 1828718624 bytesdatabase buffers 1493172224 Bytesredo buffers 16343040 bytesdatabase mounted.
6-Deleting a database
Sql> Drop Database;<br>database dropped.  Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit productionwith The partitioning, OLAP, Data Mining and Real application testing options

Complete!

How to delete a database in Oracle 11 without using DBCA

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.