How to see active connections and "current activity" in PostgreSQL 8.4
Posted
by Evgeny
on Server Fault
See other posts from Server Fault
or by Evgeny
Published on 2010-03-31T23:06:42Z
Indexed on
2010/03/31
23:13 UTC
Read the original article
Hit count: 430
postgresql
I'm investigating an issue with DB connections being left open indefinitely, causing problems on the DB server. How do I see currently open connections to a PostgreSQL server, particularly those using a specific database? Ideally I'd like to see what command is executing there as well. Basically, I'm looking for something equivalent to the "Current Activity" view in MSSQL.
© Server Fault or respective owner