pingcap / go-tpc

A toolbox to benchmark TPC workloads in Go
Apache License 2.0
177 stars 94 forks source link

support plan replayer for ch,rawsql #136

Closed Yisaer closed 2 years ago

Yisaer commented 2 years ago

Signed-off-by: yisaer disxiaofei@163.com

support plan replayer for ch like following:

go-tpc ch --warehouses <warehouses> -T <count> -t <count> --time <time> -H <host> -P <dbPort> -D <database> -S <statusPort> --use-plan-replayer true run

support plan replayer for rawsql like following:

go-tpc  rawsql run --query-files q1.sql --time <time> -H <host> -P <dbPort> -D <database> -S <statusPort> --use-plan-replayer true
dbsid commented 2 years ago

Could you please add the replayer support for rawsql command, rawsql is used to execute tpcds/job workload.