Search Postgresql Archives

locking/waiting queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all ;

were seeing a backlog of queries in pg_stat_activity. The system has slowed 
big time.

I see many many queries where waiting = 't'

I want to find out for each query which query they are waiting on (who's doing 
the blocking).

What's the best way to find this, I looked at pg_locks for rows where granted = 
'f' but its not helping me determine which query is doing the blocking.

Thanks in advance...


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux