Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

cfstras/db

Repository files navigation

db Build Status

This is the ground work for a simple database, built in the class Datenbanksysteme und moderne CPU-Architekturen.

Usage

Prerequisites: build-essential, clang and googletest.

apt-get install libgtest-dev build-essential clang

If your distro does not have googletest as a package, unzip the source of googletest into /usr/src/gtest. If you chose a different path, open up the Makefile and set the correct path in the variable GTESTDIR.

Building the program

make opt

Building a debug version + Debugging test binary

make debug

Running some tests

make test

Completeness

Implemented Operators

  • PrintOperator
  • ProjectionOperator
  • SelectionOperator
  • HashJoinOperator
    (slow)
  • DummyOperator
    (reads from vector<vector>)

Missing Operators

  • TableScanOperator
    should be aware of slots etc. and iterate through them
  • BTreeScanOperator
    should use BTree::next (which, in turn, is missing) :(

License

reference/*: As specified in file headers.
Everything else: Beerware.

About

rough database, from "Datenbanken und Moderne CPU-Architekturen" Summer 2014

Resources

Stars

Watchers

Forks

Packages

No packages published