















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An introduction to the concept of hard disk storage and management in the context of databases. It covers the anatomy of a hard disk, typical disk parameters, accessing a disk block, and managing the hard disk through buffer management and disk space management. The document also discusses the advantages and disadvantages of solid state disks and why databases are not typically stored in main memory.
Typology: Study Guides, Projects, Research
1 / 23
This page cannot be seen from the preview
Don't miss anything!
















(Courtesy of Seagate Technology)
hardware block address using a
block_id
Query Optimization Relational Operators
Files and Access Methods
Buffer Management
Disk Space Management
The DSM provides anabstraction of theblock as a unit of dataDSM interfaceincludes commands toread and write blockcommands
I/O requests
Disk Space Manager
yes
block ID
yes yes
allocated?
no
no
no
no
hardware addr
no
no
allocate_blocks
write_block(5,data)read_block(5)deallocate
block(2)
Disk Space Manager
yes
block ID
yes yes
allocated?
no
no
no
no
hardware addr
no
no
allocate_blocks
write_block(5,data)read_block(5)deallocate
block(2)
Disk Space Manager
yes
block ID
yes yes
allocated?
no
no
yes yes
hardware addr
yes
no
//write blockID 5 to disk
write_block(903,data)
allocate_blocks
write_block(5,data)read_block(5)deallocate
block(2)
Disk Space Manager
yes
block ID
yes yes
allocated?
no
no
yes yes
hardware addr
yes
no
// read blockID 5 to buffer
read_block(903)
Query Optimization Relational Operators
Files and Access Methods
Disk Space Management
Buffer Management
pin count
for block