标签:
The mutex feature is a mechanism to control access to in memory structures. It is used in a number of areas including the library cache.
The library cache is a memory area that holds parsed cursor structures needed to execute SQL.
Waits for ‘library cache: mutex X‘ are similar to a library cache waits in earlier versions. ‘library cache: mutex X‘ may be caused by many issues (including application issues, lack of sharing resulting in high version counts etc.) but essentially something is holding the mutex for "too long" such that other session have to wait for the resource. If there is contention on the latches/mutexes that protect the library cache structures this means that there is stress on the parsing system. Parsing of SQL takes longer because it cannot get the resources they need. This delays other operations and generally slows the system.
Because of the varied causes, it is important to find the correct cause; so that the right solution can be implemented.
Troubleshooting 'library cache: mutex X' Waits.
标签:
原文地址:http://www.cnblogs.com/future2012lg/p/4437572.html