怎样用mysql命令行查看show_queries参数?我用show stat...

发布网友 发布时间:2022-04-27 00:09

我来回答

2个回答

懂视网 时间:2022-05-08 01:07

Queries

Thenumberofstatementsexecutedbytheserver.Thisvariableincludesstatementsexecutedwithinstoredprograms,unliketheQuestionsvariable.ItdoesnotcountCOM_PINGorCOM_STATISTICScommands.

Questions

Thenumberofstatementsexecutedbytheserver.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%'

声明声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:11247931@qq.com