Skip to content

This project simulates the implementation of B-Tree indexing for efficient data storage and retrieval. The focus is on creating a B-Tree structure that emulates how records would be stored and organized. Key functionalities include insertion, deletion, and search operations within the simulated B-Tree.

License

Notifications You must be signed in to change notification settings

Charantej07/B-Tree-Indexing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B-Tree-Indexing Project

Overview

This project implements a B-Tree indexing system in C++. The B-Tree is a self-balancing tree data structure that maintains sorted data and allows for efficient insertion, deletion, and search operations.

Why B-Tree-Indexing in File Management?

B-Tree indexing is widely used in file management systems because it provides efficient searching and retrieval of records from large datasets. The self-balancing nature of B-Trees ensures that the tree remains balanced, leading to predictable and fast search times. This makes B-Tree indexing suitable for applications where data needs to be organized and accessed quickly, such as file systems, databases, and filesystem directories.

🚀 Key Features

  • 📥 Insert records with unique keys.
  • 🗑️ Delete records based on keys.
  • 🔍 Search for records using keys.
  • 🌐 Display the B-Tree structure.

📚 Installation

  1. Clone the repository:

    git clone https://github.com/Charantej07/B-Tree-Indexing
  2. Navigate to the repository

    cd B-Tree-Indexing
  3. Compile the source code

    g++ main.cpp B_Tree.cpp -o btree
  4. Run the compiled executable

    ./btree

📁 Code Structure

  • 📄 B_Tree.h: Header file containing class declarations for Key, Node, and BTree.
  • 📄 B_Tree.cpp: Implementation file for the BTree class.
  • 📄 main.cpp: Main program implementing a StorageEngine class for user interaction.

🤝 Contributing

Feel free to contribute by forking the repository and make a pull request.

📄 License

This project is licensed under the MIT License.

About

This project simulates the implementation of B-Tree indexing for efficient data storage and retrieval. The focus is on creating a B-Tree structure that emulates how records would be stored and organized. Key functionalities include insertion, deletion, and search operations within the simulated B-Tree.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages