Re: Forcing more agressive index scans for BITMAP AND

From: Matthew <matthew(at)flymine(dot)org>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Forcing more agressive index scans for BITMAP AND
Date: 2008-04-08 11:02:00
Message-ID: Pine.LNX.4.64.0804081156540.20402@aragorn.flymine.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Rajashri Tupe 2008-04-08 11:54:19 Re: Views and functions returning sets of records
Previous Message Hell, Robert 2008-04-08 09:16:14 Re: Looking for bottleneck during load test