pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: pg_clog & vacuum oddness
Date: Thu, 30 Oct 2003 01:13:53 +0100
Message-ID: <3FA057C1.7020102@bigfoot.com> (raw)
In-Reply-To: <12761.1067448197@sss.pgh.pa.us>
References: <20031029110358.548105be.threshar@torgo.978.org>
	<5274.1067445132@sss.pgh.pa.us>
	<3F9FF092.5849E470@dhs-club.com>
	<20031029120116.228f7825.threshar@torgo.978.org>
	<12761.1067448197@sss.pgh.pa.us>

Tom Lane wrote:

> Jeff <threshar@torgo.978.org> writes:
> 
>>given that template0 and 1 rarely change.. I don't see why we'd need to
>>vacuum them

> You have to vacuum template1 periodically if you want pg_clog to shrink.

WOW, I saved 200 MB in one shoot vacuuming template 1 !

I learned this after 2 years of postgres, I'm a dummy.



Regards
Gaetano Mendola





view thread (10+ messages)

Message-ID: <3FA057C1.7020102@bigfoot.com>
Permalink:  ../3FA057C1.7020102@bigfoot.com/
Also on:    postgresql.org/message-id/3FA057C1.7020102@bigfoot.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 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: mendola@bigfoot.com, tgl@sss.pgh.pa.us
  Subject: Re: pg_clog & vacuum oddness
  In-Reply-To: <3FA057C1.7020102@bigfoot.com>
  References: <20031029110358.548105be.threshar@torgo.978.org> <5274.1067445132@sss.pgh.pa.us> <3F9FF092.5849E470@dhs-club.com> <20031029120116.228f7825.threshar@torgo.978.org> <12761.1067448197@sss.pgh.pa.us> <3FA057C1.7020102@bigfoot.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