-
It seems the TPC-C benchmark is a mixed test (50% read / 50% Write ?). Any recommendation on how to do this best way? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Firstly there is also the TPC-H based workload that you can run as entirely read, however that does depend on exactly the nature of the workload you want to read as these are more complex queries.
In the GUI change in the interface. in the CLI save and load a new script. The section will look as follows and to only run the 2 read only transactions.
|
Beta Was this translation helpful? Give feedback.
-
Closed no further update |
Beta Was this translation helpful? Give feedback.
-
Thanks for you quick answer, it was very helpful :-) |
Beta Was this translation helpful? Give feedback.
Firstly there is also the TPC-H based workload that you can run as entirely read, however that does depend on exactly the nature of the workload you want to read as these are more complex queries.
With the TPC-C workload there are 5 transactions (implemented as stored procedures) so with the transaction mix (ie how often they are selected 92% of the time a RW transaction is chosen and 8% a RO is chosen. Fortunately HammerDB has a script editor for exactly this reason so to change the transaction mix to all RO just change the line as follows:
set choice [ RandomNumber 22 23 ]
In the GUI change in the interface. in the CLI save and load a new script.
Note that by default each virtual user w…