最近遇到案例,10.2.0.5.12下的db, alter database open resetlogs 命令一直等待,alert_sid.log 的信息为:
setting recovery target incarnation to 2
从v$session.event 得到的等待事件为enq: DM – contention
从 select KSQSTTYP,KSQSTEXPL from x$ksqst where KSQSTTYP=‘DM‘ 可以看到 对该等待事件的解释为:
Enqueue held by foreground or DBWR to syncrhonize database mount/open with other operations
resetlogs开库遇到enq: DM – contention等待事件
原文地址:http://blog.csdn.net/msdnchina/article/details/44860675