一:查询slow log的状态,如示例代码所示,则slow log已经开启. mysql> show variables like '%slow%'; +---------------------+------------------------------------------+ | Variable_name | Value | +---------------------+------------------------------------------+ | log_slow_que…