Metraipolis › archive › dc_75393c7a028d

Factorized and Vectorized Execution: Optimizing Analytical and Semantic Queries over Relations — arXiv:2609.09002

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.09002
License (as archived)
CC0-1.0
Archived
2026-10-16T15:31:37.323Z
SHA-256 of the archived text
f164dffec6e9ad398bead7b4a4ba1ac82f8a69d59f10461dde4aa9d53cc9689b
Stable URL of this page
https://metraipolis.com/documento/dc_75393c7a028d

How to cite

Factorized and Vectorized Execution: Optimizing Analytical and Semantic Queries over Relations — arXiv:2609.09002 — arXiv (en), https://arxiv.org/abs/2609.09002 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_75393c7a028d (Metraipolis archive dc_75393c7a028d, sha256 f164dffec6e9ad398bead7b4a4ba1ac82f8a69d59f10461dde4aa9d53cc9689b)
BibTeX
@misc{dc75393c7a028d,
  title = {Factorized and Vectorized Execution: Optimizing Analytical and Semantic Queries over Relations — arXiv:2609.09002},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.09002},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_75393c7a028d; sha256 f164dffec6e9ad398bead7b4a4ba1ac82f8a69d59f10461dde4aa9d53cc9689b},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.09002. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Many-to-many joins are central to analytical and semantic workloads such as fraud detection, network analysis, and recommendation, where insights arise from relationships between entities. These workloads often suffer from an explosion of intermediate results, sometimes orders of magnitude larger than the inputs. Factorized representations address this problem by exploiting conditional independence among attributes to encode intermediates more compactly. In some cases, they can reduce the output size asymptotically below the worst-case output size. However, adopting factorization in modern vectorized query processors remains challenging: factorized representations are hierarchical, whereas vectorized execution is built around flat, block-oriented processing. Prior approaches either rely on full materialization or support only restricted factorization layouts, sacrificing much of the benefits of both factorization and vectorization. We present FFX, a novel engine for Fast Factorized eXecution. FFX is the first pipelined engine to support arbitrary factorization schemes while preserving full vectorization. The engine introduces packed factorized vectors and operators that maintain cache-friendly, contiguous layouts. Beyond analytics, FFX also co-optimizes semantic operators by serializing factorized intermediates into compact prompts for large language models (LLMs), substantially reducing token usage and inference cost while maintaining output quality and, in some cases, improving it. Together, these contributions enable efficient execution of join-heavy analytical queries, including queries augmented with semantic operators.

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-09-09 in cs.DB).
Categorie arXiv: Databases (cs.DB).
Pagina del lavoro: https://arxiv.org/abs/2609.09002 — 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-16T15:12:35.394Z dalla pagina https://arxiv.org/catchup/cs.DB/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).