C++ SQL

Open-source C++ projects categorized as SQL

Top 23 C++ SQL Projects

  1. ClickHouse

    ClickHouse® is a real-time analytics database management system

    Project mention: How to Build a Streaming Deduplication Pipeline with Kafka, GlassFlow, and ClickHouse | dev.to | 2025-05-14

    ClickHouse: A fast columnar database. It will be our final destination for clean data. And, for simplicity in this tutorial, we'll cleverly use it as our "memory" or state store to remember which events we've already seen recently.

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

    DuckDB is an analytical in-process SQL database management system

    Project mention: ClickHouse gets lazier (and faster): Introducing lazy materialization | news.ycombinator.com | 2025-04-22

    It does, but the performance isn't great apparently: https://github.com/duckdb/duckdb/discussions/10161

  4. OSQuery

    SQL powered operating system instrumentation, monitoring, and analytics.

    Project mention: SQL powered operating system instrumentation, monitoring, and analytics | news.ycombinator.com | 2024-09-10
  5. 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: GitHub Introduces Sub-Issues | news.ycombinator.com | 2025-01-16
  6. POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

    Project mention: Poco C++ Libraries: Build High-Performance Cross-Platform Apps for IoT and More | news.ycombinator.com | 2024-08-28
  7. better-sqlite3

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

    Project mention: Supercharge SQLite with Ruby Functions | news.ycombinator.com | 2025-01-27

    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.

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

    Project mention: OpenBSD 7.6 を 7.7 へ アップグレード | dev.to | 2025-04-27
  9. SaaSHub

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

    SaaSHub logo
  10. ydb

    YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions

    Project mention: ScyllaDB no longer open source | news.ycombinator.com | 2024-12-24

    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.

  11. heavydb

    HeavyDB (formerly OmniSciDB)

    Project mention: Launch HN: ParaQuery (YC X25) – GPU Accelerated Spark/SQL | news.ycombinator.com | 2025-05-12

    Cool project, congratulations.

    How would you contrast it against HeavyDB?

    https://github.com/heavyai/heavydb

  12. picotorrent

    A tiny, hackable BitTorrent client.

  13. sqlcheck

    Automatically identify anti-patterns in SQL queries

  14. sqlite_orm

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

  15. griddb

    GridDB is a next-generation open source database that makes time series IoT and big data fast,and easy.

  16. chdb

    chDB is an in-process OLAP SQL Engine 🚀 powered by ClickHouse

    Project mention: ClickHouse gets lazier (and faster): Introducing lazy materialization | news.ycombinator.com | 2025-04-22

    https://github.com/chdb-io/chdb/issues/101#issuecomment-2824...

    Ps. I work for ClickHouse

  17. ytsaurus

    YTsaurus is a scalable and fault-tolerant open-source big data platform.

  18. proton

    High-performance, low-footprint SQL database written in C++. Process millions of rows per second from Kafka/Pulsar, Iceberg, or ClickHouse, and seamlessly write results back. Supports powerful features like JOIN, CDC, UPSERT, and LOOKUP, enabling real-time analytics and ETL at scale. (by timeplus-io)

    Project mention: Show HN: Open-Source C++ Apache Iceberg Client with Write Support | news.ycombinator.com | 2025-03-20
  19. ImGuiColorTextEdit

    Colorizing text editor for ImGui

    Project mention: Show HN: ImPlot3D – A 3D Plotting Library for Dear ImGui | news.ycombinator.com | 2024-12-18

    I use this in a project, but it's more like a source code editor:

    https://github.com/BalazsJako/ImGuiColorTextEdit

    'Rich' text editing might hit limitations with Dear ImGui's text rendering (e.g. not sure if things like italics, bold or strikethrough are supported out of the box).

  20. TreeFrog Framework

    TreeFrog Framework : High-speed C++ MVC Framework for Web Application

  21. Firebird

    Firebird server, client and tools

  22. MyScaleDB

    A @ClickHouse fork that supports high-performance vector search and full-text search.

  23. ultimatepp

    U++ is a C++ cross-platform rapid application development framework focused on programmer's productivity. It includes a set of libraries (GUI, SQL, Network etc.), and integrated development environment (TheIDE).

    Project mention: ImRAD is a GUI builder for the ImGui library | news.ycombinator.com | 2024-08-15

    Have you ever tried U++? I haven't used it beyond quick and dirty testing but has a decent GUI builder and is a full C++ IDE.

    https://www.ultimatepp.org/

  24. stonedb

    StoneDB is an Open-Source MySQL HTAP and MySQL-Native DataBase for OLTP, Real-Time Analytics, a counterpart of MySQLHeatWave. (https://stonedb.io)

  25. sql-parser

    SQL Parser for C++. Building C++ object structure from SQL statements.

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

C++ SQL discussion

Log in or Post with

C++ SQL related posts

Index

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

# Project Stars
1 ClickHouse 40,657
2 DuckDB 29,030
3 OSQuery 22,463
4 manticoresearch 10,299
5 POCO 8,997
6 better-sqlite3 6,090
7 MariaDB 6,041
8 ydb 4,220
9 heavydb 2,996
10 picotorrent 2,698
11 sqlcheck 2,477
12 sqlite_orm 2,449
13 griddb 2,423
14 chdb 2,362
15 ytsaurus 2,024
16 proton 1,791
17 ImGuiColorTextEdit 1,534
18 TreeFrog Framework 1,333
19 Firebird 1,307
20 MyScaleDB 961
21 ultimatepp 882
22 stonedb 873
23 sql-parser 781

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

Did you know that C++ is
the 7th most popular programming language
based on number of references?