Class DatabaseIdentity
Identity of the scanned database, as read from its own bytes.
public sealed class DatabaseIdentity
- Inheritance
-
DatabaseIdentity
- Inherited Members
Constructors
DatabaseIdentity()
public DatabaseIdentity()
Properties
CheckpointLsn
Last checkpoint LSN recorded in the bootstrap dictionary, or 0.
public long CheckpointLsn { get; init; }
Property Value
CleanShutdown
Whether the previous process recorded a clean shutdown. false means recovery would run on open.
public bool CleanShutdown { get; init; }
Property Value
FormatRevision
On-disk format revision recorded on page 0.
public int FormatRevision { get; init; }
Property Value
MetaGeneration
Generation of the selected meta slot.
public ulong MetaGeneration { get; init; }
Property Value
MetaSlot
Which physical slot of the page-0 A/B meta pair held the selected content, or -1 when neither was valid.
public int MetaSlot { get; init; }
Property Value
Name
Database name recorded on page 0, or null when unreadable.
public string Name { get; init; }
Property Value
PageCount
Total pages in the data file.
public int PageCount { get; init; }
Property Value
SizeBytes
Size of the data file in bytes.
public long SizeBytes { get; init; }
Property Value
WalBytes
Total bytes across the WAL segment files.
public long WalBytes { get; init; }
Property Value
WalSegmentCount
Number of WAL segment files present beside the data file.
public int WalSegmentCount { get; init; }