GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - msdeep14/DeepDataBase: A relational database engine using B+ tree indexing

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
Debug
Debug
 
 
Documentation
Documentation
 
 
build
build
 
 
images
images
 
 
include
include
 
 
sql-parser
sql-parser
 
 
src
src
 
 
table
table
 
 
.DS_Store
.DS_Store
 
 
LICENCE
LICENCE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
deepdb
deepdb
 
 
issue.md
issue.md
 
 

Repository files navigation

DeepDataBase

A Relational database model, data storage based on B+ tree indexing

License: GPL v3

initial development : MiniDataBase

References from - https://github.com/Bug-Assassins/DFC_query_builder

QUERIES SUPPORTED BY SYSTEM

  1. SHOW Tables
  2. CREATE Table
  3. INSERT INTO Table
  4. DISPLAY Table contents
  5. SEARCH INTO Table
  6. DROP Table

SYSTEM DESIGN

The Database System is designed using C++ programming language. It stores the data on physical disk using files.

Features of system include:

1. Custom Blocks for each table:

The data is stored in blocks.

Benefits of block storage: here

All the separate row data of a particular table is stored in different file creating blocks of data. System reads as well as writes data back to files in blocks.

2. B+ Tree Indexing:

A separate multilevel B+ tree is created for each table. Each node contains maximum of 50 entries. Right now data storage is based only on primary key, primary key can be INTEGER or VARCHAR. By default, first column is choosen as primary key.

3. Storing Meta Data of Tables:

Meta Data of the tables are stored separately which provides quick access to several information like current number of records, table name, etc.

4. Search:

1. B+ Indexed Search

For searching a record in file for particular table, B+ tree indexed search is implemented. B+ indexed search is based on primary key

2. Brute Force Search

For searching records without providing primary key from table, brute force search algorithm is implemented. You can display selected number of columns and limit results based on where clause(see section In Development below).

Advantages of B+ Tree Indexing here

System also calculates the time taken by the search algorithm.

DEVELOPMENT:

The whole project is initially done on eclipse platform(C/C++ perspective)-> in repo MiniDataBase

Further modifications are done on Ubuntu System, Atom editor. Recent project is compiled on MacOS X.

For execution: Open directory DeepDatabase(branch:master) and on terminal

  1. Type make clean to clean all binary files.

  2. Type make, it will compile the project.

  3. Type ./deepdb -u user -p for running project. Password is pass

IN DEVELOPMENT:

For displaying the table contents, you have to select option 5 from menu and the queries supported by it are, do care about syntax, since complete parser is not implemented.

select * from table_name;

select id,name from table_name;

select id,name from table_name where id = 1;

CONTRIBUTE:

You can contribute in following modules:

1. parser implementation
2. AES encryption of data, in branch dev-aes
3. Suggestion for more efficient implementation

About

A relational database engine using B+ tree indexing

msdeep14.github.io/projects/deepdatabase.html

Topics

algorithmsb-plus-treebplus-treebplustreebtree-indexescppdata-storagedatabasedevelopmentindexingmysql-databaserelational-databasessearch-algorithm

Resources

Readme
GPL-3.0 license
Activity

Stars

46 stars

Watchers

3 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.