Re: performance versus order of fields in row - Mailing list pgsql-general

From Tom Lane
Subject Re: performance versus order of fields in row
Date
Msg-id 11321.1069825167@sss.pgh.pa.us
Whole thread Raw
In response to Re: performance versus order of fields in row  (Jan Wieck <JanWieck@Yahoo.com>)
List 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 by date:

Previous
From: Lamar Owen
Date:
Subject: Re: RPM RH9.0 conflict with unixODBC
Next
From: Shridhar Daithankar
Date:
Subject: Re: PostgreSQL is much faster than MySQL, only when...