Table of Contents

Class IntegrityConstants

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

The handful of on-disk layout constants an integrity consumer needs to size buffers and interpret a Locus. Mirrors the engine-internal storage constants so external callers (CLI, Workbench, tests) do not have to hard-code them.

public static class IntegrityConstants
Inheritance
IntegrityConstants
Inherited Members

Fields

BundleExtension

Canonical extension of a Typhon database bundle directory.

public const string BundleExtension = ".typhon"

Field Value

string

DataFileName

File name of the paged data file inside a .typhon bundle directory.

public const string DataFileName = "data"

Field Value

string

LockFileName

File name of the single-writer lock inside a .typhon bundle directory.

public const string LockFileName = "db.lock"

Field Value

string

PageHeaderSize

Size in bytes of the page header zone (base header + metadata) that precedes the raw-data area.

public const int PageHeaderSize = 192

Field Value

int

PageRawDataSize

Size in bytes of the raw-data area of a page — the part that holds chunks, directory entries or bitmap words.

public const int PageRawDataSize = 8000

Field Value

int

PageSize

Size in bytes of one storage page.

public const int PageSize = 8192

Field Value

int

WalDirectoryName

Sub-directory holding the WAL segments inside a .typhon bundle directory.

public const string WalDirectoryName = "wal"

Field Value

string