4min chapter

Postgres FM cover image

Partitioning

Postgres FM

CHAPTER

The Benefits of Splitting Tables in Postgres

partitioning is not an enforced clustering in terms of strict but it's kind of a loose cluster in postgres. Things aren't guaranteed to be in order within a partition but each partition will be separate yeahYeah so you need to split tables definitely maybe one more reason like the data locality is very important because updates or deletes happen very infrequently there or inserts also. So we autovac can keep many more pages keeping them all frozen all visible all the time right? It's also about vacuum efficiency but different vacuum not deleting that apples but keeping this visibility map up to date and this is super beneficial for performance query performance.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode