From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nigel Bishop <Nigel.Bishop@ioko.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Some advice required please
Date: Wed, 30 Aug 2006 09:48:22 -0400
Message-ID: <26745.1156945702@sss.pgh.pa.us> (raw)
In-Reply-To: <72558D9A7573814BB4082A28843E03D403546E3F@intyodc01.uk.ioko365.com>
References: <72558D9A7573814BB4082A28843E03D403546E3F@intyodc01.uk.ioko365.com>
"Nigel Bishop" <Nigel.Bishop@ioko.com> writes:
> Selecting from pg_database shows the following:
> datname | datvacuumxid | datfrozenxid
> ----------------+--------------+--------------
> template1 | 2160549932 | 1086808109
> template0 | 427 | 427
> live01.db | 427 | 427
> stage01.db | 2153231186 | 1079489364
The numbers for template1 and stage01.db look reasonable (but perhaps
you just recently vacuumed them?). What the message is probably
complaining about is that live01.db has seemingly never been vacuumed.
You can ignore template0, it's not supposed to be touched, but the
others all need vacuuming every so often.
> Could someone advise me on how to reset the datvacuumxid on the
> template1 DB (I don't think it should be this high), also is the message
> about data loss really implying that we may have lost data?
Yes, otherwise we'd not bother to emit it.
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, Nigel.Bishop@ioko.com
Subject: Re: Some advice required please
In-Reply-To: <26745.1156945702@sss.pgh.pa.us>
References: <72558D9A7573814BB4082A28843E03D403546E3F@intyodc01.uk.ioko365.com> <26745.1156945702@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