pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Samuel Stearns <SStearns@internode.com.au>
Cc: pgsql-admin@postgresql.org
Subject: Re: FW: More than 1 pg_database Entry for Database - Thread #2
Date: Fri, 16 Apr 2010 11:05:32 -0500
Message-ID: <4BC8447C02000025000309EA@gw.wicourts.gov> (raw)
In-Reply-To: <68B59BEDCD36854AADBDF17E91B2937AB89DE7F7@EXCHMAIL.staff.internode.com.au>
References: <68B59BEDCD36854AADBDF17E91B2937AB89DE7F7@EXCHMAIL.staff.internode.com.au>

Samuel Stearns <SStearns@internode.com.au> wrote:
 
> I am running version 8.3.3 and encountered a problem
 
> Does anyone have any ideas how I can keep from getting into this
> duplicate database scenario?  Any advice would be greatly
> appreciated.
 
> it was stated by Tom Lane that the large xmax number may indicate
> a problem with xid wraparound and that the problem row was never
> vacuumed away due to broken vacuuming procedures.
 
Applying the last 22 months of bug fixes would be a good start.
 
http://www.postgresql.org/support/versioning
 
http://www.postgresql.org/docs/8.3/static/release.html
 
http://www.postgresql.org/download/
 
Autovacuum is supposed to protect you from wraparound, so it appears
to have fallen down somehow.  There were fixes for autovacuum bugs
in 8.3.4 and 8.3.6, so it's entirely possible that just moving to
8.3.somethingrecent will prevent a recurrence.
 
-Kevin



view thread (4+ messages)  latest in thread

Message-ID: <4BC8447C02000025000309EA@gw.wicourts.gov>
Permalink:  ../4BC8447C02000025000309EA@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4BC8447C02000025000309EA@gw.wicourts.gov

 · 

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: Kevin.Grittner@wicourts.gov, SStearns@internode.com.au
  Subject: Re: FW: More than 1 pg_database Entry for Database - Thread #2
  In-Reply-To: <4BC8447C02000025000309EA@gw.wicourts.gov>
  References: <68B59BEDCD36854AADBDF17E91B2937AB89DE7F7@EXCHMAIL.staff.internode.com.au> <4BC8447C02000025000309EA@gw.wicourts.gov>

* 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