Project #2 - B+ Tree Checkpoint 1 Notes

Notes on Checkpoint 1 of the 2nd project of the course 15-445/645 Database Systems, 2020 Fall version.

Introduction

This project is to implement an indexing mechanism for a DBMS using the data structure B+ Tree. The complexity of this project comes from multiple aspects:

Overview of implementation

We have two types of nodes in a B+ tree: internal and leaf. The following diagrams visualize how the nodes are implemented according to their types.

First, this is the common representation of a B+ tree node: b-plus-tree-node-common

The way to implement a leaf node: b-plus-tree-node-leaf

The way to implement an internal node: b-plus-tree-node-internal

And this is what happens when splitting an internal node: b-plus-tree-node-internal-split

C++ features

Misc