I'm using the sysbench(1.1.0) to test the performance of MySQL, and I want to test the scene that read:write is 95%:5%. Are there any parameters to change the read/write ratio?
How to change the read/write ratio of sysbench oltp_read_write script
1.8k Views Asked by Guoqing Ma At
1
There are 1 best solutions below
Related Questions in SYSBENCH
- sysbench on Raspberry Pi
- The --config-file option does not work in sysbench 1.1.0
- What is measured by changing the `file-block-size` parameter in sysbench fileio test?
- Have Sysbench memory rndrd/rndwr tests eliminate the affect of cache?
- Are sysbench threads similar to thread_pool_size?
- testing cpu with sysbench across platforms
- How to solve segmentation fault in change main function inputs with C code?
- New AWS EC2 EBS gp3 volumes are slow
- How to test performance of MySQL NDB cluster(NDB storage engine) using SYSBENCH?
- Sysbench test Mysql but no disk read
- Convert sysbench cumulative summary to csv
- The CPU cache performance of the macOS virtual machine is about 50% less than the host machine
- Is there major difference in underlying implementation of the following sysbench versions: 0.4.12 vs 1.0.17
- MySQL 5.7 Docker version has lower transaction than the localhost version
- Sysbench on Azure MySQL - SQL error, errno = 2013, state = 'HY000': Lost connection to MySQL server during query
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can have a look at the oltp_read_write script:
This script define the query in a transaction, and the options are below(sysbench oltp_read_write.lua help):
So, the default read/write ratio is 10+4/1+1+2+2, and you can change the read/write ratio just by changing the option number. For example:
Then the read/write ratio is 100+4/1+1+2+2.