SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C Database Projects
-
Redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
The image docs show how to start Redis with your own redis.conf. If you start from the upstream file, note that the 8.10.3 version from the redis/redis repository contains bind 127.0.0.1 -::1 and protected-mode yes. Mounted as-is, Redis answers inside its own container and refuses everyone else:
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
valkey
A flexible distributed key-value database that is optimized for caching and other realtime workloads.
Valkey advisory GHSA-f4q9-j22m-xqq9
-
TDengine
High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
Project mention: TDengine: 3,216 title matches, no application fingerprint, and an empty port check | dev.to | 2026-10-23TDengine project repository: https://github.com/taosdata/TDengine
-
TimescaleDB
A time-series database for high-performance real-time analytics packaged as a Postgres extension
-
-
Project mention: How I Approach Database Sharding for Growing SaaS Applications | dev.to | 2026-10-20
Citus extends PostgreSQL with transparent sharding:
-
-
yugabyte-db
YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
Project mention: How to Do Pagination Right: Row Comparison, Datatypes, and Index Range Scans | dev.to | 2026-10-05Issue #11794 remains open, and a July 2026 issue still describes those row-comparison bounds as loose bounds requiring recheck. For the original index and ordering, I would still use the decomposed predicate and verify it with:
-
Project mention: What Building Redis, Git and an LLM From Scratch Taught Us About Using Them | dev.to | 2026-10-05
Slow e-commerce queries. Let's Build a Simple Database teaches indexes and transactions from the inside.
-
-
-
I feel like there should be a comparison table listing all of these engines and how they compare on their external dependencies, whether a single leader/any node can write, their shape (embeddable library vs server), etc.
IMHO support for transactions is a pretty important dividing line. Some engines support full SQLite transactions while others - like rqlite - don't officially support BEGIN/COMMIT [0], which matters if you rely on multi-statement transactions.
A friend/colleague has been building Python bindings to dqlite [1] (DB-API and SQLAlchemy), which may interest folks here. dqlite has full support for transactions, and like rqlite needs nothing external (no S3, no Consul).
No knock on rqlite or any other engine - dqlite has warts too [2].
[0] https://rqlite.io/docs/faq/#does-rqlite-support-transactions
[1] https://github.com/letsdiscodev/python-dqlite-dbapi
[2] https://github.com/canonical/dqlite/issues/882 opened by my friend, https://github.com/canonical/dqlite/issues/908 , https://github.com/canonical/dqlite/issues/912 opened by me
-
orioledb
OrioleDB – building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems)
Project mention: Postgres rewritten in Rust v0.2, now faster than Postgres and ClickHouse | news.ycombinator.com | 2026-07-30Port in OrioleDB next please. If our wish-granting really is at such a state. https://github.com/orioledb/orioledb
-
-
Project mention: De $1,432 a $233/mes: migrar de DigitalOcean a Hetzner sin downtime | dev.to | 2026-04-18
-
-
LMDB
Read-only mirror of official repo on openldap.org. Issues and pull requests here are ignored. Use OpenLDAP ITS for issues.
-
FlashDB
An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库
-
-
Project mention: UnQLite Embedded Database Engine 1.2.1 Released | news.ycombinator.com | 2026-05-02
-
-
-
> Imagine you need to add an index to a table with a few million rows. On a seeded database with 200 rows, the migration runs in milliseconds. Obviously. But on a branch with realistic data, it takes 40 seconds and needs CREATE INDEX CONCURRENTLY to avoid locking the table. The branch is isolated, so locking there isn't the issue — the point is that the rehearsal shows the production migration would need CONCURRENTLY.
A few million rows should take at most, on the most awful networked storage available, maybe 10 seconds. I just built an index locally on 10,000,000 rows in 4 seconds. Moreover, though, there are vanishingly few cases where you wouldn't want to use CONCURRENTLY in prod - you shouldn't need to run a test to tell you that.
IMO branching can be a cool feature, but the use I keep seeing touted (indexes) doesn't seem like a good one for it. You should have a pretty good idea how an index is going to behave before you build it, just from understanding the RDBMS. There are also tools like hypopg [0], which are also available on cloud providers.
A better example would be showing testing a large schema change, like normalizing a JSON blob into proper columns or something, where you need to validate performance before committing to it.
0: https://github.com/HypoPG/hypopg
C Database discussion
C Database related posts
-
The Redis Service Count Cannot Identify Valkey Cluster Mode
-
Redis in Docker: Fix Connection Refused, NOAUTH and MISCONF
-
How I built a fair waiting room with OpenResty and one Valkey script
-
Redis 8.12 RC2's SEXPIRE command cuts a set membership check from two round trips to one
-
rqlite, dqlite y Litestream: SQLite distribuido
-
TDengine: 3,216 title matches, no application fingerprint, and an empty port check
-
How I Approach Database Sharding for Growing SaaS Applications
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Nov 2026
Index
What are some of the best open-source Database projects in C? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Redis | 77,525 |
| 2 | valkey | 27,721 |
| 3 | TDengine | 25,188 |
| 4 | TimescaleDB | 23,860 |
| 5 | libsql | 17,330 |
| 6 | citus | 12,858 |
| 7 | WCDB | 11,651 |
| 8 | yugabyte-db | 10,661 |
| 9 | db_tutorial | 10,509 |
| 10 | letos | 6,827 |
| 11 | Hiredis | 6,694 |
| 12 | dqlite | 4,426 |
| 13 | orioledb | 4,316 |
| 14 | psycopg2 | 3,665 |
| 15 | mydumper | 3,258 |
| 16 | PolarDB-for-PostgreSQL | 3,208 |
| 17 | LMDB | 3,062 |
| 18 | FlashDB | 2,894 |
| 19 | PipelineDB | 2,665 |
| 20 | unqlite | 2,303 |
| 21 | SQLite | 1,953 |
| 22 | Sophia | 1,888 |
| 23 | hypopg | 1,751 |