Database Adm Distributed Database
Database Adm Distributed Database
& Management
2
Contact | 03000254633 Email |[email protected]
DA Database Administration
& Management
3
M
Use Database Applications to improve
education, business and IT operations.
OUR
Secure data to compete daily challenges
GOAL smoothly.
4
DISTRIBUTED DATABASE
A database that runs and stores data across multiple
computers, as opposed to doing everything on a
single machine.
Distributed databases operate on two or more
interconnected servers on a computer network.
Each location where a version of the database is
running is often called an instance or a node.
5
DISTRIBUTED DATABASE
Advantages
Distributing the database increases flexibility and
reduces risk.
Distributed databases are generally easier to scale.
Distributing the database can improve performance.
Geographically distributing the database can reduce
latency.
6
DISTRIBUTED DATABASE
Types of distributed databases
Homogeneous and Heterogeneous
7
DISTRIBUTED DATABASE
Types of distributed databases
Homogeneous: All different sites store database
identically. The operating system, database
management system, and the data structures used –
all are the same at all sites
Heterogeneous: Different sites can use different
schema, data models, software, operating system,
different database application for the database.
8
Hence, translations are required for different sites to
DISTRIBUTED DATABASE
Distributed Data Storage
Replication: The entire relationship is stored
redundantly at 2 or more sites. If the entire database
is available at all sites, it is a fully redundant
database. Hence, in replication, systems maintain
copies of data.
Fragmentation: The relations are fragmented (i.e.,
they’re divided into smaller parts) and each of the
9
fragments is stored in different sites where they’re
DISTRIBUTED DATABASE
Distributed databases Configuration
Active-passive: All traffic is routed to a single
“active” replica, and then copied to the other
replicas for backup.
Active-active: In active-active configurations, there
are multiple active replicas, and traffic is routed to
all of them. This reduces the potential impact of a
replica being offline, since other replicas will handle
10
the traffic automatically
“QUOTE”