ClickHouse/benchmark/compatible/duckdb/run.sh
2022-06-27 00:24:11 +02:00

8 lines
154 B
Bash
Executable File

#!/bin/bash
cat queries.sql | while read query; do
sync
echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null
./query.py <<< "$(query)"
done