时间:2021-07-01 10:21:17 帮助过:47人阅读
由于服务器突然掉电,重启机器后发现数据库无法启动。数据库版本 Oracle10201,OS REDHAT 5.4数据库无归档,无备份 [oracle@huna
由于服务器突然掉电,重启机器后发现数据库无法启动。
数据库版本 Oracle10201,,OS RedHat 5.4
数据库无归档,无备份
[oracle@hunan02 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jun 28 10:37:03 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysdba
Connected.
SQL> select open_mode from v$database;
OPEN_MODE
----------
MOUNTED
尝试打开数据库
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01172: recovery of thread 1 stuck at block 3651180 of file 8
ORA-01151: use media recovery to recover block, restore backup if needed
SQL> select file#,name from v$datafile where file#=8;
FILE#
----------
NAME
--------------------------------------------------------------------------------
8
/oradata2/users01_6.dbf
SQL> recover datafile 8; / 恢复成功
Media recovery complete.
Recover 从损坏的磁盘中恢复可读取的信息。