Re: Indexing a boolean
| От | Renney Thomas |
|---|---|
| Тема | Re: Indexing a boolean |
| Дата | |
| Msg-id | 3F46EA13.9030306@yahoo.com обсуждение исходный текст |
| Ответ на | Re: Indexing a boolean ("scott.marlowe" <scott.marlowe@ihs.com>) |
| Ответы |
Re: Indexing a boolean
|
| Список | 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 по дате отправления: