Re: VACUUM FULL needed sometimes to prevent transaction

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Marinos Yannikos <mjy(at)geizhals(dot)at>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: VACUUM FULL needed sometimes to prevent transaction
Date: 2006-08-22 22:00:25
Message-ID: 1156284025.15743.104.camel@dogma.v10.wvs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Davis 2006-08-22 22:22:54 Re: PowerEdge 2950 questions
Previous Message Bucky Jordan 2006-08-22 21:56:12 Re: PowerEdge 2950 questions