Skip to main content
HUD LOGCHUNK SYSTEMS // LOKI 3.X SINGLE-BINARY TSDB & ZSTD TELEMETRY SCHEMA: TSDB-SHIPPER V13 | ZSTD 6X-11X | BASELINE 2026-11-13
GrafanaLokiRAM
GrafanaLokiRAM Affiliate Notice: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero added cost (Affiliate Policy).
TSDB & RAM Tuning

Loki 3.x Compactor Retention & Disk Space Reclamation

Enable retention_enabled: true in the compactor block so expired 30-365 day chunks and TSDB tables actually delete from disk.

compaction_interval: 10m · delete_request_store: filesystem

Loki 3.x Compactor Retention & Disk Space Reclamation
Telemetry baseline verified 2026-11-13 by LogChunk Systems.

Loki 3.x Requires delete_request_store

A common misconfiguration sets retention_period inside limits_config without enabling retention_enabled: true and delete_request_store: filesystem inside compactor.

Scheduling Compaction Outside Query Peaks

Keeping compaction_interval at 10m processes small incremental merges smoothly instead of triggering multi-hour I/O storms.

Measured Thresholds & Loki TSDB Parameters

Compactor KeyRequired ValueWhat Happens If Omitted
retention_enabledtrueLogs grow infinitely until disk hits 100%
retention_delete_delay2hGrace buffer before chunk unlink
delete_request_storefilesystemRequired in Loki 3.x for retention pruning
compaction_interval: 10m · delete_request_store: filesystem InterServer $6/TB SliceUltaHost VDS ($37.50+/mo)