pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <pgsql@j-davis.com>
To: Marinos Yannikos <mjy@geizhals.at>
Cc: pgsql-performance@postgresql.org
Subject: Re: VACUUM FULL needed sometimes to prevent transaction
Date: Tue, 22 Aug 2006 15:00:25 -0700
Message-ID: <1156284025.15743.104.camel@dogma.v10.wvs> (raw)
In-Reply-To: <44EB48A9.7030704@geizhals.at>
References: <44EB48A9.7030704@geizhals.at>

On Tue, 2006-08-22 at 20:10 +0200, Marinos Yannikos wrote:
> Hello,
> 
> we're looking into the reason why we are getting warnings about 
> transaction ID wraparound despite a daily "vaccumdb -qaz". Someone is 
> claiming that VACUUM without FULL cannot reassign XIDs properly when 
> max_fsm_pages was set too low (it says so here too, but this is rather 
> old: http://www.varlena.com/GeneralBits/Tidbits/perf.html#maxfsmp). Is 
> this true, or do we have a different issue here? We're using 8.1.3 with 
> a database generated on 8.1.3 (i.e. not migrated from 7.x or anything 
> like that).

Usually this is caused by either:
(1) You're not vacuuming as a superuser, so it's not able to vacuum
everything.
(2) You have a long-running transaction that never completed for some
strange reason.

Hope this helps,
	Jeff Davis




view thread (6+ messages)  latest in thread

Message-ID: <1156284025.15743.104.camel@dogma.v10.wvs>
Permalink:  ../1156284025.15743.104.camel@dogma.v10.wvs/
Also on:    postgresql.org/message-id/1156284025.15743.104.camel@dogma.v10.wvs

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: pgsql@j-davis.com, mjy@geizhals.at
  Subject: Re: VACUUM FULL needed sometimes to prevent transaction
  In-Reply-To: <1156284025.15743.104.camel@dogma.v10.wvs>

* 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