News for hackers. Stuff that matters.
Re:Zero downtime migrations at Petabyte scale by Kaliboy on Thursday February 19, 2026 @06:18PM (#47081163)
Not sure how they do it, but I would do it like so:

Have old database be master. Let new be a slave. Load in latest db dump, may take as long as it wants.

Then start replication and catch up on the delay.

You would need, depending on the db type, a load balancer/failover manager. PgBouncer and PgPoolII come to mind, but MySQL has some as well. Let that connect to the master and slave, connect the application to the database through that layer.

Then trigger a failover. That should be it.

Re:Zero downtime migrations at Petabyte scale by Snelius on Thursday February 19, 2026 @10:15PM (#47083223)
> Load in latest db dump, may take as long as it wants.

400TB its about a week+ ?

> Then start replication and catch up on the delay.

Then u have a changes in the delay about +- 1TB. It means a changes syncing about few days more while changes still coming.

They said "current requests are buffered" which is impossible, especial for long distributed (optional) transactions which in a progress (it can spend a hours, days (for analitycs)).

Overwall this article is a BS or some super custom case which irrelevant for common systems. You can't migrate w/o downtime, it's a physical impossible.

Re:Zero downtime migrations at Petabyte scale by freakynit on Friday February 20, 2026 @12:02AM (#47083971)
Feels the same to me as well.

"Take snapshot and begin streaming replication"... like to where? The snapshot isn't even prepared fully yet and definitely hasn't reached the target. Where are you dumping/keeping those replication logs for the time being?

Secondly, how are you managing database state changes due to realtime update queries? They are definitely going in source table at this point.

I don't get this. Im still stuck on point 1... have read it twice already.

Re:Zero downtime migrations at Petabyte scale by mattlord on Friday February 20, 2026 @12:49PM (#47091290)
Re:Zero downtime migrations at Petabyte scale by Snelius on Sunday February 22, 2026 @02:16AM (#47108988)
He can't. It's not a reference, just a bunch of CLI examples. Please learn what is the reference. Even docs is a BS, wonderful product. Overall this article is a typical advertising and clickbait..
Re:Zero downtime migrations at Petabyte scale by joshuamorton on Sunday February 22, 2026 @09:02PM (#47117148)
The code is open source though, you can read it. The cli examples point you towards the relevant bits of the actual database code to read.

For my own sake, I'm not sure what is so surprising here. "Turn up a hot second replica and fail over to it intentionally behind a global load balancer." Is pretty well trodden ground.

Re:Zero downtime migrations at Petabyte scale by Snelius on Sunday February 22, 2026 @09:58PM (#47117527)
> The code is open source though, you can read it

Thank you! :D

> Is pretty well trodden ground.

YES!! But the article point us to it's a 400TB+ w/o downtime migration. This is impossible. That why is looks like clickbait and advertising of a product.

Re:Zero downtime migrations at Petabyte scale by joshuamorton on Sunday February 22, 2026 @10:41PM (#47117820)
I will simply point out that I'm aware of larger zero down-time migrations, like this one: https://www.youtube.com/watch?v=ih97gwNmkRA
Re:Zero downtime migrations at Petabyte scale by Snelius on Monday February 23, 2026 @09:19PM (#47132063)
Thank you for the link but it's not the same case ;) Google used storage switching which has migration in mixed mode, i.e. migration on demand when data migrated due user access to. API had compatibility layer to read/write from/to both storage systems (i built kind of this migration mechanism about decade ago). And google spend about 8 years for the migration which ok. And the article about Database migration which can be periodical process (critical scheme changes for example) and they describe it to us. Take snapshot and racing with snapshot overhead changes and etc. I think we can let's over here. It's not a zero downtime solution cuz it's not exists.
Re:Zero downtime migrations at Petabyte scale by mattlord on Friday February 20, 2026 @12:53PM (#47091349)
So you don't understand how something works. That's fine. But to then say the article and/or tech are BS is... a choice.

This work has been and is being used by some of the largest sites / apps in the world including Uber, Slack, GitHub, Square... But sure, "it's BS, super custom, and irrelevant". Gee, yer super smart! Thank you for the amazing insights. 5 stars.