下载了mysql5.6.12 ,默认占用内存达400多M,  而原来使用的5.0 只有30M..

解决方案:调整以下参数
----------------
performance_schema_max_table_instances=600
table_definition_cache=400
table_open_cache=256

这样下来,mysql5.6.12就只使用  40---60M左右的内存了.

以下是5.6默认的设置
performance_schema_max_table_instances 12500
table_definition_cache 1400
table_open_cache 2000

相关文章:

  • 2021-12-24
  • 2022-01-27
  • 2022-01-07
  • 2021-10-07
  • 2022-12-23
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2021-04-13
  • 2021-07-19
  • 2021-08-01
  • 2021-06-10
  • 2022-01-04
相关资源
相似解决方案