在名为查询数量的图表中,可以基于日、周、月或特定时间段追踪查询数。
In the chart named number of queries, you can track the count of queries based on the date, week, month, or specified period.
时间折线图:该图显示了查询数和用户数的变化,以及平均和最差响应时间。
Time line chart: This chart shows the changes in number of queries and users along with the average and worst response time.
代码开始的几行获得到生产数据库的连接,接着是一系列 show status查询,让您计算每分钟的查询数,并按类型把它们分开。
The initial lines of code obtain a connection to the production database, followed by a series of show status queries that let you calculate queries per minute and then break them down by type.
应用推荐