MySQL 5.7 查看内存使用情况

https://blog.csdn.net/n88Lpo/article/details/86216575

MySQL运行内存不足时应采取的措施

performance_schema = 1
performance_schema_instrument = "%memory%=on"

2、通过命令查询

select event_name,current_alloc from sys.memory_global_by_current_bytes 


posted @ 2021-06-22 17:20  技术颜良  阅读(1094)  评论(0编辑  收藏  举报