Re: Indexes?

From: vhikida(at)inreach(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Indexes?
Date: 2004-12-03 17:57:59
Message-ID: 59280.146.74.1.99.1102096679.squirrel@146.74.1.99
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>
>> based on the index values because 2004-12-02 is between the from and end
>> date. However, b and d would be excluded immediately because the the
>> from
>> date is greater than 2004-12-02 and would save the optimizer from even
>> reading the table for these index entries because the fromDate is in the
>> index.
>
> That is not correct. Postgres currently doesn't have a way to skip ahead
> on an index scan. So what will happen is that a, b, c, d and will all be
> considered and b and d removed by a filter rule.
>
OK. I got it now. Thanks :)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alec Swan 2004-12-03 18:02:07 Re: table inheritance and DB design
Previous Message Philippe Schmid 2004-12-03 17:50:43 Re: pgsql8b5 not launching on OSX system start; otherwise OK