Built from scratch in Rust, Turborel (TUR-boh-rel) is a relational database designed for high performance and a small footprint, with broad compatibility across the modern ecosystem.
Open source under the BSD-2-Clause Plus Patent License.
Tables, graphs, vectors, JSON, XML, geospatial and full-text search. One database, embedded or distributed.
Built from scratch in Rust, Turborel (TUR-boh-rel) is a relational database designed for high performance and a small footprint, with broad compatibility across the modern ecosystem.
Open source under the BSD-2-Clause Plus Patent License.
Standard SQL is treated as one language, from SQL-86 through SQL:2023, and built clause by clause from the standards’ own text. CONFORMANCE.md lists the features it claims.
Nearly every part is a plug-in point: storage engines, index methods, data types, functions, optimizer rules, encodings, authentication, wire protocols and more. Each has a built-in version you can replace or add to, and a plug-in can also run as a program of its own, installed from a signed package.
Each table picks its storage engine: row-oriented for transactional work, or columnar for analytics, under the same SQL. Transactions use multi-version concurrency control, a write-ahead log and crash recovery, at any level up to SERIALIZABLE.
B-link trees, hash tables, R-trees, inverted indexes for full text and JSON, and HNSW, DiskANN and IVF for vectors are built in. A cost-based planner picks among them.
Dense and sparse embeddings, with HNSW, DiskANN and IVF indexes. Hybrid search combines vector similarity, full-text ranking and SQL filters in one query.
GQL and SQL/PGQ property graphs, or native node and edge tables, over the same transactions as the rest of your data. Algorithms such as PageRank run in parallel.
The SQL/JSON path language, JSON_VALUE, JSON_QUERY and JSON_EXISTS, and the JSON constructors and aggregates.
An XML type queried in XQuery 1.0 by XMLQUERY and XMLTABLE, validated against registered XML Schemas, and published from SQL with XMLELEMENT and XMLAGG.
Geometries in WKT and WKB, spatial joins and nearest-neighbour queries. SQL/MM Full-Text, with stemming, thesauri and BM25 ranking.
Application-time periods, system-versioned tables and bitemporal queries with FOR SYSTEM_TIME AS OF.
Window functions, grouping sets, recursive queries and MATCH_RECOGNIZE. Sorts and joins spill to disk under one memory budget.
Stored procedures in SQL/PSM, triggers, user-defined and structured types, and polymorphic table functions.
Encryption at rest with AES-256-GCM or ChaCha20-Poly1305, LZ4 compression and TLS. Viewstamped Replication fails over automatically within seconds, and online backups restore to a point in time.
Run it inside your Rust app as a library, or as the turboreld server over TCP, Unix sockets or Windows named pipes.
Use it from Rust, where it’s built in, or from nine other languages with official drivers released alongside the server.
The first post, a hello world of sorts for the Turborel blog.
Built from main at 75f38a1 once it passed every check. Anything may change from one build to the next.
Linux (x86-64)macOS (Apple silicon)Windows (x86-64)Container
docker pull ghcr.io/turborel/turborel:nightly
No numbered releases yet. Turborel is in alpha: the nightly above is the way to try it, and the documentation follows main as it changes.
Subscribe to the newsletter to hear when the first release is out.