meaning of "waiting" column in pg_stat_activity?

From: Chris Curvey <chris(at)chriscurvey(dot)com>
To: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: meaning of "waiting" column in pg_stat_activity?
Date: 2012-07-23 20:13:08
Message-ID: CADfwSsB1dco6SB1sYpmVGPQns7ys8HJXRCim+LCvP=73diODJw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Just wondering...if a query is "waiting", what is it waiting for? Is
this only for locks, or can it be for disk, or a memory buffer? (If
there is a description of the meaning of things in pg_stat_activity
and it's relatives, I'd love a pointer, 'cause I can't seem to find
it.)

--
e-Mail is the equivalent of a postcard written in pencil. This
message may not have been sent by me, or intended for you. It may
have been read or even modified while in transit. e-Mail disclaimers
have the same force in law as a note passed in study hall. If your
corporate attorney says that you need an disclaimer in your signature,
you need a new corporate attorney.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2012-07-23 20:46:54 Re: meaning of "waiting" column in pg_stat_activity?
Previous Message Marcus Túlio Ramos 2012-07-23 18:53:24 Reporting tool for Npgsql