Professional Documents
Culture Documents
Distibuted Database Summary2022
Distibuted Database Summary2022
Distibuted Database Summary2022
Distributed Databases
Outlines: 2
Definitionof terms .
Distributed database components .
Data Replication استخراج ن سخة مطابقة.
Types of Distributed Databases .
Advantages of Distributed Database
Distributed DBMS
Chapter 13 08/17/2022
Definitions 3
Distributed Database:-
Chapter 13 08/17/2022
5
Distributed database components
Computer workstations
Network hardware and software
Allows all sites to interact and exchange data .
Communications media
Carry the data from one workstation to another.
Transaction processor (applicationمع ا لج ا لعمليات
processor or transaction manager)
Software component found in each computer that
receives and processes the application’s requests
data.
Chapter 13 08/17/2022
6
Data Replication
Chapter 13 08/17/2022
7
Data Replication
Chapter 13 08/17/2022
8
DDBS from users point of view
Chapter 13 08/17/2022
9
Distributed Database Design
Chapter 13 08/17/2022
Figure 13-2: Homogeneous Database 11
Identical DBMSs
Chapter 13 08/17/2022
12
Typical Heterogeneous Environment
Chapter 13 08/17/2022
Typical Heterogeneous Environment 13
Chapter 13 08/17/2022
14
Advantages of Distributed Database
Increased reliability/availability.
Local control over data.
Integrated(flexible) growth.
Lower communication costs.
Faster response for certain queries.
Chapter 13 08/17/2022
15
Disadvantages of Distributed Database
Chapter 13 08/17/2022
16
Options for Distributing a Database
Data replication
Copies of data distributed to different sites.
Horizontal partitioning
Different rows of a table distributed to different sites.
Vertical partitioning
Different columns of a table distributed to different sites.
Combinations of the above(hybrid)
Chapter 13 08/17/2022
17
Data Replication
Advantages:
Reliability
Fast response
May avoid complicated distributed transaction integrity routines (if
replicated data is refreshed at scheduled intervals).
Decouples nodes (transactions proceed even if some nodes are
down).
Reduced network traffic at prime time (if updates can be delayed).
ت قليلا الزدحام ف يا لشبكة ف يا لساعاتا ألوليمنا لنهار إذا ك انت
ا لتع ديالتي مكنت أخيرها
Chapter 13 08/17/2022
18
Data Replication (cont.)
Disadvantages:
Additional requirements for storage space
Additional time for update operations
Complexity and cost of updating
Integrity exposure of getting incorrect data if replicated data is not
updated simultaneously
Chapter 13 08/17/2022
Figure 13-10: Distributed DBMS architecture
20
08/17/2022
21
Local Transaction Steps
Chapter 13 08/17/2022
Figure 13-10: Distributed DBMS Architecture (cont.)
(showing local transaction steps)
22
3 5
4
Local transaction –
all data stored locally
08/17/2022
23
Global Transaction Steps
Chapter 13 08/17/2022
Figure 13-10: Distributed DBMS architecture (cont.)
(showing global transaction steps) 24
2
3
1
7 6
8
4
5
Global transaction – some
data is at remote site(s)
08/17/2022