ClickHouse/benchmark/monetdb/benchmark.sh
2020-08-12 05:56:56 +03:00

10 lines
238 B
Bash
Executable File

#!/bin/bash
grep -v -P '^#' queries.sql | sed -e 's/{table}/hits/' | while read query; do
echo "$query";
for i in {1..3}; do
./send-query "$query" 2>&1 | grep -P '\d+ tuple|clk: |unknown|overflow|error';
done;
done;