C++ Database

Open-source C++ projects categorized as Database

Top 23 C++ Database Projects

  • leveldb

    LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.

    Latest mention: A distributed key value store in under 1000 lines | news.ycombinator.com | 2021-01-04

    To avoid some confusion, this is only the "distributed" part. The actual store is handled by the https://github.com/google/leveldb library.

  • mongo

    The MongoDB Database

    Latest mention: Official packages for MongoDB and its MongoDB Compass | reddit.com/r/ManjaroLinux | 2020-12-29
  • rocksdb

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

  • ClickHouse

    ClickHouse® is a free analytics DBMS for big data

    Latest mention: Technology for storing/querying very large time series data (~1billion points per day) with ~80 columns | reddit.com/r/Database | 2021-01-14

    Another solution could be to use a columnar analytical database like ClickHouse. But i dont have any experience with it.

  • MMKV

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

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

  • silicon

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

  • sqlite_orm

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

    Latest mention: Data storage for application | reddit.com/r/cpp | 2020-12-30

    For the brief time I've used sqlite_orm, I've really liked it: https://github.com/fnc12/sqlite_orm

  • TileDB

    The Universal Storage Engine

    Latest mention: Ask HN: Who is hiring? (January 2021) | news.ycombinator.com | 2021-01-04

    TileDB, Inc. | Full-Time | REMOTE | USA | Greece | https://tiledb.com

    TileDB, Inc. is the company behind TileDB, the first universal data engine. TileDB allows analytics professionals and data scientists to access, analyze, and share complex data sets with any tool at extreme scale. TileDB overcomes the constraints of columnar tables, flat files, and SQL-only tools, handling all data with a multi-dimensional array engine and extreme interoperability across the data science ecosystem. TileDB Cloud is a totally serverless offering of TileDB, which delivers access control and enables distributed computing at planet-scale, eliminating all cluster management and minimizing cost. TileDB, Inc. was spun out of MIT and Intel Labs in May 2017 and closed a $15M Series A in July 2020, following a previous $4M Seed Round.

    Recent HN article: https://news.ycombinator.com/item?id=23896131

    Website: https://tiledb.com

    GitHub: https://github.com/TileDB-Inc/TileDB

    Docs: https://docs.tiledb.com

    Blog: https://tiledb.com/blog

    Our headquarters are located in Cambridge, MA and we have a subsidiary in Athens, Greece. We offer the ability to work remotely, but the candidates must reside either in the US or in Greece. US candidates must be US citizens, whereas Greek candidates must be Greek or EU citizens.

    We have several open positions aimed at increasing TileDB’s feature set, growth and adoption. You will have the opportunity to work on innovative technology that creates impact on challenging and exciting problems in Genomics, Geospatial, Time Series, and more. A few features on the roadmap include enhancing our TileDB Cloud offering, optimizing our serverless framework, improving integration with JupyterLab, and expanding our marketplace functionality.

    We are primarily seeking:

    - Senior Golang Engineer

    Apply today at https://tiledb.workable.com !

  • mongo-cxx-driver

    C++ Driver for MongoDB

  • sqlite_modern_cpp

    The C++14 wrapper around sqlite library

  • hiberlite

    C++ ORM for SQLite

  • upscaledb

    A very fast lightweight embedded database engine with a built-in query language.

  • bustub

    The BusTub Relational Database Management System (Educational)

    Latest mention: C++ use cases for a backend developer | reddit.com/r/cpp_questions | 2021-01-06

    What about writing a database engine? I've also been learning C++ and have been studying this project to learn how DBMSs work internally: https://github.com/cmu-db/bustub

  • simdb

    A high performance, shared memory, lock free, cross platform, single file, no dependencies, C++11 key-value store

  • lmdbxx

    C++11 wrapper for the LMDB embedded B+ tree database library.

  • redis3m

    A C++ Redis client

  • objectbox-c

    ObjectBox C and C++: super-fast database for objects and structs

  • librethinkdbxx

    RethinkDB driver for C++

  • ModuleInterface

    Easy config and value sync between IoT modules, database and web pages

    Latest mention: PJON 13.0 is out! | reddit.com/r/esp8266 | 2020-12-23
  • tntdb

  • aredis

    a clean redis C++ client

  • vsqlite--

    VSQLite++ Library - BSD-3 Licensed

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


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

Project Stars
1 leveldb 22,774
2 mongo 19,118
3 rocksdb 18,616
4 ClickHouse 14,187
5 MMKV 11,729
6 arangodb 10,719
7 silicon 1,705
8 sqlite_orm 1,055
9 TileDB 1,029
10 mongo-cxx-driver 777
11 sqlite_modern_cpp 573
12 hiberlite 566
13 upscaledb 507
14 bustub 458
15 simdb 389
16 lmdbxx 222
17 redis3m 171
18 objectbox-c 88
19 librethinkdbxx 86
20 ModuleInterface 48
21 tntdb 29
22 aredis 25
23 vsqlite-- 24