pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: pgsql-admin@postgresql.org
Cc: Marek Dabrowski <marek.dabrowski@infor.pl>
Subject: Re: VACUMM problem
Date: Sat, 3 Sep 2005 10:01:16 -0400
Message-ID: <200509031001.17118.xzilla@users.sourceforge.net> (raw)
In-Reply-To: <4319A36B.1070205@infor.pl>
References: <4319A36B.1070205@infor.pl>

On Saturday 03 September 2005 09:21, Marek Dabrowski wrote:
> Hello
>
> I didn't do VACUUM long time and now I have problem:
>
> WARNING:  some databases have not been vacuumed in over 2 billion
> transactions
> DETAIL:  You may have already suffered transaction-wraparound data loss.
>
> What I have to do to resolve this problem?
>

I would recommend you go through each database in your cluster and run "vacuum 
verbose;"    any tables that have a high number of unused tuples in the 
output (say more unused than used) should have vacuum full <tablename> run on 
them.  Also at the end of each vacuum run, it will tell you how many free 
pages you need... write this down and adjust your postgresql.conf 
accordingly.  Finally I would suggest you set up an automated process to run 
vaccum for you, or enable autovacuum if it is available.  The docs can help 
you with specifics on most of these items. 

-- 
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL



view thread (2+ messages)

Message-ID: <200509031001.17118.xzilla@users.sourceforge.net>
Permalink:  ../200509031001.17118.xzilla@users.sourceforge.net/
Also on:    postgresql.org/message-id/200509031001.17118.xzilla@users.sourceforge.net

 · 

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: xzilla@users.sourceforge.net, marek.dabrowski@infor.pl
  Subject: Re: VACUMM problem
  In-Reply-To: <200509031001.17118.xzilla@users.sourceforge.net>
  References: <4319A36B.1070205@infor.pl> <200509031001.17118.xzilla@users.sourceforge.net>

* 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