COMP9315 14s2 The University of New South Wales
COMP9315 DBMS Implementation
Final Exam 14s2
DBMS Implementation
[Instructions] [Notes] [PostgreSQL] [C]
[Q1] [Q2] [Q3] [Q4] [Q5] [Q6] [Q7] [Q8]

Question 7 (8 marks)

Consider a relation R(a,b,c) implemented as a multi-attribute hashed file, with the following properties:

Based on the above, answer the following:

  1. How many pages are accessed in answering queries of type Q1?

  2. How many pages are accessed in answering queries of type Q2?

  3. How many pages are accessed in answering queries of type Q3?

  4. How many pages are accessed in answering queries of type Q4?

  5. How many pages are accessed in answering queries of type Q5?

  6. What is the weighted average cost of answering a query on this relation?

Instructions:

End of Question