📄
Abstract - Breaking Database Lock-in: Agentic Regeneration of High Performance Storage Readers for Database Bypass
Analytical workloads operating on data stored in external database systems face a fundamental bottleneck: data access is guarded entirely by the database driver, like JDBC or ODBC, forcing all reads through query execution and other driver layers that are not designed for bulk columnar analytics. We present Jailbreak, an approach that bypasses the database engine entirely by reading storage files directly and materializing data as in-memory columnar buffers. Jailbreak's key insight is that database file formats, while complex, are fully specified by their source code and documentation, artifacts that Large Language Models (LLMs) can ingest to regenerate operator-specific table reading components without human-engineered parsing logic. Jailbreak leverages LLM-assisted code synthesis for database storage decoding, turning a traditionally opaque format into a directly queryable artifact. We evaluate Jailbreak on PostgreSQL and MySQL storage files, targeting analytical snapshot scenarios common in read replicas and offline processing pipelines. The generated reader produces Apache Arrow buffers consumable directly by most of the widely known query engines, including DuckDB, Apache Spark, and GPU-accelerated frameworks such as cuDF and Spark RAPIDS. We validate correctness against JDBC/ODBC-based baselines using the TPC-H benchmark across all query results, and demonstrate significant performance improvements in end-to-end analytical throughput, achieving up to 27x speedups. Our results showcase that LLM-assisted storage reader synthesis is a viable and generalizable methodology for breaking data lock-in across database systems, with applications beyond PostgreSQL and MySQL for any system whose file format is available to the LLM from documentation or source code.
打破数据库锁定:面向数据库绕过的高性能存储读取器智能体再生 /
Breaking Database Lock-in: Agentic Regeneration of High Performance Storage Readers for Database Bypass
1️⃣ 一句话总结
本文提出了一种名为Jailbreak的新方法,利用大语言模型(LLM)直接解析数据库存储文件的格式,自动生成高性能读取器,从而绕过传统数据库驱动(如JDBC/ODBC)的限制,在分析场景中实现最高27倍的速度提升,并打破了对特定数据库系统的依赖。