You are on page 1of 1

Exercise on Vertical Fragmentation

Consider the following Attribute Usage Matrix (Q) and Access


Frequencies (M) for a relation R{A1,A2,A3,A4}, which has 4 queries
(Q1,Q2,Q3,Q4) running at 3 sites (S1,S2,S3):

Q: M:

A1 A2 A3 A4 S1 S2 S3
Q1 1 0 1 0 Q1 10 15 5
Q2 0 1 0 1 Q2 20 15 20
Q3 0 1 1 0 Q3 5 0 0
Q4 0 0 1 1 Q4 10 0 5

1. Find the Attribute Affinity Matrix (AA)


2. Use the Bond Energy Algorithm to find the Clustered Affinity
Matrix (CA)
3. Perform vertical splitting to obtain 2 fragments. Assume that the
primary key of relation R is A1.

You might also like