mysql监控之performance_schema

mysql中,perfomance_schma包含以下信息:
users
threads
mutex_instances
rwlock_instances
events_waits_current

Performance Schema 的配置信息存储在setup开头的表中:
setup_actors
setup_consumers
setup_instruments
setup_objects
setup_timers
可以使用update对配置信息进行修改

如果需要个性化配置信息,需要把sql comands存入一个文件,启动时使用
–init-file=name (Read SQL commands from this file at startup)

猜你喜欢

转载自blog.csdn.net/weixin_44311188/article/details/85703816