zoukankan      html  css  js  c++  java
  • 关于mysql的Fetch Time 和 Duration Time

    详见:http://blog.yemou.net/article/query/info/tytfjhfascvhzxcyt411

    Stackowerflow 上关于这两个时间有人这样解释

    Fetch time - measures how long transferring fetched results take, which has nothing to do with query execution. I would not consider it as sql query debugging/optimization option since fetch time depends on network connection, which itself does not have anything to do with query optimization. If fetch time is bottleneck then more likely there's some networking problem.

    Note: fetch time may vary on each query execution.

    Duration time - is the time that query needs to be executed. You should try to minimize it when optimizing performance of sql query.

    其实说通俗一些,fetch time 就是数据在网络上传输花费的时间,duration time是sql真正执行的时间

  • 相关阅读:
    用栈消除递归调用,实现DFS【伪代码】
    B树残缺版
    lvm
    RAID独立冗余磁盘阵列
    压缩、归档
    磁盘、文件系统
    setfacl、getfacl
    locate,find
    vim编辑器
    sed流编辑器
  • 原文地址:https://www.cnblogs.com/grefr/p/6087943.html
Copyright © 2011-2022 走看看