Snel: Execução Nativa do SQL para LLVM
Snel: SQL Native Execution for LLVM
Snel: SQL Native Execution for LLVM
@misc{mottalli2020snel,
title = {Snel: SQL Native Execution for LLVM},
author = {Marcelo Mottalli and Alejo Sanchez and Gustavo Ajzenman and Carlos Sarraute},
year = {2020},
eprint = {2002.09449},
archivePrefix = {arXiv},
primaryClass = {cs.CY},
url = {https://arxiv.org/abs/2002.09449}
}
Mottalli, M., Sanchez, A., Ajzenman, G., & Sarraute, C. (2020). Snel: SQL Native Execution for LLVM [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2002.09449
MOTTALLI M, SANCHEZ A, AJZENMAN G, et al. Snel: SQL Native Execution for LLVM[EB/OL]. (2020-02-21)[2026-11-29]. https://arxiv.org/abs/2002.09449.
Resumo
O Snel é um motor de banco de dados relacional que apresenta compilação Just-In-Time (JIT) de consultas e representação de dados em colunas. O Snel foi projetado para análises online rápidas, aproveitando a infraestrutura de compilação LLVM. Ele também possui métodos especiais personalizados, como a resolução de histogramas, como extensões da linguagem SQL. "Snel" significa "Execução Nativa SQL para LLVM". Diferentemente dos motores de banco de dados tradicionais, ele não fornece uma interface cliente-servidor. Em vez disso, expõe sua interface como uma extensão do SQLite, para um uso interativo simples via linha de comando e para incorporação em aplicativos. Como as tabelas do Snel são apenas de leitura, ele não fornece recursos como transações ou atualizações. Isso permite que as consultas sejam muito rápidas, pois não sofrem com a sobrecarga de travamento de tabelas ou garantia de consistência. Em seu núcleo, o Snel é simplesmente uma biblioteca dinâmica que pode ser utilizada por aplicativos clientes. Ele possui uma extensão do SQLite para integração sem problemas com um ambiente SQL tradicional e um uso interativo simples via linha de comando.
Snel is a relational database engine featuring Just-In-Time (JIT) compilation of queries and columnar data representation. Snel is designed for fast on-line analytics by leveraging the LLVM compiler infrastructure. It also has custom special methods like resolving histograms as extensions to the SQL language. "Snel" means "SQL Native Execution for LLVM". Unlike traditional database engines, it does not provide a client-server interface. Instead, it exposes its interface as an extension to SQLite, for a simple interactive usage from command line and for embedding in applications. Since Snel tables are read-only, it does not provide features like transactions or updates. This allows queries to be very fast since they don't have the overhead of table locking or ensuring consistency. At its core, Snel is simply a dynamic library that can be used by client applications. It has an SQLite extension for seamless integration with a traditional SQL environment and simple interactive usage from command line.