Chapter 4 - Storage Final
Chapter 4 - Storage Final
Chapter 4 - Storage Final
department
instructor
multitable clustering
of department and
instructor
• Good for queries involving department
instructor, and for queries involving one single
department and its instructors
• Bad for queries involving only department
• Results in variable size records
• Can add pointer chains to link records of a
particular relation
Data Dictionary Storage
The Data dictionary (also called system catalog) stores metadata;
that is, data about data, such as
• Specialized
data
structures
designed for
efficient
access,in
memory
Storage Access
• A database file is partitioned into fixed-length storage
units called blocks
• Blocks are units of both storage allocation and data
transfer
• Database system seeks to minimize the number of block
transfers between the disk and memory. We can reduce
the number of disk accesses by keeping as many blocks
as possible in main memorys
• Buffer – portion of main memory available to store
copies of disk blocks.
• Buffer manager – subsystem responsible for allocating
buffer space in main memory.