本文主要是介绍数据库掉电后 ORA-01172 磁盘坏块解决方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
由于服务器突然掉电,重启机器后发现数据库无法启动。
数据库版本 oracle10201,OS REDHAT 5.4
数据库无归档,无备份
数据库版本 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.
Connected.
SQL> select open_mode from v$database;
OPEN_MODE
----------
MOUNTED
----------
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> 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;
这篇关于数据库掉电后 ORA-01172 磁盘坏块解决方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!