pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-performance@postgresql.org
Subject: Re: 1-/2-dimensional indexes for common columns, rationale?
Date: Wed, 26 Mar 2008 16:25:18 +0100
Message-ID: <20080326152518.GI27264@a-kretschmer.de> (raw)
In-Reply-To: <47EA6888.2050506@geizhals.at>
References: <47EA5B4D.5000300@geizhals.at>
	<20080326150208.GH27264@a-kretschmer.de>
	<47EA6888.2050506@geizhals.at>

am  Wed, dem 26.03.2008, um 16:15:20 +0100 mailte Marinos Yannikos folgendes:
> A. Kretschmer schrieb:
> >>create index foo1 on bla (a);
> >>create index foo2 on bla (b);
> >>create index foo3 on bla (a,b);
> >>[...]
> >
> >Which version do you have? Since 8.1 pg can use a so called 'bitmap
> >index scan', because of this feature i guess you don't need the index
> >foo3. (if you have 8.1 or higher)
> 
> 8.3.1 - foo3 is being used though in presence of both foo1 and foo2, so 
> I'd suppose that it's a better choice even with bitmap index scan 
> available...

Maybe...


Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net



view thread (7+ messages)  latest in thread

Message-ID: <20080326152518.GI27264@a-kretschmer.de>
Permalink:  ../20080326152518.GI27264@a-kretschmer.de/
Also on:    postgresql.org/message-id/20080326152518.GI27264@a-kretschmer.de

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andreas.kretschmer@schollglas.com
  Subject: Re: 1-/2-dimensional indexes for common columns, rationale?
  In-Reply-To: <20080326152518.GI27264@a-kretschmer.de>

* 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