Skip to content
Opensource internals
  • Posts

System tables

ClickHouse Buffers the Query Log and Flushes It Into a Real MergeTree Table

Oct 24, 2026 17 min read Jay Hubbert

The query log is an in-memory queue drained every 7.5 seconds by a background thread that INSERTs into a lazily created MergeTree table.

ClickhouseInternalsSystem tablesObservabilityPerformance

Read more →

ClickHouse System Tables Are Storages That Generate Their Own Rows

Oct 24, 2026 15 min read Jay Hubbert

System tables are ordinary storages whose source is rebuilt per query, with a column mask so only requested columns are computed.

ClickhouseInternalsSystem tablesQuery planning

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·