Testbank Distributed Database Mid 2024 Fall With Solution
Testbank Distributed Database Mid 2024 Fall With Solution
1 | Page
Kasit Team
Q5: What role does data partitioning play in a distributed database system :
2 | Page
Kasit Team
3 | Page
Kasit Team
4 | Page
Kasit Team
Consider that the library wishes to distribute its database. Given the
following requirement for each case, explain the needed type of horizontal
fragmentation (Derived, Primary) and show with Relational Algebra how the
fragmentation will be performed .
a. The library admin is concerned about high stocked books and low stocked
books. The library considers the book with 10 or more copies available as
highly stocked and other than as low stocked books . [3 marks]
✓ Genre = Fiction
✓ Published Year > 1950
5 | Page
Kasit Team
1. Build a Query usage matrix for the employee table based on these queries
: [4 marks]
6 | Page
Kasit Team
a 200
b 100
c 10
d 5
Calculate the split quality for the suggested fragments. Please show the rule
when solving this question : [4 marks]
7 | Page
Kasit Team
Answers
Question 1 2 3 4 5
Answer A D C C B
Q6:
A:
Solution 1 :-
It is more reliable , by distributing the database in separate locations . And It increases
the performance and fault tolerance .
Solution 2 :-
1. Several copies of data that ensure reliability and availability .
2. Performance of servers: work multiprocessor to speed up data access .
B:
Using a distributed databases reduce the cost of increasing scalability so the expansion
will be easier to happened .
C:
Solution 1 :-
1. Increasing The cast of communicating across a network .
2. It needs more security .
3. It increases the cost of updating the database as well as the concurrent control .
Solution 2 :-
1. security issues 2. Complexity 3. Consistensy
8 | Page
Kasit Team
Q7:
a.
b.
9 | Page
Kasit Team
Q8:
1.
2.
split quality = acc (VF1) * ac (VF2) – acc (VF1 , VF2)2
= 200 * 100 – (15)2
= 20000 – 225
= 19775
10 | Page