Re: Terrible performance on wide selects

Поиск
Список
Период
Сортировка
От Daniel Kalchev
Тема Re: Terrible performance on wide selects
Дата
Msg-id 200301231044.h0NAi8Y21333@dcave.digsys.bg
обсуждение исходный текст
Ответ на Re: Terrible performance on wide selects  (Hannu Krosing <hannu@tm.ee>)
Ответы Re: Terrible performance on wide selects
Re: [PERFORM] Terrible performance on wide selects
Список pgsql-hackers
>>>Hannu Krosing said:
 > Tom Lane kirjutas N, 23.01.2003 kell 02:04:
 > > 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.
 >
 > Not only varlen columns, but also NULL columns forbid knowing the
 > offsets beforehand.

Does this mean, that constructing tables where fixed length fields are
'before' variable lenght fields and 'possibly null' fields might increase
performance?

Daniel


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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Terrible performance on wide selects
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Oracle rant