From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Mendola Gaetano <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Renaming a DB
Date: Mon, 21 Jul 2003 00:09:27 -0400
Message-ID: <19811.1058760567@sss.pgh.pa.us> (raw)
In-Reply-To: <200307210358.h6L3wem24028@candle.pha.pa.us>
References: <200307210358.h6L3wem24028@candle.pha.pa.us>
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom, why was a VACUUM FULL required?
I doubt that it was; a VACUUM would have sufficed to fix the tuple
commit bits. What I forgot to recommend was a CHECKPOINT to make
sure the fixed pages got dumped to disk. (Until they're written
out to the kernel, a new backend would still see the old pages
when it's doing the GetRawDatabaseInfo cruft.)
I think a VAC FULL would have flushed dirty pages, but a plain VACUUM
wouldn't, so VAC FULL is a second way of getting the result.
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, pgman@candle.pha.pa.us, mendola@bigfoot.com
Subject: Re: Renaming a DB
In-Reply-To: <19811.1058760567@sss.pgh.pa.us>
References: <200307210358.h6L3wem24028@candle.pha.pa.us> <19811.1058760567@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