Re: Indexing columns with low cardinality: persistent bitmap indexes?

Поиск
Список
Период
Сортировка
Искать
От
Scott Marlowe
Тема
Re: Indexing columns with low cardinality: persistent bitmap indexes?
Дата
Msg-id
dcc563d10901121329i5a7a213fgf2ca3c4232bc7ea1@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Indexing columns with low cardinality: persistent bitmap indexes? Bruno Lavoie <bruno.lavoie@gmail.com>
Re: Indexing columns with low cardinality: persistent bitmap indexes? Alvaro Herrera <alvherre@commandprompt.com>
Re: Indexing columns with low cardinality: persistentbitmap indexes? "Dann Corbit" <DCorbit@connx.com>
Re: Indexing columns with low cardinality: persistent bitmap indexes? Reg Me Please <regmeplease@gmail.com>
Re: Indexing columns with low cardinality: persistent bitmap indexes? "Jaime Casanova" <jcasanov@systemguards.com.ec>
Re: Indexing columns with low cardinality: persistent bitmap indexes? Martin Gainty <mgainty@hotmail.com>
Re: Indexing columns with low cardinality: persistent bitmap indexes? "Scott Marlowe" <scott.marlowe@gmail.com>
On Mon, Jan 12, 2009 at 1:38 PM, Bruno Lavoie  wrote:
> Hello,
>
> I have a column with a small number of distinct values, indexing this one
> with a standard BTree is useless. How do I  can index this column
> efficiently? I searched and it seems that pg doesn't support the creation of
> persistent bitmap indexes... Is that feature planned in next releases of pg?

You have a few options based on your access patterns.  If you tend to
access just one of these an get them all at once, then either clusting
on this value, or partitioning your table will help.

If you access your data using these values and other column values at
the same time, then partial or multi-column indexes might help.
В списке pgsql-general по дате отправления
От: Jaime Casanova
Дата:
От: Alvaro Herrera
Дата:
FAQ