Data Fragmentation, Replication, and Allocation
Prof.manoj kumar padhi
Outlines:
Distributed Database Concepts
Advantages (transparency, contd.)
The EMPLOYEE, PROJECT, and WORKS_ON tables may be fragmented horizontally and stored with possible replication as shown below.
Replication
Primary-Backup Replication
Advantages
Disadvantages
Multi-Primary Replication
Advantages
Disadvantages
Synchronous Replication
Asynchronous Replication
Semi-Synchronous Replication
Advantages of Replication
Disadvantages of Replication
Fragmentation in Distributed Database
Key Objectives of Fragmentation
Improved Performance:
Increased Availability:
Security and Control:
Parallelism:
Reduced Data Transfer:
Types of Fragmentation
1. Horizontal Fragmentation
Fragments:
Emp_ID | Name | Dept | City |
101 | Raj | HR | Delhi |
102 | Neha | IT | Mumbai |
103 | Aman | HR | Chennai |
104 | Ravi | IT | Delhi |
2. Vertical Fragmentation
Example: