Re: increase index performance

From: "Ow Mun Heng" <ow(dot)mun(dot)heng(at)wdc(dot)com>
To: "Thomas Finneid" <tfinneid(at)fcon(dot)no>, "Matthew Wakeling" <matthew(at)flymine(dot)org>
Cc: "Greg Smith" <gsmith(at)gregsmith(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: increase index performance
Date: 2009-05-14 06:27:09
Message-ID: D1109E8B2FB53A45BDB60F8145905CE901DDB57D@wdmyexbe03.my.asia.wdc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

-----Original Message-----
From: pgsql-performance-owner(at)postgresql(dot)org [mailto:pgsql-performance- A
much
>> better index to answer your query is (city_id, house_id, floor_id) -
>> then it can just look up straight away. Instead of the index returning
>> 200000 rows to check, it will return just the 2000.

Shouldn't BITMAP indexes come into play?

Does having one index w/ 3 parameters being better than 3 index w/ 3
different parameters be better for BITMAP index seeks?

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2009-05-14 06:52:03 Re: AMD Shanghai versus Intel Nehalem
Previous Message Arjen van der Meijden 2009-05-14 06:21:38 Re: AMD Shanghai versus Intel Nehalem