Question: Consider the following bitmap technique for tracking free space in a file. For each block in the file, two bits are maintained in the bitmap.
Consider the following bitmap technique for tracking free space in a file. For each block in the file, two bits are maintained in the bitmap. If the block is between 0 and 30 percent full the bits are 00, between 30 and 60 percent the bits are 01, between 60 and 90 percent the bits are 10, and above 90 percent the bits are 11. Such bitmaps can be kept in memory even for quite large files.
a. Describe how to keep the bitmap up-to-date on record insertions and deletions.
b. Outline the benefit of the bitmap technique over free lists when searching for free space and when updating free space information.
Step by Step Solution
3.39 Rating (168 Votes )
There are 3 Steps involved in it
a Everytime a record is inserteddeleted check if the usage of the block has changed levels In t... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
16-CS-DB (262).docx
120 KBs Word File
