InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Rust Database Projects
-
MeiliSearch
A lightning-fast search engine API bringing AI-powered hybrid search to your sites and applications.
Project mention: I made a search engine worse than Elasticsearch (2024) | news.ycombinator.com | 2025-06-06 -
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics
-
Project mention: SurrealDB 2.2: Benchmarking, graph path algorithms and foreign key constraints | dev.to | 2025-03-17
To make this better, we've created a language testing suite similar to the ECMAscript conformance testing suite test262.
-
sonic
🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
Sonic search https://github.com/valeriansaliou/sonic
Maybe not exactly the same, its a server that you can store documents and then retrieve their ID using a search string.
-
neon
Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.
is it open source? (this? https://github.com/neondatabase/neon.git ) and since it's serverless, in terms of being on the internet what are you saying has disappeared, a proprietary version? support contracts?
-
Project mention: Design Pressure: The Invisible Hand That Shapes Your Code | news.ycombinator.com | 2025-05-26
I disagree.
First and foremost, what if there is not "the" database? What if you have multiple places that store data? For example, a postgres for ACID stuff, something like Kafka/RabbitMQ or similar to easily communicate with other services (or even yourself) - and sure, you could do that in postgres, but it's a trade-off. Then maybe something like redis/memcache for quick lookups/caching, then maybe elasticsearch for indexed search queries, and so on. And you usually also have some http API.
Sure you can say "I just do all with postgres" and honestly, that's often a good choice.
But it shows that it's not where "code (...) really belongs". Even IF you move a lot of logic into your database engine (and you often should), you most of the time will have another API and there will be a connection. Well, unless you use shared database tables with another application for communication.
All you do is pushing it out further to a later point - and often forcefully so.
> It terrifies me to say this, but sooner or later someone is going to cook up a JavaScript database engine that also has web capability, along with a native client-side cache component... and then it'll be curtains for traditional databases.
Not going to happen. Services like https://spacetimedb.com exist. Also, solutions like Spark (where you send your code to the database(s)) exist. And for certain things, they are great. However, it is a trade-off. There is no one-fits-all solution.
-
Project mention: TiDB – cloud-native, distributed SQL database written in Go | news.ycombinator.com | 2025-01-03
If you’re looking for the TiKV project link: https://github.com/tikv/tikv
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Tauri's backend is in Rust, so I always thought the only way to use sqlite ORM in a Tauri app is with projects like diesel or prisma-client-rust, which could be hard because they are in rust. What is even harder is sqlite db encryption. Both of the 2 ORMs don't support cipher encryption, thus I had to write raw sql queries in kunkun Example Maintaining raw sql queries is a nightmare to me, especially when it comes to schema migration. I have to rely on thorough testing to make sure everything is correct. There is no type checking.
-
> they seem to intend to Embrace Extend Extinguish
What makes you think that? Limbo is MIT licensed and I don't see any CLA on [1].
[1]: https://github.com/tursodatabase/limbo/blob/main/CONTRIBUTIN...
-
Project mention: ToyDB rewritten: a distributed SQL database in Rust, for education | news.ycombinator.com | 2025-05-11
Maybe consider sled? https://github.com/spacejam/sled
It's been abandoned for some years, the author was working on a new engine for it and in the last 5 days they started working again on sled proper. However, it's pretty good the way it is (the 0.34.7 release from 2021 https://crates.io/crates/sled), despite the beta warnings
More info here https://dbdb.io/db/sled
(Note, non affiliated to the author, just liked the project)
-
databend
𝗗𝗮𝘁𝗮, 𝗔𝗻𝗮𝗹𝘆𝘁𝗶𝗰𝘀 & 𝗔𝗜. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
Project mention: Top 5 Snowflake Alternatives for Cost-Effective Data Warehousing | news.ycombinator.com | 2024-09-06Check out Databend, an open-source alternative to Snowflake with 90%+ product and syntax similarity (almost no migration cost). It’s cost-effective and powerful.
GitHub: https://github.com/datafuselabs/databend/issues/13059
Comparison: https://www.databend.com/comparison
-
-
Project mention: Stop Forcing Time Windows on Bursty User Behavior - Try This Instead | dev.to | 2025-06-01
Try it Today: Explore RisingWave Cloud for a fully managed experience, or check out the open-source version to run it yourself.
-
paradedb
ParadeDB is a modern Elasticsearch alternative built on Postgres. Built for real-time, update-heavy workloads.
ParadeDB Search and Analytics. Search pg_search (ParadeDB's rust-based version) Previously named pg_bm25. This is huge and it takes a long long time to compile! Adds a ton of Lucene-like features, based on , a Rust-based Lucene alternative. Still doesn't provide a text-based query parser. Analytics pg_analytics This has been deprecated, due to refocus on pg_search, even for analytics. Part of ParadeDB.
-
Project mention: ToyDB rewritten: a distributed SQL database in Rust, for education | news.ycombinator.com | 2025-05-11
-
materialize
Real-time Data Integration and Transformation: use SQL to transform, deliver, and act on fast-changing data. (by MaterializeInc)
Project mention: The Missing Manual for Signals: State Management for Python Developers | news.ycombinator.com | 2025-06-13This triggered some associations for me.
Strongest was Cells[0], a library for Common Lisp CLOS. The earliest reference I can find is 2002[1], making it over 20 years old.
Second is incremental view maintenance systems like Feldera[2] or Materialize[3]. These use sophisticated theories (z-sets and differential dataflow) to apply efficient updates over sets of data, which generalizes the case of single variables.
The third thing I'm reminded of is Modelica[4], a language where variables are connected by relations (in the mathematical sense). So A = B + C can update on demand and, as well, you can update just A and B, then find out what C must have become.
[0] https://cells.common-lisp.dev
[1] https://web.archive.org/web/20021216222614/http://www.tilton...
[2] https://www.feldera.com
[3] https://materialize.com
[4] https://modelica.org
-
greptimedb
Open-source, cloud-native, unified observability database for metrics, logs and traces, supporting SQL/PromQL/Streaming. Available on GreptimeCloud.
Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics
-
Project mention: Self-host open-source reactive database with dashboard | news.ycombinator.com | 2025-02-17
-
-
-
Project mention: Redis Inc seeks control over Rust Redis-rs library, talk of trademark concerns | news.ycombinator.com | 2024-11-27
https://github.com/redis-rs/redis-rs/issues/1419#issuecommen... - looks to be mostly resolved at this point, with Redis Inc. simply going to step up its contributions to the open-source version without taking control.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Rust Database discussion
Rust Database related posts
-
Datalog in Rust
-
The Missing Manual for Signals: State Management for Python Developers
-
Snowflake to Buy Crunchy Data for $250M
-
Stop Forcing Time Windows on Bursty User Behavior - Try This Instead
-
SQL interface for relational databases and common data file formats
-
PostgreSQL Maximalism
-
Design Pressure: The Invisible Hand That Shapes Your Code
-
A note from our sponsor - InfluxDB
www.influxdata.com | 23 Jun 2025
Index
What are some of the best open-source Database projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | MeiliSearch | 51,989 |
2 | InfluxDB | 30,198 |
3 | surrealdb | 29,432 |
4 | sonic | 20,796 |
5 | neon | 18,830 |
6 | SpacetimeDB | 16,835 |
7 | tikv | 15,911 |
8 | diesel | 13,426 |
9 | limbo | 11,117 |
10 | sled | 8,525 |
11 | databend | 8,486 |
12 | sea-orm | 8,350 |
13 | risingwave | 7,901 |
14 | paradedb | 7,213 |
15 | toydb | 6,992 |
16 | materialize | 6,025 |
17 | greptimedb | 5,320 |
18 | convex-backend | 5,173 |
19 | Replibyte | 4,255 |
20 | typedb | 3,999 |
21 | redis-rs | 3,893 |
22 | rust-postgres | 3,711 |
23 | rusqlite | 3,670 |