Fifty years of database architecture assumed a human on the other end of the socket — this week we learn the classical machine, then measure what happens when the client becomes a language model.
Lecture 1 — Anatomy of a DBMS: the five components · Lecture 2 — The agentic workload, measured
The canonical map of the machine — and what each box assumes about you.
SELECT o.status, o.total_cents
FROM orders o
WHERE o.id = 48121;
Sent from an application in the same availability zone.
orders against the catalog.| Stage | Typical cost (warm) | Share |
|---|---|---|
| Network (RTT, same AZ) | ~500 µs | ~45% |
| Parse + catalog lookup | ~50 µs | ~5% |
| Plan (optimize) | 100–300 µs | ~15% |
| Execute (buffer-pool hit) | 50–150 µs | ~10% |
| Serialize + return | ~100 µs | ~10% |
| Connection setup (amortized) | ~150 µs | ~15% |
Postgres ships with max_connections = 100 — every sizing default descends from the 2007 assumption. In 2024–2026, agents opened hundreds of short-lived connections per task; platforms bolted poolers (PgBouncer, RDS Proxy, Neon’s proxy) in front of every database they sold.
Strip away the hype: what does the workload look like on the wire?
of new databases on Neon’s platform were created by agents, not humans (reported 2025). The dominant client of the managed-Postgres business changed in under two years.
| Dimension | Human client | Agent client |
|---|---|---|
| Queries per session | ~10–50 | ~500–5,000 |
| Inter-statement gap | seconds–minutes | 50 ms–10 s (token gen) |
| Schema introspection | rare | every session |
| Semantic duplicates | low | high — k textual variants |
| Speculation | none | 3–10 parallel probes |
| Staleness tolerance | implicit, unstated | often explicit and large |
information_schema as a hot pathLIMIT 5 samples.Anthropic’s self-service analytics (June 2026): agents succeeded on ~21% of warehouse questions with raw schema access, 95% with curated semantic context. A 4.5× improvement — not one byte from the storage engine.
>= '2026-03-01' vs. > '2026-02-28' — same intent.Raise lock-hold time H from 2 ms to 4 s. A lock that conflicted once a day now backs up a thousand waiters — expected queue depth grows like λ·H.