From: | Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> |
---|---|
To: | Sailesh Krishnamurthy <sailesh(at)cs(dot)berkeley(dot)edu> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>, josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org, Chris Browne <cbbrowne(at)acm(dot)org> |
Subject: | Re: plans for bitmap indexes? |
Date: | 2004-10-20 02:49:41 |
Message-ID: | Pine.LNX.4.58.0410201246330.11502@linuxworld.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 19 Oct 2004, Sailesh Krishnamurthy wrote:
> >>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
> Tom> One huge advantage is that the actual heap visiting becomes
> Tom> efficient, eg you never visit the same page more than once.
> Tom> (What you lose is the ability to retrieve data in index
> Tom> order, so this isn't a replacement for existing indexscan
> Tom> methods, just another plan type to consider.)
>
> Even without bitmap indexes, without trying to use multiple indexes
> etc. this (visiting a page only once) is useful.
>
> In other words, I'd like to see the indexscan broken up into: (1) an
> operator that returns a list of TIDs, (2) Sort the TIDs and (3) an
> operator that fetches heap tuples from the sorted TID list.
I'm uncertain about the potential benefit of this. Isn't/shouldn't the
effects of caching be assisting us here?
Gavin
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Conway | 2004-10-20 02:52:57 | Re: Possible make_oidjoins_check Security Issue |
Previous Message | Christopher Kings-Lynne | 2004-10-20 02:48:21 | Re: Time off |