pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew O'Connor <matthew@zeut.net>
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 13:25:51 -0400
Message-ID: <44FF049F.8050709@zeut.net> (raw)
In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF05ABC7EA@ca-mail1.cis.local>
References: <6992E470F12A444BB787B5C937B9D4DF05ABC7EA@ca-mail1.cis.local>

A PostgreSQL superuser, so yes user postgres will work just fine.


Sriram Dandapani wrote:
> Do you mean that I login as say root and issue a vacuumdb (or do I login
> as a postgres user with special privileges)
> 
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
> Sent: Wednesday, September 06, 2006 6:41 AM
> To: Sriram Dandapani
> Cc: pgsql-admin@postgresql.org
> Subject: Re: [ADMIN] transactoin id wraparound problem 
> 
> "Sriram Dandapani" <sdandapani@counterpane.com> writes:
>> I get error messages on the console that says
>> WARNING:  database "xxx" must be vacuumed within 10094646 transactions
> 
>> I shutdown, restart pg and issue a vacuumdb -f <database>
> 
> The shutdown/restart was a waste of typing, and -f doesn't really help
> here either.
> 
>> I still get messages saying database must be vacuumed and the
>> transaction count keeps decreasing.
> 
> I'll bet a nickel you did not run the vacuum as superuser.  It has to be
> done by a superuser to have permission to vacuum every table in the
> database (including system catalogs).
> 
> 			regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 



view thread (27+ messages)  latest in thread

Message-ID: <44FF049F.8050709@zeut.net>
Permalink:  ../44FF049F.8050709@zeut.net/
Also on:    postgresql.org/message-id/44FF049F.8050709@zeut.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: matthew@zeut.net, sdandapani@counterpane.com, tgl@sss.pgh.pa.us
  Subject: Re: transactoin id wraparound problem
  In-Reply-To: <44FF049F.8050709@zeut.net>
  References: <6992E470F12A444BB787B5C937B9D4DF05ABC7EA@ca-mail1.cis.local> <44FF049F.8050709@zeut.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