Re: Multi-column index not used, new flipped column index is

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Multi-column index not used, new flipped column index is
Date: 2006-05-10 18:32:35
Message-ID: 20060510183235.GB18485@KanotixBox
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Markus Schaber <schabi(at)logix-tt(dot)com> schrieb:
> Bitmap Index Scans can be your solution, but AFAIK they were invented in
> 8.1.

Right.

>
> For bitmap index scans, you have one index on fkColumnOne and one on
> fkColumnTwo, and the query planner knows to combine them when both
> columns are given in a WHERE clause.

Yeah! The Bitmap Index Scan is a great thing. With some selects i have a
performance-boost from 5 to 10, compared with 8.0.

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknow)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruno Wolff III 2006-05-10 19:23:29 Re: Help with a seq scan on multi-million row table
Previous Message ogjunk-pgjedan 2006-05-10 18:13:59 Help with a seq scan on multi-million row table