Question: 6 Which three allocate memory per thread in MySQL? A. query cache B. thread cache C. read buffer D. internal temporary table E. sort buffer F. InnoDB buffer pool instance 答案:CDE 解析: query ca
为什么要调整innodb_buffer_pool_instances 独立管理 flush list,lru,free list;bir,比如对某些大表频繁操作导致LRU全局影响 增强并发能力,降低latch锁争用 在官方文档中有如下解释 The number of regions that the InnoDB buffer pool is divided into. For systems w
直接路径读取等待事件 这个事件DPR在10G是没有的,是11G新等待事件,目的是让全表扫描和快速索引扫描不走SGA,直接从数据文件读到PGA direct path read的优势 1、采用直接路径读取后,总能保证读取的块数是多块读参数设置的大小,提高了读取的效率 2、大大的降低了对于latch的使用,进而避免了可能导致的latch竞争(cbc latch等) 3、降低了全表扫描对buffer c
innodb_buffer_pool_size默认 128M 在线修改 SET GLOBAL innodb_buffer_pool_size=68719476736; 查看修改进度 SHOW STATUS WHERE Variable_name='InnoDB_buffer_pool_resize_status'; 缓冲池大小调整进度会记录在错误日志error.log中 2023-12-07T08