NewsCrawler.org

Benchmark Overfitting Behind GenDB-V's Database Speedups

The author argues that AI agents tuned for database benchmarks overfit[1] to them and push execution times toward zero, and that most unofficial TPC-H results ignore the benchmark's rules. A paper on GenDB-V, a system described as AI-generated and formally verified, reports speedups of 22× to 61× over Umbra and DuckDB.

The author calculates that a 22× gain over Umbra is infeasible for traditional query processing. At SF10[2], the 22 TPC-H queries read roughly 15GB of compressed data, and Umbra runs them all on a 9950X3D in about 540ms. Reading that much memory at 54GB/s takes about 280ms, so anything faster is out of reach.

Most of GenDB-V's largest gains come from precomputed, per-query data structures built at load time, including a sorted copy of supplier rows that makes Q2 trivial. At SF100, several queries run in near-constant time, such as Q2 in 0.7 ms and Q17 in about 15 ms on one thread. A "plain-array" mode shows a speedup of about 3×, but it hard-codes assumptions about the data generator dbgen[3], such as customer k being in row k-1. The code checks these assumptions and falls back to a very slow nested loop when they fail, but that never happens with the official generator, and the author says such tricks would not work in a real system.

Read the original databasearchitects.blogspot.comDiscussion

Discussion

Commenters note that the same problem appears in LLM-generated code, where agents optimize for a narrow microbenchmark or test at the expense of common cases. One commenter also points to a response from the GenDB-V author defending the work.

Sources

Published: First seen: Читать по-русски

Open as a page