ClickHouse Release 24.10
ClickHouse 24.10 adds a `--copy` mode and an `--implicit-select` calculator mode to clickhouse-local, a CLONE AS clause, real-time query metrics in the client, and a filesystem cache for S3 and Azure files. CLONE AS makes near-instant table copies by hard-linking immutable data parts, so the copy uses no extra storage and the two tables can then diverge independently. The remote file cache keys entries by path plus ETag, caches only the columns a query touches and evicts with LRU. In the example query it cut S3 GetObject calls from 186 to 0 and S3 read time from 16s to 122ms. Refreshable Materialized Views are now production-ready with Replicated database support, and the rewritten MongoDB integration supports all MongoDB data types and pushes down WHERE and ORDER BY.
Related posts
- Clone massive tables instantly and experiment safely in ClickHouse
ClickHouse mediumAdept
ClickHouse's `CREATE TABLE ... CLONE AS` creates a full, independent copy of a table almost instantly, without copying any data. It can do this because MergeTree data parts are immutable. Each part directory in the clone hard-links to the source's files, using POSIX hard links locally or metadata indirection on S3. Any later insert, update, delete or merge writes new parts, which gives part-level copy-on-write. Cloning time grows with part count rather than data size, the clone uses almost no extra storage until either table diverges, and shared files stay on disk until nothing references them. That makes clones safe for destructive tests, schema experiments, backfills and migrations.
- How HighLevel rebuilt its data platform for speed, scale, and simplicity on ClickHouse Cloud
ClickHouse mediumAdept
HighLevel replaced MySQL, Elasticsearch, Firestore and a document database with ClickHouse Cloud for lead activity, workflow logs, notifications and billing dashboards. Results: an 11 TB MySQL table compressed to 1.3 TB, P99 latency fell from over 6 s to under 200 ms, and a 60 TB Elasticsearch log store shrank to 6.27 TB served by three replicas. Notifications were modeled as MergeTree raw events plus ReplacingMergeTree read/delete state, with argMax instead of FINAL, Bloom filters and two-month partitions. Dashboards moved from daily cron reprocessing to SummingMergeTree materialized views. Key lessons are to model data as immutable, iterate on schemas, use bulk inserts, and instrument the client with per-service query observability.
- How Real Estate Analytics made its data pipeline 50x faster with ClickHouse
ClickHouse easyNovice
Real Estate Analytics replaced a MongoDB-based architecture with ClickHouse to serve user-selectable slicing across 200+ columns on 3-20 million row tables. In MongoDB each added index increased refresh time by about 10%, and full refreshes took 25-30 minutes. In ClickHouse the same refreshes finish in under 30 seconds (50x), and aggregation queries run about 10x faster. The team also replaced a Kafka-plus-containerized-consumer ingestion path with S3-to-ClickHouse loading, using globs, reading zip files without extracting them, the S3 table function and in-database JSON and regex parsing. Remaining gaps include no support for pre-1900 dates, weak WKT spatial support and, at the time, no auto-increment IDs.
- ClickHouse Release 23.12
ClickHouse mediumAdept
ClickHouse 23.12 adds experimental Refreshable Materialized Views, which periodically re-run an arbitrary query and atomically replace the results in a target table. That makes complex multi-join aggregations practical where incremental insert-trigger views fall short, and they can also serve as cron-style import/export jobs chained with DEPENDS. In the IMDB example, a refreshable view cuts an actor-summary query from 1.2 s to 3 ms. The release also speeds up SELECT ... FINAL by splitting data into non-intersecting sorting-key ranges, which are processed in parallel without merge logic, so only intersecting ranges pay the merge cost and merges are skipped across partitions when the partition key is a prefix of the sorting key.
- How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence
ClickHouse mediumAdept
Fountain replaced a multi-vendor batch pipeline (third-party replication to S3/Iceberg, then BigQuery) with ClickPipes CDC streaming Postgres and MongoDB directly into ClickHouse Cloud, cutting analytics freshness from three hours to under two minutes, with most queries sub-second, at about 66% lower cost. MongoDB documents land in ClickHouse's native JSON type, which enables schema-on-read dot-notation access, and over 2,000 incremental materialized views built with dbt replace any orchestrator. Moving a lagInFrame plus ASOF JOIN window computation into insert-time materialized views cut per-query memory by 80% on an 838M-row table, and 60-98% across other query shapes. Tenant isolation for the Cue LLM agent is enforced through empty service users, versioned RBAC roles, session variables set by the MCP backend, and row policies, so the design fails closed and resists prompt injection.