MySQL慢查询的启用方法

查询复制mysql> show variables like %slow%; +------------------+-------+ | Variable_name | Value | +------------------+-------+ | log_slow_queries | ON | | slow_launch_time | 2 | +------------------+-------+ mysql> show global status like %slow%; +---------------------+-------+ | Variable_name | Value | +---------------------+-------+ | Slow_launch_threads | 0 | | Slow_queries | 4148 | +---------------------+-------+ 1.2.3.4.5.6.7.8.9.10.11.12.13.14.
本文地址:http://www.bhae.cn/news/52c4699901.html
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。