日期:2014-05-17  浏览次数:20764 次

Oracle提示数据文件坏块。
错误信息:~Errors in file d:\oracle\product\10.2.0\admin\th\bdump\th_dbw0_3236.trc:~ORA-01157: cannot identify/lock data file 5 - see DBWR trace file~ORA-01110: data file 5: 'D:\TOOLS\ORADATA\th\th.DBF'~ORA-27086: unable to lock file - already in use~OSD-00002: 附加错误信息~O/S-Error: (OS 32) 另一个程序正在使用此文件,进程无法访问。~~ORA-1157 signalled during: alter database open...

th.dbf 大小200M。

然后我用dbv命令查看,又没有找到坏块,是不是dbv检测结果有误?



------解决方案--------------------
如果不是生产环境,可以考虑重新启动服务器。
------解决方案--------------------
有死锁了,查看一下,是什么原因造成的死锁,把死锁问题解决了,这个问题也就解决了。
查看d:\oracle\product\10.2.0\admin\jn\udump\jn_ora_960.trc这个文件,确定是什么原因造成死锁。
------解决方案--------------------
有备份吗?有备份就好办