Skip to content

@lancedb/lancedb • Docs


@lancedb/lancedb / CompactionOptions

Interface: CompactionOptions

Per-invocation compaction settings. Values must be safe integers.

Properties

batchSize?

optional batchSize: number;

Positive scanner batch size in rows.


ioBufferSize?

optional ioBufferSize: number;

Scanner I/O read-ahead budget in bytes; zero disables byte-based I/O backpressure.


maxSourceRows?

optional maxSourceRows: number;

Positive live-source-row budget across whole tasks; an oversized first task can produce no work.


targetRowsPerFragment?

optional targetRowsPerFragment: number;

Positive target rows per output fragment; also affects candidate selection.