Re: Indexing a boolean - Mailing list pgsql-admin

From Renney Thomas
Subject Re: Indexing a boolean
Date
Msg-id 3F46EA13.9030306@yahoo.com
Whole thread Raw
In response to Re: Indexing a boolean  ("scott.marlowe" <scott.marlowe@ihs.com>)
Responses Re: Indexing a boolean
List pgsql-admin
scott.marlowe wrote:

>On Thu, 21 Aug 2003, Kris Kiger wrote:
>
>
>>I would appreciate it if I could get some thoughts on indexing a field
>>with only two values?  For example, I have a table with a few million
>>

>>Often the best approach here is to make a partial index:
>>
>>create index table_dx on table (bool_field) where bool_field IS TRUE;
>>
>>This works well if you have a large portion of the boolean fields set to
>>FALSE, and want to find the few that are TRUE.  Reverse the TRUE and false
>>for other situations.
>>
>>
>>

When will PGSql have bitmapped indexes for these cases - like Oracle?
Will it be in a release sometime soon?


pgsql-admin by date:

Previous
From: "Nikolaus Dilger"
Date:
Subject: Re: Partial indexes (was: Re: Indexing a boolean)
Next
From: "Serguei Mokhov"
Date:
Subject: undefined reference to `_libintl_gettext'