当前位置:网站首页>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]
边栏推荐
猜你喜欢

Container of the basic component of the flutter

Listview of the basic component of the shutter

Judgment of points inside and outside polygon

Codeforces Round #645 (Div. 2)

HDU 6778 Car (分组枚举-->状压 dp)

Recyclerview universal adapter package

Using rancher to build kubernetes cluster

另类实现 ScrollView 下拉头部放大

Memory layout of JVM objects

Function pointer, function pointer array, calculator + transfer table, etc
随机推荐
Ce projet Open source est super wow, des photos manuscrites sont générées en ligne
FreeRTOS (VIII) - time management
Flutter 基础组件之 Text
Codeforces Round #657 Div. 2
Application of keil5 integrated development environment for single chip microcomputer
If I were in Beijing, where would it be better to open an account? In addition, is it safe to open an account online now?
Image of the basic component of the shutter
Flutter 基础组件之 Image
Seaweedfs security configuration
1146 topological order (25 points)
L2-031 深入虎穴 (25 分)
Minorgc, majorgc, fullgc
HDU 6778 car (group enumeration -- > shape pressure DP)
Slide the custom control to close the activity control
sympy的dsolve函数
2019.10.6 training summary
Download control 1 of custom control (downloadview1)
Alternative implementation of Scrollview pull-down header amplification
Codeforces Round #641 Div2
信号作品:时变和时不变