当前位置:网站首页>MySQL中innodb_page_cleaners详解
MySQL中innodb_page_cleaners详解
2022-06-29 09:26:00 【一缕阳光a】
innodb_page_cleaners是MySQL中的刷脏线程个数,它的值等于innodb_buffer_pool_instances的值,如果innodb_page_cleaners的值大于innodb_buffer_pool_instances的值,那么自动的将innodb_page_cleaners调整为与innodb_buffer_pool_instances的值相同,其他情况不做调整。
默认值都是1,如下图:
[test]> select @@innodb_page_cleaners;
+------------------------+
| @@innodb_page_cleaners |
+------------------------+
| 1 |
+------------------------+
[test]> select @@innodb_buffer_pool_instances;
+--------------------------------+
| @@innodb_buffer_pool_instances |
+--------------------------------+
| 1 |
+--------------------------------+
innodb_page_cleaners是由一个协调线程+一个或多个task线程组成的。如果innodb_page_cleaners=1,那么它本身就是协调线程,又是工作线程。
innodb_buffer_pool_instances的值默认是1。innodb_buffer_pool_instances指的是将innodb buffer pool划分为多少个区域,区域的数量就是innodb_buffer_pool_instances的值。目的是为了便于管理减少锁的粒度,提高并发性。
如有错误,联系本人请发邮件:[email protected]
边栏推荐
- 1147 heaps (30 points)
- Function pointer, function pointer array, calculator + transfer table, etc
- 使用Rancher搭建Kubernetes集群
- 520 diamond Championship 2021
- 2019.11.3 learning summary
- Setinterval, setTimeout and requestanimationframe
- 2019icpc上海区域赛赛后总结
- HDU 4578 Transformation(线段树+有技巧的懒标记下放)
- 2019-11-10 training summary
- URAL1517 Freedom of Choice 【后缀数组:最长公共连续子串】
猜你喜欢

JVM method return address

Nacos环境隔离

弧形 View 和弧形 ViewPager

Use of Azkaban in task scheduler

這個開源項目超哇塞,手寫照片在線生成

Beautiful ruins around Kiev -- a safe guide to Chernobyl!

Container of the basic component of the flutter

Codeforces Round #659 (Div. 2)

Flutter 基础组件之 Text

Pipeline details of IPC (interprocess communication)
随机推荐
Memory layout of JVM objects
Alternative implementation of Scrollview pull-down header amplification
The stones game
HDU 4578 transformation (segment tree + skillful lazy tag placement)
EDA and VHDL question bank
To 3 -- the last programming challenge
Codeforces Round #657 Div. 2
PGP在加密技术中的应用
JNI. H description
自定义控件之侧滑关闭 Activity 控件
L2-031 go deep into the tiger's den (25 points)
2019.10.6 training summary
2019.10.23 training summary
云主机端口扫描
两个栈的模拟题
Maze walking BFS medium + -- the last programming challenge
The collapsing "2.3 * 10 = 22" produced by multiplying float and int
L1-009 N个数求和 (20 分)
2019.11.13训练总结
SymPy Tutorial(译)