pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Madison Kelly <linux@alteeve.com>
To: Rosser Schwarz <rosser.schwarz@gmail.com>
Cc: Steve Crawford <scrawford@pinpointresearch.com>
Cc: Brad Nicholson <bnichols@ca.afilias.info>
Cc: Gary Doades <gpd@gpdnet.co.uk>
Cc: pgsql-performance@postgresql.org
Subject: Re: DB is slow until DB is reloaded
Date: Mon, 04 Jan 2010 19:34:31 -0500
Message-ID: <4B428917.3020305@alteeve.com> (raw)
In-Reply-To: <37d451f71001041406i3f5d8d5fte8a29cfbc06998c9@mail.gmail.com>
References: <4B423D22.7040803@alteeve.com>
	<4B424215.70605@pinpointresearch.com>
	<4B424FF6.40207@alteeve.com>
	<4B425222.7070905@gpdnet.co.uk>
	<4B425555.6020709@alteeve.com>
	<1262638856.29852.4.camel@bnicholson-desktop>
	<4B425E93.1050207@alteeve.com>
	<4B426359.9040601@pinpointresearch.com>
	<4B426438.40109@alteeve.com>
	<37d451f71001041406i3f5d8d5fte8a29cfbc06998c9@mail.gmail.com>

Rosser Schwarz wrote:
> On Mon, Jan 4, 2010 at 2:57 PM, Madison Kelly <linux@alteeve.com> wrote:
>> As for autovacuum, I assumed (yes, I know) that all v8.x releases enabled it
>> by default. How would I confirm that it's running or not?
> 
> I believe it's not enabled by default in 8.1-land, and is as of 8.2
> and later.  Whether it's running or not, try "SELECT * FROM
> pg_autovacuum;".  If that returns the null set, it's not doing
> anything, as it hasn't been told it has anything to do.
> 
> IME, however, if you really want to benefit from the autovacuum
> daemon, you probably do want to be on something more recent than 8.1.
> (And, yes, this is a bit of the pot calling the kettle black: I have a
> mixed set of 8.1 and 8.3 hosts.  Autovacuum is only running on the
> latter, while the former are queued for an upgrade.)
> 
> rls

You are right, autovacuum is not running after all. From your comment, I 
am wondering if you'd recommend I turn it on or not? If so, given that I 
doubt I will upgrade any time soon, how would I enable it? I suppose I 
could google that, but google rarely shares gotcha's. :)

Madi



view thread (25+ messages)  latest in thread

Message-ID: <4B428917.3020305@alteeve.com>
Permalink:  ../4B428917.3020305@alteeve.com/
Also on:    postgresql.org/message-id/4B428917.3020305@alteeve.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: linux@alteeve.com, rosser.schwarz@gmail.com, scrawford@pinpointresearch.com, bnichols@ca.afilias.info, gpd@gpdnet.co.uk
  Subject: Re: DB is slow until DB is reloaded
  In-Reply-To: <4B428917.3020305@alteeve.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