關於innodb purge thread和master thread,innodbpurge

來源:互聯網
上載者:User

關於innodb purge thread和master thread,innodbpurge

innodb_purge_threads控制purge線程數。

(>= 5.6.5)的版本中該值預設為1,最大值為32。預設值1表示innodb的purge操作被分離到purge線程中,master thread不再做purge操作。


The number of background threads devoted to the InnoDB purge operation.The new default and minimum value of 1 in MySQL 5.6.5 signifies that the purge operation is always performed by background threads, never as part of the master thread. Non-zero values runs the purge operation in one or more background threads, which can reduce internal contention within InnoDB, improving scalability. Increasing the value to greater than 1 creates that many separate purge threads, which can improve efficiency on systems where DML operations are performed on multiple tables. The maximum is 32.

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.