标题: 会导致library cache latch占用高产生的一些原因 [打印本页] 作者: 刘泽宇 时间: 2020-11-6 18:28 标题: 会导致library cache latch占用高产生的一些原因 在AWR报告中遇到了latch:library cache占用I/O高的情况,所以去了解了一下引起这参数占用高的原因
The library cache latches protect the cached SQL statements and objects' definitions held in the library cache within the shared pool. The library cache latch must be acquired in order to add a new statement to the library cache. During a parse, Oracle searches the library cache for a matching statement.
If one is not found, then Oracle will parse the SQL statement, obtain the library cache latch and insert the new SQL