What is the unit of time in MySQL's slow-query log?

后端 未结 2 1818
执笔经年
执笔经年 2021-01-01 11:14

I\'m looking at the slow query log from a drupal-based webapp, and have lines that look like this:

# Query_time: 3257  Lock_time: 0  Rows_sent: 272  Rows_exa         


        
2条回答
  •  感动是毒
    2021-01-01 11:58

    Only since MySQL 5.1.21 that you can specify a decimal value and has a resolution of microsecond. http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html

提交回复
热议问题