Search arXiv⌕ Search

arXiv · 2612.04185

Benchmarking Topological Queries in Pangenome Graphs

Abstract

Pangenome graphs represent the complete genomes of multiple individuals as annotated graphs. Their nodes represent nucleotide (A, C, G, T) sequences originating from the genomes. Biological variations (e.g. substitutions, insertions, or deletions of nucleotides) manifest in these graphs as topological patterns, many of which involve paths with unbounded length. The large size of pangenome graphs calls for the use of database technology to process them, while the nature of the patterns requires expressive query languages. This work studies how database engines can be used to query these graphs. We identify biologically relevant patterns and express them in the most common query languages of relational and graph database engines (recursive SQL, SQL/PGQ, SPARQL, Cypher and Datalog). Additionally, we consider hybrid approaches that run graph algorithms on data stored in a database. For each technology, we discuss the schema choices that make the best use of it. Finally, we benchmark the performance of selected engines on real pangenomes of up to 40 million nodes and 2 billion nucleotides. While this work pinpoints the limitations of some query languages and engines we tested, our primary goal is to give the database community insight into the specific expressiveness and performance needed by the bioinformatics community.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Rémi Morvan, Iovka Boneva, Charles Paperman, Camille Marchet. 2026-12-02. Benchmarking Topological Queries in Pangenome Graphs. https://searcharxiv.org/abs/2612.04185

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 Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Realistic Performance-Aware Query Generation

Database research and development rely heavily on representative workloads for benchmarking, regression testing, and system evaluation. However, acquiring real-world SQL queries is notoriously difficult due to strict privacy constraints. While cloud database vendors have begun releasing anonymized performance traces, these traces typically expose only execution statistics rather than executable SQL queries, which limits their usefulness for end-to-end evaluation. Existing methods either operate at coarse granularity or fail to generate runnable workloads that reproduce per-query execution behavior with both high fidelity and efficiency. To address this gap, we propose ResQ, a fine-grained workload synthesis system that generates executable SQL workloads matching the per-query execution targets and operator composition of production traces. ResQ decomposes trace-driven synthesis into bounded query-graph construction and predicate instantiation, while using repetition-aware reuse and lightweight local models to make search practical and scalable. Across public cloud traces and a new industrial trace, ResQ substantially outperforms prior workload-generation baselines, reducing the 99th-percentile q-error by geometric-mean factors of 9.0x for CPU time and 120.4x for scanned bytes relative to the baseline method, while also cutting prompt-token usage and end-to-end generation time by 96.0% and 96.3%, respectively.

cs.DB↗

GenDB-V: AI-Generated and Formally Verified Database Systems

For over 50 years, the database community has developed many successful engines to answer two questions: how can database systems run faster, and how to ensure their correctness? Our experience shows that performance depends on hardware and workloads. As both change over time, we repeatedly redesign and rebuild database systems, a time-consuming and expensive process. Correctness remains another challenge: recent studies continue to uncover wrong-answer bugs even in mature engines, despite years of development and testing. We present GenDB-V, a system that enables AI agents to synthesize database engines specialized to hardware and workloads for performance, and formally verified for correctness. It supports specialized implementations of SQL templates and general-purpose engines. First, we develop SQLSpec to formalize SQL semantics and deterministically construct fixed, implementation-agnostic synthesis targets. Second, we enable joint synthesis of fast code and formal proofs through storage-execution co-optimization, performance-first exploration, three-layer modular proofs that bridge low-level execution to SQLSpec semantics, and robust code synthesis that generalizes verified code beyond the given database state. Third, we verify the synthesized code and proofs against the fixed synthesis targets in an isolated pipeline, proving SQL correctness and program safety. We evaluate GenDB-V on TPC-H and SEC-EDGAR. On TPC-H SF100, the robust verified code is 5.69x faster than DuckDB and 2.22x faster than Umbra, and it remains the fastest system on attack databases built by the agents and on held-out databases built independently. Joint storage and query optimization raises the speedups to 22.0-61.3x, and a verified general-purpose engine outperforms both systems by 1.09-5.02x. Our experiments expose incorrect answers in both a human-built engine and a testing-based LLM synthesis method.

cs.DB↗

Read Boundaries in Agent Memory: Consistency, Completeness, and Repair

Agent-memory services assemble evidence through several reads across connections or stores. An update between those reads can pair an assertion with source content from another revision. We protect the complete recall, including enrichment and materialization, and evaluate the resulting evidence and service behavior in Hindsight and Cognee. A 600-run Cognee study compares unprotected recall, a repeated recall, a read/write lock, and optimistic epoch validation under default incremental updates and full rebuilds. At approximately 20 recalls/s, unprotected default updates yield 199 conflicting responses among 12,010 scheduled recalls with spaced writes and 284 among 12,010 with bursts. The lock and epoch validation each deliver complete, compatible evidence for all 24,020 default-update recalls. With default bursts, epoch validation reduces update p95 by 109 ms while adding 290 ms to recall p95 relative to the lock. A separate 160-run incremental-failure study distinguishes mixed revisions from complete new derived content whose canonical source record remains old. Both protected policies refuse service after failure; the first default retry restores all 80 fault runs through native full-rebuild fallback. In Hindsight, a shared PostgreSQL snapshot removes the mismatch in ten controlled pairs, with recall p95 rising from 19 ms to 29 ms. These results identify the read boundary needed for coherent evidence and the publication and recovery conditions governing service after an update fails.

cs.DB↗