Chapter 03 · Clickhouse Architecture Advisor
Subchapter 3.5
examples/siem-security-analytics.mdMarkdown2 KBView on GitHub
This workload is time-series heavy, multi-source, and often enrichment-bound. The two common failure modes are:
What
Use async inserts when many agents or producers write very small batches.
Why
This reduces small-part pressure without rewriting every upstream sender.
Category
official
Confidence
high
Source
What
Move repeated device-owner or asset-lookup enrichment out of runtime joins where appropriate.
Why
Security detections often execute continuously; repeated joins on slow-changing dimensions waste CPU.
Category
official
Confidence
high
Source
What
Precompute common counts, rates, and rollups that power dashboards or recurring detections.
Why
Not every threat-hunting query should hit the same raw telemetry tables repeatedly.
Category
official
Confidence
high
Source