Percona-Lab/sysbench-tpcc

How to set the percent number of read and write when testing tpcc

Closed this issue · 3 comments

In the scenario of mixed read and write , how can I control the percents of read or write (For example 30% write and 70% read) in tpcc testing ?

tpcc is very defined workload, you can't control how many reads or write to perform.

@vadimtk I know TPCC is not set up for that, but is it inadvisable to make modifications to that effect? If one were to modify the tpcc_common.lua to take an extra command line argument and then modify the 6 transaction shares in tpcc.lua, would it break the functionality? I was hoping to model a shift in these allocations as the run progresses. Thanks.

@vadimtk I know TPCC is not set up for that, but is it inadvisable to make modifications to that effect? If one were to modify the tpcc_common.lua to take an extra command line argument and then modify the 6 transaction shares in tpcc.lua, would it break the functionality? I was hoping to model a shift in these allocations as the run progresses. Thanks.

I am fine with some modifications, I do not have ideological connections to tpcc standard.