mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update 01304_direct_io.sh
This commit is contained in:
parent
159cd5ef72
commit
e53f604924
@ -9,7 +9,7 @@ $CLICKHOUSE_CLIENT --multiquery --query "
|
|||||||
INSERT INTO bug SELECT rand64(), '2020-06-07' FROM numbers(50000000);
|
INSERT INTO bug SELECT rand64(), '2020-06-07' FROM numbers(50000000);
|
||||||
OPTIMIZE TABLE bug FINAL;"
|
OPTIMIZE TABLE bug FINAL;"
|
||||||
|
|
||||||
$CLICKHOUSE_BENCHMARK --database "$CLICKHOUSE_DATABASE" --iterations 10 --max_threads 100 --min_bytes_to_use_direct_io 1 <<< "SELECT sum(UserID) FROM bug PREWHERE NOT ignore(Date)" 1>/dev/null 2>"$CLICKHOUSE_TMP"/err
|
$CLICKHOUSE_BENCHMARK --iterations 10 --max_threads 100 --min_bytes_to_use_direct_io 1 <<< "SELECT sum(UserID) FROM bug PREWHERE NOT ignore(Date)" 1>/dev/null 2>"$CLICKHOUSE_TMP"/err
|
||||||
cat "$CLICKHOUSE_TMP"/err | grep Exception
|
cat "$CLICKHOUSE_TMP"/err | grep Exception
|
||||||
cat "$CLICKHOUSE_TMP"/err | grep Loaded
|
cat "$CLICKHOUSE_TMP"/err | grep Loaded
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user