Re: vacuum confusion

From: Richard Huxton <dev(at)archonet(dot)com>
To: John Sidney-Woollett <johnsw(at)wardbrook(dot)com>
Cc: postgres general <pgsql-general(at)postgresql(dot)org>
Subject: Re: vacuum confusion
Date: 2005-02-11 10:02:10
Message-ID: 420C82A2.8090201@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John Sidney-Woollett wrote:
> Ah.., no we're not vacuuming template0 or 1.
>
> I didn't realise that the transaction ID would be stored here - I
> assumed that they'd be in our database.
>
> Do I need to need to (plain) vacuum, or vacuum full these template0 and
> template1? And is this something that can be done once a week rather
> than every night (like our main database)?

Ah! Found the section of the manuals - see "Routine Database Maintenance
Tasks" for details.

AFAIK it's a simple vacuum and once a week is more than enough. The
manual recommends once every 500million transactions, though you can
leave it longer.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Almeida do Lago 2005-02-11 10:34:03 PostgreSQL Features
Previous Message John Sidney-Woollett 2005-02-11 09:47:32 Re: vacuum confusion