(1)QPS(每秒Query量)
QPS = Questions(or Queries) / seconds
mysql > show global status like ‘Question%’;

(2)TPS(每秒事务量)
TPS = (Com_commit + Com_rollback) / seconds
mysql > show global status like ‘Com_commit’;
mysql > show global status like ‘Com_rollback’;

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注