Your agents don't care that you're a batch shop
Agent workloads turn one business question into tens of sequential, bursty queries, so even batch-oriented firms querying yesterday's data need engines that minimize compute-seconds per query. Using queueing arithmetic (throughput ≈ cores divided by core-seconds held), a desk of 50 agents running 200,000 queries a day needs 667 compute-hours at 12 s per query versus 22 hours at 0.4 s, a 30-fold gap that credit-metered and autoscaling warehouses turn into budget overruns. The recommended engine properties are columnar reads, data skipping, vectorized execution, incremental aggregates, workload isolation and per-role limits, with the lake kept as the system of record. Teams should trace agent and infrastructure spans with OpenTelemetry, count queries per agent task, and compare hold time rather than latency alone.
Related posts
- CostBench: Putting real-time analytics to the test
ClickHouse mediumAdept
CostBench measures real-time analytics performance per dollar as one continuous workload: more than 100 billion NBBO stock quotes are streamed at a target of 1 million rows/sec while aggregate and drill-down queries run on a fixed schedule. Its key idea is the fresh-data path, meaning columnar ingestion, maintenance of pruning-friendly sort/cluster layouts, and incremental pre-aggregation. That path carries its own cost, and when it falls behind it pushes scanning and aggregation work onto the query engine. Using each vendor's recommended push-based ingest path, ClickHouse Cloud had the lowest preparation cost, query-serving cost and runtime. Snowflake, Databricks, BigQuery and Redshift Serverless delivered 412–1,996× worse end-to-end performance per dollar, though the benchmark is run and reported by ClickHouse.
- Asynchronous computing at Meta: Overview and learnings
Meta Engineering mediumAdeptMeta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler. Tailers now push work to the scheduler over RPC instead of the scheduler pulling from the FOQS queue. This removed redundant copying into FOQS, improved end-to-end latency and cross-region load balancing, and made streams, warehouses and pub/sub first-class sources, at the cost of being a poor fit for long-running workloads. Queues offer lease-based granular retries and flexible ordering at moderate cost, while streams are cheaper for high-volume sequential access but clog on failed items. A separate controlled-delay service, backed by a priority queue or chained fixed-delay streams, preserves at-least-once delivery without blocking the stream.
- The three villains to agentic observability: retention, sampling and rollups
ClickHouse easyNovice
Retention limits, trace sampling and metric roll-ups are framed as workarounds for storage engines that struggle with cost and high cardinality, not observability best practices. The workarounds become hard limits when AI agents do root-cause analysis, because agents lack the human intuition to fill gaps left by missing history, dropped traces or aggregated-away dimensions like customer ID. The proposed fix is column-oriented storage with high compression (around 50x) on object storage (around $0.025/GB). That makes full-fidelity, long-retention telemetry affordable and leaves sampling and roll-ups as optional optimizations rather than defaults.
- Agentic analytics starts with query-ready data: the write-side cost of Snowflake vs. ClickHouse
ClickHouse mediumAdept
Under continuous ingest, keeping data sorted for chunk-level pruning is a write-side cost that standard query benchmarks ignore. Snowflake writes micro-partitions in arrival order and relies on background clustering to rewrite them and restore locality. ClickHouse sorts each insert by the table's sorting key and preserves that order through linear background merges. Measured while ingesting about 1M rows per second, ClickHouse keeps data query-ready at 22× lower cost with 28× better write-side cost-performance, which matters for agentic workloads that fire bursts of low-latency queries over fresh data.
- 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.