3min chapter

Postgres FM cover image

pg_upgrade: the tricky and dangerous parts

Postgres FM

CHAPTER

How to Initialize a TPS From Standby

It's very challenging for really big databases, like for example, five 10 15 terabytes under some significant load. And why is it so? Because initialization at logical level involves basically a kind of dump restore process which takes long and also affects the health of your source cluster. So how to do it better? This is a recipe. We can create us we can first of all have secondary cluster. I'm going to use patroni terminology here. They are all standby. But one of them is leader because we have cascaded replication.So standby leader is replicating using stimuli replication from main primary. And then it has its own standby nodes, because credit replication. And patroni can do

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