# JetStream: Generating Verified Query Accelerators for Existing Database Systems

DevFeed: [JetStream: Generating Verified Query Accelerators for Existing Database Systems](<https://devfeed.tech/articles/jetstream-generating-verified-query-accelerators-for-existing-database-systems-113636.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.20527>)

Author: Akhilesh Balasingam, Amadou Ngom, Geoffrey X. Yu, Tim Kraska

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [database-optimization](<https://devfeed.tech/topics/database-optimization.md>), [Database](<https://devfeed.tech/topics/database.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [DuckDB](<https://devfeed.tech/topics/duckdb.md>)

Tags: [accelerators](<https://devfeed.tech/tags/accelerators.md>), [agentic-workflow](<https://devfeed.tech/tags/agentic-workflow.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [database](<https://devfeed.tech/tags/database.md>), [differential-testing](<https://devfeed.tech/tags/differential-testing.md>), [duckdb](<https://devfeed.tech/tags/duckdb.md>), [jetstream](<https://devfeed.tech/tags/jetstream.md>), [other](<https://devfeed.tech/tags/other.md>), [performance](<https://devfeed.tech/tags/performance.md>), [queries](<https://devfeed.tech/tags/queries.md>), [query](<https://devfeed.tech/tags/query.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [specification](<https://devfeed.tech/tags/specification.md>), [sql](<https://devfeed.tech/tags/sql.md>), [state](<https://devfeed.tech/tags/state.md>), [static](<https://devfeed.tech/tags/static.md>), [storage](<https://devfeed.tech/tags/storage.md>), [stream](<https://devfeed.tech/tags/stream.md>), [substrate](<https://devfeed.tech/tags/substrate.md>), [systems](<https://devfeed.tech/tags/systems.md>), [tables](<https://devfeed.tech/tags/tables.md>)

## AI overview

JetStream generates query-specific accelerators that extend an existing DBMS, operating on its native tables while the DBMS retains responsibility for storage, transactions, recovery, and other queries. A fixed, engine-neutral substrate handles engine-specific hooks and keeps auxiliary state transactionally consistent as data changes. Tested accelerators may use any optimization and are checked by differential testing; verified accelerators trade some performance for a machine-checked proof that answers satisfy a trusted specification derived from SQL. On TPC-H at SF=20, the abstract reports a 315x geometric-mean read speedup over DuckDB, or 93x for verified accelerators, and 120x speedup under a continuous stream of 10,000 modified rows per second.

## Source excerpt

arXiv:2610.20527v2 Announce Type: replace Abstract: Recent work has shown that LLMs can synthesize highly specialized database systems for fixed workloads, but these systems replace the DBMS's native storage and assume static data: users must migrate their data, often give up ad-hoc queries, and lose acceleration once the data changes. We present JetStream, which instead generates query-specific accelerators that extend an existing DBMS. Given a set of parametrized query templates, a staged agentic workflow synthesizes accelerators that run directly over the DBMS's native tables and may maintain custom auxiliary state, while the DBMS remains responsible for storage, transactions, recovery, and all other queries. A fixed, engine-neutral substrate handles engine-specific hooks and keeps auxiliary state transactionally consistent under writes. JetStream generates two kinds of accelerators: tested accelerators, which may use any optimization and are validated by differential testing, and verified accelerators which trade some performance for a machine-checked proof that every answer satisfies a trusted specification derived from the SQL. On TPC-H at SF=20, JetStream achieves a $315 \times$ geomean read speedup over DuckDB ($93 \times$ verified) and retains $120 \times$ under a continuous update stream of 10,000 modified rows per second.