The MAD Podcast16d ago1 h 16 min

What Happens When Billions of AI Agents Hit Your Database? (Andy Pavlo)

The MAD Podcast · 1 h 16 min

AI agents are becoming the biggest users of databases: creating them, querying them, and sometimes deleting them. Andy Pavlo, Carnegie Mellon's database professor and now VP of Database Research at ClickHouse, explains what changes when billions of agents hit the data layer, and why most of the AI world's mental model of databases stopped at vector databases and RAG.

Andy's CMU courses taught a generation of engineers (and, it turns out, the AI models); he writes the year-in-review on databases the whole industry reads; and this summer he joined ClickHouse to found ClickHouse Labs. We cover why vector databases were "just an index," what it means for an agent to create a database, why agents could mean 10 to 100x more queries, whether files or databases should hold an agent's memory, how text-to-SQL went from 60% to 99.5% accuracy, why 60% of open-source databases now have commits from coding agents, and what ten years of self-driving database research taught him. Plus ClickHouse, Postgres, the vector/graph/GPU database verdicts, Larry Ellison, and the Wu-Tang Clan.

Disclosure: FirstMark, where Matt is a General Partner, is an investor in ClickHouse.

  Cold open & Intro

  From vector databases and RAG to the age of agents

  Neon's stat: agents create 80% of databases?

  Why agents keep deleting production databases

  Guardrails: the toddler-and-stairs rule

  The four eras of database volume: 10–100x more queries

  Agent memory: files vs. databases ("everything is a database")

  Which database do AI models recommend? The new SEO

  "It cites me back to myself"

  MCP for databases, and text-to-SQL from 60% to 99.5%

  Trust an agent the way you'd trust a junior developer

  Can AI build an entire database? Opus 4 and the CMU projects

  60% of open-source databases now have AI commits

  Ten years of self-driving databases, Peloton to today

  What LLMs changed: 85% of the tuning in 15 minutes

  Should anyone still study databases?

  Free CMU courses, the DJ, and the Wu-Tang final exam

  Why start a research lab inside ClickHouse?

  Why ClickHouse looked like vaporware in 2016

  What makes ClickHouse fast: columns, vectors, Snowflake's lineage

  Why Databricks, Snowflake and ClickHouse all added Postgres

  Vector, graph and GPU databases: thumbs up or down?

  Is the database market stagnant? "A cheetah on cocaine in a Ferrari"

  The relational model is arithmetic; SQL as the new assembly

  Larry Ellison, Linux, and why databases still matter

the episode at The MAD Podcast →