Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖
1#
发表于 2015-3-31 21:56:47
        Waits        Time(s)        Avg Wait(ms)        % Total Call Time        Wait Class
latch: library cache        119,049        33,273        279        74.4        Concurrency
latch: shared pool        44,985        12,218        272        27.3        Concurrency
CPU time                 3,251                 7.3         
latch free        7,224        1,931        267        4.3        Other
latch: cache buffers chains        16,285        1,566        96        3.5        Concurrency



Parses:        587.07        43.01
Hard parses:        14.39        1.05

cursor_sharing使用FORCE

SQL ordered by Parse Calls
Total Parse Calls: 1,061,334
Captured SQL account for 61.6% of Total
Parse Calls        Executions        % Total Parses        SQL Id        SQL Module        SQL Text
174,652        87,447        16.46        6pwhuakcu5kqq        labcom.exe        select soufull , souid from l_...
148,949        74,596        14.03        f0wzs9nc663bn        labcom.exe        select sysdate from dual
71,048        71,048        6.69        csf1x66vmvd70        BQYF.EXE        Select Nvl(Sum(KuCunSL - Nvl(Y...
66,829        66,829        6.30        2xqt1w0rd1mub        BQYF.EXE        Select Nvl(Sum(KuCunSL - Nvl(Y...
19,482        19,481        1.84        c6fa2u8w4d8bu        MZZJ.EXE        SELECT YINGYONGID||chr(9)||KES...
14,372        14,372        1.35        58nqcgq93qdpp        lis2.exe        SELECT sysdate FROM dual
11,342        11,342        1.07        2p09jrn1gd47b        BQYZ.EXE        begin select SEQ_ZY_JIESUAN2.n...
11,319        11,322        1.07        7hxxth3uzdvh1        BQYZ.EXE        SELECT SEQ_ZY_JIESUAN2.NEXTVAL...
10,061        14,495        0.95        6dtu480vu4auh        w3wp.exe        SELECT b.paiduiph, bingrenxm F...
8,168        8,168        0.77        9h3su635dcp95        w3wp.exe        select shuzhi1, jilusj from tw...

部分SQL使用了绑定变量 更多SQL没有使用绑定变量 而依赖于 force cursor sharing

回复 显示全部楼层 道具 举报

2#
发表于 2015-3-31 21:59:46
shared        library cache        203.15        205.50        1.16
shared        sql area        471.67        501.22        6.27

sql area在半小时内有不少增长, 几种可能:
1、是否之前存在人为的flush shared_pool
2、可能在短期内涌入大量未绑定的sQL 且时间点较为 特殊为 8:30~9:00

回复 显示全部楼层 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-6-15 00:11 , Processed in 0.048708 second(s), 21 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569