Re: [ADMIN] after 9.2.4 patch vacuumdb -avz not analyzing all tables

From: Mike Broers <mbroers(at)gmail(dot)com>
To: Kevin Grittner <kgrittn(at)ymail(dot)com>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Jan Wieck <JanWieck(at)yahoo(dot)com>
Subject: Re: [ADMIN] after 9.2.4 patch vacuumdb -avz not analyzing all tables
Date: 2013-04-12 17:34:38
Message-ID: CAB9893iZoj9VEgZ26cNMv+x-ToFjErxYZ9mbnAC8e6-wywVNwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

Looks like psql> vacuum (verbose, analyze) is not reflecting in
pg_stat_user_tables as well in some cases. In this scenario I run the
command, it outputs all the deleted pages etc (unlike the vacuumdb -avz
analyze that seemed to be skipped in the log), but it does not update
pg_stat_user_tables. Thats probably expected based on the description
previously reported, but I wanted to confirm what I was seeing.

On Fri, Apr 12, 2013 at 10:36 AM, Kevin Grittner <kgrittn(at)ymail(dot)com> wrote:

> Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
>
> > Does this behavior only affect the 9.2 branch? Or was it ported
> > to 9.1 or 9.0 or 8.4 as well?
>
> After leaving it on master for a while to see if anyone reported
> problems in development, I back-patched as far as 9.0 in time for
> the 9.2.3 (and related) patches. Prior to that the code was too
> different for it to be the same patch, and (perhaps not entirely
> coincidentally) I had not seen the problems before 9.0. From 9.0
> on I have seen multiple sites (all using queuing from Slony or a
> JMS implementation) with recurring problems when the queue
> temporarily got large, shrank again, and then wrapped around to the
> beginning of the table's file space. In some cases performance was
> so impaired that when such an event was triggered they would shut
> down their application until a manual VACUUM could be run.
>
> --
> Kevin Grittner
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Armin Resch 2013-04-12 18:12:42 Re: regexp_replace grief
Previous Message Prashanth Ranjalkar 2013-04-12 16:58:44 Re: with PostgreSQL 9.1.9,the stats collector process is not work!

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2013-04-12 17:34:49 Re: Patch to make pgindent work cleanly
Previous Message Bruce Momjian 2013-04-12 17:32:01 Re: Enabling Checksums