cache buffers LRU chain latch等待事件

简介:
This latch is needed when user processes try to scan the LRU (least recently used) chain containing blocks in the buffer cache. This latch must be acquired before the block can be inserted into (when the block is read in from the disk) or taken out of the LRU chain (when the block is written down to the disk).  

Solutions

  • Consider implementing multiple buffer pools to reduce contention on this latch.
  • Increase the number of LRU latches with the parameter DB_BLOCK_LRU_LATCHES. Generally the default value works.
  • Reduce data blocks visited by a query and thereby reduce LRU latch requests in the buffer pool by tuning the SQL.

本文转自maclean_007 51CTO博客,原文链接:http://blog.51cto.com/maclean/1277884
相关文章
|
SQL 索引 关系型数据库
生产 latch: cache buffers chains等待事件分析
生产 latch: cache buffers chains等待事件分析 一,表面现象:某库CPU冲高,大量latch: cache buffers chains等待事件。
1127 0
|
数据库管理 关系型数据库 Oracle
|
SQL 关系型数据库 Oracle
|
SQL 关系型数据库 测试技术
缓解latch: cache buffers chains的案例
这两天我们的一个核心系统U*S,正在做压力测试,虽然压测的服务器配置不如生产,但可以反映出一些问题,初始测试的TPS可以说非常低,据测试同事反映,压测一会,数据库服务器CPU就上来了,业务上有积报现象,找不着原因。
1798 0