Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。
C:\Users\Administrator>sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on 星期一 5月 26 13:54:39 2014
Copyright (c) 1982, 2010, Oracle. All rights reserved.
请输入用户名: sys/****** as sysdba
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup open;
ORA-01081: 无法启动已在运行的 ORACLE - 请首先关闭它
SQL> shutdown;
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup open;
ORACLE 例程已经启动。
Total System Global Area 778387456 bytes
Fixed Size 1374808 bytes
Variable Size 503317928 bytes
Database Buffers 268435456 bytes
Redo Buffers 5259264 bytes
数据库装载完毕。
ORA-01157: 无法标识/锁定数据文件 7 - 请参阅 DBWR 跟踪文件
ORA-01110: 数据文件 7: 'F:\ORACLE\ADMINISTRATOR\ORADATA\ORCL\V3XSPACE'
SQL> alter database datafile 'f:\oracle\administrator\oradata\orcl\v3xspace' off
line drop;
数据库已更改。
SQL> alter database open;
数据库已更改。
SQL> select status from v$instance;
STATUS
------------
OPEN
SQL>