We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ea48fe8 + 1ad2fe3 commit f3f8af2Copy full SHA for f3f8af2
starrocks/run_queries.sh
@@ -27,7 +27,7 @@ cat queries.sql | while read -r query; do
27
# Execute the query multiple times
28
for i in $(seq 1 $TRIES); do
29
RESP=$({ /usr/bin/time -f '%e' \
30
- mysql -N -s -h "$DB_HOST" -P "$DB_MYSQL_PORT" -u"$DB_USER" "$DB_NAME" \
+ mysql --skip-auto-rehash --batch --silent -h "$DB_HOST" -P "$DB_MYSQL_PORT" -u"$DB_USER" "$DB_NAME" \
31
-e "$query" >/dev/null; } 2>&1)
32
echo "Response time: ${RESP} s"
33
done;
0 commit comments