mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Compatible benchmark
This commit is contained in:
parent
424765f596
commit
c953edbe38
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user