CompactOptions
Defined in: db/store.ts:241
Configuration for periodic DuckDB compaction.
Properties
Section titled “Properties”keepRecentRows
Section titled “keepRecentRows”keepRecentRows:
number
Defined in: db/store.ts:245
Keep this many recent rows at full resolution.
maxRows
Section titled “maxRows”maxRows:
number
Defined in: db/store.ts:243
Compact when total rows exceed this threshold.
targetOldRows
Section titled “targetOldRows”targetOldRows:
number
Defined in: db/store.ts:247
Downsample old data to this many representative rows.