{"id":33002973,"url":"https://github.com/crossdb-org/crossdb","last_synced_at":"2026-01-14T16:37:08.910Z","repository":{"id":157220957,"uuid":"503247202","full_name":"crossdb-org/crossdb","owner":"crossdb-org","description":"Ultra High-performance Lightweight Embedded and Server OLTP RDBMS✨","archived":false,"fork":false,"pushed_at":"2025-06-19T05:10:13.000Z","size":1077,"stargazers_count":232,"open_issues_count":2,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-19T06:23:37.161Z","etag":null,"topics":["c","cache","cpp","database","embedded","imdb","in-memory","json","multi-index","mysql","oltp","performance","rdbms","replication","sql","sqlite","storage","transaction"],"latest_commit_sha":null,"homepage":"https://crossdb.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crossdb-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-14T07:08:14.000Z","updated_at":"2025-06-19T05:10:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"57c149bd-1fe6-4492-b1c3-899777414790","html_url":"https://github.com/crossdb-org/crossdb","commit_stats":null,"previous_names":["crossdb-org/crossdb"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/crossdb-org/crossdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossdb-org%2Fcrossdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossdb-org%2Fcrossdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossdb-org%2Fcrossdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossdb-org%2Fcrossdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crossdb-org","download_url":"https://codeload.github.com/crossdb-org/crossdb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossdb-org%2Fcrossdb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28426109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:32:27.303Z","status":"ssl_error","status_checked_at":"2026-01-14T16:28:36.419Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","cache","cpp","database","embedded","imdb","in-memory","json","multi-index","mysql","oltp","performance","rdbms","replication","sql","sqlite","storage","transaction"],"created_at":"2025-11-13T14:00:38.904Z","updated_at":"2026-01-14T16:37:08.904Z","avatar_url":"https://github.com/crossdb-org.png","language":"C","readme":"\u003cp align=\"center\"\u003e\r\n\t\u003ca href=\"https://crossdb.org\"\u003e\r\n\t\u003cimg src=\"https://crossdb.org/assets/favicon.png\"\u003e\r\n\t\u003c/a\u003e\r\n\u003c/p\u003e\r\n\u003cp align=\"center\"\u003e\r\n\t\u003cstrong\u003eUltra High-performance Lightweight Embedded and Server OLTP RDBMS✨\u003c/strong\u003e\r\n\u003c/p\u003e\r\n\r\n## Features\r\n\r\n| Name  \t\t\t\t\t| **CrossDB**\r\n ----                       | ----\r\n Description    \t\t\t| Ultra High-performance Lightweight Embedded and Server OLTP RDBMS✨  \r\n Primary database model  \t| Relational DBMS  \r\n Secondary database models\t| Document store(JSON)\u003cbr\u003eKey-value store(TBD)\r\n Website\t\t\t\t\t| crossdb.org\r\n Technical documentation\t| crossdb.org/intro\r\n Initial release\t\t\t| 2023\r\n License\t\t\t\t\t| Open Source, MPL\r\n Cloud-based only\t\t\t| no\r\n Implementation language\t| C\r\n Server operating systems\t| Server-Less Mode\u003cbr\u003eEmbedded Server Mode\u003cbr\u003eStandalone Server Mode\u003cbr\u003eLinux/MacOS/Windows/FreeBSD\u003cbr\u003e32-bit or 64-bit X86, ARM, PowerPC, MIPS, etc\r\n Data scheme\t\t\t\t| yes\r\n Typing \t\t\t\t\t| yes\u003cbr\u003eBOOL\u003cbr\u003eTINYINT, SMALLINT, INT, BIGINT\u003cbr\u003eUNSIGNED TINYINT, SMALLINT, INT, BIGINT\u003cbr\u003eTIMESTAMP\u003cbr\u003eFLOAT, DOUBLE\u003cbr\u003eCHAR, VARCHAR\u003cbr\u003eBINARY, VARBINARY\u003cbr\u003eINET(IPv4/IPv6 host and subnet), MAC address\u003cbr\u003eJSON\r\n XML support\t\t\t\t| no\r\n Secondary indexes\t\t\t| yes\u003cbr\u003eHASH, RBTREE(TBD)\r\n SQL \t\t\t\t\t\t| yes, many extensions from MySQL\r\n APIs and other access methods\t\t| Proprietary native APIs\u003cbr\u003eMulti-statement APIs\u003cbr\u003ePrepared statement APIs\r\n Supported programming languages\t| C, C++, Python, GO, Rust\u003cbr\u003eMore bindings(TBD)\r\n Server-side scripts\t\t| LUA(TBD)\r\n Triggers\t\t\t\t\t| yes, native languages\r\n Partitioning methods\t\t| none\r\n Replication methods\t\t| Source-replica replication\u003cbr\u003eMulti-source replication\u003cbr\u003eLogical Replication(TBD)\r\n Data Subscription\t\t\t| yes(TBD)\r\n MapReduce \t\t\t\t\t| no\r\n Consistency concepts\t\t| Immediate Consistency\r\n Foreign keys\t\t\t\t| yes(TBD)\r\n TTL\t\t\t\t\t\t| yes\r\n Transaction concepts\t\t| ACID\r\n Concurrency \t\t\t\t| yes\u003cbr\u003eTable-level read-write locks\u003cbr\u003eRow-level read-write locks(TBD)\u003cbr\u003eReader-Writer MVCC (write transaction doesn't block read transactions)\u003cbr\u003ePostgreSQL-like MVCC(TBD)\r\n Durability \t\t\t\t| yes, WAL\r\n In-memory capabilities\t\t| yes\r\n User concepts\t\t\t\t| yes(TBD)\r\n Storage Model\t\t\t\t| Row-oriented On-Disk, In-Memory, RamDisk\u003cbr\u003eHybrid Storage (on a table-by-table basis, tables can be designated for in-memory or on-disk storage)\r\n Admin\t\t\t\t\t\t| Embedded shell\u003cbr\u003exdb-cli tool\u003cbr\u003etelnet\u003cbr\u003eWEB GUI(TBD)\r\n\r\n\r\n## Build and Install\r\n\r\n### Download code\r\n\r\n```bash\r\ngit clone https://github.com/crossdb-org/crossdb.git\r\ncd crossdb\r\n```\r\n\r\n### Linux/MacOS/FreeBSD\r\n\r\n```bash\r\nmake build\r\nsudo make install\r\n```\r\n\r\n### Windows\r\n\r\nYou need to install [MINGW64](https://www.mingw-w64.org/) to build.\r\nThen set the `gcc` path to `system environment variables` `Path` and make sure `gcc` can run.\r\n\r\n```\r\nwinbuild.bat\r\n```\r\n\r\n### CMake\r\n```\r\ncd build\r\ncmake ..\r\nmake\r\nsudo make install\r\n```\r\n\r\n**Windows**\r\n\r\nYou need to install [MINGW64](https://www.mingw-w64.org/) [CMAKE](https://cmake.org/download/) and [make](https://gnuwin32.sourceforge.net/packages/make.htm) to build.\r\n\r\n```\r\ncd build\r\ncmake -G \"MinGW Makefiles\" -DCMAKE_C_COMPILER=gcc ..\r\nmake\r\n```\r\n\r\n## Contribution\r\n\r\nThis project is still in its early stages and currently lacks stability. We welcome the following contributions:\r\n\r\n- **Language bindings**: `Python`, `Java`, `Go`, `CSharp`, `JavaScript`, `PHP`, etc.\r\n- **Bug Reporting**: Identify and report any issues or bugs you encounter.\r\n- **Testing**: Participate in testing to ensure the reliability and stability of the project.\r\n\r\nYour contributions will be greatly appreciated and will help us make this project more robust and reliable.\r\n\r\n\r\n## Reference\r\n\r\n### 1,000,000 Rows Random Access Benchmark vs. SQLite\r\n\r\n\u003cp align=\"center\"\u003e\r\n\t\u003ca href=\"https://crossdb.org/blog/benchmark/crossdb-vs-sqlite3/\"\u003e\r\n\t\u003cimg src=\"https://crossdb.org/images/crossdb-vs-sqlite.png\"\u003e\r\n\t\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\nhttps://crossdb.org/blog/benchmark/crossdb-vs-sqlite3/\r\n\r\n### 1,000,000 Rows Random Access Benchmark vs. C++ STL Map and HashMap\r\n\r\n\u003cp align=\"center\"\u003e\r\n\t\u003ca href=\"https://crossdb.org/blog/benchmark/crossdb-vs-stlmap/\"\u003e\r\n\t\u003cimg src=\"https://crossdb.org/images/crossdb-vs-stlmap.png\"\u003e\r\n\t\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\nhttps://crossdb.org/blog/benchmark/crossdb-vs-stlmap/\r\n\r\n### SQL Statements\r\n\r\nhttps://crossdb.org/sql/statements/\r\n\r\n### APIs\r\n\r\nhttps://crossdb.org/client/api-c/\r\n\r\n### Tutorial\r\n\r\nhttps://crossdb.org/get-started/tutorial/\r\n\r\n### CrossDB Server\r\n\r\nhttps://crossdb.org/develop/server/\r\n\r\n### CrossDB Replication\r\n\r\nhttps://crossdb.org/develop/replication/\r\n\r\n### CrossDB JSON\r\n\r\nhttps://crossdb.org/sql/json/\r\n","funding_links":[],"categories":["Database"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossdb-org%2Fcrossdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossdb-org%2Fcrossdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossdb-org%2Fcrossdb/lists"}