Junior — Middle
What is the main purpose of database replication?
sobes.tech AI
Answer from AI
The main goal of database replication is to increase data availability and fault tolerance, as well as to improve read performance.
Replication allows creating copies of data on multiple servers. This provides:
- Fast access to data from different geographical locations.
- Data backup in case of primary server failure.
- Load distribution for reading between replicas, reducing the load on the main server.
For example, in an online store, replication helps serve many users simultaneously, providing quick access to the product catalog.