注册账号 登录
用友之家-用友软件论坛 返回首页

Kevin.W的个人空间 https://www.oyonyou.com/?318544 [收藏] [复制] [分享] [RSS]

日志

DB 5. 在停止ORCL服务删除表空间导致数据库无法启动的解决方案

已有 669 次阅读2014-5-26 14:09 |个人分类:Oracle| 解决方案, 数据库, 空间

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>

路过

雷人

握手

鲜花

鸡蛋

评论 (0 个评论)

facelist

您需要登录后才可以评论 登录 | 注册账号

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-6-3 04:10 , Processed in 0.022647 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

返回顶部