Problem

Exercise 8.4 Consider the instance of the Students relation shown in Figure 8.1, sorted by...

Exercise 8.4 Consider the instance of the Students relation shown in Figure 8.1, sorted by age: For the purposes of this question, assume that these tuples are stored in a sorted file in the order shown; the first tuple is on page 1 the second tuple is also on page 1; and so on. Each page can store up to three data records; so the fourth tuple is on page 2.

Explain what the data entries in each of the following indexes contain. If the order of entries is significant, say so and explain why. If such an index cannot be constructed, say so and explain why.

6022-8-4IIS1.png

Figure 8.1 An Instance of the Students Relation, Sorted by age

  1. An unclustered index on age using Alternative (1).
  2. An unclustered index on age using Alternative (2).
  3. An unclustered index on age using Alternative (3).
  4. A clustered index on age using Alternative (1).
  5. A clustered index on age using Alternative (2).
  6. A clustered index on age using Alternative (3).
  7. An unclustered index on gpa using Alternative (1).
  8. An unclustered index on gpa using Alternative (2).
  9. An unclustered index on gpa using Alternative (3).
  10. A clustered index on gpa using Alternative (1).
  11. A clustered index on gpa using Alternative (2).
  12. A clustered index on gpa using Alternative (3).

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 8