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: | 48BB8BC9.7080508@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-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
EnterpriseDB http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2008-09-01 06:38:55 | WIP: Column-level Privileges |
Previous Message | Dennis Bjrklund | 2008-09-01 06:25:29 | Re: Is this really really as designed or defined in some standard |
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2008-09-01 06:50:48 | Re: Extending grant insert on tables to sequences |
Previous Message | ITAGAKI Takahiro | 2008-09-01 03:42:08 | Re: rmgr hooks and contrib/rmgr_hook |