ClickHouse Buffers the Query Log and Flushes It Into a Real MergeTree Table
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.
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.