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
Ответ на
Список
Дерево обсуждения
performance versus order of fields in row "D. Stimits" <stimits@comcast.net>
Re: performance versus order of fields in row Tom Lane <tgl@sss.pgh.pa.us>
Re: performance versus order of fields in row Jan Wieck <JanWieck@Yahoo.com>
Re: performance versus order of fields in row Tom Lane <tgl@sss.pgh.pa.us>
Jan Wieck  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
Дата:
От: Shridhar Daithankar
Дата:
FAQ