diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-26 13:35:07 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-05-26 19:20:35 +0200 |
commit | 307ca6935669ae9621aa36239ff3803b60640622 (patch) | |
tree | 2a56e34497d2f95f6319c463588ad142aeb1690f /mysql-test/main/mysqld--help.result | |
parent | 2fc13d04d16f878ed693ad8ba56045b79ccb9650 (diff) | |
download | mariadb-git-307ca6935669ae9621aa36239ff3803b60640622.tar.gz |
Add some variables to the generic threadpool, that could help to analyze
stalls etc better.
- thread_pool_exact_stats - uses high precision timestamp for
the time when connection was added to the queue. This timestamp helps
calculating queuing time shown in I_S.THREADPOOL_QUEUES entries.
- If thread_pool_dedicated_listener is on, then each group will have its
own dedicated listener, that does not convert to worker.
With this variable on, the queueing time in I_S.THREADPOOL_QUEUES , and
actual queue size in I_S.THREADPOOOL_GROUPS will be more exact, since
IO request are immediately dequeued from poll, without delay.
Part of MDEV-19313.
Diffstat (limited to 'mysql-test/main/mysqld--help.result')
-rw-r--r-- | mysql-test/main/mysqld--help.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/main/mysqld--help.result b/mysql-test/main/mysqld--help.result index 402d64445e6..3eccd39eac2 100644 --- a/mysql-test/main/mysqld--help.result +++ b/mysql-test/main/mysqld--help.result @@ -1320,6 +1320,11 @@ The following specify which files/extra groups are read (specified before remain --thread-cache-size=# How many threads we should keep in a cache for reuse. These are freed after 5 minutes of idle time + --thread-pool-dedicated-listener + If set to 1,listener thread will not pick up queries + --thread-pool-exact-stats + If set to 1, provides better statistics in + information_schema threadpool tables --thread-pool-idle-timeout=# Timeout in seconds for an idle thread in the thread pool.Worker thread will be shut down after timeout @@ -1744,6 +1749,8 @@ tcp-keepalive-probes 0 tcp-keepalive-time 0 tcp-nodelay TRUE thread-cache-size 151 +thread-pool-dedicated-listener FALSE +thread-pool-exact-stats FALSE thread-pool-idle-timeout 60 thread-pool-max-threads 65536 thread-pool-oversubscribe 3 |