Cloudflare uses ClickHouse to analyze over 1 million DNS queries per second from its global network. ClickHouse is a column-oriented database that allows Cloudflare to perform complex ad-hoc queries and aggregations over trillions of rows of DNS log data with dimensions like timestamp, zone, and location. They store raw logs for 3 months and aggregated data indefinitely to monitor trends and traffic over time. The multi-tenant ClickHouse cluster inserts over 8 million rows per second and has excellent query performance for common aggregations used by Cloudflare analysts.