Problem 21
Discuss the techniques for allowing a hash file to expand and shrink dynamically. What are the advantages and disadvantages of each?
Problem 22
What are mixed files used for? What are other types of primary file organizations?
Problem 23
Consider a disk with the following characteristics (these are not parameters
of any particular disk unit): block size
Problem 26
Suppose that a disk unit has the following parameters: seek time
Problem 27
A PARTS file with Part* as hash key includes records with the following Part*
val. ues: 2369,3760,4692,4871,5659,1821,1074,7115,1620,2428,3943,4750
Problem 29
Load the records of Exercise 13.27 into an expandable hash file, using linear
hash. ing. Start with a single disk block, using the hash function
Problem 31
Suppose that we have an unordered file of fixed-length records that uses an unspanned record organization. Outline algorithms for insertion, deletion, and modification of a file record. State any assumptions you make.
Problem 32
Suppose that we have an ordered file of fixed-length records and an unordered overflow file to handle insertion. Both files use unspanned records. Outline algorithms for insertion, deletion, and modification of a file record and for reorganizing the file. State any assumptions you make.
Problem 33
Can you think of techniques other than an unordered overflow file that can be used to make insertions in an ordered file more efficient?
Problem 34
Suppose that we have a hash file of fixed-length records, and suppose that overflow is handled by chaining. Outline algorithms for insertion, deletion, and modification of a file record. State any assumptions you make.