diff --git a/benchmark/compatible/duckdb/run.sh b/benchmark/compatible/duckdb/run.sh index 5287c2e8d47..68cea914794 100755 --- a/benchmark/compatible/duckdb/run.sh +++ b/benchmark/compatible/duckdb/run.sh @@ -3,5 +3,8 @@ cat queries.sql | while read query; do sync echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null + + # We need to restart and reinitialize DuckDB after every query, + # because it often fails with Segmentation fault (core dumped) ./query.py <<< "${query}" done diff --git a/benchmark/compatible/mysql-myisam/benchmark.sh b/benchmark/compatible/mysql-myisam/benchmark.sh index c70ff807b1c..2119f547bc0 100755 --- a/benchmark/compatible/mysql-myisam/benchmark.sh +++ b/benchmark/compatible/mysql-myisam/benchmark.sh @@ -16,7 +16,7 @@ sudo mysql -e "CREATE DATABASE test" sudo mysql test < create.sql time sudo mysql test -e "LOAD DATA LOCAL INFILE 'hits.tsv' INTO TABLE hits" -# 2:37:52 elapsed +# ./run.sh 2>&1 | tee log.txt