Re: Experimental patch for inter-page delay in VACUUM
Matthew T. O'Connor <matthew@zeut.net>
From: "Matthew T. O'Connor" <matthew@zeut.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2003-10-31T05:16:40Z
Lists: pgsql-hackers
Tom Lane wrote: >Attached is an extremely crude prototype patch for making VACUUM delay >by a configurable amount between pages, > Cool! >Assuming that this is found to be useful, the following issues would >have to be dealt with before the patch would be production quality: > >2. I only bothered to insert delays in the processing loops of plain > VACUUM and btree index cleanup. VACUUM FULL and cleanup of non-btree > indexes aren't done yet. > > I thought we didn't want the delay in vacuum full since it locks things down, we want vacuum full to finish ASAP. As opposed to normal vacuum which would be fired by the autovacuum daemon.