mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
13 lines
210 B
Bash
13 lines
210 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
TRIES=3
|
||
|
|
||
|
cat queries.sql | while read query; do
|
||
|
sync
|
||
|
echo 3 | sudo tee /proc/sys/vm/drop_caches
|
||
|
|
||
|
for i in $(seq 1 $TRIES); do
|
||
|
sudo mysql test -vvv -e "${query}"
|
||
|
done;
|
||
|
done;
|