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

Well - it hadn't run on any table in over 24 hours (according to
pg_stat_user_tables).  My tables are constantly being inserted into and
deleted from, and the autovacuum settings are pretty aggressive.  I also
had not seen the autovac process running in the past 24 hours. (although
I wasn't watching it *all* the time)

So - as far as I could tell it wasn't running.


On Thu, 18 Jan 2007 16:30:17 -0500, "Tom Lane" <tgl@sss.pgh.pa.us> said:
> "Jeremy Haile" <jhaile@fastmail.fm> writes:
> > 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?
> 
> Um, are you sure it wasn't?  The autovac process is not an always-there
> thing, it quits after each pass and then the postmaster starts a new one
> awhile later.
> 
> 			regards, tom lane



view thread (6+ messages)

Message-ID: <1169157201.18501.1169996967@webmail.messagingengine.com>
Permalink:  ../1169157201.18501.1169996967@webmail.messagingengine.com/
Also on:    postgresql.org/message-id/1169157201.18501.1169996967@webmail.messagingengine.com

 · 

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: jhaile@fastmail.fm, tgl@sss.pgh.pa.us, matthew@zeut.net
  Subject: Re: Autoanalyze settings with zero scale factor
  In-Reply-To: <1169157201.18501.1169996967@webmail.messagingengine.com>

* 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