Re: Memory Alignment in Postgres

Поиск
Список
Период
Сортировка
Искать
От
Robert Haas
Тема
Re: Memory Alignment in Postgres
Дата
Msg-id
CA+TgmobD+qTEvQuc1=-aUh6w_B0cqY_POAMXm6D8_d0vBNQVzw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Memory Alignment in Postgres Arthur Silva <arthurprs@gmail.com>
Re: Memory Alignment in Postgres Bruce Momjian <bruce@momjian.us>
Re: Memory Alignment in Postgres Robert Haas <robertmhaas@gmail.com>
Re: Memory Alignment in Postgres Bruce Momjian <bruce@momjian.us>
Re: Memory Alignment in Postgres Robert Haas <robertmhaas@gmail.com>
Re: Memory Alignment in Postgres Arthur Silva <arthurprs@gmail.com>
Re: Memory Alignment in Postgres Andres Freund <andres@2ndquadrant.com>
Re: Memory Alignment in Postgres Arthur Silva <arthurprs@gmail.com>
Re: Memory Alignment in Postgres Robert Haas <robertmhaas@gmail.com>
Re: Memory Alignment in Postgres Merlin Moncure <mmoncure@gmail.com>
Re: Memory Alignment in Postgres Tom Lane <tgl@sss.pgh.pa.us>
Re: Memory Alignment in Postgres Andres Freund <andres@2ndquadrant.com>
Re: Memory Alignment in Postgres Arthur Silva <arthurprs@gmail.com>
Re: Memory Alignment in Postgres "ktm@rice.edu" <ktm@rice.edu>
On Thu, Sep 11, 2014 at 9:32 AM, Arthur Silva  wrote:
> I thought all memory alignment was (or at least the bulk of it) handled
> using some codebase wide macros/settings, otherwise how could different
> parts of the code inter-op? Poking this area might suffice for some initial
> testing to check if it's worth any more attention.

Well, sure, but the issues aren't too simple.  For example, I think
there are cases where we rely on the alignment bytes being zero to
distinguish between an aligned value following and an unaligned
toasted value.  That stuff can make your head explode, or at least
mine.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
От: Mitsumasa KONDO
Дата:
FAQ