设为首页 加入收藏

TOP

MySQL开启慢查询日志并使用pt-query-digest 分析(四)
2019-03-10 18:08:08 】 浏览:309
Tags:MySQL 开启 查询 日志 使用 pt-query-digest分析
===
# Exec time          185ms  225us  122ms    21ms  122ms    37ms    6ms
# Lock time            2ms      0  485us  186us  467us  166us  159us
# Rows sent            50      0      13    5.56  12.54    5.25    0.99
# Rows examine      2.03k      0  1.00k  230.44 1012.63  419.72    0.99
# Query size          198      11      32      22  31.70    7.35  17.65


# Profile
# Rank Query ID                          Response time Calls R/Call V/M 
# ==== ================================= ============= ===== ====== =====
#    1 0x751417D45B8E80EE5CBA2034458B...  0.1223 66.1%    1 0.1223  0.00 SHOW DATABASES
#    2 0xA11944C87A6A5C16FB38455BF703...  0.0320 17.3%    1 0.0320  0.00 SELECT
#    3 0x898255B1BE4F8C3044AE35A18286...  0.0155  8.4%    1 0.0155  0.00 ADMIN INIT DB
#    4 0xE77769C62EF669AA7DD5F6760F2D...  0.0134  7.3%    2 0.0067  0.00 SHOW VARIABLES
# MISC 0xMISC                            0.0018  1.0%    4 0.0004  0.0 <3 ITEMS>


# Query 1: 0 QPS, 0x concurrency, ID 0x751417D45B8E80EE5CBA2034458B5BC9 at byte 1471
# This item is included in the report because it matches --limit.
# Scores: V/M = 0.00
# Time range: all events occurred at 2019-02-27T14:07:42
# Attribute    pct  total    min    max    avg    95%  stddev  median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count        11      1
# Exec time    66  122ms  122ms  122ms  122ms  122ms      0  122ms
# Lock time      6  110us  110us  110us  110us  110us      0  110us
# Rows sent    20      10      10      10      10      10      0      10
# Rows examine  0      10      10      10      10      10      0      10
# Query size    7      14      14      14      14      14      0      14
# String:
# Databases    microblog
# Hosts        localhost
# Users        skip-grants user
# Query_time distribution
#  1us
#  10us
# 100us
#  1ms
#  10ms
# 100ms  ################################################################
#    1s
#  10s+
show databases\G


# Query 2: 0 QPS, 0x concurrency, ID 0xA11944C87A6A5C16FB38455BF7035609 at byte 1008
# This item is included in the report because it matches --limit.
# Scores: V

首页 上一页 1 2 3 4 5 下一页 尾页 4/5/5
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇MySQL中的自适应哈希索引 下一篇MySQL中的锁(表锁、行锁)

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目