ClickHouse Powers Dassana’s Security Data Lake
Dassana built a security data lake on ClickHouse to normalize mutable security findings (alerts whose state changes) that append-only SIEMs handle poorly. After ReplacingMergeTree and AggregatingMergeTree with materialized views struggled at scale, they solved last-point queries with a ClickHouse dictionary that periodically refreshes (every 5 seconds) the max insert timestamp per cityHash64(tenant, record_id), then filtering the main table via dictGet. The approach outperformed the Join engine and fit hundreds of millions of distinct assets in 32GB RAM, at the cost of a few seconds of staleness. Lessons include keeping test and production hardware at parity and avoiding experimental features such as projections in production.
Related posts
- Fast, Feature Rich and Mutable : ClickHouse Powers Darwinium's Security and Fraud Analytics Use Cases
ClickHouse easyNovice
Darwinium, a digital risk and fraud platform, chose ClickHouse to back interactive security and fraud analytics over large, wide, long-retention event data. Its reasons were simpler ingestion than immutable HDFS-style pipelines, AggregatingMergeTree tables that maintain rollups without a separate pipeline, and a single server absorbing thousands of writes per second on ~3k-column rows at under 5% CPU. Map, Array and JSON types absorb fast-changing model signals without schema churn, and tiered SSD-to-S3 retention, sharding and replication handle cost and availability. Group-by queries on a 40M-row, ~3k-column table under varying analyst concurrency are charted as evidence of sub-second interactive performance.
- How Exabeam uses ClickHouse for scalable, searchable security analytics
ClickHouse mediumAdept
Exabeam runs its security analytics platform on ClickHouse Cloud across 10 regions, ingesting up to 1.2M events/sec per region (80B+ daily, 3.5 PB raw compressed to 200 TiB), with compute-compute separation that isolates write, merge and read nodes. Key optimizations: consolidating commonly queried fields into one wide column cut query latency from 8s to under 1s, folding sparse fields into a key-value column shrank the schema from 1,150 to 250 columns and raised throughput from 100K to 250K events/sec on three nodes, and ingestor tuning (Jackson over Gson, larger Gzip buffers, better serialization) cut memory 45%. Splitting backdated events into a separate backlog pipeline reduced part-file explosion and aborted merges, and replacing N-gram indexes with token-based indexes lowered hardware cost since regex queries were under 1% of workload.
- DENIC Improves Query Times By 10x with ClickHouse
ClickHouse mediumAdept
DENIC, the .de registry, built its data science platform on ClickHouse after rejecting Hadoop and Spark as too costly to administer and cloud services for privacy reasons. A denormalized ReplicatedMergeTree table stores more than 20 million per-domain time series, with holder data held in arrays. A daily query that finds the current state of domains whose holders changed took 5 minutes. Switching to a ReplicatedReplacingMergeTree table cut that to 3 minutes. An AggregatingMergeTree materialized view with argMax was dropped because it exhausted 128 GB of RAM. Rewriting the query to filter whole time series in the GLOBAL IN subquery, using LIMIT 1 BY instead of max(timestamp), and using ARRAY JOIN with IN instead of hasAny brought it to about 30 seconds, and that held at hundreds of millions of rows.
- What is ClickHouse Security? A technical overview of the agentic SIEM built on ClickHouse
ClickHouse mediumAdept
ClickHouse Security is an agentic SIEM, built from RunReveal technology and now in private preview, that stores security logs in a customer's ClickHouse Cloud service. It ingests from 120+ cloud, identity and SaaS sources via webhook, API polling with watermarks, or object storage. Built-in pipelines filter, enrich and normalize the logs to an OCSF-like schema while keeping the raw log. Detections run as scheduled ClickHouse SQL or streaming Sigma rules managed as code through a CLI and GitHub Action, and results land in queryable signals and alerts tables. Investigations collect timeline artifacts, and AI agents triage alerts, tune detections and answer plain-language queries by writing SQL, using bring-your-own LLM keys plus an MCP server, API and Slack bot.
- Why Flock Safety turned to ClickHouse for real-time vehicle traffic analytics
ClickHouse mediumAdept
Flock Safety replaced a once-daily Redshift, DBT, Prefect and QuickSight SPICE pipeline with ClickHouse Cloud. The old setup had refreshes of up to four hours during which data was unavailable, and SPICE capped datasets at 1TB or 1 billion rows. Before choosing ClickHouse, the team found direct Redshift queries hit concurrency limits, and both Aurora PostgreSQL and S3 with Trino exceeded QuickSight's query timeouts. The new design ingests ML predictions via SNS, Firehose, S3 and ClickPipes (peaking above 20 MB/s, over 1 billion predictions a day) and uses materialized views with uniqState into AggregatingMergeTree tables, so transformation happens on insert and DBT and Prefect are no longer needed. QuickSight now queries ClickHouse directly, with queries finishing in under five seconds, no downtime and longer retention.