ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> This is a revised patch originated by Junji TERAMOTO for HEAD.
> [BTree vacuum before page splitting]
> I think we can resurrect his idea because we will scan btree pages
> at-atime now; the missing-restarting-point problem went away.
> Have I missed something? Comments welcome.
I think the only serious objection to this would be that it'd mean that
tuples that should have an index entry might not have one. The current
form of VACUUM does not care, but people keep raising the idea of doing
"retail" vacuuming that operates by looking up index entries explicitly.
You could certainly make a retail vacuumer do nothing if it fails to
find the expected index entry, but ISTM that'd be a rather serious loss
of consistency checking --- you could not tell the someone-already-
deleted-it case apart from a bug in the vacuumer's index value
computation or lookup.
Personally I don't think retail vacuuming in that form will ever fly
anyway, so I have no problem with installing the proposed patch,
but I thought I'd better throw this comment out to see if anyone
thinks it's a big deal.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Bort, Paul||Date: 2006-07-24 16:46:54|
|Subject: Re: Adding a pgbench run to buildfarm|
|Previous:||From: Peter Eisentraut||Date: 2006-07-24 16:35:07|
|Subject: Re: plPHP and plRuby|
pgsql-patches by date
|Next:||From: Peter Eisentraut||Date: 2006-07-24 17:09:17|
|Subject: Re: Allow commenting of variables in postgresql.conf to - try 4|
|Previous:||From: Peter Eisentraut||Date: 2006-07-24 16:33:36|
|Subject: Re: [PATCHES] Generic Monitoring Framework with DTrace patch|