bustub

The BusTub Relational Database Management System (Educational)

What is bustub?

The BusTub Relational Database Management System (Educational)

Overview of bustub

What it is

BusTub is a relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course. It was developed for educational purposes and should not be used in production environments. BusTub supports basic SQL and comes with an interactive shell. You can get it running after finishing all the course projects.

Key features

  • Supports basic SQL - Comes with an interactive shell - Designed for educational use in a university database course - Includes an autograder available on Gradescope for non-CMU students after the CMU due date - Provides build support for Linux (Ubuntu 24.04) and macOS (M1/M2/Intel)
  • Offers debug mode with AddressSanitizer and other sanitizer options

Use cases

BusTub is intended for students enrolled in the Introduction to Database Systems course at Carnegie Mellon University or for learners outside CMU who want to complete the course projects and use the autograder on Gradescope. It is not suitable for production environments.

Getting started

To clone the repository privately, follow the instructions in the repository README. Build on Linux (recommended) or macOS: console # Linux $ sudo build_support/packages.sh # macOS $ build_support/packages.sh $ mkdir build $ cd build $ cmake .. $ make For debug mode: console $ cmake -DCMAKE_BUILD_TYPE=Debug .. $ make -j`nproc`

License and pricing

The license is MIT. The software is open source and free.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/cmu-dbbustub.svg)](https://yunodb.com/tools/cmu-dbbustub?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/cmu-dbbustub?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/cmu-dbbustub.svg" alt="Featured on YunoDB" height="20"></a>