今天发现在$ORACLE_HOME/dbs/有多了个 lk<sid>的文件,不知道这是什么?删除后又回重建,上网查了一下
这是一个内存锁定的文件,如果数据库ummound 文件锁会自动解开,但如果异常关闭数据库文件未解开,再重启时就会报
ORA-01102: cannot mount database in EXCLUSIVE mode异常,这时需要手动删除该文件
When a database starts, one of the background processes locks the file (creating it first if necessary). An attempt to start up the database again will fail because the old background process holds the lock, preventing the new background process from getting it.
[oracle@orazhang dbs]$ ls
ab_+ASM.dat hc_+ASM.dat init+ASM.ora init.ora lk+ASM orapw+ASM reorg21.sql snapcf_orcl.f spfileorcl.ora
alert_orcl.log hc_orcl.dat initdw.ora initorcl.ora lkORCL orapworcl run_grant.sql spfile+ASM.ora
这是一个内存锁定的文件,如果数据库ummound 文件锁会自动解开,但如果异常关闭数据库文件未解开,再重启时就会报
ORA-01102: cannot mount database in EXCLUSIVE mode异常,这时需要手动删除该文件
When a database starts, one of the background processes locks the file (creating it first if necessary). An attempt to start up the database again will fail because the old background process holds the lock, preventing the new background process from getting it.
[oracle@orazhang dbs]$ ls
ab_+ASM.dat hc_+ASM.dat init+ASM.ora init.ora lk+ASM orapw+ASM reorg21.sql snapcf_orcl.f spfileorcl.ora
alert_orcl.log hc_orcl.dat initdw.ora initorcl.ora lkORCL orapworcl run_grant.sql spfile+ASM.ora
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




