Re: avoid select expens_expr(col) like unneccessary calculations

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: avoid select expens_expr(col) like unneccessary calculations
Дата
Msg-id 20030707154329.J82767-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на avoid select expens_expr(col) like unneccessary calculations  (Markus Bertheau <twanger@bluetwanger.de>)
Ответы Re: avoid select expens_expr(col) like unneccessary calculations  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-sql
On 8 Jul 2003, Markus Bertheau wrote:

> when you have
> select expensive_expression(column), * from table offset 20 limit 40
>
> can you somehow save the cost for the first 20 calculations of
> expensive_expression?

Right now the only way I can think of that might work is to push the
offset/limit into a subselect on table and then do the
expensive_expression at the top level.



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

Предыдущее
От: Markus Bertheau
Дата:
Сообщение: avoid select expens_expr(col) like unneccessary calculations
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: avoid select expens_expr(col) like unneccessary calculations