Back to Devoured - June 29, 2026
DEVOURED
How VictoriaLogs Stores Your Logs in a Columnar Layout

How VictoriaLogs Stores Your Logs in a Columnar Layout

DevOps VictoriaMetrics
VictoriaLogs optimizes storage by using a columnar layout partitioned by day, balancing query speed with efficient long-term retention.
What: The storage system creates immutable search parts grouped by log stream. This allows the engine to skip unnecessary data during queries, prune metadata, and apply compression, enabling faster searches over recent logs and cost-effective historical storage.
Why it matters: Engineering teams are increasingly choosing log storage architectures that optimize specifically for time-series access patterns and high-cardinality filtering rather than raw document insertion speed.
Decoder
  • Columnar layout: A database storage format that stores data by column rather than row, allowing queries to only read the specific fields requested, which significantly speeds up aggregate calculations.
Original article

VictoriaLogs stores logs as immutable, searchable parts grouped by stream and partitioned by day, making retention cheap, queries time-bounded, and recent data searchable before it fully lands on disk. Its columnar layout lets queries read only the fields they need, while stable low-cardinality stream fields, per-day partitions, metadata pruning, and compression help operators understand why some log queries stay fast and others get expensive.

Explore all 71 articles in today's digest

Fresh dev news, AI-digested daily. Never miss a trend at devoured.fyi