C++ Database

Open-source C++ projects categorized as Database | Edit details
Related topics: #C++ #SQL #NoSQL #CPP #Sqlite

Top 23 C++ Database Projects

  • GitHub repo 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: Consider SQLite | news.ycombinator.com | 2021-12-29
  • GitHub repo ClickHouse

    ClickHouse® is a free analytics DBMS for big data

    Project mention: Grep one-liners as CI tasks | news.ycombinator.com | 2022-01-14
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo RocksDB

    A library that provides an embeddable, persistent key-value store for fast storage.

    Project mention: Distributed SQL Essentials: Sharding and Partitioning in YugabyteDB | dev.to | 2021-11-21

    The SST files store the key-value pairs for tables and indexes. Sharding is the right term here because each tablet is a database (based on RocksDB), with its own protection. This looks like the sharded databases we described above, except that they are not SQL databases but key-value document stores. They have all the required features for a reliable datastore, with transactions and strong consistency. However, they don’t have the burden of managing them as multiple databases because the SQL layer is above. Joins and secondary indexes are not processed at this level because this prevents cross-shard transactions.

  • GitHub repo MongoDB

    The MongoDB Database

    Project mention: MongoDB Atlas Hackathon: S/F E-Commerce Creation | dev.to | 2022-01-13

    MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. This example will show you how to connect to and use MongoDB as your backend for your Next.js app.

  • GitHub repo sqlitebrowser

    Official home of the DB Browser for SQLite (DB4S) project. Previously known as "SQLite Database Browser" and "Database Browser for SQLite". Website at:

    Project mention: Is there an app for Mac that can take a CSV or JSON and create a populated coredata database directly? | reddit.com/r/iOSProgramming | 2022-01-19

    I like DB Browser for SQLite. It's free.

  • GitHub repo MMKV

    An efficient, small mobile key-value storage framework developed by WeChat. Works on Android, iOS, macOS, Windows, and POSIX.

    Project mention: Getting Started with React Native JSI Modules | dev.to | 2021-06-27

    This library aims to provide a fast & reliable solution for you data storage needs in react-native apps. It uses MMKV by Tencent under the hood on Android and iOS both that is used by their WeChat app(more than 1 Billion users). Unlike other storage solutions for React Native, this library lets you store any kind of data type, in any number of database instances, with or without encryption in a very fast and efficient way. Read about it on this blog post I wrote on dev.to

  • GitHub repo 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.

    Project mention: Why do NoSQL databases not support joins? | news.ycombinator.com | 2022-01-02

    (1) Joins are a challenge to implement, particularly if CPU, network, and storage use matter. To get excellent results the database needs a query optimizer that can make a good guess of what query plan will be effective.

    (2) There are many databases with other query languages that support joins, just a few are


  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo nebula

    A distributed, fast open-source graph database featuring horizontal scalability and high availability (by vesoft-inc)

    Project mention: Embeddable graph database | reddit.com/r/golang | 2022-01-03

    One option is NebulaGraph if your looking for low latency, scalability, and HA.

  • GitHub repo duckdb

    DuckDB is an in-process SQL OLAP Database Management System

    Project mention: I searched for 1.18 seeds so you don't have to | reddit.com/r/technicalminecraft | 2021-12-02

    The CSV is sorted descending by mushroom by default. You can easily do postfiltering/other sorting using SQL, e.g. using https://github.com/duckdb/duckdb. For example:

  • GitHub repo better-sqlite3

    The fastest and simplest library for SQLite3 in Node.js.

    Project mention: Is this stack possible with Electron? | reddit.com/r/electronjs | 2021-12-21

    Yes it's possible. I've used, for example, the better-sqlite3 library, which is written in C++, in an Electron app. React in the Renderer process would call Main process over IPC, then Main would use the Node bindings to whatever native Node module you're using.

  • GitHub repo Silicon

    A high performance, middleware oriented C++14 http web framework please use matt-42/lithium instead

  • GitHub repo bolt

    10x faster matrix and vector operations (by dblalock)

    Project mention: [R] Multiplying Matrices Without Multiplying | reddit.com/r/MachineLearning | 2021-08-31

    Code: https://github.com/dblalock/bolt

  • GitHub repo sqlite_orm

    ❤️ SQLite ORM light header only library for modern C++

    Project mention: Are there any fast alternatives to databases (for tabular data but without SQL)? | reddit.com/r/cpp | 2021-09-28

    Probably the most popular ORM for modern C++ is https://github.com/fnc12/sqlite_orm. I've never used it personally. But if you configure SQLite to disable all the barriers and all synchronisation, I think you'll find it goes very, very quickly even with the ORM layer in between.

  • GitHub repo plv8

    V8 Engine Javascript Procedural Language add-on for PostgreSQL

    Project mention: Is there an efficient and easy way to duplicate a row an all relations? | reddit.com/r/PostgreSQL | 2021-11-09
  • GitHub repo TileDB

    The Universal Storage Engine

    Project mention: TileDB VS Activeloop hub - a user suggested alternative | libhunt.com/r/TileDB | 2021-10-20
  • GitHub repo soci

    Official repository of the SOCI - The C++ Database Access Library

    Project mention: An SQL Solution for Jupyter | news.ycombinator.com | 2021-02-09

    but we offer full support to SOCI meaning if these folks: https://github.com/SOCI/soci support it and the dependencies exist and work for 32bit, than yes.

  • GitHub repo bustub

    The BusTub Relational Database Management System (Educational)

    Project mention: Online courses to learn more about databases and the concepts taught in Week 7? | reddit.com/r/cs50 | 2021-05-10

    check this course from cmu

  • GitHub repo Firebird

    Firebird server, client and tools

    Project mention: Firebird 5 set to build with C++17 | reddit.com/r/firebird | 2021-06-18
  • GitHub repo MongoDB C++ Driver

    C++ Driver for MongoDB

  • GitHub repo react-native-mmkv-storage

    An ultra fast (0.0002s read/write), small & encrypted mobile key-value storage framework for React Native written in C++ using JSI

    Project mention: Is there is any alternative to AsyncStorage | reddit.com/r/reactnative | 2021-12-22

    watermelondb https://github.com/Nozbe/WatermelonDB mmkv giving another issue when you release on playstore in here https://github.com/ammarahm-ed/react-native-mmkv-storage/issues/194

  • GitHub repo sqlite_modern_cpp

    The C++14 wrapper around sqlite library

    Project mention: What's New in SQLite 3.35 | news.ycombinator.com | 2021-03-12

    I just wrote something using https://github.com/SqliteModernCpp/sqlite_modern_cpp, which I chose after 10 minutes of searching around. Should I have used yours instead? How should I decide?

  • GitHub repo hiberlite

    C++ ORM for SQLite

  • GitHub repo PGM-index

    🏅State-of-the-art learned data structure that enables fast lookup, predecessor, range searches and updates in arrays of billions of items using orders of magnitude less space than traditional indexes

    Project mention: PGM Indexes: Learned indexes that match B-tree performance with 83x less space | news.ycombinator.com | 2021-01-25

    Yep, I'm working on a multidimensional version that I hope to upload to the main repo (https://github.com/gvinciguerra/PGM-index) in a few weeks.

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 2022-01-19.

C++ Database related posts


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

Project Stars
1 LevelDB 28,092
2 ClickHouse 21,770
3 RocksDB 21,648
4 MongoDB 21,027
5 sqlitebrowser 15,927
6 MMKV 14,025
7 ArangoDB 11,959
8 nebula 7,052
9 duckdb 4,189
10 better-sqlite3 2,816
11 Silicon 1,719
12 bolt 1,430
13 sqlite_orm 1,420
14 plv8 1,414
15 TileDB 1,259
16 soci 1,054
17 bustub 1,022
18 Firebird 910
19 MongoDB C++ Driver 858
20 react-native-mmkv-storage 769
21 sqlite_modern_cpp 646
22 hiberlite 607
23 PGM-index 573
Find remote Database jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.