Re: Terrible performance on wide selects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Terrible performance on wide selects
Дата
Msg-id 25738.1043333402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Terrible performance on wide selects  (Daniel Kalchev <daniel@digsys.bg>)
Список pgsql-hackers
Daniel Kalchev <daniel@digsys.bg> writes:
> Does this mean, that constructing tables where fixed length fields are
> 'before' variable lenght fields and 'possibly null' fields might increase
> performance?

There'd have to be no nulls, period, to get any useful performance
difference --- but yes, in theory putting fixed-length columns before
variable-length ones is a win.

I wouldn't bother going out to rearrange your schemas though ... at
least not before you do some tests to prove that it's worthwhile.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] Terrible performance on wide selects
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Threads