This commit is contained in:
Amos Bird 2022-08-15 14:04:07 +08:00
parent 40f44c21c5
commit 1bbe19d794
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4

View File

@ -11,7 +11,7 @@ QUERY_ID=$(${CLICKHOUSE_CLIENT} -q "select lower(hex(reverse(reinterpretAsString
${CLICKHOUSE_CLIENT} --query_id "${QUERY_ID}" <<EOF
SELECT sum(number) FROM numbers_mt(1000000)
SETTINGS log_processors_profiles=true, log_queries=1, log_queries_min_type='QUERY_FINISH';
SETTINGS max_threads = 4, log_processors_profiles=true, log_queries=1, log_queries_min_type='QUERY_FINISH';
EOF
${CLICKHOUSE_CLIENT} -q "SYSTEM FLUSH LOGS"