A modern, fast database management system built with Rust, featuring a custom SQL dialect (QuantaSQL) and multiple client interfaces.
- Custom SQL Language (QuantaSQL): Simplified SQL dialect focusing on essential operations
- High Performance: Built with Rust for speed and memory safety
- Multiple Client Interfaces: Rust, Python, and Desktop clients
- Real-time Query Execution: TCP-based protocol for fast communication
- Cross-platform: Works on Windows, macOS, and Linux
QuantaDB/
├── server/ # Core database server
├── connectors/ # Client libraries
│ ├── rust-client/ # Rust client library
│ └── python-client/ # Python client library
├── client/ # Desktop client (Tauri + Vue.js)
├── client-web/ # Web interface for desktop client
└── docs/ # Documentation
cd server
cargo runThe server will start on 127.0.0.1:5432.
cd client
cargo tauri devcd connectors/rust-client
cargo run --example basic_usagecd connectors/python-client
pip install -e .
python examples/basic_usage.py-- Create a table
CREATE TABLE users (id INT, name TEXT, age INT);
-- Insert data
INSERT INTO users VALUES (1, "Alice", 25);
INSERT INTO users VALUES (2, "Bob", 30);
-- Query data
SELECT * FROM users;
SELECT name FROM users WHERE age > 25;
-- Delete data
DELETE FROM users WHERE id = 1;CREATE TABLE- Create new tablesDROP TABLE- Remove tablesINSERT INTO ... VALUES- Insert dataSELECT ... FROM ... WHERE- Query dataDELETE FROM ... WHERE- Delete data
INT- 64-bit signed integerTEXT- Variable-length stringBOOL- Boolean (true/false)FLOAT- 64-bit floating point number
cd server
cargo build --releasecd client
cargo tauri buildcd connectors/python-client
maturin developThis is a proof-of-concept implementation demonstrating:
- ✅ Custom SQL parser and AST
- ✅ In-memory storage engine
- ✅ TCP server with custom protocol
- ✅ Rust client library
- ✅ Python client library (PyO3)
- ✅ Desktop client (Tauri + Vue.js)
- ✅ Basic CRUD operations
- ✅ WHERE clause filtering
- ✅ Type system with validation
- Persistent storage (disk-based)
- Indexes for faster queries
- Transactions and ACID properties
- JOIN operations
- Aggregate functions
- Network clustering
- Query optimization
- Backup and recovery
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
MIT License - see LICENSE file for details.
- Built with Rust
- SQL parsing with sqlparser-rs
- Desktop client with Tauri
- Web interface with Vue.js
- Python bindings with PyO3