zoukankan      html  css  js  c++  java
  • MySQL中的后台线程

    MySQL5.7有以下9组后台线程:

    分别为1个主线程,4组IO线程,1个锁线程,1个错误线程,1个purge线程,1个page cleaner线程。

      master thread : 主要负责将脏缓存页刷新到数据文件中,执行purge操作,触发检查点,合并插入缓冲区等。

      insert buffer thread : 主要负责插入缓冲区的合并操作。

      read thread : 负责数据库的读取操作,可配置多个读线程。

      write thread : 负责数据库的写操作,可配置多个写线程。

      log thread : 用于将重做日志刷新到logfile中。

      purge thread : MySQL5.5 之后用单独的purge thread执行purge操作。

      page cleaner thread : MySQL 5.6 之后,用来执行buffer pool 中脏页的flush 操作。

      lock thread : 负责锁控制和死锁检测等。

      错误监控线程:主要负责错误监控和错误处理。

    查看:

    SHOW ENGINE INNODB STATUS

     

     

  • 相关阅读:
    列表的排序和统计。
    pyoo6 列表 004
    py005 列表 03
    py004列表02
    py 003 列表01
    py。002 字符串(str)
    py_001 运算符
    【python--字典】 字典的嵌套
    【python--字典】 字典的增删改查
    【python--字典】 字典的有效性
  • 原文地址:https://www.cnblogs.com/kate7/p/13489639.html
Copyright © 2011-2022 走看看