Class DatabaseEngineOptions
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
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
DeferredCleanup
Deferred cleanup subsystem configuration for MVCC revision management.
public DeferredCleanupOptions DeferredCleanup { get; set; }
Property Value
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
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
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
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
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
Timeouts
Lock acquisition timeout configuration for all engine subsystems.
public TimeoutOptions Timeouts { get; set; }
Property Value
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; }