mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
11 lines
322 B
Bash
11 lines
322 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for (( i = 0; i < 1000; i++ )); do
|
||
|
if (( RANDOM % 10 )); then
|
||
|
clickhouse-client --port=9007 --query="INSERT INTO mt (x) SELECT rand64() AS x FROM system.numbers LIMIT 100000"
|
||
|
else
|
||
|
clickhouse-client --port=9007 --query="INSERT INTO mt (x) SELECT rand64() AS x FROM system.numbers LIMIT 300000"
|
||
|
fi
|
||
|
|
||
|
done
|