0
0
DBMS Theoryknowledge~5 mins

Replication strategies in DBMS Theory - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is replication in database systems?
Replication is the process of copying and maintaining database objects, like data, across multiple servers to improve availability and reliability.
Click to reveal answer
beginner
What is the main goal of replication strategies?
The main goal is to ensure data consistency, availability, and fault tolerance by managing how data is copied and synchronized across multiple database nodes.
Click to reveal answer
intermediate
Explain master-slave replication.
In master-slave replication, one server (master) handles all writes and updates, while one or more servers (slaves) copy data from the master and handle read requests. This improves read performance and data backup.
Click to reveal answer
intermediate
What is multi-master replication?
Multi-master replication allows multiple servers to accept write operations and synchronize changes with each other. This increases availability but requires conflict resolution to keep data consistent.
Click to reveal answer
intermediate
Describe synchronous vs asynchronous replication.
Synchronous replication waits for data to be copied to all replicas before confirming a write, ensuring strong consistency but slower performance. Asynchronous replication confirms writes immediately and copies data later, improving speed but risking temporary inconsistency.
Click to reveal answer
Which replication strategy allows multiple servers to accept writes simultaneously?
AMulti-master replication
BMaster-slave replication
CSingle-master replication
DSnapshot replication
In which replication type does the master server handle all write operations?
AMulti-master replication
BPeer-to-peer replication
CMaster-slave replication
DAsynchronous replication
What is a key advantage of asynchronous replication?
AFaster write performance
BStrong consistency
CNo data conflicts
DImmediate data synchronization
Which replication strategy is best for improving read performance by distributing read requests?
ASnapshot replication
BMulti-master replication
CSynchronous replication
DMaster-slave replication
What is a challenge of multi-master replication?
ASingle point of failure
BConflict resolution
CSlow read operations
DNo data backup
Explain the differences between master-slave and multi-master replication strategies.
Think about how many servers can accept writes and how data conflicts are handled.
You got /4 concepts.
    Describe the trade-offs between synchronous and asynchronous replication.
    Consider speed versus data consistency.
    You got /4 concepts.