Skip to content

Commit

Permalink
Adding the IMDB-based Join Order Benchmark [JOB] from Leis et al. (du…
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes authored Sep 9, 2019
1 parent 32c1e53 commit 110bd1c
Show file tree
Hide file tree
Showing 17 changed files with 1,052 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ tmp/
.pydevproject
.settings
.autotools
.csettings

/Debug/
/misc/
Expand Down Expand Up @@ -291,6 +292,10 @@ test/test.sql
# SQLite logic tests
test/evidence/
third_party/sqllogictest

#imdb dataset
third_party/imdb/data

# Format timer
.last_format
# Benchmarks
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
.PHONY: all opt unit clean debug release test unittest allunit docs doxygen format sqlite
.PHONY: all opt unit clean debug release test unittest allunit docs doxygen format sqlite imdb

all: release
opt: release
unit: unittest
imdb: third_party/imdb/data

GENERATOR=
FORCE_COLOR=
Expand Down Expand Up @@ -45,6 +46,9 @@ format:
third_party/sqllogictest:
git clone --depth=1 https://github.com/cwida/sqllogictest.git third_party/sqllogictest

third_party/imdb/data:
wget -i "http://download.duckdb.org/imdb/list.txt" -P third_party/imdb/data

sqlite: release | third_party/sqllogictest
git --git-dir third_party/sqllogictest/.git pull
./build/release/test/unittest "[sqlitelogic]"
Expand Down
2 changes: 2 additions & 0 deletions benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ add_subdirectory(dbwrapper)
add_subdirectory(micro)
add_subdirectory(tpch)
add_subdirectory(tpcds)
add_subdirectory(imdb)

add_executable(benchmark_runner benchmark_runner.cpp ${BENCHMARK_OBJECT_FILES})
target_link_libraries(benchmark_runner
duckdb
dbgen
dsdgen
imdb
test_helpers
tpce
sqlite_transfer)
6 changes: 6 additions & 0 deletions benchmark/imdb/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
include_directories(../../third_party/imdb/include)

add_library(duckdb_benchmark_imdb OBJECT imdb.cpp)
set(BENCHMARK_OBJECT_FILES
${BENCHMARK_OBJECT_FILES} $<TARGET_OBJECTS:duckdb_benchmark_imdb>
PARENT_SCOPE)
Loading

0 comments on commit 110bd1c

Please sign in to comment.