Anmelden

Postgres FM· Folge 155

Multi-column indexes

Freitag, 22. August 2025 · 41 min

MP3

Shownotes

Nik and Michael discuss multi-column indexes in Postgres — what they are, how to think about them, and some guidance around using them effectively.

Here are some links to things they mentioned:
• Multicolumn Indexes (docs) postgresql.org/docs/current/indexes-multicolum…
• Our episode on Index-only scans postgres.fm/episodes/index-only-scans
• Combining Multiple Indexes (docs) postgresql.org/docs/current/indexes-bitmap-sca…
• Enable BUFFERS with EXPLAIN ANALYZE by default git.postgresql.org/gitweb/?p=postgresql.git;a=…
• “PostgreSQL includes an implementation of the standard btree […] The only limitation is that an index entry cannot exceed approximately one-third of a page” postgresql.org/docs/current/btree.html
• Our episode on HOT updates postgres.fm/episodes/hot-updates
• Our episode on LIMIT vs Performance postgres.fm/episodes/limit-vs-performance

~~~
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 credit to:
• Jessie Draws for the elephant artwork

Anmelden oder registrieren

Jetzt

0:00 / 0:00