Skip to content
Sheetwrite

Sheetwrite / Documentation

DataSourceStorageOptions@sheetwrite/core

Dense or allocation-lazy paged storage policy for datasource cells.

Dense or allocation-lazy paged storage policy for datasource cells.

Members 4

mode Storage engine. Dense is the default.
mode?: "dense" | "paged";
chunkRows Paged row chunk size; defaults to 4,096 and is normalized to a power of two.
chunkRows?: number;
cacheBytes Per-sheet clean-chunk cache budget; defaults to 32 MiB.
cacheBytes?: number;

Per-sheet clean-chunk cache budget; defaults to 32 MiB. Sparse local edits are accounted separately; dirty and visible chunks may exceed it.

dirtyCellLimit Maximum sparse local edits retained outside the clean page cache.
dirtyCellLimit?: number;

Maximum sparse local edits retained outside the clean page cache. Defaults to 1,000,000.

Declaration

View full TypeScript declaration
export interface DataSourceStorageOptions {
mode?: "dense" | "paged";
chunkRows?: number;
cacheBytes?: number;
dirtyCellLimit?: number;
}