Typed Linear Algebra DBMS

Getting Started

Prerequisites

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

Installing

cd dbms
make

Running the tests

Note: some tests implemented just for debug, some queries FAIL the tests

cd dbms
make test

Test code style

cd dbms
make linter

Run queries

engine/bin/load
engine/bin/q6

Built With

  • GNU C Compiler version 7.2.0

Authors

  • João M. Afonso

See also the list of contributors who participated in this project.

Acknowledgments

  • Bruno Ribeiro
  • João Fernandes