[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: In the old documentation there is such note, in the first paragraph of the entry: 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 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. |
| 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. |