pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Krajmalnik <kraj@illumen.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_clog questions
Date: Thu, 25 May 2006 14:03:40 -0600
Message-ID: <8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local> (raw)

I have autovacuum turned on with the default settings.
The issue is that we are mostly inserting records, sometimes updating,
very seldom deleting.  The ones which get deleted are in partitioned
tables, and will be done away with via truncate once the data retention
period is over.

Logs show that autovacuum is running on all databases.

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Thursday, May 25, 2006 2:01 PM
To: Benjamin Krajmalnik
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] pg_clog questions 

"Benjamin Krajmalnik" <kraj@illumen.com> writes:
> While checking our server, I noticed quite a few files in the pg_clog
> directory.

> Is there a maintenance task which can be run to purge the files which
> are no longer needed?

VACUUM.  If they're not disappearing, you aren't running an adequate
vacuum regime --- missing out some databases, perhaps?

			regards, tom lane



view thread (12+ messages)  latest in thread

Message-ID: <8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local>
Permalink:  ../8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local/
Also on:    postgresql.org/message-id/8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: kraj@illumen.com, tgl@sss.pgh.pa.us
  Subject: Re: pg_clog questions
  In-Reply-To: <8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local>
  References: <8511B4970E0D124898E973DF496F9B432516E3@stash.stackdump.local>

* 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