Skip to content

This repository contains three projects exploring the core concepts of database systems: Heap File Management, B+ Tree Indexing, and External Merge Sort. Built in C, these assignments demonstrate block-level file management, indexing, and sorting algorithms, providing hands-on experience with database internals and performance optimization.

License

Notifications You must be signed in to change notification settings

Nikos25K/Implementation-of-Database-Management-Systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of Database Management Systems 🗃️

Welcome to this repository containing three core projects that explore the internal workings of database systems, from heap file management to indexing with B+ trees and external sorting algorithms. Built in C and leveraging block-level file management, these assignments demonstrate foundational database concepts.

C Makefile License


📚 Table of Contents

  1. Projects Overview
  2. Key Features
  3. Tech Stack

Projects Overview

1. Heap File Management

Implementation of a heap file structure to manage records at the block level.

  • Key Features:
    • Create, open, and close heap files.
    • Insert, retrieve, and update records.
    • Block-level memory management (pinning/unpinning, dirty flags).
    • Detailed README

2. B+ Tree Indexing

Efficient indexing using B+ trees for fast record retrieval.

  • Key Features:
    • Create and manage B+ tree files.
    • Insert entries with primary key checks (no duplicates).
    • Search for records by id with logarithmic complexity.
    • Detailed README

3. External Merge Sort

External sorting algorithm for large datasets using chunking and multi-way merging.

  • Key Features:
    • Split data into sorted chunks.
    • Merge chunks iteratively (b-way merge).
    • Optimized block I/O operations.
    • Detailed README

Tech Stack

  • Language: C (C99 standard)
  • Block Management: Custom block-level library (BF for buffer management).
  • Tools: GNU Make, Valgrind (for memory debugging).
  • Concepts: File organization, indexing, sorting, memory optimization.

About

This repository contains three projects exploring the core concepts of database systems: Heap File Management, B+ Tree Indexing, and External Merge Sort. Built in C, these assignments demonstrate block-level file management, indexing, and sorting algorithms, providing hands-on experience with database internals and performance optimization.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy