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
https://blog.csdn.net/n88Lpo/article/details/86216575
performance_schema = 1
performance_schema_instrument = "%memory%=on"
2、通过命令查询
select event_name,current_alloc from sys.memory_global_by_current_bytes