Exam 8: Physical Database Design
Exam 1: Data: the New Corporate Resource31 Questions
Exam 2: Data Modeling57 Questions
Exam 3: The Database Management System Concept83 Questions
Exam 4: Relational Data Retrieval: SQL71 Questions
Exam 5: The Relational Database Model: Introduction57 Questions
Exam 6: The Relational Database Model: Additional Concepts39 Questions
Exam 7: Logical Database Design58 Questions
Exam 8: Physical Database Design134 Questions
Exam 9: Object-Oriented Database Management41 Questions
Exam 10: Data Administration, Database Administration, and Data Dictionaries47 Questions
Exam 11: Database Control Issues: Security, Backup and Recovery, Concurrency59 Questions
Exam 12: Clientserver Database and Distributed Database56 Questions
Exam 13: The Data Warehouse62 Questions
Exam 14: Database and the Internet45 Questions
Select questions type
A fixed disk consists of five platters. Both surfaces of each of the five platters is used to record data. There are 75 tracks on each recording surface. How many of each of the following are there in the disk:
a. Recording surfaces?
b. Cylinders?
c. Tracks per cylinder?
(Essay)
4.8/5
(30)
One of the main advantages of a hashed file is that it never has to be reorganized.
(True/False)
4.7/5
(41)
Course Record Name Address Anatomy 2 Biology I 1 Calculus I 4 Shakespeare 3 Statistics II 5 Index Record CourseCourseNumber ofProfessor Number NumberNameCreditsin Charge 1 2 3 4 5 BIOL1001 Biology I 4 Smith BIOL3020 Anatomy 3 Jones ENGL2540 Shakespeare 3 Duncan MATH2000 Calculus I 4 Stevens MATH3500 Statistics II 3 Jones
-The Course file and its index _____.
(Multiple Choice)
4.9/5
(41)
In a magnetic disk device, a single circle of stored data is called a _____.
(Multiple Choice)
4.8/5
(39)
Course Record Name Address Anatomy 2 Biology I 1 Calculus I 4 Shakespeare 3 Statistics II 5 Index Record CourseCourseNumber ofProfessor Number NumberNameCreditsin Charge 1 2 3 4 5 BIOL1001 Biology I 4 Smith BIOL3020 Anatomy 3 Jones ENGL2540 Shakespeare 3 Duncan MATH2000 Calculus I 4 Stevens MATH3500 Statistics II 3 Jones
-Which of the following is true regarding the Course file and its index?
(Multiple Choice)
4.7/5
(34)
Retrieval performance of a B+-tree indexed file can be improved by keeping the upper part of the index tree resident in main memory.
(True/False)
4.9/5
(35)
The delay from the time that the Enter Key is pressed to execute a query until the result appears on the screen is called ____.
(Multiple Choice)
4.8/5
(33)
The number of levels in a B+-tree index is permanently fixed at the time the file is created.
(True/False)
4.7/5
(40)
Consider the following relational database for the Central Zoo. Central Zoo wants to maintain information about its animals, the enclosures in which they live, and its zookeepers and the services they perform for the animals. In addition, Central Zoo has a program by which people can be sponsor of animals. Central Zoo wants to track its sponsors, their dependents, and associated data.
Each animal has a unique animal number and each enclosure has a unique enclosure number. An animal can live in only one enclosure. An enclosure can have several animals in it or it can be currently empty. A zookeeper has a unique employee number. Every animal has been cared for by at least one and generally many zookeepers; each zookeeper has cared for at least one and generally many animals. Each time a zookeeper performs a specific, significant service for an animal the service type, date, and time are recorded. A zookeeper may perform a particular service on a particular animal more than once on a given day.
A sponsor, who has a unique sponsor number and a unique social security number, sponsors at least one and possibly several animals. An animal may have several sponsors or none. For each animal that a particular sponsor sponsors, the zoo wants to track the annual sponsorship contribution and renewal date. In addition, Central Zoo wants to keep track of each sponsor's dependents. A sponsor may have several dependents or none. A dependent is associated with exactly one sponsor.
Enclosure Date Number Type Location Size Built ENCLOSURE Relation
Animal Animal Country Enclosure Number Species Name Gender Of Birth Weight Number ANIMAL Relation
Employee Employee Year Number Name Title Hired ZOOKEEPER Relation
Animal Employee Service Number Number Type Date Time CARES FOR Relation
Sponsor Social Security Sponsor Number Number Name Address Telephone SPONSOR Relation
Animal Sponsor Annual Renewal Number Number Contribution Date CONTRIBUTION Relation
Sponsor Dependent Date of Number Name Relationship Birth DEPENDENT 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 find the total amount of annual contributions expected for each animal from all of each animals' sponsors.
b. There is a high priority need to quickly find the information about the contributions for each animal together with the social security numbers of the sponsors. The sponsor numbers are not required in this query.
c. There is a critical need to quickly list the animals that were born in a particular country.
d. There is a frequent need to be able to retrieve detailed information about an animal together with detiled information about the enclosure in which it is housed.
e. There is a much more frequent and high priority need to access the records for the monkeys than for the other animals.
f. Due to large numbers of access activity, the ANIMAL relation has become a bottleneck.
(Essay)
4.9/5
(32)
Construct a B+-tree index of the type discussed in the text for the Airplane file, assuming that now there are many more records than are shown above. The file and the index have the following characteristics:
-The file is stored on six cylinders of the disk. The highest key values on the six cylinders, in order, are:
Cylinder 1: 08574
Cylinder 2: 12740
Cylinder 3: 19025
Cylinder 4: 24859
Cylinder 5: 31745
Cylinder 6: 42853
-Each index record can hold four key value/pointer pairs.
-There are two index records at the lowest level of the tree index.
(Essay)
4.9/5
(40)
During an insertion operation into a hashed file, if the record's key value "hashes" to a location already occupied by another record, the record will not be inserted into the file.
(True/False)
4.8/5
(40)
In the division remainder hashing algorithm, the divisor (the number divided into the key value) is the total number of record storage locations in the main storage area plus the overflow area.
(True/False)
4.8/5
(38)
Showing 121 - 134 of 134
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)