Information from web QPS (Query per second) (每秒查询量) TPS(Transaction per second) (每秒事务量,如果是InnoDB会显示,没有InnoDB就不会显示) 计算方法 ___________________________________________________________ QPS Questions = SHOW GLOBAL STATUS LIKE ‘Questions‘; Uptime = SHOW GLOBAL STATUS LIKE ‘Uptime‘; QPS=Questions/Uptime TPS Com_commit = SHOW GLOBAL STATUS LIKE ‘Com_commit‘; Com_rollback = SHOW GLOBAL STATUS LIKE ‘Com_rollback‘; Uptime = SHOW GLOBAL STATUS LIKE ‘Uptime‘; TPS=(Com_commit + Com_rollback)/Uptime
mysql QPS(每秒查询量)、 TPS(每秒事务量)计算方法,布布扣,bubuko.com
mysql QPS(每秒查询量)、 TPS(每秒事务量)计算方法
原文地址:http://326028.blog.51cto.com/316028/1535846