Re: Forcing more agressive index scans for BITMAP AND

Поиск
Список
Период
Сортировка
От Matthew
Тема Re: Forcing more agressive index scans for BITMAP AND
Дата
Msg-id Pine.LNX.4.64.0804081156540.20402@aragorn.flymine.org
обсуждение исходный текст
Ответ на Re: Forcing more agressive index scans for BITMAP AND  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
Список pgsql-performance
On Tue, 8 Apr 2008, Ow Mun Heng wrote:
> I moved from multicolumn indexes to individual indexes because the
> queries does not always utilise the same few indexes, some users would
> use
>
> eg: index F, A, B or D,A,E or any other combination.

Yes, that does make it more tricky, but it still may be best to use
multicolumn indexes. You would just need to create an index for each of
the combinations that you are likely to use.

Matthew

--
"To err is human; to really louse things up requires root
 privileges."                 -- Alexander Pope, slightly paraphrased

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Hell, Robert"
Дата:
Сообщение: Re: Looking for bottleneck during load test
Следующее
От: Mark Stosberg
Дата:
Сообщение: Re: what worked: performance improvements for geo-spatial searching on FreeBSD