Re: Warning when selecting column from pg_stat_user_tables.

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com>
Cc: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Warning when selecting column from pg_stat_user_tables.
Date: 2010-02-11 08:26:26
Message-ID: 4B73BF32.8020600@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Chris Barnes wrote:
>
> I have this error when selecting from the pg_stat_user_tables. I
> restarted postgres and the error went away.
> Has anyone else seen this error?
> [postgres(at)preventdb02 londiste]$ cat
> /data/pgsql/data/pg_log/postgresql-Tue.log
> WARNING: pgstat wait timeout

There have been periodic reports of these wait timeouts messing with the
statistics results returned by the database for a while now; some examples:

http://archives.postgresql.org/pgsql-bugs/2009-07/msg00081.php
http://archives.postgresql.org/pgsql-bugs/2009-12/msg00175.php

I just ran into one of the myself recently, wasn't able to reproduce
though. There seems to be something subtle going wrong in statistics
collection, nobody seems exactly sure what it is yet though.

I wouldn't get stressed about it unless these become frequent, in which
case we'd probably want to ask you to collect more data about your
system to try and catch more information about one of them when it shows up.

--
Greg Smith 2ndQuadrant Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2010-02-11 08:30:56 Re: migrating data from 8.4 to 8.3
Previous Message Timo Klecker 2010-02-11 08:23:59 Re: problems maintaining boolean columns in a large table