中文 →
The Peterman Pod · 2026

General-purpose only wins the low end: the father of Postgres on types, consistency and LLMs scoring zero

Mike Stonebraker × Ryan Peterman · "Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker"

Show The Peterman Pod · 2026-04-20 · Length 57 min · Guest Mike Stonebraker · Host Ryan Peterman · Video YouTube

The moment

By the late 1970s, Berkeley's Ingres was running at about a hundred universities: a free relational database on Unix that actually worked. Visitors always asked the same question, what's your biggest application, and the answer was always "not very big." Then Arizona State University seriously considered putting its student records, all 40,000 students, on Ingres.

Stonebraker says they could live with an unsupported operating system from Bell Labs, and with an unsupported database from some Berkeley professors. What killed the project was something else: there was no COBOL on Unix, and they were a COBOL shop.

So unsupported operating system, unsupported database system, no COBOL doomed us to, you know, irrelevance.— Mike Stonebraker · [00:05:32]

The only way out, he concluded, was a company. In 1980 Ingres Corporation raised venture money and moved the system to DEC's VMS. The story sets the tone for the whole hour: for Stonebraker, a technology stands or falls on whether it runs on real customers' data.

Who’s talking, and when

In 1971 Stonebraker had just arrived at Berkeley as an assistant professor, convinced his thesis topic was a dead end. His mentor Gene Wong suggested they do something together, a year after Ted Codd published the relational model in CACM. As he remembers it, they knew nothing about databases and were not skilled programmers like Bill Joy, and they decided to write a database system anyway. Ingres became his ticket to tenure; Postgres followed, and the body of work earned him the 2014 Turing Award.

Ryan Peterman's show interviews senior engineers and the creators of systems, and he tends to ask about hiring, growth and the advice you'd give your younger self. He asks those here too, but Stonebraker has little patience for small talk and drags almost every question back to a technical judgment.

The episode was recorded in spring 2026. Stonebraker was busy with two things: DBOS, the company he co-founded in 2023 to bring database transactions and durability into ordinary programs, and BEAVER, an enterprise text-to-SQL benchmark from his group at MIT. The whole conversation ends up at one question: what should LLMs do, and what should databases do?

The episode, worked through

1. Postgres began with a subtraction

Peterman asks what Ingres lacked that made a new system necessary. Stonebraker tells two failures. The first was Ingres's original academic purpose: a geographic information system for a neighboring professor, which needs points, lines and polygons. Ingres had integers, floats and strings, and could not support geometry efficiently on top of them. As a GIS, he says, it was a complete failure.

The second is better. Around 1985, commercial Ingres implemented dates on the standard Gregorian calendar, with subtraction that respects month lengths and leap years. A customer who dealt in bonds called to say it was wrong. In his world a month earns the same interest however long it is, so March 15 minus February 15 is 30 days (the 30/360 day-count convention). He had to pull both dates into application code, subtract there and write the answer back, at a cost of two to three times in efficiency.

Why can't I just overload your definition of subtraction with what I want?— the customer, as Stonebraker recounts it · [00:12:52]

In Ingres, subtraction was hard-coded. Stonebraker saw that bond time and GIS polygons were the same need: users want their own data types, as fast as the built-in ones. So the heart of Postgres was an extensible type system, which is where today's huge ecosystem of Postgres types and extensions comes from. He also admits that the time-travel queries they added at the same time were badly implemented and eventually taken out.

2. One size fits none

Two decades ago Stonebraker wrote that the era of "one size fits all" databases was over. His evidence was three systems that look nothing alike: StreamBase for streams, Vertica's column store for warehouses, and the conventional row store. Each was an order of magnitude faster than the others on its own workload. He says it is still true: ClickHouse is a column store, and Pinecone beats user-defined types for vector search.

And Postgres? His positioning is blunt. If you are just getting going with a database problem, choose Postgres: it's free, the community is huge, talent is easy to find. But it has no column store and no multi-node support, so on a large data warehouse it is not competitive.

At the low end, it's Postgres. At the high end, that's just not true.— Mike Stonebraker · [00:18:35]

The principle cuts the other way too. A few years ago he gave a talk at Amazon and told them that their 15 database systems were about 12 too many. A graph database is almost never the performant option; if you want a nodes-and-edges interface, put a layer on top of a relational system. Specialization doesn't mean more is better: an engine without a market big enough to pay for its maintenance should be retired.

3. Two fights with Google

The first was MapReduce. Many people, Stonebraker says, reasoned that Google is smart so they should do whatever Google says, and piled onto Hadoop, which was ridiculously inefficient. He, David DeWitt and others understood distributed databases and published work showing a parallel database could beat the heck out of Hadoop.

The second, to him, mattered more:

that wasn't the only thing Google was stupid about.— Mike Stonebraker · [00:22:46]

He means eventual consistency, and he makes it concrete with two warehouses. East and west coasts each hold a replica of the inventory; both sell the last widget at the same moment and notify each other asynchronously; stock ends at minus one and someone doesn't get their widget. A company that says "usually ships in 24 hours," like Amazon, may be allowed to oversell. Most enterprises are not.

And so eventual consistency just doesn't work.— Mike Stonebraker · [00:24:51]

