Re: Data loss, vacuum, transaction wrap-around

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: pgsql(at)mohawksoft(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Data loss, vacuum, transaction wrap-around
Date: 2005-02-18 18:03:26
Message-ID: 19607.1108749806@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Matthew T. O'Connor" <matthew(at)zeut(dot)net> writes:
> I hope this question isn't too stupid....

> Is it be possible to create a "vacuum wraparound" or "vacuum xidreset"
> command which would do the work required to fix the wraparound problem,
> without being as expensive as a normal vacuum of an entire database?

I don't think it'd be worth the trouble. You could skip index cleanup
if you didn't actually delete any tuples, but you'd still have to do all
of the scanning work. The cases where people think they don't need to
do vacuum (because the table didn't have any deleted tuples) wouldn't
get any cheaper at all.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2005-02-18 18:19:19 Re: Data loss, vacuum, transaction wrap-around
Previous Message pgsql 2005-02-18 18:00:39 Re: Data loss, vacuum, transaction wrap-around