From: Matthew <matthew@flymine.org>
To: pgsql-performance@postgresql.org
Subject: Re: Forcing more agressive index scans for BITMAP AND
Date: Tue, 8 Apr 2008 12:02:00 +0100 (BST)
Message-ID: <Pine.LNX.4.64.0804081156540.20402@aragorn.flymine.org> (raw)
In-Reply-To: <1207633371.26613.21.camel@neuromancer.home.net>
References: <1207556151.19677.2.camel@neuromancer.home.net>
<Pine.LNX.4.64.0804071149350.20402@aragorn.flymine.org>
<1207633371.26613.21.camel@neuromancer.home.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: matthew@flymine.org
Subject: Re: Forcing more agressive index scans for BITMAP AND
In-Reply-To: <Pine.LNX.4.64.0804081156540.20402@aragorn.flymine.org>
References: <1207556151.19677.2.camel@neuromancer.home.net> <Pine.LNX.4.64.0804071149350.20402@aragorn.flymine.org> <1207633371.26613.21.camel@neuromancer.home.net> <Pine.LNX.4.64.0804081156540.20402@aragorn.flymine.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox