欢迎光临
我们一直在努力

percona PMM Query Analytics报“ No query classes for selected instance and time range”错

完整报错信息如下:

There is no data for the selected MySQL instance, time range or search query.

QAN API error: “qh.Profile: No query classes for selected instance and time range. Please check whether your MySQL settings match the recommended.”.
Check the /var/log/qan-api.log file in docker container for more information.

解决方法:

PMM使用slow log作为查询源,需要开启慢日志:

slow_query_log=ON
long_query_time=0

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。