![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mysql
dashanyi
这个作者很懒,什么都没留下…
展开
-
linux 根据 access.log 生成压力测试脚本 监控Mysql JAVA 系统状态
获取脚本测试脚本 cat access.log | awk '{print $7}' | grep -v "(\|)" | awk '{ if(NR%1000==0) {print "sleep 1; date; " "wget -q \"http://localhost"$1"\"" " --output-document=/dev/null &" } else print "wget -q原创 2012-10-16 14:41:50 · 742 阅读 · 0 评论 -
Mysql多列索引,查询优化
没加任何索引cityId priceDate price 以下四个所以用于其他查询 首先加三个单独 EXPLAIN结果: 查询时间 小于0.3秒 接下来测试多列索引 EXPLAIN 查询时间 多列索引 交换位置 之前是cityId,priceDate,price, 转换成ci原创 2012-12-24 15:02:13 · 545 阅读 · 0 评论