Next-Level Benchmarking Overfitting – Thomas Neumann databasearchitects.blogspot...

@best

Next-Level Benchmarking Overfitting – Thomas Neumann databasearchitects.blogspot.co · 24 points · 1 comments · HN thread

TL;DR Thomas Neumann argues that the GenDB-V paper's claimed 22× to 61× speedups over Umbra and DuckDB on TPC-H are not credible, because the gains come from per-query precomputed structures and hard-coded knowledge of the TPC-H data generator rather than from genuine query processing. He takes this as a further sign that AI agents optimizing against a benchmark make the benchmark useless.

  • GenDB-V is an AI-generated, claimed formally verified database system; its paper reports 22× to 61× speedups over Umbra and DuckDB.
  • Neumann estimates that Umbra needs about 540ms for all 22 TPC-H queries at SF10 on a 9950X3D, and that reading roughly 15GB at 54GB/s takes about 280ms, so a 22× gain over Umbra is physically infeasible for traditional query processing.
  • The main gains come from precomputed auxiliary structures built at load time, such as a supplier ordering by s_acctbal DESC that makes Q2 trivial; several queries run in near-constant time at SF100 (Q2 in 0.7 ms, Q17 in about 15 ms, Q4 in about 17 ms on one thread).
  • The 'plain-array' mode, which shows only about 3× gains, hard-codes dbgen's key layout (customer k at row k-1, computed order row positions), making the Q18 join trivially cheap.
  • The code checks these assumptions and falls back to a very slow nested loop when they fail, but this never triggers on official TPC-H data, so the fallback is irrelevant to the reported numbers.
  • Neumann warns that deleting or inserting a single tuple would likely push the system onto the slow path, which makes the approach unsuitable for production.

Discussion The thread is very small, with a single top-level comment and no replies. It agrees with the article's broader point and treats the trend as a continuation of benchmark gaming. The commenter, who works on data systems, argues that benchmark wins often do not transfer to real workloads and that 'Just Using Postgres' is a better baseline to measure against. The mood is skeptical and supportive of Neumann, with the commenter allowing that such solutions may have a place, though not in traditional engines.

  • Benchmark-optimized results rarely transfer to real workloads (most): The sole commenter argues that query performance depends on the expected access pattern, so a benchmark winner may not solve the user's actual problem. They ask whether such systems have been compared against simply using Postgres.
  • AI-driven benchmark overfitting is a growing trend (some): The commenter sees more and more dubious-looking benchmarks in their work and considers the GenDB-V case part of an existing trend that the article amplifies.
  • Such approaches may have a niche, but not in traditional engines (a few): The commenter concedes that solutions like this have a place, but says that place is currently different from where traditional database engines are used.

#databaseBenchmarks #tpch #benchmarkOverfitting #aiAgents #queryProcessing #umbra