Re: multicolumn indexes still efficient if not fully stressed?

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: multicolumn indexes still efficient if not fully stressed?
Date: 2009-01-12 20:17:47
Message-ID: 200901121217.47224@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Monday 12 January 2009, "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> wrote:
> I've found that when you do frequently query on two or more columns, a
> multi-column index is faster than bitmap scans, especially for larger
> data sets.

Very much faster, especially if you're only looking for a few dozen or
hundred rows out of multi-million row tables.

--
Current Peeve: The mindset that the Internet is some sort of school for
novice sysadmins and that everyone -not- doing stupid dangerous things
should act like patient teachers with the ones who are. -- Bill Cole, NANAE

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2009-01-12 22:59:24 slow query
Previous Message Scott Marlowe 2009-01-12 20:01:46 Re: multicolumn indexes still efficient if not fully stressed?