Oracle10g 目录$ORACLE_HOME/dbs 下有文件 hc_.dat ,用处是 ?

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/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值