TPS與QPS的理解與查詢方式

TPS與QPS的查詢方式:
show GLOBAL STATUS LIKE 'questions'
Questions 498258465ide

show GLOBAL STATUS LIKE 'uptime'
Uptime 29610598it

定義:QPS=Questions/Uptimeio

QPS=16.83class

====================================

SHOW GLOBAL STATUS LIKE 'com_commit'
Com_commit 2595110im

SHOW GLOBAL STATUS LIKE 'com_rollback'
Com_rollback 1545433查詢

show GLOBAL STATUS LIKE 'uptime'
Uptime 29610598di

定義:TPS= Com_commit + Com_rollback/Uptimeview

TPS=0.1398vi

相關文章
相關標籤/搜索