Hi there,
I want to calculate the read / write ratio of a DB but I don’t know how to do it. I’m using MyIsam tables without query cache. Is there a way to do it looking the server status?
Thanks!
Lucho
Hi there,
I want to calculate the read / write ratio of a DB but I don’t know how to do it. I’m using MyIsam tables without query cache. Is there a way to do it looking the server status?
Thanks!
Lucho
Try
SHOW GLOBAL STATUS LIKE ‘Com_%’;
It’s basically a count of how often different types of commands are invoked. It’s a lot more granular than just read and write, but it should get you there.
Thanks!! That was exactly what I was looking for!!
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.