Query cache efficiency

后端 未结 1 820
旧巷少年郎
旧巷少年郎 2021-02-04 15:53

I\'m using MySQLTuner.pl to optimize my site.... though I\'m not entirely sure how to resolve some of these issues and am wondering if someone can help me out.

I\'m runn

1条回答
  •  借酒劲吻你
    2021-02-04 16:04

    I found this website helpful in optimizing my own mysql server: http://www.omh.cc/mycnf/

    It allows you to tune your variables and know what the total ram capacity will be. You need to optimize for 60% ram usage. So try to lower your total memory footprint to about 60% to 70% of your total ram. If you have other stuff running on the same machine, you probably need to reduce that number. Forget Query cache, it's not going to add too much value, but Table cache should improve your performance if done right.

    Try reducing the number of connections and keeping your total memory footprint under 60% of total system memory.

    0 讨论(0)
提交回复
热议问题