【问题标题】:How to make mariadb 10 make full use of a multi-core processor?如何让mariadb 10充分利用多核处理器?
【发布时间】:2013-07-20 03:05:05
【问题描述】:

我用的是mariadb 10,官方文档中只提到了5.x版本。我试过用thread_pool_min_threads但是完全不行,只是关机并留言说“事件日志中的未知变量。

【问题讨论】:

    标签: multithreading cpu mariadb


    【解决方案1】:

    您没有提及您的平台。 thread_pool_min_threads 在 Unix 变体中不存在(正如 official document 中所指出的)。它是仅限 Windows 的变量。 如果我在 10.0.3 上列出与线程池相关的变量,在 Windows 上,我会得到

    mysql> 显示像 'thread_po%' 这样的变量; +--------------+------+ |变量名 |价值 | +--------------+------+ | thread_pool_max_threads | 500 | | thread_pool_min_threads | 1 | +--------------+------+

    【讨论】:

      猜你喜欢
      • 2011-05-06
      • 1970-01-01
      • 1970-01-01
      • 2010-10-11
      • 1970-01-01
      • 2011-01-17
      • 2015-05-26
      • 2011-06-17
      • 1970-01-01
      相关资源
      最近更新 更多