程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> 關於innodbpurgethread和masterthread

關於innodbpurgethread和masterthread

編輯:MySQL綜合教程

關於innodbpurgethread和masterthread


由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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved