Use these examples to build your own configuration files.
Create my_run.json next to the benchmarks/ directory:
my_run.json
benchmarks/
{ "catalog": "hive", "schema": "my_schema", "query_files": ["benchmarks/tpc-ds/queries/query_08.sql"] }
Then run:
./pbench run \ --server https://my-server-host.example.com:8443 \ --user myuser --password mypassword \ my_run.json
{ "catalog": "hive", "schema": "my_schema", "queries": ["SELECT count(*) FROM store_sales"] }
If sf1.json uses the wrong schema name for your setup, create your own:
sf1.json
{ "description": "My TPC-DS schema at SF1", "catalog": "iceberg_data", "schema": "tpcds_1gb" }
Pass it instead of benchmarks/tpc-ds/sf1.json.
benchmarks/tpc-ds/sf1.json
Change randomly_execute_until to "1" in a copy of ds_rand5.json, or create:
randomly_execute_until
"1"
ds_rand5.json
{ "random_execution": true, "randomly_execute_until": "1", "query_files": [ "benchmarks/tpc-ds/queries/query_01.sql", "benchmarks/tpc-ds/queries/query_02.sql" ] }
{ "random_execution": true, "randomly_execute_until": "30m", "query_files": ["..."] }
{ "cold_runs": 1, "warm_runs": 3 }
Pass this as a config file alongside the query config.
There was an error while loading. Please reload this page.