Anmelden

Postgres FM· Folge 126

Column Tetris

Freitag, 6. Dezember 2024 · 41 min

MP3

Shownotes

Nikolay and Michael discuss "Column Tetris" — what it is, why it matters, how to order columns for new tables, and how to re-organise existing ones.

Here are some links to things they mentioned:
• “Column Tetris” by Erwin Brandstetter on Stack Overflow stackoverflow.com/questions/2966524/calculatin…
• Data Types postgresql.org/docs/current/datatype.html
• OrioleDB beta7 benchmarks orioledb.com/blog/orioledb-beta7-benchmarks
• pg_hexedit github.com/petergeoghegan/pg_hexedit
• Saving Space Basically for Free (blog post by James Coleman from Braintree) medium.com/paypal-tech/postgresql-at-scale-sav…
• Ordering Table Columns (GitLab docs.gitlab.com/ee/development/database/orderi…
• postgres_dba alignment padding query github.com/NikolayS/postgres_dba/blob/master/s…
• Good explanation from Marco Slot of how alignment was used to fix a recent issue x.com/marcoslot/status/1858132850383421570
• pg_repack feature request discussion github.com/reorg/pg_repack/issues/101
• Our episode on bloat (with Chelsea Dole) postgres.fm/episodes/bloat
• Optimizing table layout for maximum efficiency (blog post by Renato Massaro) r.ena.to/blog/optimizing-postgres-table-layout…

~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, (postgres.fm/people) or by commenting on our Google doc (docs.google.com/document/d/1PNGSn_d0A7gTR4C0p6…)!

~~~
Postgres FM is produced by:
• Michael Christofides, founder of pgMustard (pgmustard.com)
• Nikolay Samokhvalov, founder of Postgres.ai (postgres.ai)

With special thanks to:
• Jessie Draws for the elephant artwork

Anmelden oder registrieren

Jetzt

0:00 / 0:00