Q1: What is the $ORACLE_HOME/dbs/hc_.dat file?
Q2: What happens if the $ORACLE_HOME/dbs/hc_.dat file is deleted?
见Metalink . Doc ID: Note:390474.1
[@more@] A1: The $ORACLE_HOME/dbs/hc_.dat is created for the instance health check monitoring. It contains information used to monitor the instance health and to determine why it went down if the instance isn't up. The file will be recreated at every instance startup.A2: Per Bug 4645405 UNABLE TO START DB - ORA-7445 [KSIHSMRINI()+152] [SIGBUS], if you replace the file with an empty "dummy" copy, you will get an ORA-7445 error. Therefore, if the file gets deleted on the fly while the database is up, or if the file is replaced with a 0 byte file, simply delete the file and restart the database. The file will be correctly recreated at the next database startup.
-----------------------
http://www.freelists.org/archives/oracle-l/10-2005/msg00980.html
I think it is similar to lk file in UNIX.
This file is used to lock shared memory. The file should not be deleted
while the instance is running.
Naveen
no, it is a health check file used to check status of instance, new in 10g
---------------------------------------------------------------
[root@grid2 dbs]# strings hc_orcl.dat
DO NOT DELETE OR OVERWRITE THIS FILE!!!
orcl
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-998815/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-998815/
本文解释了Oracle数据库中hc_.dat文件的作用,它是用于实例健康检查监测的文件,在实例启动时创建并记录实例状态信息。如果该文件被删除或替换为空文件,重启数据库后系统会重新创建该文件。
4031

被折叠的 条评论
为什么被折叠?



