zoukankan      html  css  js  c++  java
  • 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.
  • 相关阅读:
    mangoDB
    python文档
    单例模式
    celery
    flask 部署
    json
    Docker+Jenkins+Go完成自动化部署
    Go多协程循环打印ABAC
    正则表达式
    从零开始学Go之并发(四):互斥
  • 原文地址:https://www.cnblogs.com/macleanoracle/p/2967865.html
Copyright © 2011-2022 走看看