|
xifenfei 发表于 2014-8-14 21:53
1. 硬件资源本身不怎么样
2. 事务数比较多
3. top sql明显
在不增加硬件的前提下 ,优化TOPSQL ,请大神赐教!
这个库我是做过一次优化TOPSQL,最耗时间的也是逻辑读最高的4条语句 , 逻辑读降了一半,
SQL ordered by Elapsed Time
Elapsed Time (s) Executions Elapsed Time per Exec (s) %Total %CPU %IO SQL Id SQL Module SQL Text
15,434.99 10,719 1.44 24.83 15.49 0.00 bbjh8y6nbzrvx select aa.id, aa.title, aa.con...
12,280.97 10,704 1.15 19.76 14.26 0.00 78nftn2bahtvt select * from ( select aa.id, ...
7,623.18 5,587 1.36 12.26 16.01 0.00 00rxjzvf46mjn select aa.id, aa.title, aa.con...
6,119.31 5,578 1.10 9.84 14.74 0.00 1yn1kkk806cs9 select * from ( select aa.id, ... |
|