Re: [PATCHES] Bitmapscan changes

From: Hannu Krosing <hannu(at)skype(dot)net>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] Bitmapscan changes
Date: 2007-03-14 14:59:39
Message-ID: 1173884379.3270.3.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Ühel kenal päeval, K, 2007-03-14 kell 10:22, kirjutas Heikki
Linnakangas:
> Tom Lane wrote:
> > At this point I'm feeling unconvinced that we want it at all. It's
> > sounding like a large increase in complexity (both implementation-wise
> > and in terms of API ugliness) for a fairly narrow use-case --- just how
> > much territory is going to be left for this between HOT and bitmap indexes?
>
> I'm in a awkward situation right now. I've done my best to describe the
> use cases for clustered indexes.

...

> Just to recap the general idea: reduce index size taking advantage of
> clustering in the heap.
>
> Clustered indexes have roughly the same performance effect and use cases
> as clustered indexes on MS SQL Server, and Index-Organized-Tables on
> Oracle, but the way I've implemented them is significantly different. On
> other DBMSs, the index and heap are combined to a single b-tree
> structure. The way I've implemented them is less invasive, there's no
> changes to the heap for example, and it doesn't require moving live tuples.

Do you keep visibility info in the index ?

How does this info get updated when visibility data changes in the
heap ?

If there is no visibility data in index, then I can't see, how it gets
the same performance effect as Index-Organized-Tables, as lot of random
heap access is still needed.

--
----------------
Hannu Krosing
Database Architect
Skype Technologies OÜ
Akadeemia tee 21 F, Tallinn, 12618, Estonia

Skype me: callto:hkrosing
Get Skype for free: http://www.skype.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2007-03-14 14:59:53 Re: Daylight Saving Time question PostgreSQL 8.1.4
Previous Message Tom Lane 2007-03-14 14:58:41 Re: Bug in VACUUM FULL ?

Browse pgsql-patches by date

  From Date Subject
Next Message Gregory Stark 2007-03-14 15:16:14 Re: LIMIT/SORT optimization
Previous Message Gregory Stark 2007-03-14 14:20:14 Re: LIMIT/SORT optimization