{"id":26027695,"url":"https://github.com/nikos25k/implementation-of-database-management-systems","last_synced_at":"2025-06-20T03:04:33.940Z","repository":{"id":279828008,"uuid":"940093704","full_name":"Nikos25K/Implementation-of-Database-Management-Systems","owner":"Nikos25K","description":"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.","archived":false,"fork":false,"pushed_at":"2025-02-27T16:55:15.000Z","size":372,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T03:03:35.323Z","etag":null,"topics":["b-plus-tree","b-plus-tree-index","block-file-functions","c","database-perfomance","database-systems","external-merge-sort","external-sorting","file-organization","heap-file","indexing","sorting-algorithms"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nikos25K.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-27T15:52:34.000Z","updated_at":"2025-02-27T17:04:25.000Z","dependencies_parsed_at":"2025-02-28T00:02:54.984Z","dependency_job_id":null,"html_url":"https://github.com/Nikos25K/Implementation-of-Database-Management-Systems","commit_stats":null,"previous_names":["nikos25k/implementation-of-database-management-systems"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nikos25K/Implementation-of-Database-Management-Systems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikos25K%2FImplementation-of-Database-Management-Systems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikos25K%2FImplementation-of-Database-Management-Systems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikos25K%2FImplementation-of-Database-Management-Systems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikos25K%2FImplementation-of-Database-Management-Systems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nikos25K","download_url":"https://codeload.github.com/Nikos25K/Implementation-of-Database-Management-Systems/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nikos25K%2FImplementation-of-Database-Management-Systems/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260868849,"owners_count":23074959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["b-plus-tree","b-plus-tree-index","block-file-functions","c","database-perfomance","database-systems","external-merge-sort","external-sorting","file-organization","heap-file","indexing","sorting-algorithms"],"created_at":"2025-03-06T16:57:01.533Z","updated_at":"2025-06-20T03:04:28.895Z","avatar_url":"https://github.com/Nikos25K.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Implementation of Database Management Systems 🗃️\n\nWelcome 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.\n\n[![C](https://img.shields.io/badge/C-99%20Standard-blue.svg)](https://en.wikipedia.org/wiki/C_(programming_language))\n[![Makefile](https://img.shields.io/badge/Build-Makefile-brightgreen)](https://www.gnu.org/software/make/)\n[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)\n\n---\n\n## 📚 Table of Contents\n1. [Projects Overview](#projects-overview)\n2. [Key Features](#key-features)\n3. [Tech Stack](#tech-stack)\n\n---\n\n## Projects Overview\n\n### 1. **Heap File Management**\nImplementation of a heap file structure to manage records at the block level.\n- **Key Features**:\n  - Create, open, and close heap files.\n  - Insert, retrieve, and update records.\n  - Block-level memory management (pinning/unpinning, dirty flags).\n  - [Detailed README](Heap_file_management/README.md)\n\n### 2. **B+ Tree Indexing**\nEfficient indexing using B+ trees for fast record retrieval.\n- **Key Features**:\n  - Create and manage B+ tree files.\n  - Insert entries with primary key checks (no duplicates).\n  - Search for records by `id` with logarithmic complexity.\n  - [Detailed README](B+Tree/README.md)\n\n### 3. **External Merge Sort**\nExternal sorting algorithm for large datasets using chunking and multi-way merging.\n- **Key Features**:\n  - Split data into sorted chunks.\n  - Merge chunks iteratively (b-way merge).\n  - Optimized block I/O operations.\n  - [Detailed README](External_merge_sort/README.md)\n\n---\n\n## Tech Stack\n- **Language**: C (C99 standard)\n- **Block Management**: Custom block-level library (`BF` for buffer management).\n- **Tools**: GNU Make, Valgrind (for memory debugging).\n- **Concepts**: File organization, indexing, sorting, memory optimization.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikos25k%2Fimplementation-of-database-management-systems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikos25k%2Fimplementation-of-database-management-systems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikos25k%2Fimplementation-of-database-management-systems/lists"}