Skip to content

NanoDB is a miniature SQL database system built from scratch in C++. It supports basic SQL operations like CREATE TABLE, INSERT, and SELECT. Designed for learning and performance, NanoDB implements its own query parser, storage engine, and indexing system.

Notifications You must be signed in to change notification settings

nileshyadavme/NanoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoDB – Lightweight SQL Database

NanoDB is a miniature SQL database system built from scratch in C++. It features a custom query execution engine, a regex-based SQL parser, and a page-based storage engine. Designed for efficiency, it supports fundamental SQL operations like CREATE TABLE, INSERT, SELECT, DELETE, and UPDATE.

Features

  • Custom query processor for parsing and executing SQL statements
  • B+ Tree indexing for optimized query performance
  • Page-based storage engine to manage disk I/O efficiently
  • Write-Ahead Logging (WAL) for ACID-compliant transactions
  • Multi-threaded execution for concurrent query processing
  • Modular and scalable architecture

Installation

Prerequisites

  • C++17 or later
  • CMake (for building the project)
  • CLion or any C++ IDE

Build & Run

git clone https://github.com/yourusername/nanodb.git  
cd nanodb  
mkdir build && cd build  
cmake ..  
make  
./nanodb  

About

NanoDB is a miniature SQL database system built from scratch in C++. It supports basic SQL operations like CREATE TABLE, INSERT, and SELECT. Designed for learning and performance, NanoDB implements its own query parser, storage engine, and indexing system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published