TGViewer
CatOps CatOps @catops · 5.07K subscribers
Post #2132 2.19K
Long time no posts about databases! So, here’s a short story of how Retool migrated their 4TB Postgres database from version 9.6 to 13.

There are a couple of interesting moments in this story:
- “Lift and shift” migrations are still the case. Sometimes it’s better to have a brief period of downtime than risk a migration to fail mid-way
- Cloud solution might not suit or even fail you. Running things in the cloud doesn’t mean that you don’t need to take care of operations whatsoever (especially when it comes to DBs)
- Test using representative workload be it number of requests or the size of DB.
- Even if there’s a tool for a job, it may require some tweaking. Also, sometimes you need to be creative (it’s in the article, they’ve wrote a script to migrate a pair of particularly large tables)
- Write run books :)

I don’t know, how many of you manage databases, but these points are applicable not only to DB migrations I must say.

#databases
Retool How we upgraded our 4 TB main application Postgres database Here is how we migrated our 4TB Postgres database from version 9.6 to version 13—with minimal downtime.
  • 👍 14
More from @catops
  1. Oct 8, 2026I’m going on a vacation, which means that I likely won’t post at all or post something ver…
  2. Oct 6, 2026A colleague of mine wrote an article about data migrations. Handling data migrations witho…
  3. Oct 1, 2026​​I traded my personal information for this report, so you don’t have to! DataDog presents…
  4. Sep 29, 2026A Cybersecurity books bundle by O’Reilly on Humble Bundle. The bundle is fresh and is stil…
  5. Sep 28, 2026​​For today’s Donations Monday, I’d like to remind you about a fundraiser for a pickup tru…
  6. Sep 26, 2026Here’s Datadog’s take on the increased load on CI. In this article they explain how their…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →