ClickHouse/benchmark/compatible/duckdb/benchmark.sh
2022-06-27 00:24:11 +02:00

22 lines
325 B
Bash
Executable File

#!/bin/bash
# Install
sudo apt-get update
sudo apt-get install -y python3-pip
pip install duckdb psutil
# Load the data
wget --continue 'https://datasets.clickhouse.com/hits_compatible/hits.csv.gz'
gzip -d hits.csv.gz
./load.py
# 4216.5390389899985 seconds
# Run the queries
./run.sh | tee log.txt
wc -c my-db.duckdb