I‘ll try to explain it in English for improving my English writing skill.
Data storage management is the lowest layer in the DBMS architecture.
It consist of 2 main component:the disk space manager(storage manager) and the buffer manager.
First of all, we must clarify 2 concepts: page and block.
page is a logical concept while block is a physical concept which means the data unit storing in disk.
Then, we ‘ll see the 2 component.
Storage manager(SM)
Responsibility:
- allocate/deallocate a page
- read/write a page
Problem we must solve:
- how to keep track of free block
Buffer manager(BM)
Responsibility:
- bring the requested page from the upper level to the buffer pool
Problem we must solve:
- “Address Transformation”. How we can know which frame in the buffer pool the requested page corresponds to?
-
“Replacement Policies”.Which frame we should choose to replace if the
buffer pool is full? And we must write the frame into disk is the
frame is changed after it brought into the buffer pool.
- “Concurrency Control”. What if a page is requested by several transactions.
Powered by ScribeFire.




