Re: [PATCH] bitmap indexes - Mailing list pgsql-hackers

From Antonin Houska
Subject Re: [PATCH] bitmap indexes
Date
Msg-id 5243DE35.7040809@gmail.com
Whole thread Raw
In response to Re: [PATCH] bitmap indexes  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 09/26/2013 12:20 AM, Alvaro Herrera wrote:

> This led me to research how these indexes are stored.  I note that what
> we're doing here is to create another regular table and a btree index on
> top of it, and those are the ones that actually store the index data.
> This seems grotty and completely unlike the way we do things elsewhere
> (compare GIN indexes which have rbtrees inside them). 

Perhaps you meant that GIN has B-tree inside. RBTree is in fact used by
GiST, but only as in-memory structure during the search - to get the
tuples sorted by distance.

// Antonin Houska (Tony)




pgsql-hackers by date:

Previous
From: "Erik Rijkers"
Date:
Subject: Re: Minmax indexes
Next
From: Fabien COELHO
Date:
Subject: Re: pgbench progress report improvements - split 3 v2