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