pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew T. O'Connor <matthew@zeut.net>
To: Jeremy Haile <jhaile@fastmail.fm>
Cc: pgsql-performance@postgresql.org
Subject: Re: Autoanalyze settings with zero scale factor
Date: Thu, 18 Jan 2007 15:40:07 -0500
Message-ID: <45AFDB27.2040502@zeut.net> (raw)
In-Reply-To: <1169151707.6247.1169971737@webmail.messagingengine.com>
References: <1169145474.20103.1169962769@webmail.messagingengine.com>
	<45AFC86B.9010704@zeut.net>
	<1169151707.6247.1169971737@webmail.messagingengine.com>

Jeremy Haile wrote:
>> Also, are other auto-vacuums and auto-analyzes showing up in the 
>> pg_stats table?  Maybe it's a stats system issue.
>>     
>
> No tables have been vacuumed or analyzed today.  I had thought that this
> problem was due to my pg_autovacuum changes, but perhaps not.  I
> restarted PostgreSQL (in production - yikes)  About a minute after being
> restarted, the autovac process fired up.
>
> What could get PG in a state where autovac isn't running?  Is there
> anything I should watch to debug or monitor for this problem in the
> future?  I wish I'd noticed whether or not the stats collector process
> was running before I restarted.

First off you shouldn't need to restart PG.  When it wasn't working did 
you ever check the autovacuum_enabled setting? For example within psql: 
"show autovacuum;".

I would venture to guess that autovacuum was disabled for some reason.  
Perhaps last time you started the server the stats settings weren't enabled?






view thread (6+ messages)  latest in thread

Message-ID: <45AFDB27.2040502@zeut.net>
Permalink:  ../45AFDB27.2040502@zeut.net/
Also on:    postgresql.org/message-id/45AFDB27.2040502@zeut.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: matthew@zeut.net, jhaile@fastmail.fm
  Subject: Re: Autoanalyze settings with zero scale factor
  In-Reply-To: <45AFDB27.2040502@zeut.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox