Download or clone the project
git clone https://github.com/Hubble83/dbms.git
Install flex and bison (tested with Flex 2.6.4 and Bison 3.0.4).
Download Cereal
mkdir dbms/lib
cd dbms/lib
git clone https://github.com/USCiLab/cereal.git
Download dbgen for the TPC-H benchmark and create the desired datasets
[Optional] Google test used for unit testing, use your C++ compiler
CXX=g++-7.2
mkdir dbms/lib
cd dbms/lib
git clone https://github.com/google/googletest.git
GTEST_DIR=googletest/googletest
$CXX -isystem $GTEST_DIR/include -I$GTEST_DIR \
-pthread -c $GTEST_DIR/src/gtest-all.cc
ar -rv libgtest.a gtest-all.o
rm gtest-all.o
cd dbms
make
Note: some tests implemented just for debug, some queries FAIL the tests
cd dbms
make test
cd dbms
make linter
engine/bin/load
engine/bin/q6
- GNU C Compiler version 7.2.0
- João M. Afonso
See also the list of contributors who participated in this project.
- Bruno Ribeiro
- João Fernandes