Last active
February 28, 2022 20:33
-
-
Save Winslett/16932a89fc383c8e6ba14eb311f4dbe0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
total_exec_time, | |
mean_exec_time AS avg_ms, | |
calls, | |
query | |
FROM pg_stat_statements | |
ORDER BY mean_exec_time DESC | |
LIMIT 10; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment