C Database

Open-source C projects categorized as Database

Top 23 C Database Projects

  • GitHub repo WCDB

    WCDB is a cross-platform database framework developed by WeChat.

    Project mention: Cross-Database Queries in SQLite | news.ycombinator.com | 2021-02-21

    SQLite is so ubiquitous you'd be hard pressed to find an app or service that doesn't use it.

    Look through the licenses for the software included as part of your phone's OS. You'll find SQLite in there.

    Search GitHub for sqlite, there are several projects with thousands of stars that use SQLite. Here's one: https://github.com/Tencent/wcdb

  • GitHub repo Hiredis

    Minimalistic C client for Redis >= 1.2

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo PipelineDB

    High-performance time-series aggregation for PostgreSQL

  • GitHub repo Sophia

    Modern transactional key-value/row storage library.

    Project mention: C Deep | dev.to | 2021-02-27

    sophia - Modern, embeddable key-value database. BSD-2-Clause

  • GitHub repo SQLite

    Unofficial git mirror of SQLite sources (see link for build instructions)

    Project mention: GitHub Should Start an App Store | news.ycombinator.com | 2021-01-31

    >Sure, lets pipe user feedback directly into GitHub issues. Good luck with that if you have a hundred issues a day.

    Average use less than poorly educated about technology. Their level of competence when raising a bug simply pathetic a lot of times. I manage an email server for a family, they write to me "email doesn't work", I check issue and respond "domain should be gmail.com not gmail,com" (notice the comma).

    This reminded me how sqlite team was getting emails or calls at night, from some random people because another software was crashing. User went to "about/legal" and found license of SQLite, so obviously they decided to contact SQLite and complain on bad software. https://github.com/mackyle/sqlite/blob/3cf493d/src/os.h#L52-...

    Now imagine facebook api breaks backwards compatibility, so you get 1000 of new issues in a day with title "broken", "doesn't work", "shit is crahing so gave 1* fix it now I might review it later".

  • GitHub repo sqlitestudio

    A free, open source, multi-platform SQLite database manager.

    Project mention: SQLiteStudio Version 3.3.0 released a week ago. | reddit.com/r/sqlite | 2021-02-27

    Hi, I'm the author of SQLiteStudio. I didn't realize this is such a big issue. Here's an improvement ticket for this on GitHub, planned for next minor release: https://github.com/pawelsalawa/sqlitestudio/issues/4005

  • GitHub repo LMDB

    Read-only mirror of official repo on openldap.org. Issues and pull requests here are ignored. Use OpenLDAP ITS for issues.

  • GitHub repo FTL

    The Pi-hole FTL engine

    Project mention: Pihole doesn't work after reboot unless i manually restart dns resolver | reddit.com/r/pihole | 2021-02-17

    I'll try it this weekend and get back but apparently theres an open ticket (is that what it's called?) https://github.com/pi-hole/FTL/issues/1030

  • GitHub repo libmdbx

    One of the fastest embeddable key-value ACID database without WAL. libmdbx surpasses the legendary LMDB in terms of reliability, features and performance.

  • GitHub repo Bedrock

    Rock solid distributed database specializing in active/active automatic failover and WAN replication

    Project mention: I Built Litestream | news.ycombinator.com | 2021-02-11

    This is great. I love all of the work being done around SQLite.

    If bedrockdb ( https://bedrockdb.com/ ) replicated to object storage like litestream, I’d be in heaven.

  • GitHub repo MongoDB C Driver

    A high-performance MongoDB driver for C

    Project mention: C Deep | dev.to | 2021-02-27

    libmongoc - High-performance client library for MongoDB. Apache-2.0

  • GitHub repo pgaudit

    PostgreSQL Audit Extension

    Project mention: Auditing PostgreSQL Using pgAudit | dev.to | 2021-01-18

    pgAudit, with all its capabilities, simplifies the process of auditing by generating the audit trail log. Though there are a few caveats, like logging of renamed objects under the same name, it is still a robust tool that provides the required functionality. However, the audit information written in logs may not be just ideal for the auditing process - the auditing process is even better when those logs can be converted to a database schema, and audit data can be loaded to the database so you can easily query the information. This is where the PostgreSQL Audit Log Analyzer (pgAudit Analyze) is helpful. For more information, refer to the github pages of pgAudit and pgAudit Analyze.

  • GitHub repo ruby-pg

    A PostgreSQL client library for Ruby

    Project mention: How to fix "Bundler::GemRequireError" and "Gem Load Error is: AddDllDirectory failed" when switching from Sqlite3 to Postgres in Rails 6 | reddit.com/r/rails | 2021-02-25

    set RUBY_DLL_PATH=/bin as in our CI before running the ruby app.

  • GitHub repo edge-sql

    Cloudflare Workers providing a SQL API

    Project mention: Serverless SQLite | news.ycombinator.com | 2021-01-20

    edge-sql [1] allows arbitrary SQLite queries to be executed over an immutable external data set. The demo uses a Forex data set stored in Workers KV.

    Client issued arbitrary queries is one of the use cases for GraphQL and publishing immutable data sets on the web is the main use case for Simon Wilson’s Datasette [2].

    In-memory SQLite compiled to WASM works in the browser and Node.js too. In the future, we can expect proper ACID operations on any WASM runtime that supports fsync in WASI [3], a POSIX-like API.

    [1] https://github.com/lspgn/edge-sql

    [2] https://datasette.io/

    [3] https://wasi.dev/

  • GitHub repo pgquarrel

    pgquarrel compares PostgreSQL database schemas (DDL)

    Project mention: Anyone using pgCodeKeeper? | reddit.com/r/PostgreSQL | 2021-01-30
  • GitHub repo libwacom

    libwacom is a tablet description library

    Project mention: Linux On Yoga 9i Or Ideapad Slim 9i | reddit.com/r/Lenovo | 2021-02-27

    So update on my experince in case anyone is looking to use linux on this laptop. Everything works pretty much out of the box now including rotation, rotation keyboard and trackpad lock, touchscreen, thunderbolt, touchpad fully works, keyboard fully woks, battery and temps you need to do a little tweaking there no manual fan controll support yet though, and finaly the stylus also works, but you might need to add a discripter file (take a look here https://github.com/linuxwacom/libwacom/issues/355)

  • GitHub repo OHMySQL

    Easy direct access to your database 🎯 http://oleghnidets.github.io/OHMySQL/

  • GitHub repo esp32_arduino_sqlite3_lib

    Sqlite3 Arduino library for ESP32

    Project mention: Hosting website on NodeMCU ESP8266 | reddit.com/r/arduino | 2021-02-01
  • GitHub repo direct-sqlite

  • GitHub repo sqlite

    A simple sqlite3 library for Haskell (by GaloisInc)

  • GitHub repo Merlin

    Module for Effortless Redundancy and Loadbalancing In Naemon

  • GitHub repo r53db

    r53db, the PostgreSQL Foreign Data Wrapper for the AWS Route53 Database service

    Project mention: Run classic web applications on AWS Lambda and save a ton! (for example: Grafana, Wordpress, Kibana, ...) | reddit.com/r/aws | 2021-02-19

    I'll have you know that your Route53 remark isn't too far off, as I have... done some things... https://github.com/apparentorder/r53db ;-)

  • GitHub repo sqlite-gui

    Lightweight SQLite editor for Windows

    Project mention: Totally lost - reading a single db file | reddit.com/r/sqlite | 2021-01-07
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 2021-02-27.


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

Project Stars
1 WCDB 8,866
2 Hiredis 4,774
3 PipelineDB 2,366
4 Sophia 1,779
5 SQLite 1,751
6 sqlitestudio 1,724
7 LMDB 1,689
8 FTL 759
9 libmdbx 715
10 Bedrock 678
11 MongoDB C Driver 637
12 pgaudit 527
13 ruby-pg 440
14 edge-sql 425
15 pgquarrel 271
16 libwacom 167
17 OHMySQL 164
18 esp32_arduino_sqlite3_lib 163
19 direct-sqlite 34
20 sqlite 18
21 Merlin 18
22 r53db 17
23 sqlite-gui 13