ETTR123 / bustub

The solutions for all projects in CMU 15-445/645(FALL 2021).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BusTub Logo


linux windows codecov Language grade: C/C++

BusTub is a disk-oriented relational database management system built at Carnegie Mellon University for the Introduction to Database Systems (15-445/645) course.

Gradescope

As for November 30, 2021.

  • Buffer Pool Manager
  • Hash Index
  • Query Execution
  • Concurrency Control (No LeaderBoard)

Build

Linux

To ensure that you have the proper packages on your machine, run the following script to automatically install them.

Note: This script will install gtest using vcpkg.

$ sudo build_support/packages.sh

Then run the following commands to build the system:

$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug -GNinja ..
$ ninja

Windows

$ .\build_support\packages.bat

Use visual studio to open the folder, then you're done.

Note: The version of visual studio I am using is Visual Studio Community 2022 preview

Format

$ cd build
$ ninja format

Static Analysis

$ cd build
$ ninja check-lint
$ ninja check-clang-tidy

Testing

$ cd build
$ ninja check-tests

About

The solutions for all projects in CMU 15-445/645(FALL 2021).

License:MIT License


Languages

Language:C++ 92.6%Language:CMake 4.6%Language:Python 2.5%Language:Shell 0.3%Language:Dockerfile 0.0%Language:Batchfile 0.0%