1
1
Distributed Databases
Chapter 16
2
What is a Distributed Database?
- Database whose relations reside on different
sites
- Database some of whose relations are
replicated at different sites
- Database whose relations are split between
Distributed Databases Chapter 16 1 What is a Distributed Database? - - PDF document
Distributed Databases Chapter 16 1 What is a Distributed Database? Database whose relations reside on different sites Database some of whose relations are replicated at different sites Database whose relations are split between
1
2
3
4
5
6
7
8
9
10
11
12
T4 T3 T2 T1
T
13
14
15
site
access a local or nearby copy
16
17
18
19
20
21
registration transaction commits (asynchronous update)
22
23
24
database system
25
26
27
28
– P contains Ids of students registered for at least 1 course – – Student Student tuples having Ids not in P do not contribute to join, so no need to send them
Id = StudId P
– Q contains tuples of Student Student corresponding to students registered for at least 1 course (i.e., 5,000 students out of 15,000) – Q is a semijoin semijoin – the set of all Student Student tuples that will participate in the join
29
30
join_cond T2)
31
join_cond T2) join_cond T2
32
33
20000’(Emp1
34