top | item 45746736

(no title)

speleding | 4 months ago

If your database has a hardware failure then you could loose all sales and customer data since your last backup, plus cost of the down time while you restore. I struggle to think of a business where that is acceptable.

discuss

order

evanelias|4 months ago

Why are you ignoring the huge middle ground between "HA with fully automated failover" and "no replication at all"?

Basic async logical replication in MySQL/MariaDB is extremely easy to set up, literally just a few commands to type.

Ditto for doing failover manually the rare times it is needed. Sure, you'll have a few minutes of downtime until a human can respond to the "db is down" alert and initiates failover, but that's tolerable for many small to medium sized businesses with relatively small databases.

That approach was extremely common ~10-15 years ago, and online businesses didn't have much worse availability than they do today.

speleding|4 months ago

I've done quite a few MySQL setups with replication. I would not call setup "extremely easy", but then, I'm not a full time DB admin. MySQL upgrades and general trouble shooting is so much more painful than AWS aurora where everything just takes a few clicks. And things like blue/green deployment, where you replicate your entire setup to try out a DB upgrade, are really hard to do onprem.

nostrebored|4 months ago

When I worked at AWS, the majority of customers who thought they had database backups had not tested recovery. The majority of them could not recover. At that point, RDS sells itself.

The other huge middle ground here is developer competency and meticulousness.

People radically overestimate how competent the average company writing software is.

danhor|4 months ago

My "Homeserver" with its database running on an old laptop has less downtime than AWS.

I expect most, if not 99%, of all businesses can cope with a hardware failure and the associated downtime while restoring to a different server, judging from the impact of the recent AWS outage and the collective shrug in response. With a proper raid setup, data loss should be quite rare, if more is required a primary + secondary setup with a manual failover isn't hard.

wredcoll|4 months ago

That's not the same as a "high availibility hot swap redundant multi region database".

Running mysqldump to a usb disk in the office once a day is pretty cheap.