我想知道mysql中以下两个值之间的区别。
show status like 'queries' ;
+---------------+-------------+
| Variable_name | Value |
+---------------+-------------+
| Queries | 16987383643 |
+---------------+-------------+
1 row in set (0.00 sec)
mysql> show status like 'Questions' ;
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| Questions | 5 |
+---------------+-------+
1 row in set (0.00 sec)
答案 0 :(得分:3)
尝试查看手册?
与Queries变量不同。此[Questions]变量不计算COM_PING,COM_STATISTICS,COM_STMT_PREPARE,COM_STMT_CLOSE或COM_STMT_RESET命令。