Skip to content

Load testing MariaDB: factors affecting read write ratio #327

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

You must be logged in to vote

This is a frequent question and if you have not done, so already it is worth watching the introductory video here https://www.hammerdb.com/about.html, in particular the section on How many warehouses? at around 30 mins in.

So by default most of the workload is on a virtual users home warehouse - so if you create a schema of 100 warehouses or 1000 warehouses and run 10 virtual users most of the activity will be on 10 warehouses - regardless of how many you have created.

There is an option "use all warehouses" that then means a virtual user will swap its home warehouse for each transaction and therefore use more I/O than with the default method. Also the event driven scaling gives you more …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ananthu-dev
Comment options

@sm-shaw
Comment options

Answer selected by sm-shaw
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