0% found this document useful (0 votes)
13 views10 pages

Data-Fragmentation-and-Replication-in-Database-Systems-2

The presentation discusses data fragmentation and replication in database systems, highlighting their definitions, purposes, types, and benefits. Data fragmentation can be horizontal, vertical, or hybrid, while data replication can be full, partial, or none, each with its own advantages and disadvantages. Additionally, it covers replication strategies and consistency models, emphasizing the trade-offs between synchronous and asynchronous replication.

Uploaded by

rizhabibi2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views10 pages

Data-Fragmentation-and-Replication-in-Database-Systems-2

The presentation discusses data fragmentation and replication in database systems, highlighting their definitions, purposes, types, and benefits. Data fragmentation can be horizontal, vertical, or hybrid, while data replication can be full, partial, or none, each with its own advantages and disadvantages. Additionally, it covers replication strategies and consistency models, emphasizing the trade-offs between synchronous and asynchronous replication.

Uploaded by

rizhabibi2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Data Fragmentation

and Replication in
Database Systems
Presented by Muhammad Umair, Hamdullah, Shahzaib
Ahmed, Zohaib Hassan.

This presentation covers concepts, techniques, and benefits


of data fragmentation and replication.
What is Data Fragmentatio
Definition Purpose

Dividing a database into Increases efficiency,


smaller, manageable security, and overall
fragments. performance.

Types
 Horizontal Fragmentation
 Vertical Fragmentation
 Hybrid Fragmentation
Horizontal Fragmentation
Definition Example Advantages Disadvantages

Splitting a table by Customer table split  Faster localized  Complex joins when
rows based on a into Customers_East queries querying multiple
condition, like region. and Customers_West.  Reduced network fragments
traffic
Vertical Fragmentation
Definition Example Advantages Disadvantages

Splitting a table into Employee split into  Improves security  Joins required to
columns or attribute Personal Info and Work for sensitive data reconstruct full
groups. Details tables.  Optimizes column- records
specific queries

#04060E
Hybrid Fragmentation
Combination Example

Mixes both horizontal Sales table split by


and vertical region then by column
fragmentation groups.
techniques.

Use Case

Ideal for large databases needing row and column


optimization.
What is Data Replication?
Definition

Storing multiple data copies at different physical sites.

Purpose
 High availability and fault tolerance
 Faster data access with reduced latency
 Balanced load with distributed reads
Types of Data Replication

Full Replication

Complete database copied to all sites.


1 Pros: High availability, fast reads.

Cons: High storage, slow updates.

Partial Replication

Selective fragments copied.


2 Pros: Balanced storage and performance.

Cons: More complex to manage.

No Replication

Each fragment at a single site only.


3 Pros: Simple updates, no redundancy.

Cons: Risk of single point failures.


Asynchronous Replication
Definition
Changes propagate to replicas with delay after commit.

Benefits
 Higher write performance
 Lower latency

Trade-Off
Possible temporary data inconsistencies.

Example
Product catalog where eventual consistency is acceptable.
Architectures & Consistency Models
Architectures Consistency Models

 Client-Server  CAP Theorem: Consistency, Availability,


 Peer-to-Peer Partition Tolerance

  BASE: Basically Available, Soft State, Eventually


Multi-Master
Consistent
Replication Strategies
Synchronous Replication

All copies update simultaneously for strong


consistency.

Slower write speed due to coordination.

Asynchronous Replication

Updates sent with delays for faster writes.

May result in temporary inconsistencies.

You might also like