Answer the question
In order to leave comments, you need to log in
Sharding and backup/restore?
If you use horizontal sharding and the database is "spread" over several servers (for example, the shards of one large table will be spread over 2 or more physical servers), then how to back up the database and, most importantly, how to restore it (for example, a table is deleted )? In which DBMS (MySQL, Postgres) is this even possible? Please share if you have experience.
Answer the question
In order to leave comments, you need to log in
for example, the shards of one large table will be spread over 2 or more physical servers
Even without sharding, the correct backup of a large database is not a trivial task.
Sharding is even more difficult. See for example https://dzone.com/articles/mysql-sharding-devops-c... and others on the topic "sharding backup".
If you do not have a DBA, I advise you to use managed services - AWS RDS, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question