mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Simplify hardware benchmark
This commit is contained in:
parent
e902a824f5
commit
e21f2a0efd
@ -40,7 +40,7 @@ done
|
|||||||
echo "Will download the dataset"
|
echo "Will download the dataset"
|
||||||
./clickhouse client --max_insert_threads $(nproc || 4) --progress --query "
|
./clickhouse client --max_insert_threads $(nproc || 4) --progress --query "
|
||||||
CREATE TABLE ${TABLE} ENGINE = MergeTree PARTITION BY toYYYYMM(EventDate) ORDER BY (CounterID, EventDate, intHash32(UserID), EventTime)
|
CREATE TABLE ${TABLE} ENGINE = MergeTree PARTITION BY toYYYYMM(EventDate) ORDER BY (CounterID, EventDate, intHash32(UserID), EventTime)
|
||||||
AS SELECT * FROM url('https://datasets.clickhouse.com/hits/native/hits_100m_obfuscated_*.native.zst')"
|
AS SELECT * FROM url('https://datasets.clickhouse.com/hits/native/hits_100m_obfuscated_{0..255}.native.zst')"
|
||||||
|
|
||||||
./clickhouse client --query "SELECT 'The dataset size is: ', count() FROM ${TABLE}"
|
./clickhouse client --query "SELECT 'The dataset size is: ', count() FROM ${TABLE}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user