Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] VACUUM Improvements - WIP Patch

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Abhijit Menon-Sen <ams(at)oryx(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] VACUUM Improvements - WIP Patch
Date: 2008-09-01 06:29:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Abhijit Menon-Sen wrote:
> At 2008-08-25 10:24:01 +0300, heikki(at)enterprisedb(dot)com wrote:
>> My original plan was to enable index-only-scans using the DSM as well
>> for 8.4, but it's pretty clear at this point that I don't have the
>> time to finish that :-(.
> I wonder how hard that would be.

It's doable, for sure.

The pieces I see as required for that are:
1. change the indexam API so that indexes can return tuples
2. make sure the DSM is suitable for index-only-scans. Ie. it must be 
completely up-to-date and WAL-logged, so that if the DSM says that all 
tuples on a page are visible, they really must be.
3. planner/stats changes, so that the planner can estimate how much of 
an index scan can be satisfied without looking at the heap (it's not an 
all-or-nothing plan-time decision with this design)

   Heikki Linnakangas

In response to

pgsql-hackers by date

Next:From: Stephen FrostDate: 2008-09-01 06:38:55
Subject: WIP: Column-level Privileges
Previous:From: Dennis BjrklundDate: 2008-09-01 06:25:29
Subject: Re: Is this really really as designed or defined in some standard

pgsql-patches by date

Next:From: Jaime CasanovaDate: 2008-09-01 06:50:48
Subject: Re: Extending grant insert on tables to sequences
Previous:From: ITAGAKI TakahiroDate: 2008-09-01 03:42:08
Subject: Re: rmgr hooks and contrib/rmgr_hook

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group