#Cloudflare traced a slowdown in its billing pipeline to contention in ClickHouse's query planning stage.

After profiling the bottleneck, the team contributed fixes to #ClickHouse that: ➤ Replaced an exclusive lock with a shared lock ➤ Eliminated per-query copying of the parts list ➤ Improved part filtering

Learn more: https://bit.ly/4fB9HCD

#InfoQ #Database