Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

VelociDB is a production-grade, high-performance database engine written in Rust, inspired by SQLite's design but optimized for modern hardware capabilities.

License

Notifications You must be signed in to change notification settings

niklabh/velocidb

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VelociDB

A next-generation embedded database with modern architecture: MVCC, async I/O, SIMD vectorization, CRDT sync, and persistent memory support.

🚀 High-Performance: Built from the ground up for multi-core systems, NVMe storage, and distributed edge computing.

Rust License Architecture Docs

📚 Documentation

🚀 Quick Start

Interactive REPL

cargo run --release
VelociDB v0.1.0
Type 'help' for help, 'exit' or 'quit' to exit

velocidb> CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, age INTEGER)
OK
velocidb> INSERT INTO users VALUES (1, 'Alice', 30)
OK
velocidb> SELECT * FROM users WHERE age > 25
...

As a Library

use velocidb::Database;

fn main() -> anyhow::Result<()> {
    let db = Database::open("my_database.db")?;
    
    db.execute("CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT)")?;
    db.execute("INSERT INTO users VALUES (1, 'Alice')")?;
    
    let results = db.query("SELECT * FROM users")?;
    println!("Found {} users", results.rows.len());
    
    Ok(())
}

Features

  • Modern Core: MVCC, Async I/O (Tokio/io_uring), Lock-Free structures.
  • High Performance: SIMD vectorization, Cache-conscious B-Tree, NVMe optimization.
  • Storage Flexibility: Hybrid Row/Columnar storage, PMEM/DAX support, Cloud VFS.
  • Sync Ready: CRDT synchronization for edge/mobile.

Installation

git clone https://github.com/niklabh/velocidb.git
cd velocidb
cargo build --release

Limitations

  • B-Tree Capacity: Currently limited to ~4,096 records due to pending internal node splitting implementation.
  • SQL Support: Core subset only (No JOINs, GROUP BY yet).

License

MIT License. See LICENSE for details.

About

VelociDB is a production-grade, high-performance database engine written in Rust, inspired by SQLite's design but optimized for modern hardware capabilities.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.