
System Architecture 2-103
Chunk Free-List Page
Chunk Free-List Page
Ineverychunk,thepagethatfollowsthelastPreservedpageisthefirstofone
or more chunk free-list pages that tracks available space in the chunk. A
chunkfree-listpage contains thestartingpage (page offsetinto the chunk)of
each section of free space and the length of the free space measured in
number of pages.
Initially, the chunk free-list page has a single entry. For example, in any
dbspace initial chunk other thanroot, the startingpage numberof freespace
isthree.Thereservedpagesfillthe first twopagesandthechunk freelist fills
thethird.The lengthofthefreespace in thefirstentryisthesizeofthechunk,
minus three pages.
When chunk pages are allocated, the loss of free space is recorded by
changing the starting page offset and the length of the unused space.
When chunk pages are freed (for example, if a table is dropped), entries are
added that describe the starting page and length of each section of newly
freed, contiguous space.
Timestamp archive Timestamp for this archive (decimal)
Logical log unique ID ID number of the logical log file containing the
record of this archive
Logical log position Physical location of this checkpoint record in the
logical log file
Figure 2-17
The chunk free-list
page
follows the
reserved pages in
every chunk.
Field Name Description
(2 of 2)
Reserved pages
Chunk free-list page
Free pages
Chunk
Komentarze do niniejszej Instrukcji