arXiv Science⌕ Search

arXiv · 2611.36532

Beyond the Bulk-Load Honeymoon: Longitudinal Benchmarking of Learned Indexes Under Sustained Storage Workloads

Abstract

Learned indexes are often reported to be much faster than B-trees, but the benchmarks behind those numbers collapse a whole workload into one average throughput value. That average mixes the fast early operations, run just after the model was fitted, with the slower ones that come later. We call the fast early period the bulk-load honeymoon, and a single-shot benchmark cannot separate it from the throughput an index keeps up over time. We propose a longitudinal benchmarking protocol. It runs an index across many batches without ever resetting it, and records throughput, tail latency and memory for every batch. We run nine indexes on four real-world datasets and one synthetic dataset, with three seeds per configuration. On the four real-world datasets LIPP and DILI lose 36 to 45% of their first-batch throughput by the last batch, and ALEX loses 25 to 32%. Sampled P99 read latency grows by up to $2.2\times$, and memory per stored key grows by up to 78%. This changes which index looks best. On libio the standard GRE benchmark ranks LIPP 13% ahead of ARTunsync, but by the end of our run LIPP is 11% behind it. Of the nine cases where a learned index starts ahead of ARTunsync, five end behind it. The decline continues out to 800M keys and 24 batches, and it also appears with 8 to 32 threads, with updates and deletes, at read-heavy and write-heavy mixes, and at three batch sizes. Comparing runs that end with the same table but bulk-load different amounts shows that for LIPP and DILI the loss comes from inserting keys, not from holding more of them. ALEX barely notices how the keys arrived. Rebuilding every two batches makes LIPP's last batch on libio 66% faster, at a cost of 25 to 106 seconds per rebuild at 200M keys.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Emmilly Immaculate Namuganga, Laurent Bindschaedler. 2026-11-26. Beyond the Bulk-Load Honeymoon: Longitudinal Benchmarking of Learned Indexes Under Sustained Storage Workloads. https://arxiv.science/abs/2611.36532

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Alignment of Explanation Scores in Data Management

Different attribution scores have been proposed to quantify the relevance of database tuples for query answering in databases; e.g. Causal Responsibility, the Shapley Value, the Banzhaf Power-Index, and the Causal Effect. They have been analyzed in isolation. This work is a first investigation of score alignment depending on the query and the database; i.e. on whether they induce compatible rankings of tuples. We concentrate mostly on causality-based scores; and provide a syntactic dichotomy result for queries. More precisely, we characterize a class of Boolean Conjunctive Queries without self-joins, such that: On one side, when the query belongs to the class, pairs of scores are always aligned. On the other, if the query falls outside the class, there is a database instance where they are not aligned. It turns out that the presence of exogenous tuples makes a crucial difference in this regard.

cs.DB↗

Schemas That Hold: Verified Agentic Ingestion of Heterogeneous Scientific Tables into Relational Databases

Public scientific datasets rarely arrive analysis-ready: they come as folders of matrices, tables, and per-cohort files whose keys and encodings differ. A coding agent can load them, but the database it builds may corrupt data silently, enforce no keys or links, differ from run to run, and leave no audit trail. We present an ingestion pipeline built on one rule: LLM agents propose, deterministic code verifies, and humans decide. Agents see compact, citable evidence, never the full data; a verifier with 39 check types tests each proposal in two loops, one for structure and one for meaning; a human approves the schema and the load; and code quarantines what it cannot place and reconciles every row. On five public biomedical datasets, two held out, with five runs each, 10 of 25 first proposals failed a check and every failure was caught: the loops repaired nine and a one-line reviewer edit fixed the tenth. All 45.4 million values were loaded or quarantined with zero reconciliation gap, no planted data error passed silently, and one pipeline built differently shaped schemas without dataset-specific code. A general-purpose coding agent given the same folders preserved every value it loaded, but enforced keys and links in only 17 of 25 runs, built a different schema almost every time, stored a planted conflicting label as valid, and once reported success after loading nothing. The pipeline enforced the same keys, grains, and links in every run and recorded every decision, at similar cost ($0.18-0.54 per run).

cs.DB↗

Mind the Trap As LLMs Guess the Data Model: Grain-Aware Guards Against Fan-out in Text-to-SQL and Its Benchmarks

Text-to-SQL systems built on large language models (LLMs) often aggregate over one-to-many and many-to-many joins, a classic trap: when the joined rows repeat an entity, a SUM or COUNT counts it more than once, yet the query runs and returns a plausible number. We characterize these fan-out errors by one condition on the relation an aggregate reads, which depends on two facts a schema does not show: each measure's grain, and how many rows a join on each key repeats. An audit that tests the condition on the data finds distorted gold answers for 4.2% of the dev questions of BIRD, a widely used benchmark, and BIRD's later, independent revision changed 44% of the answers the audit flags as definite fan-out, against 16% of unflagged ones. On seven other benchmarks, distorted gold is no more common than in BIRD on public data, but affects 9-24% of golds in two enterprise databases. We release BIRD-FanOut, 486 BIRD questions with reviewed gold, and GrainTraps, synthetic questions that set this trap and related ones. Across eight LLM agents, functional dependencies (FDs) computed from the data help no more than per-column statistics on GrainTraps, but grain-aware FDs, which also state each measure's grain and the repetition per key, cut fan-out errors on BIRD from 18.4% of runs to about 13%, also on held-out questions and without LLM judges. Accuracy rises less, because most remaining errors are not fan-out and BIRD's hints often prescribe the over-count. Text-to-SQL models should be given the grain of the data, and benchmark gold should be audited on the data. Code, data and benchmarks are available at https://github.com/ahmed-mahran/misqal

cs.DB↗