Problem

Exercise 12.4 Consider the following schema with the Sailors relation:Sailors(sid: integer...

Exercise 12.4 Consider the following schema with the Sailors relation:

Sailors(sid: integer, sname: string, rating: integer, age: real)

For each of the following indexes, list whether the index matches the given selection conditions. If there is a match, list the primary conjuncts.

  1. A B+-tree index on the search key 〈 Sailors.sid 〉.
    1. σSailors.sid<50,000(Sailors)
    2. σSailors.sid=50,000(Sailars)
  2. A hash index on the search key 〈 Sailors.sid 〉.
    1. σSailors.sid<50,000(Sailors)
    2. σSailors.sid=50,000(Sailars)
  3. A B+-tree index on the search key 〈 Sailors.sid, Sailors.age 〉.
    1. σSailors.sid<50,000∧Sailors.age=21 (Sailors)
    2. σSailors.sid=50,000∧Sailors.age>21 (Sailors)
    3. σSailors.sid=50,000(Sailors)
    4. σSailors.age=2l(Sailors)
  4. A hash-tree index on the search key 〈 Sailors.sid, Sailors.age 〉.
    1. σSailors.sid=50,000∧Sailors.age=21 (Sailors)
    2. σSailors.sid=50,000∧Sailors.age>21 (Sailors)
    3. σSailors.sid=50,000(Sailors)
    4. σSailors.age=21(Sailors)

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 12