[MDEV-7348] doc about system variables say "max purge thread can only set 1" ,but it dose not Created: 2014-12-19  Updated: 2015-01-12  Resolved: 2015-01-12

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Affects Version/s: 10.0.12
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: 黄春晖 Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None
Environment:

Centos6.4 ,MariaDB10.0.12



 Description   

in https://mariadb.com/kb/en/mariadb/documentation/storage-engines/xtradb-and-innodb/xtradbinnodb-server-system-variables/#innodb_purge_threads

innodb_purge_threads

Description: Number of threads dedicated to XtraDB purge operations. If set to 0, the default, purging is done with the master thread. If set to 1, the current maximum, purging is done on a separate thread with could reduce contention. Currently has minimal effect, but is a future area of improvement. See also innodb_purge_batch_size.
Commandline: --innodb-purge-threads=#
Scope: Global
Dynamic: No
Data Type: numeric
Default Value: 0
Range: 0 to 1
Introduced: MariaDB/MySQL 5.5.4

but i write "innodb-purge-threads=2" in /etc/my.cnf ,and restart server,and run "show variables like 'innodb-purge-threads'" ,it return 2 ,but document says "Range: 0 to 1"



 Comments   
Comment by Daniel Black [ 2014-12-19 ]

fyi i checked the code and the 5.5 trunk still only has 1 innodb-purge-threads so it was introduced in 10.x somewhere

Comment by Elena Stepanova [ 2014-12-21 ]

According to http://dev.mysql.com/doc/refman/5.6/en/innodb-parameters.html#sysvar_innodb_purge_threads , the range changed in 5.6.2.

Comment by Ian Gilfillan [ 2015-01-09 ]

This was changed in MariaDB 10, I've updated the documentation. Leaving open for now as I also want to examine innodb_purge_bach_size.

Generated at Thu Feb 08 07:18:54 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.