0

我使用的是mariadb 10,官方文档中只提到了5.x版本。我尝试使用thread_pool_min_threads但根本不起作用,它只是关闭并在事件日志中留下一条消息说“未知变量”。

4

1 回答 1

0

你没有提到你的平台。thread_pool_min_threads 在 Unix 变体中不存在(正如官方文档中所指出的那样)。它是仅限 Windows 的变量。如果我在 10.0.3 上列出与线程池相关的变量,在 Windows 上,我会得到

mysql> 显示像 'thread_po%' 这样的变量;
+--------------+------+
| 变量名 | 价值 |
+--------------+------+
| thread_pool_max_threads | 500 |
| thread_pool_min_threads | 1 |
+--------------+------+
于 2013-08-01T21:29:14.203 回答