Re: sunquery and estimated rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: sunquery and estimated rows
Дата
Msg-id 12050.1082329766@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: sunquery and estimated rows  (Markus Bertheau <twanger@bluetwanger.de>)
Ответы Re: sunquery and estimated rows  (Rod Taylor <rbt@rbt.ca>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Wierd context-switching issue on Xeon
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Wierd context-switching issue on Xeon