Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 23 C++ Database Projects
-
Project mention: Exposing concurrency bugs with a custom scheduler | news.ycombinator.com | 2025-02-14
It is possible to do this entirely in userspace without a custom scheduler.
See the implementation here: https://github.com/ClickHouse/ClickHouse/blob/master/src/Com...
It works and makes significant improvements for the detection of concurrency bugs, including complex logical races in distributed scenarios.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
LevelDB
LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
Project mention: RocksDB: Your Key-Value Store Powerhouse (and Why You Should Care) | dev.to | 2025-02-16LevelDB: https://github.com/google/leveldb
-
Project mention: RocksDB: Your Key-Value Store Powerhouse (and Why You Should Care) | dev.to | 2025-02-16
RocksDB Official Website: https://rocksdb.org/
-
I agree that the blog post seems to hint at the fact that this functionality is fully baked in in certain places - we've adjusted the blog post to be more explicit on the fact that this is an extension.
We have collaborated with MotherDuck on streamlining the experience of launching the UI through auto-installation, but the DuckDB Foundation still remains in full control of DuckDB and the extension ecosystem. This has no impact on that.
For further clarification:
* The auto-installation mechanism is identical to that of other trusted extensions - the auto-installation is triggered when a specific function is called that does not exist in the catalog - in this case the `start_ui` function. See [1]. The query I mentioned just calls that function. The only special feature here is the addition of the CLI flag (and what that flag executes is user-configurable).
* The HTTP server is necessary for the extension to function as the extension needs to communicate with the browser. The server is open-source as part of the extension code [2]. The server (1) fetches web resources (javascript/css) from ui.duckdb.org, and (2) communicates with localhost to co-ordinate the UI with DuckDB. Outside of these the server doesn't interface with other external web services.
[1] https://github.com/duckdb/duckdb/blob/main/src/include/duckd...
-
MongoDB is trusted by developers around the world and is used by companies such as eBay and Craigslist, according to MongoDB’s official site.
-
sqlitebrowser
Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:
brew install db-browser-for-sqlite ==> Auto-updating Homebrew... ... ==> Downloading https://github.com/sqlitebrowser/sqlitebrowser/releases/download ==> Downloading from https://objects.githubusercontent.com/github-production-rel ######################################################################### 100.0% ==> Installing Cask db-browser-for-sqlite ==> Moving App 'DB Browser for SQLite.app' to '/Applications/DB Browser for SQLi 🍺 db-browser-for-sqlite was successfully installed!
-
MMKV
An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, POSIX, and OHOS.
react-native-mmkv is a wrapper around MMKV that allows you to easily implement secure storage in your app. It is arguably the fastest key-value storage for React Native apps
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Scylla
NoSQL data store using the Seastar framework, compatible with Apache Cassandra and Amazon DynamoDB
-
ArangoDB
🥑 ArangoDB is a native multi-model database with flexible data models for documents, graphs, and key-values. Build high performance applications using a convenient SQL-like query language or JavaScript extensions.
ArangoDB — Native multi-model database supporting graph, document, and key-value data models.
-
Project mention: Redis Inc seeks control over Rust Redis-rs library, talk of trademark concerns | news.ycombinator.com | 2024-11-27
Yes, nobody says that there's something illegal here. Were it so, Redis is high enough profile project for someone to take a legal action.
But this is a takeover that is slowly draining the value from the community and directing it to private pockets. E.g. Redis is now source-available.
There are still compatible alternatives: https://valkey.io/ or https://keydb.dev/, both BSD-licensed.
I wish RethinkDB was more alive :-\
-
NebulaGraph Database
A distributed, fast open-source graph database featuring horizontal scalability and high availability (by vesoft-inc)
-
manticoresearch
Easy to use open source fast database for search | Good alternative to Elasticsearch now | Drop-in replacement for E in the ELK soon
-
Project mention: Creating a React-Native library using New Architecture (JSI, C++) | dev.to | 2025-03-21
As references I will use the official documentation, as well as the stable React-Native MMKV library. I decided not to waste time creating may own component architecture and used the react-native-mmkv architecture.
-
These may be useful reading:
https://github.com/TryGhost/node-sqlite3/issues/408#issue-57...
https://github.com/WiseLibs/better-sqlite3/issues/32#issueco...
Copying a quote from the second:
> The sqlite3 C API serializes all operations (even reads) within a single process. You can parallelize reads to the database but only by having multiple processes, in which case one process being blocked doesn't affect the other processes anyways. In other words, because sqlite3 serializes everything, doing things asynchronously won't speed up database access within a process. It would only free up time for your app to do other things (like HTTP requests to other servers). Unfortunately, the overhead imposed on sqlite3 to serialize asynchronous operations is quite high, making it disadvantageous 95% of the time.
-
MariaDB
MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry. (by MariaDB)
mariadb
-
Project mention: Ash HN: What are some good resources on building a relational database? | news.ycombinator.com | 2024-07-15
You want our Intro DB Systems course not the Advanced one:
https://15445.courses.cs.cmu.edu
Lectures start next month. Or you can watch previous years. Learn to walk before you run.
-
ydb
YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
I wonder if this means YDB (from the devs of Clickhouse) will get some traction (https://ydb.tech/) or if there are other massive scale scylladb-types of DB's out there.
-
kvrocks
Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
Project mention: Redis-compatible distributed key value NoSQL database | news.ycombinator.com | 2025-01-21The GitHub Readme seems easier to understand: https://github.com/apache/kvrocks?tab=readme-ov-file
-
infinity
The AI-native database built for LLM applications, providing incredibly fast hybrid search of dense vector, sparse vector, tensor (multi-vector), and full-text
-
pgmodeler
Open-source data modeling tool designed for PostgreSQL. No more typing DDL commands. Let pgModeler do the work for you!
-
-
-
usearch
Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
Just tried this against ol’ faithful np.dot, and found the latter to be 8x faster than usearch on 10m brute force scan as described in their readme [1].
[1] https://github.com/unum-cloud/usearch?tab=readme-ov-file#exa...
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C++ Database discussion
C++ Database related posts
-
Building Atomic Counters with Amazon DocumentDB
-
The DuckDB Local UI
-
chDB: An In-Process OLAP SQL Engine Powered by ClickHouse
-
SQLite-on-the-Server Is Misunderstood: Better at Hyper-Scale Than Micro-Scale
-
Kùzu – An embeddable, scalable, fast graph database
-
What XOR is and why it's useful
-
Navigating the Economic Viability of Open Source Projects
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 27 Mar 2025
Index
What are some of the best open-source Database projects in C++? This list will help you:
# | Project | Stars |
---|---|---|
1 | ClickHouse | 39,645 |
2 | LevelDB | 37,297 |
3 | RocksDB | 29,331 |
4 | DuckDB | 27,884 |
5 | MongoDB | 26,929 |
6 | sqlitebrowser | 22,060 |
7 | MMKV | 17,784 |
8 | Scylla | 14,228 |
9 | ArangoDB | 13,741 |
10 | KeyDB | 11,848 |
11 | NebulaGraph Database | 11,171 |
12 | manticoresearch | 9,839 |
13 | react-native-mmkv | 6,827 |
14 | better-sqlite3 | 5,959 |
15 | MariaDB | 5,929 |
16 | bustub | 4,299 |
17 | ydb | 4,173 |
18 | kvrocks | 3,791 |
19 | infinity | 3,375 |
20 | pgmodeler | 3,227 |
21 | pyodbc | 2,983 |
22 | heavydb | 2,975 |
23 | usearch | 2,606 |