免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123456
最近访问板块 发新帖
楼主: nixiltj
打印 上一主题 下一主题

请问如何查询mysql中执行效率低的sql语句? [复制链接]

论坛徽章:
0
51 [报告]
发表于 2006-04-05 14:00 |只看该作者
原帖由 rardge 于 2006-4-5 12:05 发表
有点看不惯这个东西:log-long-format,把它去掉再看看。
就算死马当活马医吧,呵呵
其他的,实在不知道了。



哈哈,你这个意见还真管用呀,我把那个log-long-format去掉就达到要求了,

论坛徽章:
0
52 [报告]
发表于 2006-04-05 15:04 |只看该作者
-0, --log-long-format
                      Log some extra information to update log. Please note that this option is deprecated; see --log-short-format option.

--log-short-format  Don't log extra information to update and slow-query logs.

--log-slow-queries[=name]
                      Log slow queries to this log file. Defaults logging to
                      hostname-slow.log file. Must be enabled to activate other
                      slow log options.

--slow_launch_time=#
                      If creating the thread takes longer than this value (in
                      seconds), the Slow_launch_threads counter will be
                      incremented.

论坛徽章:
0
53 [报告]
发表于 2006-04-05 16:21 |只看该作者
谢谢,我现在明白了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP