Skip to content

[question] Read intensive benchmark #144

Answered by sm-shaw
MrM40 asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by abondvt89
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #144 on December 16, 2020 18:01.