From: Tom Lane <tgl@sss.pgh.pa.us>
To: NH Lau <nhlau2k@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: database vacuum
Date: Mon, 06 Sep 2004 23:46:09 -0400
Message-ID: <24793.1094528769@sss.pgh.pa.us> (raw)
In-Reply-To: <20040907033318.8580.qmail@web53503.mail.yahoo.com>
References: <20040907033318.8580.qmail@web53503.mail.yahoo.com>
NH Lau <nhlau2k@yahoo.com> writes:
> I would like to know
> whether we should vacuum the template1 and template0
> database as well, in addition to the normal database
> we created.
template0 no --- in fact you wouldn't even be able to connect to it to
do so (and I do not recommend overriding the check that prevents that).
template1 yes. You could skip this if you know that template1 has never
been modified since it was frozen ... but why assume that?
The vacuumdb script gets this right btw.
regards, tom lane
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: tgl@sss.pgh.pa.us, nhlau2k@yahoo.com
Subject: Re: database vacuum
In-Reply-To: <24793.1094528769@sss.pgh.pa.us>
References: <20040907033318.8580.qmail@web53503.mail.yahoo.com> <24793.1094528769@sss.pgh.pa.us>
* 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