- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2013-8-27 19:30:39
Statistic Name Time (s) % of DB Time
parse time elapsed 242,484.63 84.62
hard parse elapsed time 168,858.99 58.93
sql execute elapsed time 49,755.47 17.36
PL/SQL compilation elapsed time 12,318.86 4.30
DB CPU 9,195.80 3.21
failed parse elapsed time 3,802.18 1.33
hard parse (sharing criteria) elapsed time 3,372.00 1.18
hard parse (bind mismatch) elapsed time 3,335.37 1.16
sequence load elapsed time 1,296.52 0.45
PL/SQL execution elapsed time 1,048.14 0.37
connection management call elapsed time 18.82 0.01
repeated bind elapsed time 0.24 0.00
DB time 286,563.44
background elapsed time 2,339.74
background cpu time 429.05
shared pool 8,576.00 8,640.00 5,952.00 8,640.00 8 GRO/DEF
shared pool 8,576.00 8,640.00 8,608.00 6 6 0
大量硬解析和 频繁的shared pool grow 操作
shared KGLH0 582.60 627.28 7.67
shared KGLHD 2,762.98 2,773.19 0.37
KGLH0 大幅增长 说明有大量 不绑定变量的SQL涌入
select FORCE_MATCHING_SIGNATURE, count(1)
from v$sql
where FORCE_MATCHING_SIGNATURE > 0
and FORCE_MATCHING_SIGNATURE != EXACT_MATCHING_SIGNATURE
group by FORCE_MATCHING_SIGNATURE
having count(1) > 20
order by 2;
上面的SQL 查一下
|
|