
Ditching the Postgres Optimizer for a Four Billion Parameter Model
Alessandro breaks down the benchmark showing a 4B parameter model outperforming the Postgres query planner by 81 percent. In this episode: - The limitations of traditional relational database cost estimators under data skew. - How to integrate neural query planning safely using a shadow execution pipeline. - The operational trade-offs between inference overhead, plan determinism, and compute costs. Link to research paper: https://rohanbansal.com/qorl
Short listen plan
No short plan yet. We need saved quotes in chapters with known start and end times, backed by a timed transcript.
The skinny
The skinny isn't ready yet — the transcript is, and you can read it now.
Your database optimizer is guessing, and your latency graphs show it. This is In Prod. One tech story a day, and the call I'd actually make. Seventeenth of September, twenty twenty-six. We are replacing core Postgres heuristics with custom transformers, and I will tell you when to trust the model. Engineers published benchmarks today showing a four billion parameter neural network generating query plans eighty-one percent faster than native Postgres. The model replaces traditional dynamic programming and cost estimation heuristics… continue reading