Skip to content

Instantly share code, notes, and snippets.

@slow-is-fast
Forked from JoshuaGross/pg-running-queries.sql
Created November 22, 2017 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slow-is-fast/8fa7bad87d94e4b0cadff2754eb17c6a to your computer and use it in GitHub Desktop.
Save slow-is-fast/8fa7bad87d94e4b0cadff2754eb17c6a to your computer and use it in GitHub Desktop.
List running queries in PostGres
select * from pg_stat_activity;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment