DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

discodb


A relational database management system that implements its storage layer entirely using Discord API primitives. It maps Discord guilds to databases, channels to heap file segments, messages to rows and WAL entries, roles to free space maps, and forum channels to B-Tree indexes. The system provides a PostgreSQL-compatible wire protocol for SQL access.

Source Code
https://github.com/lasect/discodb[01]
Country of Origin
IN
Start Year
2026
Project Types
Hobby, Open Source
Written in
Go
Operating System
Linux
License
GPL v3

Database Entry

discodb


A relational database management system that implements its storage layer entirely using Discord API primitives. It maps Discord guilds to databases, channels to heap file segments, messages to rows and WAL entries, roles to free space maps, and forum channels to B-Tree indexes. The system provides a PostgreSQL-compatible wire protocol for SQL access.

History


The project explores the feasibility of building a relational database on top of Discord's infrastructure. It aims to implement standard database correctness guarantees, including ACID properties, MVCC, and write-ahead logging, using an API originally designed for communication rather than data storage.

Concurrency Control


Data Model


Indexes


Query Interface


SQL

Storage Organization


Revision #2