Multiple-file Disk Manager (cont)
Structure of PageId for data pages in such systems ...
If system uses one file per table, PageId contains:
- relation identifier (which can be mapped to filename)
- page number (to identify page within the file)
If system uses several files per table, PageId contains:
- relation identifier
- file identifier (combined with relid, gives filename)
- page number (to identify page within the file)
|