Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 5 min read Case study easyNovice

ClickHouse Cloud on Google Cloud Now Powered by Google Axion Processors: 30–55% Faster Queries, ~15% Fewer Compute Credits

ClickHouse Cloud is migrating its Google Cloud fleet from x86 N2D instances to Arm-based Axion C4A instances, yielding 30–55% faster queries across all 43 ClickBench queries, roughly halved load times, and first place on the combined ClickBench ranking. Across a controlled cohort of 38 production services, compute credits per query fell about 15%, with larger gains for CPU-bound workloads and smaller ones where GCS read throughput dominates. The rollout went from staging to region-by-region migration, gated on SharedCatalog storage, maintenance windows and traffic tier, with the highest-traffic organizations moved last. Contributing factors cited include steadier clock frequency under sustained load and one physical core per vCPU instead of two hyperthreads.

Related posts

  • How ClickHouse Cloud uses AWS Graviton to boost performance and efficiency

    ClickHouse mediumAdept

    ClickHouse Cloud moved about 83% of its AWS fleet from x86 instances (M5/R5) to Graviton ARM instances, building on AArch64 support work that began in 2016 and grew to cover Neon optimizations, JIT and profiling. Because compute and storage are separated, no data had to move. The main engineering work was replacing Intel-only codecs (deflate_qpl, zstd_qat) and making autoscaling work with mixed m7gd/m6gd instance types. That meant matching memory allocations, routing pods under 236Gi to ARM via a webhook, and overprovisioning to handle "architecture jumps." Benchmarks showed about 25% overall query improvement, only 10% on a network-bound S3 workload, and up to 64% for Graviton4 (r8g) versus Intel on ClickBench.

  • Announcing On-Demand Compute: Instant compute for your most intensive workloads

    ClickHouse easyNovice

    ClickHouse Cloud On-Demand Compute, now in private preview, lets a query run on a shared pool of ClickHouse workers outside the service's own cluster by setting make_distributed_plan and distributed_plan_workers_num. It uses a new multistage distributed execution framework and a cost-based optimizer. Workers are leased for at least 60 seconds and reused by later queries without cold start, and concurrent queries share workers so the pool grows to the largest single request. On TPC-H SF10, it beat a 5-node autoscaling cluster on complex queries and matched it at 25 concurrent queries using 50% less compute, though short simple reads still favor the stateful cluster.

  • Contentsquare Migration from Elasticsearch to ClickHouse

    ClickHouse mediumAdept

    Contentsquare replaced 14 Elasticsearch clusters with ClickHouse over a phased migration. They first built a new product on ClickHouse, then shadowed production queries endpoint by endpoint to compare results, then moved customers one at a time over six months with zero regressions. The result was 11x lower infrastructure cost, 10x better p99 latency, and longer query windows and retention. Key design pieces were a Kafka-fed ingestion service (clickin) that writes shard-aligned data in ClickHouse native format via clickhouse-local, and an AST-based query optimizer that propagates partition/sort-key conditions and distributed_group_by_no_merge, merges subqueries, and gave a 10x speedup on the slowest 5% of queries.

  • Why OpenAI chose ClickHouse for petabyte-scale observability

    ClickHouse mediumAdept

    OpenAI ingests petabytes of logs daily, growing over 20% monthly, into a ClickHouse cluster of 90 shards with two replicas each, fed by Fluent Bit agents. Recent data stays on local disk because about 80% of queries touch the last two days, and older logs tier to blob storage. ClickHouse was chosen for being open source, horizontally scalable, tunable in its indexing and queryable in SQL. When the GPT-4o image generation launch raised log volume 50% overnight, the team added a query-only replica and sampled logs, then profiled ClickHouse and found more than half of CPU time going to Bloom filter construction. Replacing a per-insert division with a multiply and bit shift cut CPU usage 40%, and the fix was upstreamed.

  • How Artemis Security runs 69x faster detection queries with ClickHouse Cloud

    ClickHouse mediumAdept

    Artemis, an AI-native threat detection platform ingesting terabytes of logs daily, sped up its ClickHouse Cloud workload with three techniques. Query coalescing merges hundreds of detection-rule predicates into a single scan that tags matching rows with rule IDs, cutting one benchmark from 173s to 2.5s (69x) with 46x less CPU. It relies on a runtime classifier that excludes the roughly 15% of rules using JOINs, CTEs or GROUP BY, plus size-aware batching with a binary-split fallback around max_query_size. A Claude Code skill called /poke automates debugging across system tables, metrics and source code. A materialized view extracts hot JSON sub-columns into native types and feeds a two-step filter-then-fetch query pattern, making investigative queries 30-60x faster with up to 400x lower CPU.

The quest for software engineering knowledge.

Look:
Layout: