KLOG - Technical
Previous
Next
Introduction
When changes are made to the database, the VMDB and KLOG structures
record what is happening. New VBLKs being added, and old VBLKs being
removed are given a sequence number which is stored in the KLOG.
KLOG Structure
Offset |
Size |
Description |
0x00 |
4 |
"KLOG" Magic Number |
0x04 |
4 |
Zeros |
0x08 |
4 |
Something about extra records |
0x0C |
4 |
Log Count (N) |
0x10 |
4 |
Number of KLOGs |
0x14 |
4 |
KLOG Index |
0x18 |
1 |
Don't know (always 0x03) |
0x19 |
8 |
Committed Id 1 |
0x21 |
8 |
Pending Id 1 |
0x29 |
8 |
Committed Id N-1 |
0x31 |
8 |
Pending Id N-1 |
0x39 |
8 |
Committed Id N-2 |
0x41 |
8 |
Pending Id N-2 |
0x49 |
8 |
... |
16*N+0x09 |
8 |
Committed Id 2 |
16*N+0x11 |
8 |
Pending Id 2 |
Copyright © 2002,
$Date: 2002/06/20 13:49:38 $
O
L
H
C