# GenDB — Instance-Optimized and Customized Query Processing Code Generation via LLM Agents
> Ficha editorial pública de Research IA. Estado: Lectura primaria completa. La interpretación editorial no sustituye la fuente primaria.

- Página canónica: https://luiseduardodemiguel.com/research-ia/papers/gendb-instance-optimized-and-customized-query-processing-code-generation
- Fuente primaria: https://arxiv.org/abs/2607.20630
- Versión leída: v1
- Fuente comprobada: 2026-08-19 · lectura primaria completa; extracción editorial automatizada, revisión humana pendiente
- Autores: Jiale Lao, Immanuel Trummer
- Fecha del corte: 22 JULIO 2026.
- Área: AGENTES · CODING

## Tesis y contexto

En vez de seguir ampliando motores SQL genéricos, GenDB hace que agentes generen código de ejecución específico para los datos, hardware y workload concretos. Las queries repetitivas amortizan el coste de generación; un DBMS convencional continúa ejecutando consultas ad hoc. El prototipo incluye fuzz testing e inspección para validar corrección.

- Problema: Los motores genéricos deben servir miles de patrones aunque una empresa utilice repetidamente unos pocos.
- Por qué importa: Es otra señal del paradigma “generar software especializado en vez de ejecutar software universal”.

## Evidencia reportada

- **reported-result**: We use (1) TPC-H with scale factor 10, and (2) a newly constructed benchmark, SEC-EDGAR, to reduce potential data leakage, since TPC-H is well studied and represented in LLM training data. [localizador](https://arxiv.org/html/2607.20630#S3)
- **reported-result**: Figure 2 shows the results, and GenDB outperforms all baselines on both benchmarks. [localizador](https://arxiv.org/html/2607.20630#S3)
- **reported-result**: On TPC-H, GenDB achieves a total execution time of 249 ms across five representative queries ( 2 ) . [localizador](https://arxiv.org/html/2607.20630#S3)
- **reported-result**: On SEC-EDGAR, GenDB achieves 403 ms, which is 3.8 \times faster than DuckDB and 3.3 \times faster than Umbra. [localizador](https://arxiv.org/html/2607.20630#S3)

## Lectura y límite

- Método: La lectura de 2. System Overview describe la intervención y su construcción: Figure 1 shows an overview of GenDB. It takes as input the schema, SQL queries, database, and available resources. GenDB generates instance-optimized and customized database storage structures, indexes, and one executable file per SQL template. The current prototype targets offline code generation for repetitive and templated queries that are common in industrial workloads ( 10 ) , since the upfront generation cost amortizes over many executions. GenDB is an LLM-powered agentic system that decomposes the complex end-to-end query processing and optimization task into a sequence of smaller and well-defined steps,…
- Límite: La lectura primaria permite comprobar método y resultados en el HTML, pero no convierte sus conclusiones en validación independiente. La ficha no demuestra transferencia fuera de los datasets, modelos, herramientas y condiciones descritos en 3. Extract of Experimental Evaluation.
- Confianza editorial: Media
- Limitación: El cierre de la fuente señala: This material is based upon work supported by the National Science Foundation under Award No. 2239326.
- Limitación: La ficha no demuestra transferencia fuera de los datasets, modelos, herramientas y condiciones descritos en 3. Extract of Experimental Evaluation.

## Localizadores de evidencia
- [Fuente primaria · canonical](https://arxiv.org/abs/2607.20630): tipo abstract
- [HTML · lectura completa](https://arxiv.org/html/2607.20630): tipo abstract
- [Método · 2. System Overview](https://arxiv.org/html/2607.20630#S2): tipo section
- [Evaluación · 3. Extract of Experimental Evaluation](https://arxiv.org/html/2607.20630#S3): tipo section
- [Cierre · Acknowledgement](https://arxiv.org/html/2607.20630#Sx1): tipo section

## Próxima prueba

- ¿La propuesta mejora analytics frente a la línea base actual?
- Métrica: Comparar la métrica principal de la fuente junto con calidad, coste, latencia y tasa de errores.
- Regla de parada: Parar si no aparece una mejora reproducible o si aumenta el riesgo, la complejidad o el coste sin compensación.

## Recursos reproducibles
- [https://solidlao.github.io/GenDB/demo/](https://solidlao.github.io/GenDB/demo/)
- [https://github.com/SolidLao/GenDB](https://github.com/SolidLao/GenDB)
- [Link](https://github.com/anse1/sqlsmith)
- [the following issues](https://github.com/arXiv/html_feedback/issues)

## Enlaces relacionados

- [VAKRA](https://luiseduardodemiguel.com/research-ia/markdown/papers/vakra)
- [The Devil Is in the Interface](https://luiseduardodemiguel.com/research-ia/markdown/papers/devil-interface)
- [SkillSentry](https://luiseduardodemiguel.com/research-ia/markdown/papers/skillsentry)