Re: Dead Space Map for vacuum - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Dead Space Map for vacuum
Date
Msg-id BF8F559D-B21B-4334-A6B5-8AFAE1026631@decibel.org
Whole thread Raw
In response to Re: Dead Space Map for vacuum  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-hackers
On Jan 3, 2007, at 11:42 PM, ITAGAKI Takahiro wrote:
> BTW, if we want to achieve the index-only scan, we might have to do  
> more
> aggressive VACUUM FREEZE. There were many comments that we should  
> avoid
> vacuuming pages that contain only unfrozen tuples or a few dead  
> tuples.
> I think it it true for efficient VACUUM, but the index-only scan  
> does not
> work for the unfrozen pages. Which should we give priority?

Unless I'm mistaken, as soon as vacuum decides to dirty a page, the  
only cost involved in freezing the page is CPU - and vacuum isn't  
exactly a CPU-intensive process.
--
Jim Nasby                                            jim@nasby.net
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: ideas for auto-processing patches
Next
From: Jim Nasby
Date:
Subject: Re: [PATCHES] Patch to log usage of temporary files