---
title: "Your agents don't care that you're a batch shop"
description: "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."
url: "https://swe.quest/articles/your-agents-don-t-care-that-you-re-a-batch-shop-f2ee189b6981b5bb"
canonical: "https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop"
source: "ClickHouse"
published: "2026-11-24"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 10
tags: ["analytics","ai-agents","cost-optimization","capacity-planning","performance"]
---

# Your agents don't care that you're a batch shop

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-11-24, 10 min read, Opinion. Original: [https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop](https://clickhouse.com/blog/your-agents-dont-care-that-youre-a-batch-shop)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Capacity planning](https://swe.quest/tags/capacity-planning.md) (Reliability & operations)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- data warehouse basics ([easy posts on Analytics & OLAP](https://swe.quest/tags/analytics.md?difficulty=easy))
- cloud warehouse pricing models ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))

## Keywords

ClickHouse, Apache Iceberg, OpenTelemetry, Langfuse, CostBench

## Related posts

- [CostBench: Putting real-time analytics to the test](https://swe.quest/articles/costbench-putting-real-time-analytics-to-the-test-d29d773d94c62f6a.md): ClickHouse · 2026-09-08 · Medium · 19 min read · Analytics & OLAP, Performance engineering, Cost optimization, Stream processing
  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.
- [Scaling metrics queries for AI workloads with Distributed DataFusion](https://swe.quest/articles/scaling-metrics-queries-for-ai-workloads-with-distributed-datafusion-ea3426f39ce0ec77.md): Datadog Engineering · 2026-11-30 · Hard · 15 min read · Query engines, Distributed databases, Performance engineering, Observability, Rust
  Datadog built Distributed DataFusion, which takes a single-node Apache DataFusion physical plan, inserts NetworkShuffleExec operators at repartition boundaries, and schedules the resulting stages across worker pools that stream Arrow RecordBatches between them.
- [Asynchronous computing at Meta: Overview and learnings](https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823.md): Meta Engineering · 2023-01-31 · Medium · 10 min read · Serverless, Queues & messaging, Scheduling, Distributed systems, System design
  Meta 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.
- [The three villains to agentic observability: retention, sampling and rollups](https://swe.quest/articles/the-three-villains-to-agentic-observability-retention-sampling-and-rollups-8717547c3ecf409f.md): ClickHouse · 2026-04-08 · Easy · 16 min read · Observability, Analytics & OLAP, Cost optimization, AI agents
  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.
- [Agentic analytics starts with query-ready data: the write-side cost of Snowflake vs. ClickHouse](https://swe.quest/articles/agentic-analytics-starts-with-query-ready-data-the-write-side-cost-of-snowflake-e188e777c7d23ef1.md): ClickHouse · 2026-05-06 · Medium · 23 min read · Analytics & OLAP, Storage engines, Cost optimization, Performance engineering
  Under continuous ingest, keeping data sorted for chunk-level pruning is a write-side cost that standard query benchmarks ignore.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
