Re: Query plan issue when upgrading to postgres 8.14 (from - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query plan issue when upgrading to postgres 8.14 (from
Date
Msg-id 13633.1154038925@sss.pgh.pa.us
Whole thread Raw
In response to Re: Query plan issue when upgrading to postgres 8.14 (from  (Ioana Danes <ioanasoftware@yahoo.ca>)
List pgsql-performance
Ioana Danes <ioanasoftware@yahoo.ca> writes:
>   Does anyone now what the problem is with the following select when  upgrading to postgresql 8.1.4 the query plan
doesnot use the indexes  as in postgresql 8.0.3. 

The planner doesn't have enough information about the correlation
between testtype and testid to guess that the index-driven max()
optimization doesn't work well in this case.  But I see you've
already found the solution ...

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: performance issue with a specific query
Next
From: "Jaime Casanova"
Date:
Subject: Re: Savepoint performance