pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Sriram Dandapani <sdandapani@counterpane.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: transactoin id wraparound problem
Date: Wed, 06 Sep 2006 12:57:27 -0500
Message-ID: <1157565447.20424.16.camel@state.g2switchworks.com> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF05ABC83C@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF05ABC83C@ca-mail1.cis.local>

Transaction ID wraparound is a cluster issue, not an individual database
issue.  Due to the way PostgreSQL is designed, you need to vacuum ALL
your databases, but you don't need a FULL vacuum on them all, just a
regular vacuum.

I'm guessing that your other databases aren't real big anyway, so it
shouldn't be a big problem.  If your other databases are huge, then
yeah, it might take a while.

On Wed, 2006-09-06 at 12:39, Sriram Dandapani wrote:
> I started this about a few hours ago (I guess the message shows as a
> general warning)..I am only interested in the specific database..will
> this command NOT do a full vacuum of the specific database(I would like
> to save the few hours that I invested in this vacuum command if
> possible)
> 
> -----Original Message-----
> From: Scott Marlowe [mailto:smarlowe@g2switchworks.com] 
> Sent: Wednesday, September 06, 2006 10:35 AM
> To: Sriram Dandapani
> Cc: Tom Lane; pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] transactoin id wraparound problem
> 
> Change the -f to -a
> 
> On Wed, 2006-09-06 at 11:02, Sriram Dandapani wrote:
> > I created a super user using the createuser command and issued
> > 
> > vacuumdb -f -U superuser <database-name>
> > 
> > I still keep getting a decreasing transaction count warning. Am I
> doing
> > something wrong here.(The database is about 120G and while I do expect
> > vacuum full to take time, I expect the warning to show an increasing
> > count)



view thread (27+ messages)  latest in thread

Message-ID: <1157565447.20424.16.camel@state.g2switchworks.com>
Permalink:  ../1157565447.20424.16.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1157565447.20424.16.camel@state.g2switchworks.com

 · 

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: smarlowe@g2switchworks.com, sdandapani@counterpane.com, tgl@sss.pgh.pa.us
  Subject: Re: transactoin id wraparound problem
  In-Reply-To: <1157565447.20424.16.camel@state.g2switchworks.com>
  References: <6992E470F12A444BB787B5C937B9D4DF05ABC83C@ca-mail1.cis.local> <1157565447.20424.16.camel@state.g2switchworks.com>

* 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