Data Base Ppt.... Dbms
Data Base Ppt.... Dbms
Data Base Ppt.... Dbms
Architecture
BY Suprakash Dhal
REG NO. 240720100089
Introduction to Distributed
Databases
1 Data Distribution
Data is stored and managed across multiple servers or data centers,
providing scalability and redundancy.
2 Replication
Data is replicated across multiple nodes, ensuring high availability and
fault tolerance.
3 Fault Tolerance
If one node fails, the system can continue to operate using data from
other nodes.
Key Components of a Distributed
Database
Nodes Data Storage Communication
Protocols
The individual servers or computers that The physical or virtual storage locations
make up the distributed database where data is stored and managed. The methods used to exchange data
system. and coordinate between the various
nodes in the system.
Data Replication and
Consistency Models
Synchronous Asynchronous
Replication Replication
Data is replicated immediately Data is replicated to other nodes
across all nodes, ensuring strong after a write, providing higher
consistency but potentially lower availability but potentially lower
availability. consistency.
Eventual Consistency
Data will eventually become consistent across all nodes, but there may be
temporary inconsistencies.
Partitioning and Sharding
Strategies
Horizontal Partitioning
Data is divided by rows, with different rows stored on different nodes.
Vertical Partitioning
Data is divided by columns, with different columns stored on different
nodes.
Sharding
Data is split into smaller, more manageable chunks and distributed
across multiple nodes.
Fault Tolerance and High
Availability
Redundancy
Multiple redundant nodes ensure that the system can continue operating even if one or more
nodes fail.
Data Backups
Regular data backups and snapshots help preserve data integrity and enable quick recovery from
failures.
Load Balancing
Distributing workloads across multiple nodes helps maintain high availability and performance.
Conclusion and Future
Trends
1 Continued Growth 2 Emerging
Technologies
Distributed databases will
continue to see increased Advancements in cloud
adoption as data volumes computing, edge computing,
and availability requirements and artificial intelligence will
grow. shape the future of
distributed databases.
3 Ongoing Challenges
Managing data consistency, security, and regulatory compliance will
remain key challenges for distributed database systems.