File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ tpch_mem10: TPCH inspired benchmark on Scale Factor (SF) 10 (~10GB),
8989
9090# Extended TPC-H Benchmarks
9191sort_tpch: Benchmark of sorting speed for end-to-end sort queries on TPC-H dataset (SF=1)
92+ sort_tpch10: Benchmark of sorting speed for end-to-end sort queries on TPC-H dataset (SF=10)
9293topk_tpch: Benchmark of top-k (sorting with limit) queries on TPC-H dataset (SF=1)
9394external_aggr: External aggregation benchmark on TPC-H dataset (SF=1)
9495
@@ -250,6 +251,10 @@ main() {
250251 # same data as for tpch
251252 data_tpch " 1"
252253 ;;
254+ sort_tpch10)
255+ # same data as for tpch10
256+ data_tpch " 10"
257+ ;;
253258 topk_tpch)
254259 # same data as for tpch
255260 data_tpch " 1"
@@ -382,7 +387,10 @@ main() {
382387 run_external_aggr
383388 ;;
384389 sort_tpch)
385- run_sort_tpch
390+ run_sort_tpch " 1"
391+ ;;
392+ sort_tpch10)
393+ run_sort_tpch " 10"
386394 ;;
387395 topk_tpch)
388396 run_topk_tpch
@@ -997,8 +1005,13 @@ run_external_aggr() {
9971005
9981006# Runs the sort integration benchmark
9991007run_sort_tpch () {
1000- TPCH_DIR=" ${DATA_DIR} /tpch_sf1"
1001- RESULTS_FILE=" ${RESULTS_DIR} /sort_tpch.json"
1008+ SCALE_FACTOR=$1
1009+ if [ -z " $SCALE_FACTOR " ] ; then
1010+ echo " Internal error: Scale factor not specified"
1011+ exit 1
1012+ fi
1013+ TPCH_DIR=" ${DATA_DIR} /tpch_sf${SCALE_FACTOR} "
1014+ RESULTS_FILE=" ${RESULTS_DIR} /sort_tpch${SCALE_FACTOR} .json"
10021015 echo " RESULTS_FILE: ${RESULTS_FILE} "
10031016 echo " Running sort tpch benchmark..."
10041017
You can’t perform that action at this time.
0 commit comments