Cloudflare Identifies Query Planning Bottleneck in ClickHouse

2026-06-05 19:55 GMT · 2 months ago aimagpro.com

Cloudflare recently described how a slowdown in its billing pipeline was traced to contention inside the query planning stage of ClickHouse. The team profiled the bottleneck and patched ClickHouse to replace an exclusive lock with a shared lock, drop the per-query copy of the parts list, and improve part filtering. By Renato Losio