Training a 4B model to produce 81% faster query plans than Postgres

rohanbansal.com
September 16, 2026
48 min read
71/100
Summary
How good are query optimizers, really? Leis et al. asked this exact question in 2015. Then, they asked it again 10 years later. Despite an enormous body of research spanning a decade since their original exploration, they found that query optimizers continue to leave much to be desired. I was surprised when I first learned about this. A Postgres database should know everything about the stuff that...
Coverage & discussions
Hacker News · rohanbansal.com
Community discussions
Historical count: 15 · 15 saved in sample · Historical sample
Awaiting analysis