3min chapter

Postgres FM cover image

pg_upgrade: the tricky and dangerous parts

Postgres FM

CHAPTER

How to Create a Replication Slot

If no one is using this slot, we have a lesson position. And once we do it, was are starting to accumulate on the primary more and more. If we keep this this slot unused, we know they will be we will be out of disk space. So we should move fast, or we should have a lot ofdisk space. Now we have a trick. We can switch from physical replication to logical. This is how we can very quickly initialize logical replica based on physical replica in cases where when you need all of database or majority of tables to be replicated.

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