Snel: LLVM 를 위한 SQL 네이티브 실행
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.
초록
Snel 은 쿼리의 Just-In-Time (JIT) 컴파일과 열 기반 데이터 표현을 특징으로 하는 관계형 데이터베이스 엔진이다. Snel 은 LLVM 컴파일러 인프라를 활용하여 빠른 온라인 분석을 지원한다. 또한 SQL 언어의 확장으로서 히스토그램 해결과 같은 커스텀 특수 방법을 제공한다. "Snel" 은 "LLVM 을 위한 SQL 네이티브 실행 (SQL Native Execution for LLVM)"을 의미한다. 전통적인 데이터베이스 엔진과 달리 클라이언트 - 서버 인터페이스를 제공하지 않는다. 대신 SQLite 의 확장으로서 인터페이스를 노출하여 명령줄에서의 간단한 상호작용 및 애플리케이션 내 임베딩을 가능하게 한다. Snel 테이블은 읽기 전용이므로 트랜잭션이나 업데이트와 같은 기능을 제공하지 않는다. 이는 테이블 잠금 오버헤드나 일관성 보장을 필요로 하지 않아 쿼리가 매우 빠르게 실행되도록 한다. Snel 의 핵심은 클라이언트 애플리케이션이 사용할 수 있는 동적 라이브러리로, 전통적인 SQL 환경과의 원활한 통합을 위한 SQLite 확장 및 명령줄에서의 간단한 상호작용을 제공한다.
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.