Skip to content

This mini-project, developed as part of my DS course (Fall 2024), implements an in-memory database using BST, AVL Tree, and B-Tree. It helped me practice and compare tree structures for managing records, focusing on the efficiency of operations like insert, search, update, and delete.

hamx05/In-memory-DBMS-using-Trees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DS-Assignment-02: Tree-Based In-Memory Database

This mini-project was developed for the Data Structures course in Fall 2024 (3rd semester at FAST-NUCES).
It implements a memory-only database using three tree structures: BST, AVL Tree, and B-Tree.


πŸ“Œ Overview

Each tree acts as a separate table supporting CRUD operations.


βš™οΈ Features

  • Insert, Search, Update, and Delete in:

    • Binary Search Tree (BST)
    • AVL Tree
    • B-Tree
  • Performance Analysis:

    • Compare average times on datasets of 1K, 10K, 50K records
    • Output in table/graph with observed vs expected complexity
  • Data Generator:

    • Creates dummy datasets for benchmarking

πŸš€ How to Run

g++ inmemory_dbms.cpp bst.cpp avl.cpp btree.cpp -o inmemory_dbms

About

This mini-project, developed as part of my DS course (Fall 2024), implements an in-memory database using BST, AVL Tree, and B-Tree. It helped me practice and compare tree structures for managing records, focusing on the efficiency of operations like insert, search, update, and delete.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages