具体出错提示: [Err] 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' w ...
分类:
数据库 时间:
2017-05-26 23:22:59
阅读次数:
410
要想优化一条 Query,我们就需要清楚的知道这条 Query 的性能瓶颈到底在哪里,是消耗的 CPU计算太多,还是需要的的 IO 操作太多?要想能够清楚的了解这些信息,在 MySQL 5.0 和 MySQL 5.1正式版中已经可以非常容易做到了,那就是通过 Query Profiler 功能。 M ...
分类:
数据库 时间:
2017-05-17 18:20:24
阅读次数:
169
目录 一、优化概述 二、查询与索引优化分析 1性能瓶颈定位 Show命令 慢查询日志 explain分析查询 profiling分析查询 2索引及查询优化 三、配置优化 1) max_connections 2) back_log 3) interactive_timeout 4) key_buff ...
分类:
数据库 时间:
2017-05-09 13:51:19
阅读次数:
301
一、下载安装 http://www.phperz.com/article/14/1211/40633.html 解决证书错误 http://my.oschina.net/yearnfar/blog/346727 http://www.yiichina.com/tutorial/324 http:// ...
分类:
其他好文 时间:
2017-05-09 12:33:46
阅读次数:
207
mysql执行报错: - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'information_schema.PROFILING.SEQ' which is ...
分类:
数据库 时间:
2017-05-07 18:38:33
阅读次数:
1246
Web New Year, New Blog Day 10 - Using JetBrains Rider with a .NET Core Console Application JavaScript Interview Day # 1: How to create a Class Using R... ...
分类:
其他好文 时间:
2017-04-04 20:50:23
阅读次数:
241
show variables like '%profiling%'; 查看状态 set profiling=1;// 打开 show profiles; 查看执行过的sql 语句 show profile for query 2; 找到第二条为id为2的sql生成查询计划 时间浪费在了数据传输。 ...
分类:
数据库 时间:
2017-03-22 23:07:46
阅读次数:
247
Luca Canali on 21 Jan 2016 Topic: this post is about Linux perf and uprobes for tracing and profiling Oracle workloads for advanced troubleshooting. C ...
分类:
数据库 时间:
2017-03-19 15:27:54
阅读次数:
269