Consider the following relational database for Grand Travel Airlines.
Grand Travel Airlines has to keep track of its flight and airplane history. A flight is uniquely identified by the combination of a flight number and a date. Every passenger who has flown on Grand Travel has a unique passenger number. For a particular passenger who has taken a particular flight, the company wants to keep track of the fare that she paid for it and the date that she made the reservation for it. Clearly, a passenger may have taken many flights (he must have taken at least one to be in the database) and every flight has had many passengers on it.
A pilot is identified by a unique pilot (or employee) number. A flight on a particular date has exactly one pilot. Each pilot has typically flown many flights but a pilot may be new to the company, is in training, and has not flown any flights, yet. Each airplane has a unique serial number. A flight on a particular date used one airplane. Each airplane has flown on many flights and dates, but a new airplane may not have been used at all, yet.
PILOT Relation
FLIGHT Relation
PASSENGER Relation
RESERVATION Relation
AIRPLANE Relation
Analyze each of the following situations and, using physical database design techniques, state how you would modify the logical design shown to improve performance or otherwise accommodate it.
a. There is a frequent need to quickly get detailed information about a flight and about the pilot who flew the plane.
b. It turns out that the Departure Time and Arrival Time data for flights is accessed much more frequently and requires much faster response time than the rest of the data in the FLIGHT relation.
c. The repeated use of the Flight Number and Date to access flight data is considered clumsy both in the FLIGHT relation and elsewhere where the combination is required as a foreign key.
d. When passengers phone in to get information about their flight records, the records are located by asking for the passengers' phone numbers.
e. There is a frequent (and obvious) need to be able to quickly find the number of seats that are currently taken for a flight.
f. Some people in the airline have to be able to access the pilot data but are not authorized to see the pilots' dates of birth.
Correct Answer:
Verified
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q123: Construct a B+-tree index of the type
Q124: Adding duplicate tables to a database reduces
Q125: Construct a B+-tree index of the type
Q126: Consider the following relational database for
Q127: A fixed disk has 100 cylinders. The
Q129: Create a simple linear index for the
Q130: A hashed file has space for 80
Q131: Create a simple linear index for the
Q132: Construct a B+-tree index of the type
Q133: Denormalization is a physical design technique that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents