Skip to content

Instantly share code, notes, and snippets.

@slow-is-fast
Created September 24, 2017 01:45
Show Gist options
  • Select an option

  • Save slow-is-fast/2a20c14a7b4ebf5a7104f34a59a75cb7 to your computer and use it in GitHub Desktop.

Select an option

Save slow-is-fast/2a20c14a7b4ebf5a7104f34a59a75cb7 to your computer and use it in GitHub Desktop.
show processlist in postgresql
select * from pg_stat_activity;
You should set
stats_command_string = on
in your postgresql.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment