Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1 KB

QUICKSTART.md

File metadata and controls

31 lines (22 loc) · 1 KB

Quick start

Data Ingest and Database Preparation

To ingest data for a TPC-H benchmark with scale factor 10 using this toolkit, run the following command:

./prepare_benchmark \
    --dsn postgresql://postgres@localhost:5432/swarm64_benchmark \
    --benchmark tpch \
    --scale-factor 10 \
    --schema s64da_performance

Adapt the values for the parameters --benchmark and --scale-factor for other benchmarks and scale factors accordingly. If the system you want to benchmark runs on a different host, you need to adapt the value for --dsn as well.

Benchmark Running

To run a bechmark that has been prepared with the prepare_benchmark script, execute the following command:

./run_benchmark \
    --dsn postgresql://postgres@localhost:5432/swarm64_benchmark \
    tpch

Change tpch to a different value if you ingested data for a different benchmark in the step above.

Please refer to README.md for a detailed description of all the available parameters and options.