Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 2.06 KB

File metadata and controls

65 lines (42 loc) · 2.06 KB

File-Based Database Management System

A lightweight, file-based database management system implemented in C++ that provides an intuitive SQL-like interface for data management without requiring external database servers.

Overview

This project implements a complete database management system with a command-line interface, allowing users to create tables, insert records, query data, and perform updates and deletions through a simple SQL-like query language. The database engine stores all data in binary files on disk, making it portable and easy to use for educational purposes or lightweight applications.

Features

  • Create and manage multiple tables with flexible schema definition
  • Insert, query, update, and delete records efficiently
  • Support for multiple data types including integers, strings, floats, and booleans
  • Primary key constraints on table columns
  • Simple SQL-like command interface
  • File-based persistence with no external dependencies

The Engineering Team

  • Harish Babu (B25BB1012)
  • Abhishek (B25CM1001)
  • Rahul (B25ME1063)
  • Ashhar Ansari (B25EE1009)

Getting Started

Prerequisites

  • GCC compiler (g++) with C++17 support
  • GNU Make
  • Linux Environment

Building from Source

To compile the project, run:

make compile

This will create an executable file named ics_dbms in the bin/ directory.

Running the Application

To start the database management system:

./bin/ics_dbms

This will launch an interactive command-line interface where you can begin executing database commands.

Documentation

For detailed information about using the database system, refer to the following documentation files:

Build Commands

  • make compile - Compile the source code
  • make run - run the application executable
  • make clean - Remove compiled binaries
  • make rebuild - Clean and recompile