3min chapter

Postgres FM cover image

pg_upgrade: the tricky and dangerous parts

Postgres FM

CHAPTER

The Problem With Automating the Process Involving Logical and Run Postgres Measure Upgrade

In new cluster after PGA grade, we don't have statistics, so we need to run analyze. I would say it's not a good idea to run analyze right away. We can start logical first and run analyze logical subscription first. But if order of actions logical first, then upgrade and continue logical, there are risks of corruption. If you have a really big database, probably we still won't work well.

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