发布网友 发布时间:2022-04-27 00:09
共2个回答
懂视网 时间:2022-05-08 01:07
QueriesThenumberofstatementsexecutedbytheserver.Thisvariableincludesstatementsexecutedwithinstoredprograms,unliketheQuestionsvariable.ItdoesnotcountCOM_PINGorCOM_STATISTICScommands.
QuestionsThenumberofstatementsexecutedbytheserver.Thisincludesonlystatementssenttotheserverbyclientsandnotstatementsexecutedwithinstoredprograms,unliketheQueriesvariable.ThisvariabledoesnotcountCOM_PING,COM_STATISTICS,COM_STMT_PREPARE,COM_STMT_CLOSE,orCOM_STMT_RESETcommands.
热心网友 时间:2022-05-07 22:15
亲,应该是slow_queries??你试试show status like '%queries%'