[mysql] innodb_file_io_threads, innodb_read_io_threads, innodb_write_io_threads
博客首页 » mysql innodb_file_io_threads, innodb_read_io_threads, innodb_write_io_threads
发布于 20 Feb 2015 05:44标签 blog
mysql中,innodb_file_io_threads, innodb_read_io_threads, innodb_write_io_threads这三个参数是控制innodb的读写线程。
![[mysql-innodb]2-1-instance-threads-memory-files.png](http://7vzpyg.com1.z0.glb.clouddn.com/[mysql-innodb]2-1-instance-threads-memory-files.png)
http://7vzpyg.com1.z0.glb.clouddn.com/[mysql-innodb]2-1-instance-threads-memory-files.png
还可以从Debug状态下看到线程列表
![[mysql-innodb]2-2-threads-under-debug.png](http://7vzpyg.com1.z0.glb.clouddn.com/[mysql-innodb]2-2-threads-under-debug.png)
http://7vzpyg.com1.z0.glb.clouddn.com/[mysql-innodb]2-2-threads-under-debug.png
innodb除master线程外,还有insert buffer, log, read, write这4种线程,默认各有一个。
Windows下可以通过innodb_file_io_threads来管理。
在Innodb Plugin版中,改用innodb_read_io_threads, innodb_write_io_threads管理。
查询参数
show variables like 'innodb_%_io_thread';
查询线程
show engine innodb status;
本页面的文字允许在知识共享 署名-相同方式共享 3.0协议和GNU自由文档许可证下修改和再使用,仅有一个特殊要求,请用链接方式注明文章引用出处及作者。请协助维护作者合法权益。
系列文章
文章列表
- mysql innodb_file_io_threads, innodb_read_io_threads, innodb_write_io_threads
这篇文章对你有帮助吗,投个票吧?
page revision: 5, last edited: 06 Jul 2015 03:36
留下你的评论