Rust Database

Open-source Rust projects categorized as Database | Edit details

Top 23 Rust Database Projects

  • GitHub repo MeiliSearch

    Powerful, fast, and an easy to use search engine

    Project mention: Scaling Indexing and Search – Algolia New Search Architecture | | 2021-10-15
  • GitHub repo sonic

    🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.

    Project mention: Scaling Indexing and Search – Algolia New Search Architecture | | 2021-10-15

    If you need fast but absolutely non customizable search that can live off a lot less than 1GB of RAM (less than 100MBs even) then you might have some success with

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo tikv

    Distributed transactional key-value database, originally created to complement TiDB

    Project mention: Belajar Rust 01 - Mengenal Bahasa Pemrograman Rust | | 2021-08-28

    TiKV: basis data key-value transaksional yang terdistribusi.

  • GitHub repo diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: What's everyone working on this week (38/2021)? | | 2021-09-20

    I initially meant to use Rails as a way to learn it, but missed Rust too much and switched to Yew for the frontend and Diesel and Tide for the backend. I'm trying to force myself to care more about finishing the project (and quickly getting it into production!) than making everything perfect, which is difficult for me.

  • GitHub repo sled

    the champagne of beta embedded databases

    Project mention: Hey Rustaceans! Got an easy question? Ask here (37/2021)! | | 2021-09-15

    If you're looking for something pure Rustic, then I've heard a few good things about sled, too.

  • GitHub repo materialize

    Materialize simplifies application development with streaming data. Incrementally-updated materialized views - in PostgreSQL and in real time. Materialize is powered by Timely Dataflow. (by MaterializeInc)

    Project mention: How not to blow up the production database | | 2021-10-15

    I've been looking at Materielize for a while ( It can handle automatically refreshed materialized views. Last time I checked, it didn't support some Postgres SQL constructs that I use often, but I'm really looking forward to it.

  • GitHub repo toydb

    Distributed SQL database in Rust, written as a learning project

    Project mention: ToyDB: Distributed SQL Database in Rust | | 2021-07-18

    No, you can't really opt out of A. CAP is a great theoretical result, but it's too narrow to be convenient for analyzing real life situations. (At least this is my not too deep understanding of this topic.)

    In practice even this ToyDB is likely able to serve requests in a degraded state (probably as long as the Raft leader's timer does not expire, and if there's a quorum of nodes they can reelect a leader). And it seems that if a node falls out of sync it will automatically rejoin and try to replay the logs. (As long as they are available of course.)

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo rust-postgres

    Native PostgreSQL driver for the Rust programming language

    Project mention: Announcing Usual -- a small nORM wrapper to make dealing with SQL easier (like tokio-postgres) | | 2021-08-25

    Some nifty things about usual: - It's a generic wrapper over any SQL "row" object. The first implementation that's provided is for tokio-postgres, but traits are available to implement over whatever you'd like. - It provides static typing for partial queries. That is, it supports fetching a subset of fields from a row and makes a unique type for the return value. This gives you some neat-o type safety like this:

  • GitHub repo databend

    An elastic and reliable Cloud Data Warehouse, offers Blazing Fast Query and combines Elasticity, Simplicity, Low cost of the Cloud, built to make the Data Cloud easy

    Project mention: Databend will release proposal: Nightly v0.5 | | 2021-10-15
  • GitHub repo redis-rs

    Redis library for rust

    Project mention: Getting started with MongoDB and Redis in Rust | | 2021-06-28

    The project is implemented with MongoDB Rust driver and redis-rs crate.

  • GitHub repo gobang

    A cross-platform TUI database management tool written in Rust

    Project mention: Hacker News top posts: Sep 11, 2021 | | 2021-09-11

    Gobang – Cross-platform TUI database management tool written in Rust\ (34 comments)

  • GitHub repo PumpkinDB

    Immutable Ordered Key-Value Database Engine

  • GitHub repo indradb

    A graph database written in rust

    Project mention: Show HN: Mongita is to MongoDB as SQLite is to SQL | | 2021-04-20

    For rust, I manage a graph database that can be embedded as a library:

  • GitHub repo rusqlite

    Ergonomic bindings to SQLite for Rust

    Project mention: Any way to make all variables of a struct optional? | | 2021-08-18

    Sqlite is an in-memory database, and it looks like it has rust bindings:

  • GitHub repo exonum

    An extensible open-source framework for creating private/permissioned blockchain applications

  • GitHub repo tensorbase

    TensorBase is a new big data warehousing with modern efforts.

    Project mention: ToyDB: Distributed SQL Database in Rust | | 2021-07-18

    + The result of TB's architectural performance: the untuned write throughput of TB is ~ 2x faster than that of CH in the Rust driver bench, or ~70% faster by using CH own ```clickHouse-client``` command. Use [this parallel script]( to try it yourself!

    3. Thanks to the Arrow-DataFusion, TensorBase has supported good parts of TPC-H. [Untuned TPC-H Q1 result here](

    4. In simple (no-groupby) aggregation, TensorBase is several times faster than ClickHouse. [Benchmark here](

    5. For complex groupby aggregations, recently we help to boost the speed of the TB engine to the same level of ClickHouse(not released, but coming soon).

    6. TB will soon supports MySQl wire protocol, distributed query, adaptive columnar storage optimization... Watch [issues here](

    Finally, it is really great to build an AP database in Rust. Welcome to join!

    Disclaimer: I am the author of TensorBase.

  • GitHub repo rust-rocksdb

    rust wrapper for rocksdb

    Project mention: Persisting data that has revisions for values | | 2021-05-19

    The most control you can probably get is from embeddable kv store, like or . Then you can encode entity version as a key.

  • GitHub repo r2d2

    A generic connection pool for Rust

  • GitHub repo skytable

    Skytable is an extremely fast, secure and reliable real-time NoSQL database with automated snapshots and TLS

    Project mention: What are you using Rust for? | | 2021-10-01

    Well, we're building the Skytable database with it.

  • GitHub repo rust-mysql-simple

    Mysql client library implemented in rust.

  • GitHub repo sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Whats your favourite open source Rust project that needs more recognition? | | 2021-10-11

    SeaORM - 🐚 An async & dynamic ORM for Rust

  • GitHub repo rustbreak

    A simple, fast and easy to use self-contained single file storage for Rust

    Project mention: Hey Rustaceans! Got an easy question? Ask here (15/2021)! | | 2021-04-12

    The closest I could find so far is (but I don't think that does incremental updates)

  • GitHub repo cdrs

    Cassandra DB native client written in Rust language. Find 1.x versions on Looking for an async version? - Check WIP

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-10-15.


What are some of the best open-source Database projects in Rust? This list will help you:

Project Stars
1 MeiliSearch 18,767
2 sonic 12,009
3 tikv 10,027
4 diesel 7,422
5 sled 5,237
6 materialize 3,136
7 toydb 3,039
8 rust-postgres 2,302
9 databend 2,216
10 redis-rs 2,176
11 gobang 1,497
12 PumpkinDB 1,254
13 indradb 1,233
14 rusqlite 1,221
15 exonum 1,087
16 tensorbase 1,029
17 rust-rocksdb 960
18 r2d2 941
19 skytable 462
20 rust-mysql-simple 454
21 sea-orm 393
22 rustbreak 341
23 cdrs 328
Find remote jobs at our new job board There are 34 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives