ClickHouse/benchmark/clickhouse-local/benchmark.sh

15 lines
326 B
Bash
Raw Normal View History

2022-07-04 04:11:13 +00:00
#!/bin/bash
# Install
curl https://clickhouse.com/ | sh
# wget --continue 'https://datasets.clickhouse.com/hits_compatible/hits.parquet'
seq 0 99 | xargs -P100 -I{} bash -c 'wget --continue https://datasets.clickhouse.com/hits_compatible/athena_partitioned/hits_{}.parquet'
# Run the queries
./run.sh
du -b hits.parquet