File Manager
The "magnetic disk storage manager"
- manages its own pool of open file descriptors
- each one represents an open relation file (Vfd)
- may use several Vfd's to access data, if file > 2GB
- manages mapping from
PageId to file+offset.
PostgreSQL PageId values are structured:
typedef struct
{
RelFileNode rnode;
ForkNumber forkNum;
BlockNumber blockNum;
} BufferTag;
|
|