Re: performance versus order of fields in row

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: performance versus order of fields in row
Дата
Msg-id 11321.1069825167@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: performance versus order of fields in row  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-general
Jan Wieck <JanWieck@Yahoo.com> writes:
> Tom Lane wrote:
>> Fields earlier in the table definition (further to the left) are
>> marginally faster to access than ones further to the right.  I doubt it
>> would be real noticeable unless you had hundreds of fields altogether.

> Do we still "cache" field offsets for not-nullable-fixed-size columns?

Yeah, we do, but I didn't think he wanted to get into that level of
detail ... in any case it's a safe bet that earlier fields are no slower
than later ones.

            regards, tom lane

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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: RPM RH9.0 conflict with unixODBC
Следующее
От: Shridhar Daithankar
Дата:
Сообщение: Re: PostgreSQL is much faster than MySQL, only when...