News for hackers. Stuff that matters.
Re:How does database sharding work? by dalyons on Friday April 07, 2023 @07:18AM (#35480432)
Yes and no - I think people also underestimate how miserable running a single giant RDBMS can be. Everything gets hard and dangerous - backup/restores, upgrades, online migrations & schema changes. Adding the wrong index can easily brings the whole thing down. They are complicated beasts that get very fragile at the large end (size+throughput)
Re:How does database sharding work? by ComodoHacker on Friday April 07, 2023 @01:24PM (#35484260)
Speaking of backups, how do you get consistent backup of a sharded DB? Not everything is sharded, some data are replicated and should be consistent.

Everything becomes fragile at the large end.

Re:How does database sharding work? by dalyons on Saturday April 08, 2023 @12:42PM (#35495062)
well im comparing it to a natively distributed database, like for eg dynamoDB. I've worked with truly massive dynamodb "instances" and you really dont have to do much, they arent fragile, they just work. I don't necessarily know how their backup system works under the hood, but it backs up to a consistent point in time.