Re: optimising UNION performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: optimising UNION performance
Дата
Msg-id 27811.1156776394@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: optimising UNION performance  (Alban Hertroys <alban@magproductions.nl>)
Ответы Re: optimising UNION performance
Список pgsql-general
Alban Hertroys <alban@magproductions.nl> writes:
> There's practically no difference between SELECT 1 FROM ... and SELECT *
> FROM ...; the only added costs (AFAIK) are for actually fetching the
> column values and such. Pretty cheap operations.

You're both glossing over exactly the wrong thing, particularly seeing
that Rafal appears to be using 8.0 or older which hasn't got 8.1's
significant reductions in targetlist evaluation costs.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: "Harpreet Dhaliwal"
Дата:
Сообщение: Re: Perl language creation failed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Perl language creation failed