码迷,mamicode.com
首页 > 其他好文 > 详细

SHOW Syntax

时间:2018-04-18 23:44:41      阅读:275      评论:0      收藏:0      [点我收藏+]

标签:title   ini   class   for   tle   count   dmi   format   duration   

MySQL 5.5 Reference Manual  /  

 

SHOW PROFILE Syntax

-- https://dev.mysql.com/doc/refman/5.5/en/show-profile.html
-- Malformed statements are profiled.
select @@profiling;

select count(1) from statisticsdata.activityEvent;

show profiles;

show profile all for query 86;

select state, format(duration, 6) as duration from INFORMATION_SCHEMA.PROFILING where QUERY_ID = 86 order by SEQ;
desc information_schema.profiling;

SHOW Syntax

标签:title   ini   class   for   tle   count   dmi   format   duration   

原文地址:https://www.cnblogs.com/zhengwenqiang/p/8878100.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!