Table of Contents

Class DatabaseEngineOptions

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Configuration options for DatabaseEngine.

public class DatabaseEngineOptions
Inheritance
DatabaseEngineOptions
Inherited Members

Constructors

DatabaseEngineOptions()

public DatabaseEngineOptions()

Properties

ArchetypeSetMigration

What an open does with an archetype whose persisted component set differs from this build's (#1394): migrate it (the default), or skip it and leave the file untouched (Refuse, for inspectors).

public ArchetypeSetMigrationPolicy ArchetypeSetMigration { get; set; }

Property Value

ArchetypeSetMigrationPolicy

Backup

The engine's own backups (#1416): store, schedule, retention, requests, archiving. Null: off — no schedule, no status file, and Backup takes points only into a store the caller names.

public BackupOptions Backup { get; set; }

Property Value

BackupOptions

DeferredCleanup

Deferred cleanup subsystem configuration for MVCC revision management.

public DeferredCleanupOptions DeferredCleanup { get; set; }

Property Value

DeferredCleanupOptions

IndexRebuild

How an open rebuilds the secondary indexes it cannot trust or load: a sorted bulk build in a fixed memory budget (#1588).

public IndexRebuildOptions IndexRebuild { get; set; }

Property Value

IndexRebuildOptions

Resources

Resource knobs for the engine subsystems: max concurrent transactions, WAL ring-buffer size, checkpoint cadence, and page-CRC policy.

public ResourceOptions Resources { get; set; }

Property Value

ResourceOptions

Remarks

Range-validated at DI resolution by the engine's options validator — no separate pre-flight call is required. Page-cache sizing lives on DatabaseCacheSize, not here.

SchemaMatch

How the open reconciles the registered schema with the database's (#1485): Migrate (default), or Exact, which refuses any difference — what drills and restore settles open with.

public SchemaMatch SchemaMatch { get; set; }

Property Value

SchemaMatch

Spatial

Spatial broadphase tuning — where a cell switches between a linear scan and a per-cell R-Tree.

public SpatialOptions Spatial { get; set; }

Property Value

SpatialOptions

Statistics

Background statistics rebuild configuration (HyperLogLog, MCV, Histogram). Null disables the background statistics worker (statistics can still be rebuilt manually).

public StatisticsOptions Statistics { get; set; }

Property Value

StatisticsOptions

Timeouts

Lock acquisition timeout configuration for all engine subsystems.

public TimeoutOptions Timeouts { get; set; }

Property Value

TimeoutOptions

Transient

Transient storage configuration (heap-backed pages for Transient components).

public TransientOptions Transient { get; set; }

Property Value

TransientOptions

Wal

WAL writer configuration. WAL + checkpoint are mandatory: this always resolves to a non-null configuration. To run without disk I/O (tests, benchmarks, throwaway sessions), register an in-memory Typhon.Engine.Internals.IWalFileIO in DI rather than disabling the WAL.

public WalWriterOptions Wal { get; set; }

Property Value

WalWriterOptions