zoukankan      html  css  js  c++  java
  • 14.4.7 Configuring the Number of Background InnoDB IO Threads 配置 后台InnoDB IO Threads的数量

    14.4.7 Configuring the Number of Background InnoDB IO Threads 配置 后台InnoDB IO Threads的数量
    
    
    InnoDB 使用background thread 来服务各种类型的I/O请求。
    
    
    你可以配置 后台threads的数量 , 服务read和write I/O在数据pages上,
    
    
    使用配置参数 innodb_read_io_threads and innodb_write_io_threads. 
    
    
    那些参数表示 后台线程数量用于read和write 请求。
    
    
    
    
    这种改变的目的是 让InnoDB 更加的可扩展性在高端的系统上,
    
    
    每个后台thread 可以处理多达256个挂起的I/O 请求。
    
    一个主要的后台I/O 是预读请求。
    
    InnoDB 尝试 平衡进来的请求负载以这种方式,大多数threads 共享工作。
    
    
    InnoDB 也尝试分配读请求从相同的extent到相同的thread 来增加合并请求的机会。
    
    
    如果你有一个高端I/O子系统,你会看到多余64 × innodb_read_io_threads 
    
    待读请求 在 SHOW ENGINE INNODB STATUS, 你可以通过增加innodb_read_io_threads的值
    
    
    
    mysql> show variables like '%innodb_read_io_threads%';
    +------------------------+-------+
    | Variable_name          | Value |
    +------------------------+-------+
    | innodb_read_io_threads | 4     |
    +------------------------+-------+
    1 row in set (0.00 sec)
    

  • 相关阅读:
    centos6.5 源码安装 gtk 环境
    世界的复杂性
    将 shell 脚本打包到 rpm 包中
    使用 ipdb 调试 Python
    shell 处理 文件名本身带星号的情况
    如果可以更更完善,为什么不呢?
    比较有名的开源项目
    各种小工具合集
    各种版本对应关系
    dns相关
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350642.html
Copyright © 2011-2022 走看看