He ties this back to referential integrity from half an hour earlier: "stock is greater than minus one" is itself an integrity constraint, and eventual consistency can't hold it. Peterman sums it up as trading correctness for performance. Stonebraker's reply is cold: if you don't care about your data, you're willing to put up with bad things happening. In his telling, Jeff Dean finally figured it out, Google built Spanner with conventional transactions, and abandoned both eventual consistency and MapReduce. As "Claims, checked" below shows, that ending is tidier than the record.

4. Put all the state in a database, LLMs included

DBOS started as a scheduling problem. Matei Zaharia, a Databricks co-founder, told him that a cloud might be orchestrating a million Spark jobs at once, and none of the operating-system schedulers they tried could scale to that. They put the scheduling data in Postgres and did scheduling as a database application, and then it clicked: most of what an operating system does is manage data at scale, so why not replace the upper half of Linux with a database?

The VCs said, to a person, that displacing Linux was a dream, but the programming-language part was nifty. So the company became durable workflows: ordinary programs in TypeScript, Java, Go and Python where every step is a transaction and finished steps are never lost. He says about two-thirds of customers are building agentic AI, mostly read-only. Once agents read and write, say two agents moving $100 from one account to another, it becomes a distributed-database problem: it all happens, or it looks like it never happened.

On LLMs themselves he is not gentle. On the public text-to-SQL benchmarks, Spider and BIRD, the best systems score above 80 percent. On a benchmark his group built from real data warehouses, he says, LLMs score zero. He gives four reasons: real queries run to a hundred lines, against ten or twenty in the public sets; table and column names are cryptic abbreviations with redundant materialized views everywhere; the data carries local conventions, like MIT's one-month term in January; and, most basically, this data was never in the training corpus.

And there's an adage that if you haven't seen the data a couple times before, you have no chance of regurgitating it.— Mike Stonebraker · [00:45:10]

His prescription is a database person's: break the query into smaller pieces and hand the retrieval system the FROM clause and join terms; when two structured sources must be combined, don't let the LLM do the join, leave them as tables and join in SQL. They are working with Munich's transportation department, where answers to citizens' complaints are scattered across trolley schedules, light sequencing, intersection drawings and regulation text. The plan is to turn all of it into tables and let a query optimizer do the joining.

Curiously, after saying LLMs all but fail on real data, his closing advice to the young is this:

Computer science may well not be a growth industry going forward. And I'm not sure I would recommend 18 year olds to major in computer science.— Mike Stonebraker · [00:52:28]

Health care and the building trades look like safe bets to him, everything else riskier. The two judgments don't contradict each other: what he doubts is that an LLM can understand a company's private data, not that it can write code.

Claims, checked

Stonebraker says that on his group's benchmarks LLMs score 0%, about 10% with RAG and other tricks, and about 35% when given the FROM clause and all the join terms. [00:44:06]

Supported

In the first version of the BEAVER paper (2024), GPT-4o and the other models scored 0% execution accuracy in the retrieval setting. The May 2026 version grows to 9,128 questions; the strongest agentic method reaches 10.8%, and 30.1% with every subtask given as a hint. His three numbers roughly map onto different versions, and the conclusion holds.

Stonebraker says Jeff Dean eventually figured it out, and that with Spanner Google completely abandoned both eventual consistency and MapReduce. [00:26:01]

Supported, but overstated

Dean is an author of the Spanner paper, which says users kept complaining that Bigtable struggled to stay strongly consistent under wide-area replication. But the same paper says "many projects happily use Bigtable," and Google still sells Bigtable today. Dropping MapReduce is on record: in 2014 Urs Hölzle said Google doesn't really use it anymore.

Stonebraker says a file system built on a DBMS is faster than the Linux file system, and that replacing the upper half of the OS with a database has essentially no downside. [00:40:18]

Supported, but overstated

The DBOS paper (VLDB 2022) shows write performance matching or beating ext4, but ext4's read performance "considerably exceeds" DBOS's, because a database call costs about 40 microseconds against roughly 1 for a Linux system call. The paper itself calls the comparison "apples-to-oranges."

Crossovers

Ten takeaways

  1. Ingres ran at about a hundred universities, but Arizona State's student-records project died because Unix had no COBOL, which convinced Stonebraker to start a company.
  2. The core innovation of Postgres was an extensible type system, prompted by Ingres's failure at GIS polygons and by a bond customer who wanted to overload date subtraction.
  3. The bond customer counted every month as 30 days, so he had to subtract dates in application code, losing a factor of two to three in efficiency.
  4. Stonebraker argues that stream, column-store and row-store engines are each an order of magnitude faster than a general system on their own workload, so one size fits none.
  5. Stonebraker positions Postgres as the default at the low end, but without a column store or multi-node support it cannot handle large data warehouses.
  6. Stonebraker told Amazon its 15 databases were about 12 too many; an engine without a market large enough to pay for maintenance should be retired.
  7. Stonebraker believes many people adopted Hadoop only because they trusted Google to be smart, while parallel databases were far more efficient.
  8. Stonebraker's example of two warehouses selling the last widget at once shows that eventual consistency cannot enforce a constraint like "stock never below zero."
  9. DBOS began by putting the scheduling data for a million Spark jobs into a database and became workflows that give ordinary programs transactions and durability.
  10. Stonebraker says LLMs fail on real data warehouses because private data is not in the training corpus; the fix is to split queries and leave joins to SQL.

Sources