Query petabytes of data in R2 Data Catalog directly — no infrastructure to manage, no clusters to provision.
Queries run across Cloudflare's global network
Uses Iceberg metadata to skip irrelevant data files
Process data where it lives, not in centralized clusters
Only pay for the data you actually scan
1WITH stats AS (2 SELECT3 category,4 COUNT(*) AS total,5 ROUND(AVG(amount), 2) AS avg_amt,6 APPROX_PERCENTILE_CONT(amount, 0.95) AS p957 FROM default.orders8 WHERE __ingest_ts >= '2026-01-01'9 GROUP BY category10)11SELECT *, CASE12 WHEN avg_amt > 100 THEN 'premium'13 ELSE 'standard'14END AS tier15FROM stats ORDER BY total DESC LIMIT 10;
| category | total | avg_amt | p95 | tier |
|---|---|---|---|---|
| Electronics | 245,832 | 149.90 | 499.00 | premium |
| Books | 192,451 | 24.50 | 59.99 | standard |
| Home | 156,234 | 87.30 | 299.00 | standard |