Skip site navigation (1) Skip section navigation (2)

Re: autovacuum daemon question...

From: Jeff Bohmer <jdblist(at)visionlink(dot)org>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>,Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
Cc: Jeff Bohmer <jdblist(at)visionlink(dot)org>,Joe Maldonado <joe(dot)maldonado(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: autovacuum daemon question...
Date: 2005-11-10 20:06:37
Message-ID: p06230910bf9953c7c839@[] (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
>>>>This sounds more and more like a good idea.  I don't think there's any
>>>>need to maintain across dump/reload and / or database restart either.
>>>The DBA can elect to keep or discard stats data across DB restart, 
>>>in fact I think the default value for this GUC var was set to true 
>>>for the 8.1 release.
>>I thought we were discussing a theoretical / not yet in existence GUC
>I assumed (perhaps incorrectly) that you were talking about 
>maintaining  the data in the theoretical / not yet in existence 
>autovacuum stats table through database restart, the stats system 
>already has a GUC var that dictates whether or not it dumps it's 
>data upon DB restart.

AFAIK, a restart does not affect the VACUUMed-ness of anything. 
Keeping these (currently nonexistent autovacuum) stats across 
restarts would be helpful if stats_reset_on_server_start=on.

Unless I misunderstand, if stats_reset_on_server_start=off, these 
(currently nonexistent autovacuum) stats would only be relevant for 
autovacuum's VACUUM activity and not it's ANALYZE activity.  In which 
case, it seems ideal to keep autovacuum VACUUM stats regardless of 
the GUC setting, while autovacuum ANALYZE stats should follow it. 
But if the ideal is impractical, making both ANALYZE and VACUUM stats 
follow the GUC would still be real nice.

- Jeff


Jeff Bohmer
VisionLink, Inc.

In response to


pgsql-admin by date

Next:From: Jeff BohmerDate: 2005-11-10 20:21:30
Subject: Re: autovacuum daemon question...
Previous:From: Matthew T. O'ConnorDate: 2005-11-10 19:38:31
Subject: Re: autovacuum daemon question...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group