Home  >  Article  >  Database  >  How MySQL ‘queries’ and ‘questions’ are measured_MySQL

How MySQL ‘queries’ and ‘questions’ are measured_MySQL

WBOY
WBOYOriginal
2016-06-01 13:12:471219browse

Queries

Thenumberofstatementsexecutedbytheserver.Thisvariableincludesstatementsexecutedwithinstoredprograms,unliketheQuestionsvariable.ItdoesnotcountCOM_PINGorCOM_STATISTICScommands.

Questions

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn