--查询总耗时最长SQL
select * from pg_stat_statements order by total_time desc;
--查询平均耗时最长SQL
select * from pg_stat_statements order by mean_time desc;
--查询调用次数最多SQL
select * from pg_stat_statements order by calls desc;
2023-08-11 15:32:34
--查询总耗时最长SQL
select * from pg_stat_statements order by total_time desc;
--查询平均耗时最长SQL
select * from pg_stat_statements order by mean_time desc;
--查询调用次数最多SQL
select * from pg_stat_statements order by calls desc;
下一篇:团队作业——Beta冲刺4