Repository navigation
Releases: Smook-e/Custom-Relational-Database
Releases · Smook-e/Custom-Relational-Database
Release list
v0.1.0-alpha
Custom Relational Database Engine — v0.1.0-alpha
A disk-backed relational database engine built from scratch in Go, with a
hand-written SQL engine, B+Tree indexing, and an LRU buffer pool.
Usage
Download the binary for your platform and run it. For more information view the README file.
Supported SQL
CREATE TABLE users (id SERIAL, name VARCHAR(50) NOT NULL, age INT);
INSERT INTO users (name, age) VALUES ('Ali', 22);
SELECT id, name FROM users WHERE age > 18;
UPDATE users SET age = 23 WHERE id = 1;
DELETE FROM users WHERE id = 1;
Meta-commands
\t list all tables
\d <table> describe table schema
exit quit
Notes
- Concurrency control not yet implemented — single-client use only
- Full feature breakdown in the README