Re: sunquery and estimated rows - Mailing list pgsql-performance

From Tom Lane
Subject Re: sunquery and estimated rows
Date
Msg-id 12050.1082329766@sss.pgh.pa.us
Whole thread Raw
In response to Re: sunquery and estimated rows  (Markus Bertheau <twanger@bluetwanger.de>)
Responses Re: sunquery and estimated rows
List pgsql-performance
Markus Bertheau <twanger@bluetwanger.de> writes:
> В Сбт, 17.04.2004, в 01:45, Tom Lane пишет:
>> The planner sees that as "where scope = <some complicated expression>"
>> and falls back to a default estimate.  It won't simplify a sub-select
>> to a constant.  (Some people consider that a feature ;-).)

> Why?

It's the only way to prevent it from simplifying when you don't want it
to.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Wierd context-switching issue on Xeon
Next
From: Dave Cramer
Date:
Subject: Re: Wierd context-switching issue on Xeon