- ‘cursor: mutex X’ , 某个进程申请以EXCL mode持有mutex时进入该等待, 该Mutex要么正被其他进程以SHRD模式参考,这导致X mode的申请必须要等待直到Ref count=0, 或者该mutex正被另一个进程以X mode持有。
- 相关操作要求以EXCL X mode持有Mutex的:
- 在一个父游标下创建一个新的子游标
- 捕获SQL中的绑定变量
- 更新或构件SQL统计信息V$SQLSTATS
如果自己搞不定可以找诗檀软件专业ORACLE数据库优化团队成员帮您调优!
诗檀软件专业数据库优化团队
服务热线 : 13764045638 QQ号:47079569 邮箱:service@parnassusdata.com
Cursor: Mutex X- Building a new cursor under a parent
- Although this operation is cheaper, building many cursors under a parent cursor is not recommended.
- Capture SQL bind data
- Build or Update statistics blocks
- Mutex is in the parent cursor.