Skip to content

CompactOptions

Defined in: db/store.ts:233

Configuration for periodic DuckDB compaction.

keepRecentRows: number

Defined in: db/store.ts:237

Keep this many recent rows at full resolution.


maxRows: number

Defined in: db/store.ts:235

Compact when total rows exceed this threshold.


targetOldRows: number

Defined in: db/store.ts:239

Downsample old data to this many representative rows.