Re: PG connections going to 'waiting'

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alan McKay <alan(dot)mckay(at)gmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: PG connections going to 'waiting'
Date: 2009-09-05 19:24:55
Message-ID: 6152.1252178695@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alan McKay <alan(dot)mckay(at)gmail(dot)com> writes:
>> pg_locks? Somebody taking exclusive lock on a widely-used table might
>> explain that.

> OK, in theory we could do the following, no?

> Use our PITR logs to restore a tertiary system to the point when we
> were having the problem (we have a pretty wide 2 or 3 hour window to
> hit), then query the pg_locks table on that system?

No, that wouldn't tell you a single thing. pg_locks is a dynamic view
of current system state. You would have to look at it while having
the problem.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua Tolley 2009-09-05 19:28:12 Re: PG connections going to 'waiting'
Previous Message Alan McKay 2009-09-05 17:08:30 Re: PG connections going to 'waiting'