Resource and retention ceilings for an opt-in history archive.
Members
Properties
maxSnapshotBytes: number;Encoded bytes of one checkpoint snapshot or one record; defaults to 64 MiB.
maxSegmentBytes: number;Decoded bytes of one log segment; defaults to 1 MiB.
maxTransactionBytes: number;Encoded operation bytes of one archived transaction; defaults to and cannot exceed 64 MiB.
maxStorageBytes: number;Retained bytes per document, including headers and index entries; defaults to 512 MiB.
maxWorkingBytes: number;Working-set reservation for one capture, decode or replay; defaults to 256 MiB.
maxNamedVersions: number;Named versions per document; defaults to 100.
maxVersions: number;Named and automatic versions per document; defaults to 10,000.
maxPageEntries: number;Entries in one metadata page; defaults to 100.
maxPageBytes: number;JSON bytes of one metadata page; defaults to 256 KiB.
maxAgeMs: number;Age after which automatic versions expire; defaults to 30 days.
automaticIntervalMs: number;Active time between automatic versions; defaults to 5 minutes.
checkpointIntervalMs: number;Active time between checkpoints; defaults to 30 minutes.
checkpointTransactions: number;Transactions between checkpoints; defaults to 1,000.
checkpointLogBytes: number;Encoded log bytes between checkpoints; defaults to 2 MiB.
Declaration
View full TypeScript declaration
export interface HistoryLimits { maxSnapshotBytes: number; maxSegmentBytes: number; maxTransactionBytes: number; maxStorageBytes: number; maxWorkingBytes: number; maxNamedVersions: number; maxVersions: number; maxPageEntries: number; maxPageBytes: number; maxAgeMs: number; automaticIntervalMs: number; checkpointIntervalMs: number; checkpointTransactions: number; checkpointLogBytes: number;}Referenced by
Public exports naming HistoryLimits
DEFAULT_HISTORY_LIMITS@sheetwrite/coreHistoryArchive@sheetwrite/coreHistoryArchiveOptions@sheetwrite/coreHistoryListRequest@sheetwrite/coreHistoryPinRequest@sheetwrite/coreHistoryPruneRequest@sheetwrite/coreHistoryPublishRequest@sheetwrite/coreHistoryStorageRequest@sheetwrite/core