Metraipolis › archive › dc_c7a1189b9165
DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling — arXiv:2608.26172
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.26172
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T14:24:25.560Z
- SHA-256 of the archived text
f313a56d8137615cba18ee86e9fb79d1160fb9978ffba246989fce395fe6d02e- Stable URL of this page
https://metraipolis.com/documento/dc_c7a1189b9165
How to cite
DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling — arXiv:2608.26172 — arXiv (en), https://arxiv.org/abs/2608.26172 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c7a1189b9165 (Metraipolis archive dc_c7a1189b9165, sha256 f313a56d8137615cba18ee86e9fb79d1160fb9978ffba246989fce395fe6d02e)
BibTeX
@misc{dcc7a1189b9165,
title = {DRL: A Deterministic Relational Middleware Layer for Transaction-Safe Enterprise NL2SQL Under Schema-Graph Scaling — arXiv:2608.26172},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.26172},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c7a1189b9165; sha256 f313a56d8137615cba18ee86e9fb79d1160fb9978ffba246989fce395fe6d02e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.26172. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Deploying natural-language interfaces over enterprise OLTP catalogs fails at scale because semantic parsers collapse under schema-graph scaling, inflating context beyond stable LLM attention budgets. We present DRL (Deterministic Relational Middleware Layer), a safe pipeline interposing between front-ends and SQL backends. DRL comprises dynamic context pruning, relational AST typing, and transactional safeguard verification (EXPLAIN gating and NULL guards) to bound context and flag operational silent divergence (SDop). We evaluate DRL on PostgreSQL and MySQL, contributing (i) an OLTP schema-graph scaling model, (ii) a 1,000-pair Workload Verification Suite, (iii) baselines B0-B3, and (iv) an enterprise NL2SQL failure taxonomy. On PostgreSQL, schema-linked hints (B1) yield a 76% context reduction over naive full-catalog prompting (B0); DRL's dynamic router (B2) reaches a 92% reduction at pruning p95 = 0.58 ms and middleware p95 = 4.6 ms. GPT-4o, Claude Sonnet 4.5, and Gemini 2.5 Flash achieve 52.9%, 52.8%, and 52.1% execution match under a corrected evaluation harness; SDop flags 89-100% of false-positive EX-passing queries. GPT-4o failures are dominated by semantic/filter errors (254/471), while column hallucination is a minor factor (47/471). Crucially, a single regex defect in our evaluation post-processor silently suppressed accuracy and manufactured a false 4-10% cross-vendor gap that vanished when corrected, showing that benchmark code deserves the same scrutiny as the models it scores. DRL reframes enterprise NL2SQL as systems engineering - context bounding, verification, and plan-aware admission - not a leaderboard exercise. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-28 in cs.AI). Categorie arXiv: Databases (cs.DB) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2608.26172 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T13:16:53.604Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).