Class DatabaseEngineOptions
Configuration options for DatabaseEngine.
public class DatabaseEngineOptions
- Inheritance
-
DatabaseEngineOptions
- Inherited Members
Constructors
DatabaseEngineOptions()
public DatabaseEngineOptions()
Properties
DeferredCleanup
Deferred cleanup subsystem configuration for MVCC revision management.
public DeferredCleanupOptions DeferredCleanup { 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.
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; }