[MDEV-10539] Thread pool documentation lacks how to enable it Created: 2016-08-11  Updated: 2016-08-11  Resolved: 2016-08-11

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

Type: Task Priority: Minor
Reporter: Michaël de groot Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None


 Description   

In the thread pool documentation it lacks how to enable it:
https://mariadb.com/kb/en/mariadb/thread-pool-in-mariadb/

In the old documentation there is such note, in the first paragraph of the entry:
https://mariadb.com/kb/en/mariadb/thread-pool-in-mariadb-51-53/

Please add the simple howto how to enable it in the first link as well.



 Comments   
Comment by Vladislav Vaintroub [ 2016-08-11 ]

I see
"
Using threadpool scheduler

On Unix, add thread_handling=pool-of-threads to the my.cnf config file.

On Windows, the default for thread_handling is already preset to pool-of-threads, so nothing needs to be done. If you want to use one thread per connection add thread_handling=one-thread-per-connection to the my.cnf config file."

in the docs. This is how to enable it.

Comment by Michaël de groot [ 2016-08-11 ]

Oh yes, you are right! I completely read over that.

Perhaps a list there with the possible options and there defaults is useful?

Comment by Vladislav Vaintroub [ 2016-08-11 ]

Perhaps.
Yet, the variables also have a documentation elsewhere place https://mariadb.com/kb/en/mariadb/server-system-variables/#thread_handling
Maybe it is possible to highlight important stuff somehow, that it is not easy to overlook?

Comment by Ian Gilfillan [ 2016-08-11 ]

One problem is that the variables, which are described in full with defaults etc on the variables page, such as https://mariadb.com/kb/en/mariadb/server-system-variables/#thread_handling etc, are only partially described on the thread pool page at https://mariadb.com/kb/en/mariadb/thread-pool-in-mariadb/#threadpool-server-variables, and not linked.

I will create a new threadpool variables page (reducing the size of the main variables page, which is huge), and then prominently link to this on the threadpool description page.

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