TPS与QPS的理解与查询方式
TPS与QPS的查询方式: show GLOBAL STATUS LIKE 'questions' Questions 498258465 show GLOBAL STATUS LIKE 'uptime' Uptime 29610598 定义:QPS=Questions/Uptime QPS=16.83 ==================================== SHOW GLOBAL STATUS LIKE 'com_commit' Com_commit 2595110 SHOW GLOBAL STATUS LIKE 'com_rollback' Com_rollback 1545433 show GLOBAL STATUS LIKE 'uptime' Uptime 29610598 定义:TPS= Com_commit + Com_rollback/Uptime TPS=0.1398 来源: 51CTO 作者: cuijm51 链接: https://blog.51cto.com/11959825/2443684