An open API service indexing awesome lists of open source software.

https://github.com/mahmoudasem337/bufferpoolmanager

Buffer Pool Manager handle data movement between dbms and disk.
https://github.com/mahmoudasem337/bufferpoolmanager

bufferpool database dbms-project

Last synced: 7 months ago
JSON representation

Buffer Pool Manager handle data movement between dbms and disk.

Awesome Lists containing this project

README

          

# Buffer Pool Manager

## Overview
This project implements a **Buffer Pool Manager** with **LRU-K page replacement** and a **Disk Scheduler** in Java. It manages memory pages, handles concurrency, and efficiently schedules disk I/O operations.

## High Level Design
![bpm drawio_815644c9](https://github.com/user-attachments/assets/fb9de0bd-8622-4788-aca5-0e68ef4c99dd)

## Features
- **Buffer Pool Manager**: Manages fixed-size memory frames, acts as in-memory cache for read/write operations from disk.
- **LRU-K Replacement Policy**: Tracks the *K*-th most recent accesses for eviction decisions.
- **Disk Manager**: Handles reading and writing pages to the disk.
- **Disk Scheduler**: Manages I/O operations in a background worker thread.

## Installation
```sh
git clone https://github.com/yourusername/buffer-pool-manager.git
cd buffer-pool-manager
mvn clean install