Skip to content

CompactOptions

Defined in: db/store.ts:241

Configuration for periodic DuckDB compaction.

keepRecentRows: number

Defined in: db/store.ts:245

Keep this many recent rows at full resolution.


maxRows: number

Defined in: db/store.ts:243

Compact when total rows exceed this threshold.


targetOldRows: number

Defined in: db/store.ts:247

Downsample old data to this many representative rows.