Skip to content

Commit

Permalink
Using the same time units
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan.vakhrushev committed Apr 5, 2020
1 parent 07081e9 commit a697c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/ext/slowest_queries_by_total_execution_time.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Finds the slowest queries by total execution time.
-- Requires the pg_stat_statement extension.
select
round(total_time / 1000 / 60)::integer as total_time_minutes,
round(total_time::numeric, 3) as total_time_ms,
calls as calls_count,
round(mean_time::numeric, 3) as average_time_ms,
query
Expand Down

0 comments on commit a697c71

Please sign in to comment.