欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

How MySQL ‘queries’ and ‘questions’ are measured_MySQL

程序员文章站 2022-03-29 10:02:30
...
Queries

Thenumberofstatementsexecutedbytheserver.Thisvariableincludesstatementsexecutedwithinstoredprograms,unliketheQuestionsvariable.ItdoesnotcountCOM_PINGorCOM_STATISTICScommands.

Questions

Thenumberofstatementsexecutedbytheserver.Thisincludesonlystatementssenttotheserverbyclientsandnotstatementsexecutedwithinstoredprograms,unliketheQueriesvariable.ThisvariabledoesnotcountCOM_PING,COM_STATISTICS,COM_STMT_PREPARE,COM_STMT_CLOSE,orCOM_STMT_RESETcommands.