Rust Database

Open-source Rust projects categorized as Database

Top 23 Rust Database Projects

  1. 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
  2. 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.

    InfluxDB logo
  3. InfluxDB

    Scalable datastore for metrics, events, and real-time analytics

    Project mention: Development Environment Configuration | dev.to | 2025-01-19

    Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics

  4. surrealdb

    A scalable, distributed, collaborative, document-graph database, for the realtime web

    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.

  5. sonic

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

    Project mention: Xapian Is an Open Source Search Engine Library | news.ycombinator.com | 2024-08-17

    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.

  6. neon

    Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, code-like database branching, and scale to zero.

    Project mention: Snowflake to Buy Crunchy Data for $250M | news.ycombinator.com | 2025-06-02

    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?

  7. SpacetimeDB

    Multiplayer at the speed of light

    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.

  8. tikv

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

    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

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. diesel

    A safe, extensible ORM and Query Builder for Rust

    Project mention: drizzle + sqlite in Tauri App | dev.to | 2025-03-20

    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.

  11. limbo

    Limbo is a project to build the next evolution of SQLite.

    Project mention: Turso SQLite Offline Sync Public Beta | news.ycombinator.com | 2025-03-31

    > 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...

  12. sled

    the champagne of beta embedded databases

    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)

  13. 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-06

    Check 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

  14. sea-orm

    🐚 An async & dynamic ORM for Rust

    Project mention: Toasty, an Async ORM for Rust | news.ycombinator.com | 2024-10-23
  15. risingwave

    Stream processing and management platform.

    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.

  16. paradedb

    ParadeDB is a modern Elasticsearch alternative built on Postgres. Built for real-time, update-heavy workloads.

    Project mention: PostgreSQL Maximalism | dev.to | 2025-05-28

    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.

  17. toydb

    Distributed SQL database in Rust, written as an educational project

    Project mention: ToyDB rewritten: a distributed SQL database in Rust, for education | news.ycombinator.com | 2025-05-11
  18. 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-13

    This 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

  19. greptimedb

    Open-source, cloud-native, unified observability database for metrics, logs and traces, supporting SQL/PromQL/Streaming. Available on GreptimeCloud.

    Project mention: Development Environment Configuration | dev.to | 2025-01-19

    Time Series: Greptime, Influx, Loki, Mimir, Prometheus, Tempo, Victoria Metrics

  20. convex-backend

    The open-source reactive database for app developers

    Project mention: Self-host open-source reactive database with dashboard | news.ycombinator.com | 2025-02-17
  21. Replibyte

    Seed your development database with real data ⚡️

  22. typedb

    TypeDB: the power of programming, in your database

    Project mention: TypeDB: A Next-Gen Database | news.ycombinator.com | 2024-12-22
  23. redis-rs

    Redis library for rust

    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.

  24. rust-postgres

    Native PostgreSQL driver for the Rust programming language

  25. rusqlite

    Ergonomic bindings to SQLite for Rust

    Project mention: Show HN: SQLite Transaction Benchmarking Tool | news.ycombinator.com | 2024-07-17
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

Rust Database discussion

Log in or Post with

Rust Database related posts

  • Datalog in Rust

    7 projects | news.ycombinator.com | 15 Jun 2025
  • The Missing Manual for Signals: State Management for Python Developers

    5 projects | news.ycombinator.com | 13 Jun 2025
  • Snowflake to Buy Crunchy Data for $250M

    1 project | news.ycombinator.com | 2 Jun 2025
  • Stop Forcing Time Windows on Bursty User Behavior - Try This Instead

    1 project | dev.to | 1 Jun 2025
  • SQL interface for relational databases and common data file formats

    1 project | news.ycombinator.com | 30 May 2025
  • PostgreSQL Maximalism

    46 projects | dev.to | 28 May 2025
  • Design Pressure: The Invisible Hand That Shapes Your Code

    1 project | news.ycombinator.com | 26 May 2025
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Jun 2025
    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 →

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

Sponsored
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.
www.influxdata.com