Key Concepts of Distributed Database System: in Simple Terms
Key Concepts of Distributed Database System: in Simple Terms
multiple physical locations, which could be on different computers or networks, but it appears to
users as a single unified database.
🔍 In Simple Terms:
Imagine you have one big library, but instead of keeping all books in one place, the books are stored
in multiple smaller libraries located in different cities. Even though the books are spread out, people
can still search for and borrow any book as if it’s in one big library. That’s how a distributed
database system works!
1. Distribution of Data
• Data is physically stored at different sites/locations.
• These locations are connected via a network.
• Can be distributed by:
• Horizontal fragmentation (rows are split)
• Vertical fragmentation (columns are split)
• Mixed fragmentation (both rows and columns)
2. Transparency
Distributed databases aim to hide the complexity from users. Types of transparency:
• Location Transparency – User doesn’t need to know where the data is stored.
• Replication Transparency – User is unaware of how many copies of data exist.
• Fragmentation Transparency – User doesn’t know if data is split or how it’s split.
3. Replication
• Data can be replicated (copied) across multiple sites.
• Helps in faster access and fault tolerance.
• Needs to handle consistency issues if one copy is updated.
4. Concurrency Control
• Ensures that multiple users can access and modify the data without conflicting with each
other.
• Must prevent issues like dirty reads, lost updates, etc.
5. Fault Tolerance
• If one site fails, the system should still work properly using data from other sites.
• It uses backups, replicas, and failure recovery protocols.