您的位置:首页 > 博客中心 > 数据库 >

mysql 内存占用过多的解决方法

时间:2022-03-14 02:19

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

修改my.ini配置文件:(没有就如下内容就在最后一行新增)
performance_schema_max_table_instances=600
table_definition_cache=400
table_open_cache=256

热门排行

今日推荐

热门手游