Skip to content

Postgres padding alignment: fix and improve

What does this MR do and why?

Polish the document about optimization of column order in Postgres tables.

  • Fix the information about alignment for various data types
  • Simplify and elaborate the example (get rid of confusing varlena, provide a concrete example, show details with pageinspect)

Triggered by discussion: https://news.ycombinator.com/item?id=32071557

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Nikolay Samokhvalov

Merge request reports