ITPub博客

首页 > Linux操作系统 > Linux操作系统 > manual database deletion for oracle10g on solaris10

manual database deletion for oracle10g on solaris10

原创 Linux操作系统 作者:wisdomone1 时间:2010-01-19 12:07:08 0 删除 编辑
-bash-3.00$ export ORACLE_SID=manualdb
-bash-3.00$ sqlplus '/as sysdba'

SQL*Plus: Release 10.2.0.2.0 - Production on Tue Dec 15 10:09:56 2009

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.

Connected to an idle instance.

             mount exclusive
ORACLE instance started.

Total System Global Area  100663296 bytes
Fixed Size                  1278688 bytes
Variable Size              88083744 bytes
Database Buffers            8388608 bytes
Redo Buffers                2912256 bytes
Database mounted.
SQL> drop database;
drop database
*
ERROR at line 1:
ORA-12719: operation requires database is in RESTRICTED mode


SQL> alter system enable restricted session;

System altered.

SQL> drop database;

Database dropped.

Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> exit
-bash-3.00$ ps -ef|grep ora_
  oracle  1064  1031   0 10:11:28 pts/5       0:00 grep ora_
-bash-3.00$ ps -ef|grep oracle
  oracle  1066  1031   0 10:11:30 pts/5       0:00 grep oracle
  oracle  1031  1028   0 10:09:14 pts/5       0:00 -bash
  oracle  1065  1031   0 10:11:30 pts/5       0:00 ps -ef
-bash-3.00$ pwd
/export/home/orainstall
-bash-3.00$ ls
10202_database_solx86.zip  Desktop                    Documents                  database                   oraInventory               oracle

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9240380/viewspace-625461/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
提供针对oracle初学者及进阶的数据库培训,欢迎大家咨询: 微信: wisdomone 微信公众号: lovedb 工作经历: 中国普天 北京科蓝 北京云和恩墨 北京神州新桥

注册时间:2008-04-04

  • 博文量
    2189
  • 访问量
    12689906