Re: pg 7.4.rc1, Range query performance

From: ow <oneway_111(at)yahoo(dot)com>
To: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pg 7.4.rc1, Range query performance
Date: 2003-11-11 00:41:39
Message-ID: 20031111004139.47333.qmail@web21407.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


--- Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com> wrote:
> I'm not sure that AK_abc is the best index for check a range on a and
> single values on b and c. I'd think that something like an index
> on (b,c,a) would probably be better for this purpose (without doing any
> testing ;) ).

That would not work for us since most of the time users are working with most
recent data, hence column "a" is the first in the index.

Thanks

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2003-11-11 00:50:56 Re: pg 7.4.rc1, Range query performance
Previous Message ow 2003-11-11 00:30:39 Re: pg 7.4.rc1, Range query performance