Re: Data loss, vacuum, transaction wrap-around - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Data loss, vacuum, transaction wrap-around
Date
Msg-id 19607.1108749806@sss.pgh.pa.us
Whole thread Raw
In response to Re: Data loss, vacuum, transaction wrap-around  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-hackers
"Matthew T. O'Connor" <matthew@zeut.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


pgsql-hackers by date:

Previous
From: pgsql@mohawksoft.com
Date:
Subject: Re: Data loss, vacuum, transaction wrap-around
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Data loss, vacuum, transaction wrap-around