Re: Terrible performance on wide selects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Terrible performance on wide selects
Дата
Msg-id 25521.1043280242@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Terrible performance on wide selects  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: Terrible performance on wide selects  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
"Dann Corbit" <DCorbit@connx.com> writes:
> Maybe I don't really understand the problem, but it seems simple enough
> to do it once for the whole query.

We already do cache column offsets when they are fixed.  The code that's
the problem executes when there's a variable-width column in the table
--- which means that all columns to its right are not at fixed offsets,
and have to be scanned for separately in each tuple, AFAICS.

            regards, tom lane

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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: [PERFORM] Proposal: relaxing link between explicit JOINs and execution order
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] Proposal: relaxing link between explicit JOINs and execution order