| От | Tom Lane |
|---|---|
| Тема | Re: Query plan question, and a memory leak |
| Дата | |
| Msg-id | 29834.1044246283@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Query plan question, and a memory leak (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: Query plan question, and a memory leak
|
| Список | pgsql-general |
Greg Stark <gsstark@mit.edu> writes:
> I wouldn't expect it to actually take any more time. In fact I would expect it
> to take a lot less time since it takes time to handle the resulting data too.
You're mistaking planner estimate time for reality ;-).
IIRC, the planner doesn't bother to account for evaluation time of
select-list values in its estimates. At least in simple cases, there's
no point in doing that math because the cost will be the same no matter
what plan is chosen.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера