Last active
August 16, 2021 06:30
-
-
Save StevenJL/8442163b9ae9815efa37f22d7e44113c to your computer and use it in GitHub Desktop.
PSQL query most rows
This file contains hidden or 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 | |
| rows, | |
| query | |
| FROM pg_stat_statements | |
| WHERE query iLIKE '%SELECT%' | |
| ORDER BY rows DESC | |
| LIMIT 100; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment