Files
doris/tools/tpcds-tools/README.md
Dongyang Li cd7e03575b [tools](tpc-ds) add script tools to run tpc-ds conveniently (#17366)
build-tpcds-tools.sh
gen-tpcds-data.sh
gen-tpcds-queries.sh
create-tpcds-tables.sh
load-tpcds-data.sh
run-tpcds-queries.sh
generate data and queries support specify SCALE,
create table may need to be edited handly to specify BUCKETS or change int to bigint if SCALE is too big.

---------

Co-authored-by: stephen <hello_stephen@@qq.com>
2023-03-03 08:24:07 +08:00

1.4 KiB

Usage

These scripts are used to make tpc-ds test. follow the steps below:

1. build tpc-ds dsdgen dsqgen tool.

./bin/build-tpcds-tools.sh

2. generate tpc-ds data. use -h for more infomations.

./bin/gen-tpcds-data.sh -s 1

3. generate tpc-ds queries. use -h for more infomations.

./bin/gen-tpcds-queries.sh -s 1

4. create tpc-ds tables. modify conf/doris-cluster.conf to specify doris info, then run script below.

./bin/create-tpcds-tables.sh

5. load tpc-ds data. use -h for help.

./bin/load-tpcds-data.sh

6. run tpc-ds queries.

./bin/run-tpcds-queries.sh