|
Cache Layer
The cache layer corresponds to the first part of the block header. It contains structures such as:
The data block address (DBA)
The block type (Table/Index, Rollback Segment, Temporary...)
The block format (v6, v7, v8)
A system change number (SCN) used for ordering purposes during recovery
The Cache Layer is 20 bytes and is described by the structure kcbh.
A logical block dump shows most of the cache layer components at the beginning of the dump. The extract below shows the relative DBA (rdba), the SCN (scn), the Sequence number (seq), Flags (flg), and the Block Type (type).
The field Tail corresponds to the last four bytes of the data block, and is used as a sanity check, to detect fractured blocks.
The tail may be referred to as the block footer, and in some documentation as inc/seq. Essentially, the values in the footer match values for structures within the cache layer, and they are updated together. If the footer does not match the cache layer, then an error will result, as the block header is no longer in sequence with its footer.
Start dump data blocks tsn: 4 file#: 9 minblk 5357 maxblk 5358
buffer tsn: 4 rdba: 0x024014ed (9/5357)
scn: 0x0000.000ec539 seq: 0x02 flg: 0x00 tail: 0xc5390602
frmt: 0x02 chkval: 0x0000 type: 0x06=trans data
或许是这个tail检查是否为split block |
|