Examlex
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.
IASB Members
Individuals who are part of the International Accounting Standards Board, responsible for developing and enforcing financial reporting standards globally.
Q8: A BLOB (binary large object) is an
Q8: The Bill of Materials problem is an
Q15: Versioning is a way of dealing with
Q29: Open Database Connectivity (ODBC) is a level
Q40: In Secure Socket Layer (SSL) technology on
Q42: In a one-to-many binary relationship an occurrence
Q45: Usually, one of the dimensions of a
Q50: Consider the following relational database for
Q50: An attribute or combination of attributes that
Q55: A relational query optimizer _.<br>A) is a