STATSPACK Tablespace IO Stats
The following web page says that a 20ms Av Read/s is considered unacceptable by Oracle, is that true? (http://www.wise-oracle.com/product_wise_analyzer_report.html#IOActivity)
Also, what exactly is Av Writes/s? For example, if a tablespace's writes are 17,515 and the Av Writes/s is 5, does that mean it performed 17,515 write operations at an average of 5 per second? That seems preposterously slow.
Finally, I've never come across a document that in detail lists all of the data items in STATSPACK and then in English what they actually mean. A lot of people cover parts of it so you can probably get to a 90% understanding, but "Av Writes/S" is in my view a classic example of an undefined term.
Thanks
The statement reflects the opinion of the author and I would agree if it refers to undo or other specific data files. It would be of no consequence in another situation.
The Read Time on my laptop, with one pathetically slow 5400RPM drive is 21.759 and I wouldn't be inclined to use that to build a production database.
The number of writes per second reflects what it is doing ... not necessarily what it could be doing.
Post your version number and the query you are using to generate the metrics you are referring to so we know what you are looking at and can comment more specifically.
Similar Messages
-
AWR Tablespace IO Stats Section
I am looking for document that explain the File IO Stats and Tablespace IO Stats Sectionin the AWR Report.
I am looking for explain of the heading.
Whet is "Av Reads/s" , "Av Rd(ms)" , " Buffer Waits " , " Av Buf Wt(ms)" ??Sagi wrote:
Thanks
From many document I find in the internet none of them explain the meaning of the heading
How "Av Reads/s" calculate ? Reads/ DB Time ??
Get a couple of AWR reports where Elapsed Time and DB Time differ by a factor of two or more, and see what it looks like
What is effect the "Av Rd(ms)" ? these event like " enq: TX - index contention " may affect the "Av Rd(ms)" ?Av Rd(ms) is the average wait time for the read, and nothing more. Compare it with the "Top 5 Timed Event" timings - because of statistical variation, different patterns of I/O per tablespace and so on, the Av Rd(ms) won't be an obvious match for the Avg Wait (ms) in the event statistics, but you should be able to see that they are closely related.
Regards
Jonathan Lewis -
Reg: Statspack Tablespace Size
Hello All,
Oracle 11g standard edition
version: 11.2.0.1
Statspack snap details:
low snap id : 1424
high snap id: 2648
Tablespace Details (before purge)
Tablespace name: STATSPACK
Total Size(MB): 1024
Free Space(MB): 309
I executed sppurge.sql script to delete the above range of statspack snaps.
Tablespace Details (after purge)
Tablespace name: STATSPACK
Total Size(MB): 1024
Free Space(MB): 309
Why the free space remained same even after purge?I issued the following statement
select b.tablespace_name, tbs_size SizeMb, a.free_space FreeMb
from (select tablespace_name, round(sum(bytes)/1024/1024 ,2) as free_space
from dba_free_space
group by tablespace_name) a,
(select tablespace_name, sum(bytes)/1024/1024 as tbs_size
from dba_data_files
group by tablespace_name) b
where a.tablespace_name(+)=b.tablespace_name; -
Using of temporay table geneartes giant ammount of UNDO-Writes?
Database 9.2.0.5
Sun Os 5.8 64Bit
Hello we are benchmarking an application which stores data for temporary processing in global temporary tables.
What i see in the stastpack now is that 99%!!!! of physical writes run against the UNDO tablespace, this seems very strange to me!
Q1 : We reduced undo_rentention from 10000 to 900
does this reduce realy Number Writes to UNDO?
Q2 : Is there a side effect hat using temporay tables generates to much undo?
Regards
Carl r.
Statspack :
Tablespace IO Stats for DB: RPMS_R01 Instance: RPMS_R01 Snaps: 3761 -3767
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
UNDOTBS1
8 0 1.3 1.0 813,494 110 8,873 ######
SYSTEM
8,556 1 0.1 1.0 349 0 248 ######
STATSPACK
205 0 2.8 1.0 3,492 0 0 0.0
TEMP
2,999 0 1.1 1.0 571 0 0 0.0
RPMS_DATA
27 0 0.4 1.0 1,158 0 42 113.3
RPMS_INDX
25 0 1.2 1.0 160 0 71 13.8
KUR_INDX
148 0 1.5 1.0 14 0 0 0.0
TOOLS
152 0 0.1 1.0 8 0 0 0.0
AUDITS
11 0 2.7 1.0 99 0 0 0.0
KUR_DATA
45 0 0.0 1.0 12 0 0 0.0
KOBEW_DATA
25 0 6.4 1.0 8 0 0 0.0
KOBEW_INDX
8 0 0.0 1.0 8 0 0 0.0
ORDER_DATA
8 0 0.0 1.0 8 0 0 0.0
ORDER_INDX
8 0 0.0 1.0 8 0 0 0.0
QUEST
8 0 0.0 1.0 8 0 0 0.0
REP_DATA
8 0 0.0 1.0 8 0 0 0.0
SAL_DATA
8 0 0.0 1.0 8 0 0 0.0
SAL_INDX
8 0 1.3 1.0 8 0 0 0.0
USERS
8 0 0.0 1.0 8 0 0 0.0
XDB
8 0 0.0 1.0 8 0 0 0.0UNDO_RETENTION actually determines how long to keep already committed data in the UNDO tablespace, so decreasing the retention will only keep less undo in the undo tablespace and require less space for the UNDO tablespace, it should not increase the number of UNDO writes, the number would be the same for a transaction, no matter what the undo_retention.
-
Explain statspack values for tablespace & file IO
10.2.0.2 aix 5.2 64bit
in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
For Tablespace IO I have the following.
PRODGLDTAI
466,879 130 3.9 1.0 8,443 2 0 0.0
For File IO I have the following for each file within this tablespace.
PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
113,530 32 2.6 1.0 1,302 0 0 0.0
PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
107,878 30 1.6 1.0 1,898 1 0 0.0
PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
114,234 32 5.8 1.0 2,834 1 0 0.0
PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
131,237 36 5.2 1.0 2,409 1 0 0.0
From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time?10.2.0.2 aix 5.2 64bit
in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
For Tablespace IO I have the following.
PRODGLDTAI
466,879 130 3.9 1.0 8,443 2 0 0.0
For File IO I have the following for each file within this tablespace.
PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
113,530 32 2.6 1.0 1,302 0 0 0.0
PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
107,878 30 1.6 1.0 1,898 1 0 0.0
PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
114,234 32 5.8 1.0 2,834 1 0 0.0
PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
131,237 36 5.2 1.0 2,409 1 0 0.0
From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time? -
How to interprete Statspack report
Hello all,
I'm new in using statspack and i've tried to run it and gather the report but i can't interprete the result, i mean what can i do, the decisions after reading the report how to inteprete, what part of the result are the essential.
Here is an extract of my statspack report. If someone can help me or any documentations online for this.
STATSPACK report for
DB Name DB Id Instance Inst Num Release OPS Host
QLM3 1443332160 orcl 1 8.1.7.0.0 NO SRVUSINE
Snap Id Snap Time Sessions
Begin Snap: 1 03-Jan-07 15:48:53 57
End Snap: 2 03-Jan-07 15:56:30 57
Elapsed: 7.62 (mins)
Cache Sizes
~~~~~~~~~~~
db_block_buffers: 19200 log_buffer: 163840
db_block_size: 8192 shared_pool_size: 128000000
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 8,232.78 22,941.34
Logical reads: 11,853.51 33,030.82
Block changes: 41.60 115.91
Physical reads: 145.94 406.67
Physical writes: 36.83 102.62
User calls: 139.75 389.42
Parses: 6.30 17.55
Hard parses: 0.09 0.25
Sorts: 2.23 6.23
Logons: 0.82 2.29
Executes: 87.97 245.13
Transactions: 0.36
% Blocks changed per Read: 0.35 Recursive Call %: 32.96
Rollback per transaction %: 6.71 Rows per Sort: 104.37
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.90
Buffer Hit %: 98.77 In-memory Sort %: 99.22
Library Hit %: 99.83 Soft Parse %: 98.58
Execute to Parse %: 92.84 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 57.07 % Non-Parse CPU: 100.00
Shared Pool Statistics Begin End
Memory Usage %: 88.80 88.08
% SQL with executions>1: 35.12 35.45
% Memory for SQL w/exec>1: 56.60 58.45
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total
Event Waits Time (cs) Wt Time
direct path write 13,024 13,301 38.64
db file sequential read 17,592 8,103 23.54
direct path read 13,514 7,199 20.91
db file scattered read 3,231 2,085 6.06
PX Deq: Txn Recovery Start 8 699 2.03
Wait Events for DB: QLM3 Instance: orcl Snaps: 1 -2
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (cs) (ms) /txn
direct path write 13,024 0 13,301 10 79.4
db file sequential read 17,592 0 8,103 5 107.3
direct path read 13,514 0 7,199 5 82.4
db file scattered read 3,231 0 2,085 6 19.7
PX Deq: Txn Recovery Start 8 3 699 874 0.0
db file parallel write 82 0 656 80 0.5
log file parallel write 348 0 471 14 2.1
control file parallel write 214 0 447 21 1.3
log file sync 256 0 309 12 1.6
control file sequential read 229 0 209 9 1.4
log file switch completion 10 0 205 205 0.1
Wait for stopper event to be 19 17 200 105 0.1
SQL*Net break/reset to clien 74 0 191 26 0.5
file open 1,587 0 122 1 9.7
log buffer space 16 0 115 72 0.1
buffer busy waits 11 0 36 33 0.1
SQL*Net more data to client 3,459 0 35 0 21.1
latch free 68 52 18 3 0.4
file identify 8 0 8 10 0.0
refresh controlfile command 10 0 6 6 0.1
log file sequential read 4 0 4 10 0.0
log file single write 8 0 3 4 0.0
LGWR wait for redo copy 1 0 2 20 0.0
PX Deq: Signal ACK 3 0 1 3 0.0
PX Deq: Join ACK 5 0 0 0 0.0
enqueue 5 0 0 0 0.0
SQL*Net message from client 62,888 0 1,462,717 233 383.5
PX Idle Wait 602 600 124,058 2061 3.7
virtual circuit status 15 15 46,101 30734 0.1
SQL*Net message to client 62,885 0 10 0 383.4
SQL*Net more data from clien 12 0 1 1 0.1
Background Wait Events for DB: QLM3 Instance: orcl Snaps: 1 -2
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (cs) (ms) /txn
db file parallel write 82 0 656 80 0.5
direct path read 542 0 546 10 3.3
log file parallel write 348 0 471 14 2.1
control file parallel write 214 0 447 21 1.3
Wait for stopper event to be 19 17 200 105 0.1
control file sequential read 176 0 194 11 1.1
file open 1,485 0 50 0 9.1
buffer busy waits 1 0 33 330 0.0
db file scattered read 7 0 16 23 0.0
direct path write 297 0 8 0 1.8
file identify 8 0 8 10 0.0
log file sequential read 4 0 4 10 0.0
log file single write 8 0 3 4 0.0
LGWR wait for redo copy 1 0 2 20 0.0
PX Deq: Signal ACK 3 0 1 3 0.0
db file sequential read 1 0 1 10 0.0
PX Deq: Join ACK 5 0 0 0 0.0
enqueue 1 0 0 0 0.0
rdbms ipc message 1,221 427 134,286 1100 7.4
pmon timer 149 148 45,558 3058 0.9
smon timer 2 1 43,807 ###### 0.0
SQL ordered by Gets for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
Buffer Gets Executions Gets per Exec % Total Hash Value
887,405 3,544 250.4 16.4 8985785
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE > 0 AND GISEMENT_T
YPE IN ( 'L','F' ) AND MVT_SITE_CODE = :b5
887,405 3,544 250.4 16.4 739720993
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE != 'T' AND MVT_SITE_CODE = :b5
885,540 3,531 250.8 16.3 203835771
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE < 0 AND GISEMENT_T
YPE IN ( 'L','F' ) AND MVT_SITE_CODE = :b5
885,540 3,531 250.8 16.3 3827568942
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE > 0 AND GISEMENT_T
YPE IN ( 'T' ) AND GISEMENT_SITE_CODE = :b5
885,410 3,544 249.8 16.3 667813037
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE < 0 AND GISEMENT_T
YPE IN ( 'T' ) AND GISEMENT_SITE_CODE = :b5
472,580 1 472,580.0 8.7 1418790643
SELECT COUNT(*) FROM VAPS_APS_SORTIES WHERE MVT_DATE LIKE '%' AN
D INVEST_NUMERO IS NULL and (CLE=:1)
180,137 1 180,137.0 3.3 1562147089
SELECT COUNT(*) FROM VPRF_PRF_ETAT_STOCKS
110,321 443 249.0 2.0 2233067473
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4
72,956 2 36,478.0 1.3 3376831664
BEGIN statspack.snap; END;
67,904 1 67,904.0 1.3 625421128
INSERT INTO STATS$SQLTEXT ( HASH_VALUE,TEXT_SUBSET,PIECE,SQL_TEX
T,ADDRESS,COMMAND_TYPE,LAST_SNAP_ID ) SELECT ST1.HASH_VALUE,SS.
TEXT_SUBSET,ST1.PIECE,ST1.SQL_TEXT,ST1.ADDRESS,ST1.COMMAND_TYPE,
SS.SNAP_ID FROM V$SQLTEXT ST1,STATS$SQL_SUMMARY SS WHERE SS.S
NAP_ID = :b1 AND SS.DBID = :b2 AND SS.INSTANCE_NUMBER = :b3 A
SQL ordered by Gets for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
Buffer Gets Executions Gets per Exec % Total Hash Value
49,930 9,986 5.0 0.9 2352601327
SELECT INSTR(:b1,'/') FROM DUAL
26,262 1 26,262.0 0.5 2467990648
SELECT PRF_CB_QUALITES.QUALITE_LIB, PRF_FICHEARTICLES.FSA_
ARTICLE_CODE, PRF_CB_EMBALLAGES.EMB_LIBELLE, PRF_CB_CALIBR
ES.CALIBRE_LIBELLE, PRF_CB_VARIETES.VARIETE_LIB, PRF_CF_ST
OCKS.CF_CODE, PRF_CF_CHAMBREFROIDES.CF_LIBELLE, to_char(PR
F_CF_STOCKS.MC_DATE_CONGELATION,'ddd') ||PRF_CF_STOCKS.MC_EQUIPE
25,024 1 25,024.0 0.5 2687416176
SELECT num_lot_cqi num_lot, date_congelation date_peche, equipe_
congelation equipe_conditionnement, equipe_emballage FROM VCQI_P
RF_CB_LOTS WHERE site_code = fcqi_parametre ('SITE_CODE', 0) AND
quart_code like nvl(:1,'%') order by date_congelation desc
24,952 1 24,952.0 0.5 2144314401
SELECT DATE_CONGELATION,EQUIPE_CONGELATION,EQUIPE_EMBALLAGE FR
OM VCQI_PRF_CB_LOTS WHERE NUM_LOT_CQI = :b1 AND QUART_CODE LIK
E NVL(:b2,'%')
21,644 3,542 6.1 0.4 3246828773
SELECT SUM(NVL(ARTSTATGIS_QTE,0)) FROM APS_MVT_ARTICLE_GISEMEN
T WHERE ARTICLE_ID = :b1 AND STATUT_CODE = :b2 AND REGIME = :
b3 AND SITE_CODE = :b4
6,714 3 2,238.0 0.1 1676564828
SELECT ROWID,CLE,PBS_DATE,PBS_HEURE,IMPUTATION_CODE,SERVICE_CODE
,STATUT_CODE,REGIME,PBS_BONTRAVAIL,INVEST_NUMERO,UTIL_NUMERO_EME
TTEUR,DDESORTIE_NUM_DDE,PBS_VALEUR,REFACTURER,REFACTURER_CODE,UT
IL_NUMERO_DESTINATAIRE,OBSERVATION,IMPRIME_UNEFOIS,PBS_VALIDE,DA
TE_VALIDATION,PBS_ENVOYE_MAGASIN,DATE_ENVOIMAG,PBS_GISEMENT_VALI
6,714 3 2,238.0 0.1 2431929513
SELECT COUNT(*) FROM APS_SORTIES_HDR WHERE (PBS_VALIDE='O') AND
(PBS_ENVOYE_MAGASIN='O' )AND (PBS_GISEMENT_VALIDE='N')
6,022 60 100.4 0.1 1010618514
SELECT COUNT(*) FROM QRH_PNT_MOUVEMENTS WHERE STE_CODE = :1 AND
(ANOMALIE!='0') AND (ANOMALIE!='1') AND (ANOMALIE!='2') AND (ANO
MALIE!='3') AND (ANOMALIE!='21') AND (VALIDEE='N') AND (JOURNEE=
TO_CHAR(:2,'dd/mm/yyyy')) AND (MATRICULE=:3) AND (SERVICE_CODE=:
4) and (MATRICULE=:5) and (STE_CODE=:6)
6,022 60 100.4 0.1 4067308175
SELECT ROWID,VALIDEE,MATRICULE,ENTREE,SORTIE,REGUL,ORIGINE_POINT
AGE,JUSTIFICATION_CODE,JUSTIFIEE,ANOMALIE,JOURNEE,SERVICE_CODE,S
TE_CODE,UTIL_NUMERO_JUSTIFIER,UTIL_NUMERO_VALIDER,OK_PAIE,DATE_O
K_PAIE FROM QRH_PNT_MOUVEMENTS WHERE STE_CODE = :1 AND (ANOMALIE
!='0') AND (ANOMALIE!='1') AND (ANOMALIE!='2') AND (ANOMALIE!='3
SQL ordered by Gets for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
Buffer Gets Executions Gets per Exec % Total Hash Value
SQL ordered by Reads for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Disk Reads Threshold: 1000
Physical Reads Executions Reads per Exec % Total Hash Value
16,941 1 16,941.0 25.4 1418790643
SELECT COUNT(*) FROM VAPS_APS_SORTIES WHERE MVT_DATE LIKE '%' AN
D INVEST_NUMERO IS NULL and (CLE=:1)
12,263 443 27.7 18.4 2233067473
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4
6,699 3 2,233.0 10.0 2431929513
SELECT COUNT(*) FROM APS_SORTIES_HDR WHERE (PBS_VALIDE='O') AND
(PBS_ENVOYE_MAGASIN='O' )AND (PBS_GISEMENT_VALIDE='N')
6,493 3 2,164.3 9.7 1676564828
SELECT ROWID,CLE,PBS_DATE,PBS_HEURE,IMPUTATION_CODE,SERVICE_CODE
,STATUT_CODE,REGIME,PBS_BONTRAVAIL,INVEST_NUMERO,UTIL_NUMERO_EME
TTEUR,DDESORTIE_NUM_DDE,PBS_VALEUR,REFACTURER,REFACTURER_CODE,UT
IL_NUMERO_DESTINATAIRE,OBSERVATION,IMPRIME_UNEFOIS,PBS_VALIDE,DA
TE_VALIDATION,PBS_ENVOYE_MAGASIN,DATE_ENVOIMAG,PBS_GISEMENT_VALI
4,783 2 2,391.5 7.2 3376831664
BEGIN statspack.snap; END;
4,075 1 4,075.0 6.1 1762397322
SELECT ROWID,MC_CODE,CB_QUALITE,CB_EMBALLAGE,CB_CALIBRE,CB_VARIE
TE,TYPECH_CODE,TYPECH_LIBELLE,CF_CODE,CF_LIBELLE,MC_EQUIPE_CONDI
TIONNEMENT,MC_DATE_CONGELATION,MC_EQUIPE_EMBALLAGE,MC_DATE_EMBAL
LAGE,INC_CODE,INC_LIBELLE,PALETTE_CODE,TP_CODE,CB_ORIGINE_CODE,U
SINE_CODE,LIEU_CODE,MC_ETAT,TP_LIBELLE,ORIGINE_LIBELLE,QUALITE_L
3,455 1 3,455.0 5.2 2467990648
SELECT PRF_CB_QUALITES.QUALITE_LIB, PRF_FICHEARTICLES.FSA_
ARTICLE_CODE, PRF_CB_EMBALLAGES.EMB_LIBELLE, PRF_CB_CALIBR
ES.CALIBRE_LIBELLE, PRF_CB_VARIETES.VARIETE_LIB, PRF_CF_ST
OCKS.CF_CODE, PRF_CF_CHAMBREFROIDES.CF_LIBELLE, to_char(PR
F_CF_STOCKS.MC_DATE_CONGELATION,'ddd') ||PRF_CF_STOCKS.MC_EQUIPE
2,308 1 2,308.0 3.5 3874720143
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID,DBID,INSTANCE_NUMBER,TEX
T_SUBSET,SHARABLE_MEM,SORTS,MODULE,LOADED_VERSIONS,EXECUTIONS,LO
ADS,INVALIDATIONS,PARSE_CALLS,DISK_READS,BUFFER_GETS,ROWS_PROCES
SED,ADDRESS,HASH_VALUE,VERSION_COUNT ) SELECT :b1,:b2,:b3,SUBST
R(SQL_TEXT,1,31),SHARABLE_MEM,SORTS,MODULE,LOADED_VERSIONS,EXECU
2,295 1 2,295.0 3.4 3337740287
INSERT INTO STATS$SQL_STATISTICS ( SNAP_ID,DBID,INSTANCE_NUMBER,
TOTAL_SQL,TOTAL_SQL_MEM,SINGLE_USE_SQL,SINGLE_USE_SQL_MEM ) SEL
ECT :b1,:b2,:b3,COUNT(1),SUM(SHARABLE_MEM),SUM(DECODE(EXECUTIONS
,1,1,0)),SUM(DECODE(EXECUTIONS,1,SHARABLE_MEM,0)) FROM V$SQLXS
2,232 14 159.4 3.3 2819681083
SELECT COUNT(*) FROM APS_SORTIES_HDR WHERE PBS_GISEMENT_VALIDE =
'N' and (SERVICE_CODE=:1) and (PBS_VALIDE=:2)
SQL ordered by Reads for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Disk Reads Threshold: 1000
Physical Reads Executions Reads per Exec % Total Hash Value
2,232 14 159.4 3.3 2856670560
SELECT ROWID,CLE,IMPUTATION_CODE,SERVICE_CODE,STATUT_CODE,REGIME
,INVEST_NUMERO,PBS_BONTRAVAIL,REFACTURER,REFACTURER_CODE,ENTREE_
NUMERO,PBS_DATE,PBS_HEURE,UTIL_NUMERO_EMETTEUR,UTIL_NUMERO_DESTI
NATAIRE,OBSERVATION,PBS_VALIDE,DATE_VALIDATION,PBS_ENVOYE_MAGASI
N,DATE_ENVOIMAG,DDESORTIE_NUM_DDE,PBS_VALEUR,IMPRIME_UNEFOIS,PBS
1,168 1 1,168.0 1.8 1352033258
SELECT PRF_CB_QUALITES.QUALITE_LIB, PRF_FICHEARTICLES.FSA_
ARTICLE_CODE, PRF_CB_EMBALLAGES.EMB_LIBELLE, PRF_CB_CALIBR
ES.CALIBRE_LIBELLE, PRF_CB_VARIETES.VARIETE_LIB, PRF_CF_ST
OCKS.CF_CODE, PRF_CF_CHAMBREFROIDES.CF_LIBELLE, to_char(PR
F_CF_STOCKS.MC_DATE_CONGELATION,'ddd') ||PRF_CF_STOCKS.MC_EQUIPE
723 3 241.0 1.1 165227727
SELECT ROWID,CLE,UTIL_NUMERO_VALIDE,VALIDPBS_DATE,VALIDPBS_HEURE
FROM APS_SORTIES_VALIDATION WHERE (CLE=:1)
685 3 228.3 1.0 3538988510
SELECT COUNT(*) FROM APS_SORTIES_VALIDATION WHERE (CLE=:1)
602 1 602.0 0.9 1562147089
SELECT COUNT(*) FROM VPRF_PRF_ETAT_STOCKS
390 15 26.0 0.6 3423685253
INSERT INTO PRF_CF_ENTREES ( MC_CODE,CF_CODE,PALETTE_CODE,MC_ETA
T,SYS_DATE_LECTEUR,TYPE_ENTREE ) VALUES ( :b1,:b2,:b3,SUBSTR(:b
4,1,2),SYSDATE,'E' )
372 6 62.0 0.6 2944582360
SELECT COUNT(*) FROM QRH_FIP_AGENTS WHERE (QRH_FIP_AGENTS.AGE
NT_MATRICULE = :b1 ) AND (QRH_FIP_AGENTS.SERVICE_CODE LIKE :b2
) AND (QRH_FIP_AGENTS.SERVICE_CODE IN (SELECT SERVICE_CODE FRO
M SEC_QRH_ACCES_SERVICES WHERE STE_CODE = :b3 AND (ACCES_FICHE
PERSONNEL = 'O' AND POINTAGECONSULTATION = 'O' AND POINTAGE_
352 15 23.5 0.5 836774746
INSERT INTO PRF_CF_STOCKS ( MC_CODE,TP_CODE,CB_ORIGINE_CODE,USIN
E_CODE,LIEU_CODE,CB_QUALITE,CB_EMBALLAGE,MARQUE_LIBELLE,CB_CALIB
RE,CB_VARIETE,TYPECH_CODE,MC_DATE_CONGELATION,MC_EQUIPE_CONDITIO
NNEMENT,MC_DATE_EMBALLAGE,MC_EQUIPE_EMBALLAGE,PALETTE_CODE,CF_CO
DE,FSA_ARTICLE_CODE,MC_POIDS_KG,MC_ETAT,INC_CODE,BASSIN_CODE,MAR
271 15 18.1 0.4 1991901539
SELECT COUNT('X') FROM DUAL WHERE EXISTS (SELECT 'X' FROM
PRF_LOTS_ENTREES WHERE NUMERO_LOT = :b1 AND TP_CODE = :b2 AND
SQL ordered by Executions for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
9,986 9,986 1.0 2352601327
SELECT INSTR(:b1,'/') FROM DUAL
3,544 3,544 1.0 8985785
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE > 0 AND GISEMENT_T
YPE IN ( 'L','F' ) AND MVT_SITE_CODE = :b5
3,544 3,544 1.0 667813037
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE < 0 AND GISEMENT_T
YPE IN ( 'T' ) AND GISEMENT_SITE_CODE = :b5
3,544 3,544 1.0 739720993
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE != 'T' AND MVT_SITE_CODE = :b5
3,542 3,542 1.0 3246828773
SELECT SUM(NVL(ARTSTATGIS_QTE,0)) FROM APS_MVT_ARTICLE_GISEMEN
T WHERE ARTICLE_ID = :b1 AND STATUT_CODE = :b2 AND REGIME = :
b3 AND SITE_CODE = :b4
3,531 3,531 1.0 203835771
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE < 0 AND GISEMENT_T
YPE IN ( 'L','F' ) AND MVT_SITE_CODE = :b5
3,531 3,531 1.0 3827568942
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4 AND MVT_TYPE = 'T' AND MVT_QUANTITE > 0 AND GISEMENT_T
YPE IN ( 'T' ) AND GISEMENT_SITE_CODE = :b5
629 629 1.0 3347504826
SELECT COUNT('x') FROM DUAL WHERE EXISTS (SELECT 'x' FROM
PRF_TB_AI WHERE CODE_AI = :b1 )
586 586 1.0 830918687
SELECT SYSDATE FROM DUAL
494 494 1.0 2353080377
INSERT INTO APS_ARCHIVE_STOCKS_DTL VALUES ( :b1,:b2,:b3,:b4,:b5,
:b6 )
444 444 1.0 431034241
UPDATE APS_ARCHIVE_STOCKS SET ART_STAT_QTE_STOCK_SITE=:b1 WHERE
PERIODE = :b2 AND ARTICLE_ID = :b3 AND STATUT_CODE = :b4 AND
REGIME = :b5
443 443 1.0 2233067473
SELECT SUM(MVT_QUANTITE) FROM APS_MVT_MOUVEMENTS WHERE PERIOD
SQL ordered by Executions for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
E > :b1 AND ARTICLE_ID = :b2 AND STATUT_CODE = :b3 AND REGIME
= :b4
442 442 1.0 4030231140
INSERT INTO APS_ARCHIVE_STOCKS ( PERIODE,ARTICLE_ID,STATUT_CODE,
REGIME,ART_STAT_QTE_STOCK,ART_STAT_QTE_STOCK_SITE,ART_STAT_PUMP,
ART_STAT_PUMP_EURO,ART_STAT_PUMP_1 ) VALUES ( :b1,:b2,:b3,:b4,:
b5,:b6,:b7,:b8, NULL )
441 3,520 8.0 2193642303
SELECT SITE_CODE FROM APS_LOC_SITES
416 167 0.4 3549129673
SELECT DISTINCT LIBELLE_PRODUIT FROM VCQI_PRF_CB_QC_PRODUITS
WHERE TYPE_PRODUIT = :b1
415 415 1.0 3105143149
SELECT UTIL_NOM || DECODE(UTIL_PRENOM, NULL , NULL ,' ' || UTIL_
PRENOM ) UTIL_NOM_PRENOM FROM COM_UTILISATEURS WHERE UTIL_NU
MERO = :b1
270 270 1.0 1045955060
SELECT COUNT('X') FROM DUAL WHERE EXISTS (SELECT 'X' FROM
PRF_GFR_BASSINS WHERE BASSIN_CODE = :b1 )
235 235 1.0 2123798088
SELECT COUNT('X') FROM DUAL WHERE EXISTS (SELECT 'X' FROM
PRF_FICHEARTICLES WHERE FSA_ARTICLE_CODE = :b1 )
218 217 1.0 2987457698
SELECT NOM FROM SYS_CQI_SITE WHERE CODE = :b1
213 213 1.0 1425443843
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,
order$=:6,cache=:7,highwater=:8,audit$=:9 where obj#=:1
183 183 1.0 3529593353
SELECT COUNT('X') FROM DUAL WHERE EXISTS (SELECT 'X' FROM
PRF_GFR_BASSINS WHERE BASSIN_CODE = SUBSTR(:b1,2,3) )
178 0 0.0 313510536
select job from sys.job$ where next_date < sysdate and (field1
= :1 or (field1 = 0 and 'Y' = :2)) order by next_date, job
167 167 1.0 2542007726
SELECT PRF_PARAM_VALEUR FROM PRF_MAHAVOKATRA_PARAMETRES WHERE
PRF_PARAM_NOM = :b1
144 144 1.0 1202015936
SELECT CODE_AI,DESCRIPTION_AI,TYPE_AI,LONGUEUR_MAX FROM PRF_TB
AI WHERE CODEAI = :b1
138 138 1.0 2840696239
SELECT SEQ_PRF_MC_SERIE.Nextval FROM Dual
SQL ordered by Executions for DB: QLM3 Instance: orcl Snaps: 1 -2
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
101 7 0.1 148923490
SELECT COUNT(*) FROM APS_SORTIES_HDR WHERE (PBS_VALIDE='O') AND
(PBS_ENVOYE_MAGASIN='O' )AND (PBS_GISEMENT_VALIDE='N') and (CLE=
:1)
101 7 0.1 2329028825
SELECT ROWID,CLE,PBS_DATE,PBS_HEURE,IMPUTATION_CODE,SERVICE_CODE
Instance Activity Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
Statistic Total per Second per Trans
background checkpoints completed 4 0.0 0.0
background checkpoints started 4 0.0 0.0
background timeouts 620 1.4 3.8
branch node splits 0 0.0 0.0
buffer is not pinned count 4,838,419 10,587.4 29,502.6
buffer is pinned count 15,660,264 34,267.5 95,489.4
bytes received via SQL*Net from c 7,127,276 15,595.8 43,459.0
bytes sent via SQL*Net to client 13,724,270 30,031.2 83,684.6
calls to get snapshot scn: kcmgss 41,025 89.8 250.2
calls to kcmgas 383 0.8 2.3
calls to kcmgcs 145 0.3 0.9
change write time 134 0.3 0.8
cleanouts and rollbacks - consist 0 0.0 0.0
cleanouts only - consistent read 3 0.0 0.0
cluster key scan block gets 132 0.3 0.8
cluster key scans 64 0.1 0.4
commit cleanout failures: block l 2 0.0 0.0
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callbac 3 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 1,238 2.7 7.6
commit cleanouts successfully com 1,233 2.7 7.5
consistent changes 37 0.1 0.2
consistent gets 5,342,340 11,690.0 32,575.2
CPU used by this session 563,606,920 1,233,275.5 3,436,627.6
CPU used when call started 16,475 36.1 100.5
CR blocks created 32 0.1 0.2
current blocks converted for CR
cursor authentications 0 0.0 0.0
data blocks consistent reads - un 37 0.1 0.2
db block changes 19,010 41.6 115.9
db block gets 74,714 163.5 455.6
DBWR buffers scanned 11,292 24.7 68.9
DBWR checkpoint buffers written 604 1.3 3.7
DBWR checkpoints 4 0.0 0.0
DBWR free buffers found 10,956 24.0 66.8
DBWR lru scans 48 0.1 0.3
DBWR make free requests 48 0.1 0.3
DBWR summed scan depth 11,292 24.7 68.9
DBWR transaction table writes 31 0.1 0.2
DBWR undo block writes 223 0.5 1.4
deferred (CURRENT) block cleanout 796 1.7 4.9
DFO trees parallelized 0 0.0 0.0
dirty buffers inspected 41 0.1 0.3
enqueue conversions 59 0.1 0.4
enqueue releases 1,608 3.5 9.8
enqueue requests 1,627 3.6 9.9
enqueue timeouts 21 0.1 0.1
enqueue waits 0 0.0 0.0
execute count 40,202 88.0 245.1
free buffer inspected 43 0.1 0.3
free buffer requested 50,071 109.6 305.3
hot buffers moved to head of LRU 32,358 70.8 197.3
immediate (CR) block cleanout app 3 0.0 0.0
immediate (CURRENT) block cleanou 216 0.5 1.3
index fast full scans (full) 197 0.4 1.2
Instance Activity Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
Statistic Total per Second per Trans
leaf node splits 43 0.1 0.3
logons cumulative 376 0.8 2.3
messages received 566 1.2 3.5
messages sent 566 1.2 3.5
no buffer to keep pinned count 361,161 790.3 2,202.2
no work - consistent read gets 4,584,108 10,030.9 27,951.9
opened cursors cumulative 2,903 6.4 17.7
Parallel operations not downgrade 0 0.0 0.0
parse count (hard) 41 0.1 0.3
parse count (total) 2,879 6.3 17.6
parse time cpu 109 0.2 0.7
parse time elapsed 191 0.4 1.2
physical reads 66,694 145.9 406.7
physical reads direct 17,008 37.2 103.7
physical writes 16,830 36.8 102.6
physical writes direct 15,849 34.7 96.6
physical writes non checkpoint 16,523 36.2 100.8
pinned buffers inspected 0 0.0 0.0
prefetched blocks 28,860 63.2 176.0
prefetched blocks aged out before 104 0.2 0.6
process last non-idle time 395,024,325 864,385.8 2,408,684.9
PX local messages recv'd 3 0.0 0.0
PX local messages sent 2 0.0 0.0
queries parallelized 0 0.0 0.0
recovery array reads 0 0.0 0.0
recovery blocks read 0 0.0 0.0
recursive calls 31,404 68.7 191.5
recursive cpu usage 973 2.1 5.9
redo blocks written 7,766 17.0 47.4
redo buffer allocation retries 24 0.1 0.2
redo entries 9,689 21.2 59.1
redo log space requests 10 0.0 0.1
redo log space wait time 205 0.5 1.3
redo ordering marks 0 0.0 0.0
redo size 3,762,380 8,232.8 22,941.3
redo synch time 310 0.7 1.9
redo synch writes 252 0.6 1.5
redo wastage 83,944 183.7 511.9
redo write time 798 1.8 4.9
redo writer latching time 2 0.0 0.0
redo writes 348 0.8 2.1
rollback changes - undo records a 100 0.2 0.6
rollbacks only - consistent read 32 0.1 0.2
rows fetched via callback 152,467 333.6 929.7
session connect time 395,024,325 864,385.8 2,408,684.9
session logical reads 5,417,054 11,853.5 33,030.8
session pga memory 1,198,867,080 2,623,341.5 7,310,165.1
session pga memory max 1,252,931,128 2,741,643.6 7,639,824.0
session uga memory 2,021,828 4,424.1 12,328.2
session uga memory max 11,504,160 25,173.2 70,147.3
sorts (disk) 8 0.0 0.1
sorts (memory) 1,013 2.2 6.2
sorts (rows) 106,560 233.2 649.8
SQL*Net roundtrips to/from client 62,770 137.4 382.7
summed dirty queue length 2 0.0 0.0
switch current to new buffer
Instance Activity Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
Statistic Total per Second per Trans
table fetch by rowid 10,162,108 22,236.6 61,964.1
table fetch continued row 5,568 12.2 34.0
table scan blocks gotten 73,722 161.3 449.5
table scan rows gotten 3,805,522 8,327.2 23,204.4
table scans (direct read) 0 0.0 0.0
table scans (long tables) 50 0.1 0.3
table scans (rowid ranges) 0 0.0 0.0
table scans (short tables) 12,550 27.5 76.5
total file opens 1,587 3.5 9.7
transaction rollbacks 0 0.0 0.0
user calls 63,865 139.8 389.4
user commits 153 0.3 0.9
user rollbacks 11 0.0 0.1
write clones created in backgroun 0 0.0 0.0
write clones created in foregroun 27 0.1 0.2
Tablespace IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
TEMP
9,953 22 0.0 1.2 11,991 26 0 0.0
APS_DATA_DYNA
18,803 41 4.4 2.3 67 0 7 2.9
TEMP1
4,163 9 0.0 1.1 3,367 7 0 0.0
APS_INDEX
1,169 3 6.3 1.6 113 0 0 0.0
PRF_DATA_DYNA
290 1 13.7 10.2 105 0 2 5.0
APS_DATA_STAT
324 1 4.4 4.6 41 0 0 0.0
TOOLS
53 0 10.2 1.0 287 1 0 0.0
PRF_INDEX
133 0 6.7 1.0 88 0 1 0.0
SYSTEM
128 0 12.9 1.7 58 0 0 0.0
RBS1
17 0 10.6 1.0 158 0 1 330.0
GRH_DATA_DYNA
72 0 7.1 1.0 78 0 0 0.0
RBS
30 0 44.7 1.0 111 0 0 0.0
GRH_INDEX
38 0 8.2 1.0 46 0 0 0.0
PRF_DATA_STAT
53 0 11.5 2.2 3 0 0 0.0
CQI_DATA_DYNA
25 0 5.2 4.2 12 0 0 0.0
CQI_INDEX
28 0 5.0 1.0 9 0 0 0.0
GRH_DATA_STAT
23 0 5.2 8.0 3 0 0 0.0
GTMAO_DATA_DYNA
20 0 0.0 1.0 6 0 0 0.0
COM_DATA_DYNA
19 0 20.5 1.0 3 0 0 0.0
COM_INDEX
18 0 6.1 1.0 3 0 0 0.0
RFG_INDEX
9 0 0.0 1.0 9 0 0 0.0
CQI_DATA_STAT
13 0 3.8 1.0 3 0 0 0.0
GFRP_DATA_DYNA
9 0 0.0 1.0 6 0 0 0.0
USERS
9 0 0.0 1.0 6 0 0 0.0
RFG_DATA_DYNA
6 0 0.0 1.0 6 0 0 0.0
GFRP_DATA_STAT
6 0 0.0 1.0 3 0 0 0.0
Tablespace IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
GFRP_INDEX
6 0 0.0 1.0 3 0 0 0.0
PRF_DATA_DYNA_ARCHIVE
6 0 0.0 1.0 3 0 0 0.0
PRF_INDEX_ARCHIVE
6 0 0.0 1.0 3 0 0 0.0
COM_DATA_STAT
4 0 2.5 1.0 3 0 0 0.0
BO_DATA
3 0 0.0 1.0 3 0 0 0.0
DRSYS
3 0 0.0 1.0 3 0 0 0.0
FSQ_DATA_DYNA
3 0 0.0 1.0 3 0 0 0.0
FSQ_DATA_STAT
3 0 0.0 1.0 3 0 0 0.0
FSQ_INDEX
3 0 0.0 1.0 3 0 0 0.0
GNS_DATA_DYNA
3 0 0.0 1.0 3 0 0 0.0
GTMAO_DATA_STAT
3 0 0.0 1.0 3 0 0 0.0
GTMAO_INDEX
3 0 0.0 1.0 3 0 0 0.0
INDX
3 0 0.0 1.0 3 0 0 0.0
RFG_DATA_STAT
3 0 0.0 1.0 3 0 0 0.0
SMQ_DATA_DYNA
3 0 0.0 1.0 3 0 0 0.0
SMQ_DATA_STAT
3 0 0.0 1.0 3 0 0 0.0
SMQ_INDEX
3 0 0.0 1.0 3 0 0 0.0
File IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
APS_DATA_DYNA F:\ORADATA\APS_DYNA_DF
279 1 7.0 3.4 3 0 0
F:\ORADATA\APS_DYNA_01.DF
477 1 4.9 2.2 4 0 0
F:\ORADATA\APS_DYNA_02.DF
412 1 4.5 1.5 4 0 0
F:\ORADATA\APS_DYNA_03.DF
420 1 5.1 1.3 3 0 0
F:\ORADATA\APS_DYNA_04.DF
9 0 0.0 1.0 3 0 0
F:\ORADATA\APS_DYNA_05.DF
17 0 4.1 3.0 3 0 0
F:\ORADATA\APS_DYNA_06.DF
6,158 13 4.1 1.4 11 0 6 0.0
F:\ORADATA\APS_DYNA_07.DF
8,331 18 3.4 1.4 9 0 1 20.0
F:\ORADATA\APS_DYNA_08.DF
10 0 2.0 1.0 3 0 0
G:\ORADATA\APS_DYNA_09.DF
2,172 5 7.8 8.5 7 0 0
G:\ORADATA\APS_DYNA_10.DF
518 1 6.4 2.7 17 0 0
APS_DATA_STAT F:\ORADATA\APS_STAT_DF
324 1 4.4 4.6 41 0 0
APS_INDEX F:\ORADATA\APS_IDX_003.DF
10 0 0.0 1.0 13 0 0
F:\ORADATA\APS_INDEX_DF
117 0 8.2 1.0 18 0 0
F:\ORADATA\APS_INDEX_DF02
12 0 1.7 1.0 20 0 0
F:\ORADATA\APS_INDEX_04.DF
14 0 2.9 1.0 33 0 0
F:\ORADATA\APS_INDEX_05.DF
1,016 2 6.2 1.7 29 0 0
BO_DATA F:\ORADATA\BO_DATA.DF
3 0 0.0 1.0 3 0 0
COM_DATA_DYNA E:\ORACLE\ORADATA\QLM3\COM_DATA_DYNA.ORA
19 0 20.5 1.0 3 0 0
COM_DATA_STAT E:\ORACLE\ORADATA\QLM3\COM_DATA_STAT.ORA
4 0 2.5 1.0 3 0 0
COM_INDEX F:\ORADATA\COM_INDEX.DF
18 0 6.1 1.0 3 0 0
CQI_DATA_DYNA G:\ORADATA\CQI_DATA_DYNA_01.DF
25 0 5.2 4.2 12 0 0
File IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
CQI_DATA_STAT G:\ORADATA\CQI_DATA_STAT_01.DF
13 0 3.8 1.0 3 0 0
CQI_INDEX G:\ORADATA\CQI_INDEX_01.DF
28 0 5.0 1.0 9 0 0
DRSYS E:\ORACLE\ORADATA\QLM3\DR01.DBF
3 0 0.0 1.0 3 0 0
FSQ_DATA_DYNA F:\ORADATA\FSQ_DYNA_DF
3 0 0.0 1.0 3 0 0
FSQ_DATA_STAT F:\ORADATA\FSQ_STAT_DF
3 0 0.0 1.0 3 0 0
FSQ_INDEX F:\ORADATA\FSQ_INDEX_DF
3 0 0.0 1.0 3 0 0
GFRP_DATA_DYNA G:\ORADATA\GFRP_DYNA_01.DF
6 0 0.0 1.0 3 0 0
H:\ORADATA\GFRP_DATA_DYNA
3 0 0.0 1.0 3 0 0
GFRP_DATA_STAT G:\ORADATA\GFRP_STAT_01.DF
6 0 0.0 1.0 3 0 0
GFRP_INDEX G:\ORADATA\GFRP_INDEX_01.DF
6 0 0.0 1.0 3 0 0
GNS_DATA_DYNA F:\ORADATA\GNS_DATA_DYNA_01.ORA
3 0 0.0 1.0 3 0 0
GRH_DATA_DYNA F:\ORADATA\GRH_DY_1.DF
38 0 11.3 1.0 37 0 0
F:\ORADATA\GRH_DY_2.DF
3 0 0.0 1.0 5 0 0
F:\ORADATA\GRH_DY_3.DF
3 0 0.0 1.0 3 0 0
F:\ORADATA\GRH_DY_4.DF
13 0 6.2 1.0 18 0 0
F:\ORADATA\GRH_DY_5.DF
3 0 0.0 1.0 3 0 0
F:\ORADATA\GRH_DY_6.DF
3 0 0.0 1.0 3 0 0
F:\ORADATA\GRH_DY_7.DF
3 0 0.0 1.0 3 0 0
H:\ORADATA\GRH_DY_8.DF
3 0 0.0 1.0 3 0 0
H:\ORADATA\GRH_DY_9.DF
3 0 0.0 1.0 3 0 0
GRH_DATA_STAT F:\ORADATA\GRH_ST_1.DF
File IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
23 0 5.2 8.0 3 0 0
GRH_INDEX F:\ORADATA\GRH_IDX.DF
38 0 8.2 1.0 46 0 0
GTMAO_DATA_DYNA F:\ORADATA\GTMAO_DATA_DYNA_01.DF
10 0 0.0 1.0 3 0 0
F:\ORADATA\GTM_DY_2.DF
10 0 0.0 1.0 3 0 0
GTMAO_DATA_STAT F:\ORADATA\GTMAO_DATA_STAT_01.DF
3 0 0.0 1.0 3 0 0
GTMAO_INDEX F:\ORADATA\GTMAO_INDEX_01.DF
3 0 0.0 1.0 3 0 0
INDX E:\ORACLE\ORADATA\QLM3\INDX01.DBF
3 0 0.0 1.0 3 0 0
PRF_DATA_DYNA E:\ORADATA\PRF_D14.DF
29 0 10.3 1.0 12 0 0
E:\ORADATA\PRF_D15.DF
28 0 10.4 1.0 19 0 0
E:\ORADATA\PRF_D16.DF
89 0 31.9 26.9 9 0 0
F:\ORADATA\PRF_D1.DF
9 0 5.6 1.0 4 0 0
F:\ORADATA\PRF_D10.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D11.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D12.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D13.DF
26 0 7.7 7.2 3 0 2 5.0
F:\ORADATA\PRF_D2.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D3.DF
6 0 0.0 1.0 5 0 0
F:\ORADATA\PRF_D4.DF
15 0 4.0 1.0 10 0 0
F:\ORADATA\PRF_D5.DF
15 0 4.0 1.0 10 0 0
F:\ORADATA\PRF_D6.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D7.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D8.DF
6 0 0.0 1.0 3 0 0
F:\ORADATA\PRF_D9.DF
6 0 0.0 1.0 3 0 0
G:\ORADATA\PRF_D17.DF
File IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
16 0 7.5 13.3 3 0 0
PRF_DATA_DYNA G:\ORADATA\PRF_D18.DF
9 0 6.7 1.0 6 0 0
PRF_DATA_DYNA_ARCHIVE H:\ORADATA\PRF_DATA_DYNA_ARCHIVE01.DF
6 0 0.0 1.0 3 0 0
PRF_DATA_STAT F:\ORADATA\PRF_ST1.DF
53 0 11.5 2.2 3 0 0
PRF_INDEX E:\ORADATA\PRF_IDX4.DF
14 0 7.1 1.0 10 0 0
E:\ORADATA\PRF_IDX5.DF
13 0 3.8 1.0 10 0 0
E:\ORADATA\PRF_IDX6.DF
18 0 8.3 1.0 12 0 0
E:\ORADATA\PRF_IDX7.DF
10 0 2.0 1.0 3 0 0
F:\ORADATA\PRF_IDX1.DF
8 0 2.5 1.0 4 0 0
F:\ORADATA\PRF_IDX2.DF
11 0 3.6 1.0 11 0 0
F:\ORADATA\PRF_IDX3.DF
43 0 7.9 1.0 28 0 1 0.0
H:\ORADATA\PRF_IDX8.DF
16 0 10.6 1.0 10 0 0
PRF_INDEX_ARCHIVE H:\ORADATA\PRF_INDEX_ARCHIVE_01.DF
6 0 0.0 1.0 3 0 0
RBS E:\ORACLE\ORADATA\QLM3\RBS01.DBF
22 0 59.1 1.0 92 0 0
E:\ORACLE\ORADATA\QLM3\RBS02.DBF
8 0 5.0 1.0 19 0 0
RBS1 E:\ORACLE\ORADATA\QLM3\RBS11.ORA
3 0 0.0 1.0 18 0 1 330.0
E:\ORACLE\ORADATA\QLM3\RBS12.ORA
5 0 24.0 1.0 12 0 0
E:\ORACLE\ORADATA\QLM3\RBS13.ORA
9 0 6.7 1.0 128 0 0
RFG_DATA_DYNA G:\ORADATA\RFG_DATA_DYNA_01.DF
3 0 0.0 1.0 3 0 0
G:\ORADATA\RFG_DATA_DYNA_02.DF
3 0 0.0 1.0 3 0 0
RFG_DATA_STAT G:\ORADATA\RFG_DATA_STAT_01.DF
3 0 0.0 1.0 3 0 0
RFG_INDEX G:\ORADATA\RFG_INDEX_01.DF
3 0 0.0 1.0 3 0 0
File IO Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
RFG_INDEX G:\ORADATA\RFG_INDEX_02.DF
3 0 0.0 1.0 3 0 0
G:\ORADATA\RFG_INDEX_03.DF
3 0 0.0 1.0 3 0 0
SMQ_DATA_DYNA F:\ORADATA\SMQ_DYNA_DF
3 0 0.0 1.0 3 0 0
SMQ_DATA_STAT F:\ORADATA\SMQ_STAT_DF
3 0 0.0 1.0 3 0 0
SMQ_INDEX F:\ORADATA\SMQ_INDEX_DF
3 0 0.0 1.0 3 0 0
SYSTEM E:\ORACLE\ORADATA\QLM3\SYSTEM01.DBF
119 0 12.8 1.6 53 0 0
E:\ORACLE\ORADATA\QLM3\SYSTEM02.DBF
9 0 14.4 3.6 5 0 0
TEMP E:\ORACLE\ORADATA\QLM3\TEMP01.DBF
9,953 22 0.0 1.2 11,991 26 0
TEMP1 H:\ORADATA\TEMP101.ORA
4,163 9 0.0 1.1 3,367 7 0
TOOLS E:\ORACLE\ORADATA\QLM3\TOOLS01.DBF
3 0 0.0 1.0 27 0 0
E:\ORACLE\ORADATA\QLM3\TOOLS02.DBF
50 0 10.8 1.0 260 1 0
USERS E:\ORACLE\ORADATA\QLM3\USERS01.DBF
3 0 0.0 1.0 3 0 0
E:\ORACLE\ORADATA\QLM3\USERS02.DBF
6 0 0.0 1.0 3 0 0
Buffer Pool Statistics for DB: QLM3 Instance: orcl Snaps: 1 -2
-> Pools D: default pool, K: keep pool, R: recycle pool
Free Write Buffer
Buffer Consistent Physical Physical Buffer Complete Busy
P Gets Gets Reads Writes Waits Waits Waits
D 50,061 0 49,675 981 0 0 11
Buffer wait Statistics for DB: QLM3 Instance: orcl Snaps: 1 -2
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (cs) Time (cs)
undo header 1 33 33
data block 10 3 0
Rollback Segment Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->A high value for "Pct Waits" suggests more rollback segments may be required
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 24.0 0.00 0 0 0 0
1 78.0 0.00 16,834 0 0 0
2 84.0 0.00 29,374 0 0 0
3 65.0 0.00 9,950 0 0 0
4 67.0 0.00 14,278 0 0 0
5 66.0 0.00 16,364 0 0 0
6 64.0 0.00 6,144 0 0 0
7 176.0 0.00 58,588 0 0 0
8 69.0 0.00 23,158 0 0 0
9 90.0 0.00 15,068 0 0 0
10 64.0 0.00 9,776 0 0 0
11 69.0 0.00 11,076 0 0 0
12 298.0 0.34 647,830 2 0 0
13 101.0 0.00 233,506 0 0 0
Rollback Segment Storage for DB: QLM3 Instance: orcl Snaps: 1 -2
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 401,408 0 401,408
1 4,186,112 540,690 4,194,304 4,186,112
2 4,186,112 663,298 4,194,304 4,186,112
3 4,186,112 536,369 4,194,304 4,186,112
4 4,186,112 552,957 4,194,304 4,186,112
5 4,186,112 566,795 4,194,304 4,186,112
6 4,186,112 565,140 4,194,304 4,186,112
7 4,186,112 524,103 4,194,304 4,186,112
8 251,854,848 534,027 251,854,848
9 48,447,488 630,996 48,447,488
10 29,810,688 609,701 29,810,688
11 21,823,488 531,386 21,823,488
12 30,875,648 1,398,641 30,875,648
13 15,720,448 4,922,485 20,963,328
Latch Activity for DB: QLM3 Instance: orcl Snaps: 1 -2
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Pct
Get Get Slps NoWait NoWait
Latch Name Requests Miss /Miss Requests Miss
active checkpoint queue latch 395 0.0 0
cache buffer handles 118 0.0 0
cache buffers chains 10,212,613 0.0 0.0 83,659 0.0
cache buffers lru chain 88,174 0.0 0.4 0
channel handle pool latch 18 0.0 23 0.0
channel operations parent lat 36 0.0 23 0.0
checkpoint queue latch 4,264 0.0 0
dml lock allocation 1,219 0.0 0
enqueue hash chains 3,289 0.0 0.0 0
enqueues 5,614 0.0 0
error message lists 9 0.0 0
event group latch 18 0.0 0
file number translation table 10 0.0 0
job_queue_processes parameter 8 0.0 0
ktm global data 3 0.0 0
latch wait list 36 0.0 36 0.0
library cache 287,494 0.1 0.2 92 0.0
library cache load lock 46 0.0 0
list of block allocation 774 0.0 0
loader state object freelist 72 0.0 0
longop free list 535 0.0 0
messages 3,858 0.0 0.0 0
multiblock read objects 11,104 0.0 0
ncodef allocation latch 8 0.0 0
parallel query alloc buffer 32 3.1 0.0 0
parallel query stats 6 0.0 0
parallel txn reco latch 3,083 0.0 0
process allocation 18 0.0 18 0.0
process group creation 41 0.0 0
process queue 18 0.0 0
process queue reference 2,886 0.0 14 0.0
query server freelists 27 0.0 0
query server process 4 0.0 4 0.0
redo allocation 10,454 0.0 0.0 0
redo writing 2,223 0.0 0
row cache objects 38,374 0.0 0.0 12 0.0
sequence cache 383 0.0 0
session allocation 3,315 0.1 1.3 0
session idle bit 128,781 0.0 0.0 0
session switching 8 0.0 0
session timer 149 0.0 0
shared pool 19,330 0.0 0.2 0
sort extent pool 172 0.0 0
Token Manager 904 0.0 12 0.0
transaction allocation 1,143 0.0 0
transaction branch allocation 8 0.0 0
undo global data 1,833 0.0 0
user lock 66 0.0 0
virtual circuit queues 22 0.0 0
Latch Activity for DB: QLM3 Instance: orcl Snaps: 1 -2
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Pct
Get Get Slps NoWait NoWait
Latch Name Requests Miss /Miss Requests Miss
Latch Sleep breakdown for DB: QLM3 Instance: orcl Snaps: 1 -2
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
cache buffers chains 10,212,613 224 9 217/5/2/0/0
library cache 287,494 211 44 176/29/3/3/0
cache buffers lru chain 88,174 20 8 16/0/4/0/0
shared pool 19,330 9 2 8/0/1/0/0
session allocation 3,315 3 4 1/1/0/1/0
Latch Miss Sources for DB: QLM3 Instance: orcl Snaps: 1 -2
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbgtcr: kslbegin 0 7 9
cache buffers chains kcbgtcr 0 2 0
cache buffers lru chain kcbbiop: lru scan 0 8 0
library cache kglic 0 24 2
library cache kglhdgn: child: 0 18 8
library cache kglget: child: KGLDSBYD 0 1 1
library cache kglpnal: child: alloc spac 0 1 1
session allocation ksuxds: KSUSFCLC not set 0 4 0
shared pool kghfrunp: alloc: clatch no 0 2 0
Dictionary Cache Stats for DB: QLM3 Instance: orcl Snaps: 1 -2
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final Pct
Cache Requests Miss Requests Miss Req Usage SGA
dc_constraints 0 0 0 188 99
dc_database_links 0 0 0 0 0
dc_files 0 0 0 16 94
dc_free_extents 26 23.1 9 0.0 19 2,072 99
dc_global_oids 0 0 0 28 62
dc_histogram_data 0 0 0 0 0
dc_histogram_data_valu 0 0 0 0 0
dc_histogram_defs 597 0.0 0 0 ###### 100
dc_object_ids 3,481 0.0 0 0 4,068 100
dc_objects 606 1.5 0 0 8,596 100
dc_outlines 0 0 0 0 0
dc_profiles 14 0.0 0 0 1 9
dc_rollback_segments 394 0.0 0 0 15 54
dc_segments 260 0.0 0 9 4,752 100
dc_sequence_grants 104 0.0 0 0 169 92
dc_sequences 183 0.0 0 169 36 86
dc_synonyms 280 5.7 0 0 4,343 100
dc_tablespace_quotas 33 0.0 0 9 18 23
dc_tablespaces 2,965 0.0 0 0 45 78
dc_used_extents 9 100.0 0 9 2,086 53
dc_user_grants 2,213 0.0 0 0 109 93
dc_usernames 289 0.0 0 0 131 99
dc_users 2,790 0.0 0 0 209 95
ifs_acl_cache_entries 0 0 0 0 0
Library Cache Activity for DB: QLM3 Instance: orcl Snaps: 1 -2
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 22 0.0 21 0.0 0 0
CLUSTER 0 0 0 0
INDEX 0 0 0 0
OBJECT 0 0 0 0
PIPE 0 0 0 0
SQL AREA 2,846 0.2 48,618 0.2 25 0
TABLE/PROCEDURE 7,107 0.2 29,746 0.2 3 0
TRIGGER 22 0.0 22 0.0 0 0
SGA Memory Summary for DB: QLM3 Instance: orcl Snaps: 1 -2
SGA regions Size in Bytes
Database Buffers 157,286,400
Fixed Size 75,804
Redo Buffers 172,032
Variable Size 185,597,952
sum 343,132,188
SGA breakdown difference for DB: QLM3 Instance: orcl Snaps: 1 -2
Pool Name Begin value End value Difference
java pool free memory 45,973,504 45,973,504 0
java pool memory in use 4,030,464 4,030,464 0
large pool free memory 614,400 614,400 0
shared pool db_block_buffers 2,611,200 2,611,200 0
shared pool db_block_hash_buckets 438,520 438,520 0
shared pool db_files 370,988 370,988 0
shared pool dictionary cache 21,129,860 21,141,516 11,656
shared pool event statistics per ses 774,000 774,000 0
shared pool fixed allocation callbac 640 640 0
shared pool free memory 15,115,180 16,081,664 966,484
shared pool joxlod: in ehe 91,888 91,888 0
shared pool joxlod: in phe 37,284 37,284 0
shared pool joxlod: init P 812 812 0
shared pool joxs heap init 4,248 4,248 0
shared pool KGFF heap 69,160 69,160 0
shared pool KGK heap 19,236 19,236 0
shared pool KQLS heap 8,262,784 8,225,444 -37,340
shared pool library cache 29,124,008 29,099,824 -24,184
shared pool miscellaneous 5,152,512 5,135,872 -16,640
shared pool partitioning d 203,808 185,716 -18,092
shared pool PLS non-lib hp 2,096 2,096 0
shared pool PL/SQL DIANA 3,668,952 3,659,000 -9,952
shared pool PL/SQL MPCODE 1,560,124 1,563,104 2,980
shared pool PL/SQL PPCODE 19,460 19,460 0
shared pool PX msg pool 46,572 46,572 0
shared pool PX subheap 11,612 11,612 0
shared pool sessions 485,100 485,100 0
shared pool sql area 45,274,860 44,405,220 -869,640
shared pool table columns 53,228 53,564 336
shared pool table definiti 16,748 15,428 -1,320
shared pool transaction_branches 368,000 368,000 0
shared pool trigger defini 41,236 36,948 -4,288
shared pool trigger inform 3,380 3,380 0
shared pool trigger source 572 572 0
shared pool type object de 1,600 1,600 0
shared pool view columns d 1,072 1,072 0
db_block_buffers 157,286,400 157,286,400 0
fixed_sga 75,804 75,804 0
log_buffer 163,840 163,840 0
init.ora Parameters for DB: QLM3 Instance: orcl Snaps: 1 -2
End value
Parameter Name Begin value (if different)
audit_trail TRUE
background_dump_dest E:\oracle\admin\QLM3\bdump
compatible 8.1.7.0
control_files E:\oracle\oradata\QLM3\control01.
cursor_sharing EXACT
db_block_buffers 19200
db_block_size 8192
db_file_multiblock_read_count 32
db_files 1024
db_name QLM3
distributed_transactions 500
global_names FALSE
instance_name ORCL
java_pool_size 50000000
job_queue_interval 10
job_queue_processes 4
large_pool_size 614400
log_buffer 163840
log_checkpoint_interval 5000
log_checkpoint_timeout 0
max_dump_file_size 10240
max_enabled_roles 30
mts_dispatchers (PROTOCOL=TCP)(PRE=oracle.aurora.
open_cursors 1000
open_links 4
oracle_trace_collection_name
os_authent_prefix
parallel_max_servers 8
processes 200
query_rewrite_enabled TRUE
query_rewrite_integrity TRUSTED
remote_login_passwordfile EXCLUSIVE
rollback_segments RBS10, RBS11, RBS12, RBS13, RBS14
service_names QLM3
shared_pool_size 128000000
sort_area_retained_size 128000
sort_area_size 128000
timed_statistics TRUE
user_dump_dest E:\oracle\admin\QLM3\udump
utl_file_dir c:\utl_file
End of Report.
Thanks for your help.
regards raitsarevoHi
I'm experienced any problem when our application run one transaction it becomes very slow, before it was speed and from yesterday it takes a lot of time to accomplish the transaction. That's why i analyze the problem with statspack and i've done also a trace. It's for my problem and for academic purpose too.
Many thanks for your help. -
Need suggestion on STATSPACK report
Problem:
Application running Very slow that too not consistent.
i am unable to find out where the problem persists.
I have given necessary details and attached Statspack report with this mail.
Need help very urgently...
Database Info.
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
System Information:
Item Value
OS Name Microsoft Windows 2000 Advanced Server
Version 5.0.2195 Service Pack 3 Build 2195
OS Manufacturer Microsoft Corporation
System Name NHOUSE
System Manufacturer HP
System Model ProLiant DL380 G3
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Windows Directory C:\WINNT
System Directory C:\WINNT\System32
Total Physical Memory 1,572,372 KB
Available Physical Memory 865,600 KB
Total Virtual Memory 5,086,520 KB
Available Virtual Memory 3,755,652 KB
Page File Space 3,514,148 KB
Page File C:\pagefile.sys
Other Info:
Shared Server Mode
No. of Instance Running : 1(ST011)
No. of Application running for this instance : 1 (Softtrack)
Database Type : OLTP (Order Entry System with report generations)
No of users : 2(Object Schema and AccessSchema)
File Placement :
All FIles placed in single disk since lack of disks.
StatsPack report:
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
ST011 1063661848 st011 1 9.2.0.1.0 NO NHOUSE
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 41 07-Aug-03 09:37:30 15 4.3
End Snap: 62 08-Aug-03 04:00:04 15 3.8
Elapsed: 1,102.57 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 136M Std Block Size: 8K
Shared Pool Size: 168M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 445.51 1,374.71
Logical reads: 870.05 2,684.69
Block changes: 2.11 6.51
Physical reads: 15.05 46.44
Physical writes: 4.02 12.42
User calls: 16.13 49.78
Parses: 5.49 16.93
Hard parses: 0.89 2.76
Sorts: 1.36 4.21
Logons: 0.00 0.01
Executes: 5.84 18.02
Transactions: 0.32
% Blocks changed per Read: 0.24 Recursive Call %: 57.93
Rollback per transaction %: 50.19 Rows per Sort: 148.29
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.01 In-memory Sort %: 99.59
Library Hit %: 93.31 Soft Parse %: 83.72
Execute to Parse %: 6.04 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 97.75 % Non-Parse CPU: 86.83
Shared Pool Statistics Begin End
Memory Usage %: 18.19 92.77
% SQL with executions>1: 47.57 41.10
% Memory for SQL w/exec>1: 44.60 42.30
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 1,025 46.80
control file parallel write 21,433 558 25.48
SQL*Net more data to client 495,625 181 8.27
log file parallel write 12,335 102 4.64
log file sync 10,697 89 4.06
Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file parallel write 21,433 0 558 26 1.0
SQL*Net more data to client 495,625 0 181 0 23.1
log file parallel write 12,335 12,030 102 8 0.6
log file sync 10,697 1 89 8 0.5
db file scattered read 75,969 0 81 1 3.5
direct path read 210,093 0 66 0 9.8
db file parallel write 2,480 1,240 51 21 0.1
db file sequential read 19,775 0 21 1 0.9
control file sequential read 17,629 0 6 0 0.8
direct path write 774 0 5 7 0.0
enqueue 9 0 2 231 0.0
SQL*Net break/reset to clien 2,552 0 1 1 0.1
log file sequential read 30 0 1 21 0.0
db file single write 32 0 0 11 0.0
switch logfile command 2 0 0 144 0.0
control file single write 5 0 0 29 0.0
log file single write 2 0 0 12 0.0
LGWR wait for redo copy 78 1 0 0 0.0
latch free 7 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 9 0 0 0 0.0
reliable message 3 0 0 0 0.0
undo segment extension 9 9 0 0 0.0
SQL*Net message from client 1,067,763 0 116,054 109 49.8
virtual circuit status 1,005,679 1,028 68,949 69 46.9
jobq slave wait 786 753 2,403 3057 0.0
SQL*Net more data from clien 5,972 0 4 1 0.3
SQL*Net message to client 1,067,776 0 3 0 49.8
Background Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file parallel write 21,376 0 556 26 1.0
log file parallel write 12,335 12,030 102 8 0.6
db file parallel write 2,480 1,240 51 21 0.1
control file sequential read 13,975 0 3 0 0.7
db file scattered read 220 0 1 3 0.0
log file sequential read 30 0 1 21 0.0
db file sequential read 231 0 1 2 0.0
direct path write 8 0 0 7 0.0
log file single write 2 0 0 12 0.0
direct path read 8 0 0 3 0.0
LGWR wait for redo copy 78 1 0 0 0.0
log file sync 1 0 0 11 0.0
rdbms ipc reply 42 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 4 0 0 0 0.0
rdbms ipc message 89,265 77,930 400,950 4492 4.2
smon timer 225 210 67,257 ###### 0.0
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
3,329,463 78 42,685.4 5.8 33.84 40.89 2765271770
select distinct s1.prospectna, s1.praddr1, s1.praddr2, s1.praddr
3, s1.prcity, s1.prstate from (select distinct a.oanno as uoanno
, decode(a.oanno,NUll,b.oandt,a.oandt) as uoandt, ltrim(rtrim(up
per(prospectna))) prospectna, decode(praddr1,null,' ',ltrim(rtri
m(upper(praddr1)))) as praddr1, decode(praddr2,null,' ',ltrim(rt
2,150,915 78 27,575.8 3.7 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
967,504 387 2,500.0 1.7 3.25 3.32 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
869,555 24 36,231.5 1.5 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
821,376 24 34,224.0 1.4 8.73 11.09 1011529824
select distinct ltrim(rtrim(upper(prospectna))) prospectna, deco
de(praddr1,null,' ',ltrim(rtrim(upper(praddr1)))) pr1, decode(pr
addr2,null,' ',ltrim(rtrim(upper(praddr2)))) pr2, decode(pradd
r3,null,' ',ltrim(rtrim(upper(praddr3)))) pr3, decode(prcity,nul
l ,' ', ltrim(rtrim(upper(prcity)))) prcity, decode(prstate,nul
774,701 30 25,823.4 1.3 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
761,959 30 25,398.6 1.3 7.63 8.27 1655857706
select distinct ltrim(rtrim(upper(prospectna))) prospectna,ltrim
(rtrim(upper(praddr1))) praddr1,ltrim(rtrim(upper(praddr2))) pra
ddr2,ltrim(rtrim(upper(praddr3))) praddr3,ltrim(rtrim(upper(prci
ty))) prcity,ltrim(rtrim(upper(prstate))) prstate from softdb.
oandetails a, softdb.oanudetails b, softdb.enquiryform, softdb.
650,627 21 30,982.2 1.1 6.92 7.12 4059808258
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
Module: SQL*Plus
INSERT into stats$sqltext ( hash_value
, text_subset , piece
, sql_text , address , comman
d_type , last_snap_id )
select st1.hash_value , ss.text_subset
397,508 159 2,500.1 0.7 1.64 1.57 1524142529
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
289,960 144,980 2.0 0.5 10.75 9.52 2091761008
select condition from cdef$ where rowid=:1
287,552 9 31,950.2 0.5 0.00 13.58 2301846564
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
broken BOOLEAN := FALSE; BEGIN statspack.snap; :mydate := next_d
ate; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
115,275 169 682.1 0.2 0.81 0.89 1682770808
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
95,008 38 2,500.2 0.2 0.39 0.36 3969207777
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
85,527 1 85,527.0 0.1 3.14 4.49 2005338978
BEGIN :RET_VAL := DBMS_METADATA.FETCH_CLOB(:HANDLE);
END;
85,314 1 85,314.0 0.1 3.13 4.30 3633453749
SELECT VALUE(KU$) XMLSCHEMA_T FROM SYS.KU$_XMLSCHEMA_VIEW KU$ WH
ERE KU$.OWNER_NAME='SOFTDB'
55,861 1 55,861.0 0.1 0.66 1.51 2026512687
select s1.* from (select a.oanno as uoanno, decode(a.oanno,NUll,
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
37,620 78 482.3 3.8 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
10,262 21 488.7 1.0 7.86 20.17 1017492279
Module: SQL*Plus
INSERT into stats$sql_summary ( snap_id
, dbid , instance_number , text_subset
, sharable_mem , sorts , modu
le , loaded_versions , fetches
, executions , loads , invalidations
10,249 22 465.9 1.0 7.70 20.12 2734029811
Module: SQL*Plus
INSERT into stats$sql_statistics ( snap_id
, dbid , instance_number , total_
sql , total_sql_mem , single_use_sql
, single_use_sql_mem ) select :
b3 , :b2 , :b1 , count(1)
6,164 24 256.8 0.6 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
3,625 30 120.8 0.4 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
3,582 7 511.7 0.4 0.17 1.10 2255532526
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN00
23120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and r
egndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Au
g-2003' and qtnno='00CHEN0023120'
3,110 8 388.8 0.3 1.39 17.41 2559037884
select a.itemdesc, a.mcslno, a.oanno, a.oandt, a.itemsrlno from
softdb.keytab a, softdb.oanups b where a.oanno = b.oanno(+) and
a.oandt = b.oandt(+) and a.itemsrlno = b.itemsrlno(+) and b.oann
o is null union select a.itemdesc, a.mcslno, a.oanno, a.oandt, a
.itemsrlno from softdb.keytab a, softdb.oanups b where a.oanno
2,359 7 337.0 0.2 0.14 0.44 2169388924
delete from softdb.commdeliaddr where regndt='07-Aug-2003' and r
egnno='00CHEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
023120' and commid not in (select commid from softdb.commdeliite
ms where regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtn
dt='07-Aug-2003' and qtnno='00CHEN0023120')
1,963 7 280.4 0.2 0.27 2.61 3352066490
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN0
023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and
regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-A
ug-2003' and qtnno='00CHEN0023120'
1,547 2 773.5 0.2 0.08 0.31 2526194774
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB0
023121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and
regndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-A
ug-2003' and qtnno='00MUMB0023121'
1,404 2 702.0 0.1 0.11 0.23 3517028935
select softdb.oanaddr.*, softdb.oanaddr.ROWID from softdb.oanadd
r where delflg='N' and commid is null
1,298 2 649.0 0.1 0.09 0.27 2203325864
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB00
23121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and r
egndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-Au
g-2003' and qtnno='00MUMB0023121'
1,261 6 210.2 0.1 0.05 0.15 576637004
delete from softdb.ordterms where commid is not null and regndt=
'07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Aug-2003'
and qtnno='00CHEN0023120' and commid not in (select commid from
softdb.commdeliitems where regndt='07-Aug-2003' and regnno='00C
HEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120')
1,244 6 207.3 0.1 0.06 0.15 563121091
select softdb.ordterms.*, softdb.ordterms.ROWID from softdb.or
dterms where delflg='N' and regndt ='07-Aug-2003' and regnno='
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
144,980 144,980 1.0 0.00 0.00 2091761008
select condition from cdef$ where rowid=:1
23,545 0 0.0 0.00 0.00 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
16,526 16,519 1.0 0.00 0.00 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
10,812 0 0.0 0.00 0.00 4031175624
alter session set isolation_level = read committed
8,449 13 0.0 0.00 0.00 2963598673
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
8,437 8,437 1.0 0.00 0.00 2964743345
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
4,152 4,152 1.0 0.00 0.00 3879177167
select :V00001 from dual
2,703 45,951 17.0 0.00 0.00 1947239399
Module: VPXDBA
/* OracleOEM */ select value from v$parameter where name in ('d
b_block_buffers','buffer_pool_keep','db_block_lru_latches','buff
er_pool_recycle', 'log_buffer','cursor_space_for_time','open_cur
sors','shared_pool_size', 'shared_pool_reserved_size','session_c
ached_cursors','parallel_min_servers', 'parallel_max_servers','s
2,533 628,184 248.0 0.00 0.00 71821313
Module: VPXDBA
/* OracleOEM */ select value from v$sysstat order by statistic#
2,532 2,532 1.0 0.00 0.00 3077298272
Module: VPXDBA
/* OracleOEM */ select sum(decode(name,'free memory',bytes)), su
m(bytes) from v$sgastat where pool='shared pool'
2,504 2,504 1.0 0.00 0.00 1818901441
Module: VPXDBA
/* OracleOEM */ select sum(decode(status,'ACTIVE',1,0)),sum(deco
de(status,'INACTIVE',1,0))from v$session
2,492 62,998 25.3 0.01 0.01 2080871317
Module: VPXDBA
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
/* OracleOEM */ select event,time_waited,total_waits, total_tim
eouts from v$system_event where event not in ('PX Idle Wait','p
mon timer','smon timer','rdbms ipc message', 'parallel dequeue w
ait', 'parallel query dequeue','virtual circuit', 'SQL*Net
message from client','SQL*Net message to client', 'SQL*Ne
2,389 37 0.0 0.00 0.00 4266807470
Module: VPXDBA
/* OracleOEM */ select event, count(*) from v$session_wait where
wait_time = 0 and event not in ('PX Idle Wait','pmon timer','s
mon timer','rdbms ipc message', 'parallel dequeue wait', 'parall
el query dequeue','virtual circuit', 'SQL*Net message from clien
t','SQL*Net message to client','SQL*Net more data to client', 'S
2,196 2,196 1.0 0.00 0.00 1903595484
Module: VPXDBA
/* OracleOEM */ select sum(pins), sum(pinhits), sum(reloads) fro
m v$librarycache
2,196 24,493 11.2 0.00 0.00 2352784315
Module: VPXDBA
/* OracleOEM */ SELECT s.sid, s.serial#, s.fixed_table_sequence,
s.status,NVL(s.username,bg.name), cpu.value tot_cpu, physio.va
lue phys_reads,parse.value hard_parse, mem.value pga,logio.v
alue log_reads FROM v$session s, v$bgprocess bg, (SELE
CT sid,value FROM v$sesstat WHERE statistic# = :1) cpu, (SEL
2,046 3,716 1.8 0.00 0.00 360204161
SELECT BUCKET, ENDPTHASH, ENDPTVAL, UTL_RAW.CAST_TO_
RAW(ENDPTVAL) ENDPTVAL_RAW FROM SYS.EXU8HSTU WHERE
POBJID = :1 AND INTCOL = :2 ORDER BY BUCKET
1,507 0 0.0 0.00 0.00 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 0 0.0 0.00 0.00 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
956 897 0.9 0.00 -0.00 2591785020
select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespa
ce=:3 and(remoteowner=:4 or remoteowner is null and :4 is null)a
nd(linkname=:5 or linkname is null and :5 is null)and(subname=:6
or subname is null and :6 is null)
939 1,479 1.6 0.00 0.00 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 1,055 1.1 0.00 0.00 4049165760
select order#,columns,types from access$ where d_obj#=:1
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
807 45,999 57.0 0.00 0.00 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
550 204 0.4 0.00 0.00 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
144,980 144,980 39.95 2091761008
select condition from cdef$ where rowid=:1
23,545 23,545 6.49 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
10,812 10,812 2.98 4031175624
alter session set isolation_level = read committed
4,152 4,152 1.14 3879177167
select :V00001 from dual
2,379 4 0.66 1635934014
insert into sys.col_usage$ values ( :objn, :coln, decode(bit
and(:flag,1),0,0,1), decode(bitand(:flag,2),0,0,1), decode(b
itand(:flag,4),0,0,1), decode(bitand(:flag,8),0,0,1), decode
(bitand(:flag,16),0,0,1), decode(bitand(:flag,32),0,0,1), :t
ime)
2,336 16,526 0.64 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
1,655 0 0.46 3877138136
SELECT softdb.logpslipitem.*, softdb.logpslipitem.ROWID FROM sof
tdb.logpslipitem
1,507 1,507 0.42 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 1,507 0.42 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
1,357 0 0.37 2921321908
SELECT softdb.keytab.*, softdb.keytab.ROWID FROM softdb.keytab
1,175 0 0.32 126022112
SELECT softdb.logpslip.*, softdb.logpslip.ROWID FROM softdb.logp
slip
1,175 0 0.32 3554166107
select * from softdb.logpslipitem
1,175 0 0.32 3928397926
select * from softdb.logpslip
939 939 0.26 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 939 0.26 4049165760
select order#,columns,types from access$ where d_obj#=:1
807 807 0.22 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
718 359 0.20 3882939652
INSERT INTO "SOFTDB"."MULTIUSER" ("REGNNO","PROCESSNAME","USRNAM
E","INSTLOCATION","MCNAME","IPADDR","REGNDT") VALUES (:V00001,:V
00002,:V00003,:V00004,:V00005,:V00006,:V00007)
650 325 0.18 3046100812
UPDATE "SOFTDB"."GENCOMMID" SET "GNO"=:V00001,"GDT"=:V00002 WHER
E "GNO"=:V00003 AND "GDT"=:V00004 AND "ROWID"=:V00005
550 550 0.15 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
510 510 0.14 3187596784
select rownum as srlno,softdb.keytab.itemdesc as item,1 as sets,
qty from (select itemsrlno,itemdesc,1 as qty,oanno,oandt from s
oftdb.oanups where delflg='N' and oandt='' and oanno=0 union se
lect itemsrlno,itemdesc,deliqty/delisets as qty, oanno,oandt fr
om softdb.oanbat where delflg='N' and oandt='' and oanno=0 and i
443 443 0.12 1781254858
DELETE multiuser where floor((((((sysdate-recentrytime)*24*60*60
)/3600)*3600)/60)*60) >='180'
443 443 0.12 3292238282
Select softdb.multiuser.*, softdb.multiuser.ROWID from softdb.mu
ltiuser
422 422 0.12 1919856422
select invcode, softdb.blocnmanager.ROWID from softdb.blocnmanag
er
390 195 0.11 2471695061
UPDATE "SOFTDB"."CUST_MAST" SET "CUST_LST_NO"=:V00001,"CUST_CST_
NO"=:V00002 WHERE "CUST_LST_NO" IS NULL AND "CUST_CST_NO" IS NUL
L AND "ROWID"=:V00003
387 387 0.11 620898497
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
387 387 0.11 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
CPU used by this session 102,453 1.6 4.8
CPU used when call started 102,366 1.6 4.8
CR blocks created 30 0.0 0.0
DBWR buffers scanned 1,184 0.0 0.1
DBWR checkpoint buffers written 7,748 0.1 0.4
DBWR checkpoints 9 0.0 0.0
DBWR free buffers found 1,184 0.0 0.1
DBWR lru scans 1 0.0 0.0
DBWR make free requests 1 0.0 0.0
DBWR summed scan depth 1,184 0.0 0.1
DBWR transaction table writes 295 0.0 0.0
DBWR undo block writes 1,681 0.0 0.1
SQL*Net roundtrips to/from client 1,979,199 29.9 92.3
active txn count during cleanout 682 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 74,152 1.1 3.5
buffer is not pinned count 45,599,192 689.3 2,126.9
buffer is pinned count 55,241,935 835.1 2,576.7
bytes received via SQL*Net from c 140,543,392 2,124.5 6,555.5
bytes sent via SQL*Net to client 16,971,012,142 256,538.0 791,595.3
calls to get snapshot scn: kcmgss 706,463 10.7 33.0
calls to kcmgas 20,519 0.3 1.0
calls to kcmgcs 591 0.0 0.0
change write time 175 0.0 0.0
cleanout - number of ktugct calls 866 0.0 0.0
cleanouts and rollbacks - consist 16 0.0 0.0
cleanouts only - consistent read 123 0.0 0.0
cluster key scan block gets 266,789 4.0 12.4
cluster key scans 104,922 1.6 4.9
commit cleanout failures: callbac 5 0.0 0.0
commit cleanouts 28,117 0.4 1.3
commit cleanouts successfully com 28,112 0.4 1.3
commit txn count during cleanout 458 0.0 0.0
consistent changes 295 0.0 0.0
consistent gets 57,426,682 868.1 2,678.6
consistent gets - examination 2,489,520 37.6 116.1
cursor authentications 27,054 0.4 1.3
data blocks consistent reads - un 283 0.0 0.0
db block changes 139,574 2.1 6.5
db block gets 130,344 2.0 6.1
deferred (CURRENT) block cleanout 17,394 0.3 0.8
dirty buffers inspected 3 0.0 0.0
enqueue conversions 583 0.0 0.0
enqueue releases 112,816 1.7 5.3
enqueue requests 112,817 1.7 5.3
enqueue waits 9 0.0 0.0
execute count 386,246 5.8 18.0
free buffer inspected 3 0.0 0.0
free buffer requested 578,165 8.7 27.0
hot buffers moved to head of LRU 3,435 0.1 0.2
immediate (CR) block cleanout app 139 0.0 0.0
immediate (CURRENT) block cleanou 3,076 0.1 0.1
index fast full scans (full) 602 0.0 0.0
index fetch by key 1,311,085 19.8 61.2
index scans kdiixs1 26,311,841 397.7 1,227.3
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
leaf node 90-10 splits 28 0.0 0.0
leaf node splits 272 0.0 0.0
logons cumulative 181 0.0 0.0
messages received 12,637 0.2 0.6
messages sent 12,637 0.2 0.6
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 28,721,411 434.2 1,339.7
opened cursors cumulative 327,186 5.0 15.3
parse count (failures) 6,872 0.1 0.3
parse count (hard) 59,067 0.9 2.8
parse count (total) 362,907 5.5 16.9
parse time cpu 13,489 0.2 0.6
parse time elapsed 13,800 0.2 0.6
physical reads 995,675 15.1 46.4
physical reads direct 426,595 6.5 19.9
physical writes 266,178 4.0 12.4
physical writes direct 258,427 3.9 12.1
physical writes non checkpoint 261,972 4.0 12.2
prefetched blocks 473,387 7.2 22.1
process last non-idle time 124,048,980,297 1,875,154.6 5,786,136.5
recovery blocks read 0 0.0 0.0
recursive calls 1,469,320 22.2 68.5
recursive cpu usage 5,757 0.1 0.3
redo blocks written 66,895 1.0 3.1
redo entries 73,459 1.1 3.4
redo size 29,472,392 445.5 1,374.7
redo synch time 8,922 0.1 0.4
redo synch writes 10,687 0.2 0.5
redo wastage 3,617,376 54.7 168.7
redo write time 9,727 0.2 0.5
redo writer latching time 3 0.0 0.0
redo writes 12,337 0.2 0.6
rollback changes - undo records a 22 0.0 0.0
rollbacks only - consistent read 19 0.0 0.0
rows fetched via callback 1,127,456 17.0 52.6
session connect time 124,048,980,297 1,875,154.6 5,786,136.5
session logical reads 57,557,026 870.1 2,684.7
session pga memory 428,308 6.5 20.0
session pga memory max 63,116 1.0 2.9
session uga memory 4,296,889,276 64,952.8 200,424.0
session uga memory max 123,298,368 1,863.8 5,751.1
shared hash latch upgrades - no w 26,310,630 397.7 1,227.2
sorts (disk) 367 0.0 0.0
sorts (memory) 89,870 1.4 4.2
sorts (rows) 13,381,553 202.3 624.2
summed dirty queue length 3 0.0 0.0
switch current to new buffer 6,910 0.1 0.3
table fetch by rowid 32,481,075 491.0 1,515.1
table fetch continued row 13,074 0.2 0.6
table scan blocks gotten 8,213,616 124.2 383.1
table scan rows gotten 303,670,060 4,590.4 14,164.4
table scans (long tables) 2,799 0.0 0.1
table scans (short tables) 76,890 1.2 3.6
transaction rollbacks 11 0.0 0.0
user calls 1,067,154 16.1 49.8
user commits 10,678 0.2 0.5
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
user rollbacks 10,761 0.2 0.5
workarea executions - onepass 803 0.0 0.0
workarea executions - optimal 126,987 1.9 5.9
write clones created in foregroun 2 0.0 0.0
Tablespace IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
TEMP
397,017 6 0.8 1.1 199,016 3 0 0.0
SOFTDB
91,699 1 1.0 6.1 1,823 0 0 0.0
USERS
450 0 5.3 1.0 2,524 0 0 0.0
SYSTEM
2,438 0 2.9 1.3 239 0 0 0.0
INDX
1,095 0 4.4 1.5 1,153 0 0 0.0
UNDOTBS1
3 0 13.3 1.0 2,017 0 8 0.0
XDB
74 0 4.9 1.1 1 0 0 0.0
DRSYS
3 0 6.7 1.0 1 0 0 0.0
TOOLS
3 0 6.7 1.0 1 0 0 0.0
File IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
DRSYS E:\ORACLE\ORADATA\ST011\DRSYS01.DBF
3 0 6.7 1.0 1 0 0
INDX E:\ORACLE\ORADATA\ST011\INDX01.DBF
1,095 0 4.4 1.5 1,153 0 0
SOFTDB E:\ORACLE\ORADATA\ST011\SOFTDB01.DBF
91,699 1 1.0 6.1 1,823 0 0
SYSTEM E:\ORACLE\ORADATA\ST011\SYSTEM01.DBF
2,438 0 2.9 1.3 239 0 0
TEMP E:\ORACLE\ORADATA\ST011\TEMP01.DBF
397,017 6 0.8 1.1 199,016 3 0
TOOLS E:\ORACLE\ORADATA\ST011\TOOLS01.DBF
3 0 6.7 1.0 1 0 0
UNDOTBS1 E:\ORACLE\ORADATA\ST011\UNDOTBS01.DBF
3 0 13.3 1.0 2,017 0 8 0.0
USERS E:\ORACLE\ORADATA\ST011\USERS01.DBF
450 0 5.3 1.0 2,524 0 0
XDB E:\ORACLE\ORADATA\ST011\XDB01.DBF
74 0 4.9 1.1 1 0 0
Buffer Pool Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 17,017 99.5 110,003,087 569,129 7,751 0 0 8
Instance Recovery Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 34 14 193 771 341 184320 341
E 34 14 141 727 20 184320 20
Buffer Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 16 .1 2,002 152.10 87,449,432
D 32 .2 4,004 87.09 50,071,540
D 48 .4 6,006 55.08 31,668,480
D 64 .5 8,008 36.93 21,232,658
D 80 .6 10,010 16.08 9,246,410
D 96 .7 12,012 6.32 3,635,060
D 112 .8 14,014 2.48 1,423,893
D 128 .9 16,016 1.09 627,130
D 136 1.0 17,017 1.00 574,935
D 144 1.1 18,018 0.96 552,001
D 160 1.2 20,020 0.91 525,903
D 176 1.3 22,022 0.90 518,390
D 192 1.4 24,024 0.90 518,390
D 208 1.5 26,026 0.90 518,390
D 224 1.6 28,028 0.90 518,390
D 240 1.8 30,030 0.90 518,390
D 256 1.9 32,032 0.90 518,390
D 272 2.0 34,034 0.90 518,390
D 288 2.1 36,036 0.90 518,390
D 304 2.2 38,038 0.90 518,390
D 320 2.4 40,040 0.90 518,390
Buffer wait Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
undo header 9 0 0
PGA Aggr Target Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
72.5 6,444 2,443
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 104 80 17.8 0.0 .0 .0 .0 5,324
E 104 81 18.5 0.0 .0 .0 .0 5,324
PGA Aggr Target Histogram for DB: ST011 Instance: st011 Snaps: 41 -62
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 119,925 119,925 0 0
16K 32K 1,796 1,796 0 0
32K 64K 147 147 0 0
64K 128K 1,167 1,167 0 0
128K 256K 562 562 0 0
256K 512K 647 615 32 0
512K 1024K 2,770 2,412 358 0
1M 2M 588 256 332 0
2M 4M 70 10 60 0
4M 8M 36 20 16 0
16M 32M 4 0 4 0
1G 2G 1 0 1 0
PGA Memory Advisory for DB: ST011 Instance: st011 End Snap: 62
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
13 0.1 1,552.2 362.1 81.0 27
26 0.3 1,552.2 85.5 95.0 0
52 0.5 1,552.2 74.5 95.0 0
78 0.8 1,552.2 74.5 95.0 0
104 1.0 1,552.2 55.1 97.0 0
125 1.2 1,552.2 0.0 100.0 0
146 1.4 1,552.2 0.0 100.0 0
166 1.6 1,552.2 0.0 100.0 0
187 1.8 1,552.2 0.0 100.0 0
208 2.0 1,552.2 0.0 100.0 0
312 3.0 1,552.2 0.0 100.0 0
416 4.0 1,552.2 0.0 100.0 0
624 6.0 1,552.2 0.0 100.0 0
832 8.0 1,552.2 0.0 100.0 0
Enqueue activity for DB: ST011 Instance: st011 Snaps: 41 -62
-> Enqueue stats gathered prior to 9i should not be compared with 9i data
-> ordered by Wait Time desc, Waits desc
Avg Wt Wait
Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
TC 40 40 0 8 254.13 2
PE 184 184 0 1 47.00 0
Rollback Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 246.0 0.00 0 0 0 0
1 2,947.0 0.00 1,268,846 4 1 1
2 3,520.0 0.00 1,003,166 18 3 6
3 3,511.0 0.00 973,498 18 1 3
4 2,662.0 0.00 1,010,600 4 0 1
5 3,941.0 0.03 1,042,464 20 3 8
6 3,474.0 0.00 1,106,576 21 1 6
7 2,546.0 0.00 756,036 15 3 4
8 3,943.0 0.00 1,112,166 22 3 11
9 3,368.0 0.00 832,596 14 2 4
10 3,039.0 0.20 971,780 20 3 14
Rollback Segment Storage for DB: ST011 Instance: st011 Snaps: 41 -62
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 1,171,456 191,840 2,220,032
2 385,024 78,348 516,096
3 450,560 112,391 450,560
4 2,220,032 101,425 2,220,032
5 778,240 134,380 843,776
6 647,168 78,286 647,168
7 319,488 86,191 581,632
8 516,096 90,060 778,240
9 516,096 49,626 516,096
10 450,560 132,513 647,168
Undo Segment Summary for DB: ST011 Instance: st011 Snaps: 41 -62
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 1,555 551,825 1,575 2 0 0 0/0/15/0/0/0
Undo Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
08-Aug 03:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 03:03 31 13,744 0 1 0 0 0/0/0/0/0/0
08-Aug 02:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 02:03 31 13,717 0 1 0 0 0/0/0/0/0/0
08-Aug 01:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 01:03 29 13,690 1 1 0 0 0/0/0/0/0/0
08-Aug 00:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 00:03 41 13,665 1 1 0 0 0/0/0/0/0/0
07-Aug 23:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 23:03 25 13,634 1 2 0 0 0/0/0/0/0/0
07-Aug 22:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 22:03 29 13,611 0 2 0 0 0/0/0/0/0/0
07-Aug 21:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 21:43 1 13,595 0 1 0 0 0/0/8/0/0/0
07-Aug 21:33 1 13,591 0 1 0 0 0/0/0/0/0/0
07-Aug 21:23 7 13,544 9 1 0 0 0/0/0/0/0/0
07-Aug 21:13 1 13,448 12 1 0 0 0/0/0/0/0/0
07-Aug 21:03 35 13,348 1 1 0 0 0/0/0/0/0/0
07-Aug 20:53 7 13,212 9 1 0 0 0/0/0/0/0/0
07-Aug 20:43 9 12,967 13 1 0 0 0/0/0/0/0/0
07-Aug 20:33 4 12,785 3 1 0 0 0/0/0/0/0/0
07-Aug 20:23 4 12,717 3 1 0 0 0/0/0/0/0/0
07-Aug 20:13 7 12,607 9 1 0 0 0/0/0/0/0/0
07-Aug 20:03 49 12,472 8 2 0 0 0/0/0/0/0/0
07-Aug 19:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 19:43 10 12,425 2 1 0 0 0/0/0/0/0/0
07-Aug 19:33 14 12,263 30 1 0 0 0/0/0/0/0/0
07-Aug 19:23 25 12,046 4 1 0 0 0/0/0/0/0/0
07-Aug 19:13 52 11,686 2 1 0 0 0/0/0/0/0/0
07-Aug 19:03 71 11,077 7 1 0 0 0/0/0/0/0/0
07-Aug 18:53 41 10,558 4 1 0 0 0/0/0/0/0/0
07-Aug 18:43 17 9,996 12 1 0 0 0/0/0/0/0/0
07-Aug 18:33 6 9,744 30 1 0 0 0/0/0/0/0/0
07-Aug 18:23 9 9,548 2 1 0 0 0/0/0/0/0/0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
Consistent RBA 12,338 0.0 0 0
FAL request queue 2 0.0 0 0
FAL subheap alocation 0 0 2 0.0
FIB s.o chain latch 72 0.0 0 0
FOB s.o list latch 388 0.0 0 0
JOX SGA heap latch 3,415 0.0 0 3,013 0.0
NLS data objects 3 0.0 0 0
QMT 1 0.0 0 0
SQL memory manager latch 21 0.0 0 21,360 0.0
SQL memory manager worka 1,455,705 0.0 0 0
Token Manager 0 0 2 0.0
active checkpoint queue 22,780 0.0 0 2 0.0
alert log latch 4 0.0 0 2 0.0
archive control 2,189 0.0 0 0
archive process latch 1,299 0.2 0.0 0 0
begin backup scn array 8 0.0 0 0
cache buffer handles 339,925 0.0 0 0
cache buffers chains 113,609,670 0.0 0.0 0 1,095,458 0.0
cache buffers lru chain 2,057,063 0.0 0 13,776 0.0
channel handle pool latc 194 0.0 0 0
channel operations paren 43,420 0.0 0 0
checkpoint queue latch 1,094,874 0.0 0.0 0 7,196 0.0
child cursor hash table 543,267 0.0 0 0
dml lock allocation 99,677 0.0 0 0
dummy allocation 362 2.8 0.0 0 0
enqueue hash chains 226,227 0.0 0 0
enqueues 235,237 0.0 0.0 0 0
event group latch 95 0.0 0 0
file number translation 699,304 0.0 0.0 0 0
hash table column usage 2,980 0.0 0 779,274 0.0
hash table modification 5 0.0 0 2 0.0
job workq parent latch 0 0 26 7.7
job_queue_processes para 745 0.0 0 2 0.0
kmcptab latch 1,788 0.0 0 0
kmcpvec latch 0 0 1,788 0.0
ksfv messages 0 0 4 0.0
ktm global data 260 0.0 0 0
lgwr LWN SCN 29,530 0.0 0 0
library cache 7,579,771 0.0 0.0 0 112,898 0.1
library cache load lock 5,302 0.0 0 0
library cache pin 3,098,174 0.0 0.0 0 0
library cache pin alloca 2,124,257 0.0 0.0 0 0
list of block allocation 321 0.0 0 0
loader state object free 1,186 0.0 0 0
longop free list parent 9 0.0 0 9 0.0
message pool operations 9 0.0 0 0
messages 209,721 0.2 0.0 0 0
mostly latch-free SCN 29,532 0.0 0.0 0 0
multiblock read objects 181,050 0.0 0 2 0.0
name-service namespace o 0 0 2 0.0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
ncodef allocation latch 1,065 0.0 0 0
object stats modificatio 357 0.0 0 2 0.0
post/wait queue 24,713 0.0 0 10,698 0.0
process allocation 95 0.0 0 95 0.0
process group creation 189 0.0 0 0
qm_init_sga 1 0.0 0 0
redo allocation 115,339 0.0 0.0 0 0
redo copy 0 0 73,511 0.1
redo writing 92,285 0.0 0 0
resumable state object 351 0.0 0 0
row cache enqueue latch 3,995,948 0.0 0.0 0 0
row cache objects 4,004,202 0.0 0 696 0.0
sequence cache 430 0.0 0 0
session allocation 292,885 0.0 0.0 0 0
session idle bit 2,269,446 0.0 0.0 0 0
session switching 1,065 0.0 0 0
session timer 22,218 0.0 0 0
shared java pool 860 0.0 0 0
shared pool 4,913,350 0.0 0.0 0 0
sim partition latch 0 0 110 0.0
simulator hash latch 4,433,428 0.0 0 0
simulator lru latch 43,829 0.0 0 33,464 0.0
sort extent pool 6,608 0.0 0 0
temp lob duration state 2 0.0 0 0
trace latch 13 0.0 0 0
transaction allocation 931,196 0.0 0 0
transaction branch alloc 1,065 0.0 0 0
undo global data 57,750 0.0 0.0 0 0
user lock 551 0.0 0 0
vecio buf des 0 0 2 0.0
virtual circuit buffers 10,648,289 0.2 0.0 0 0
virtual circuit queues 5,140,393 0.0 0.0 0 0
virtual circuits 1,824,349 0.0 0.0 0 0
Latch Sleep breakdown for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
virtual circuit buffers 10,648,289 19,024 3 19021/3/0/0/
0
shared pool 4,913,350 181 3 178/3/0/0/0
cache buffers chains 113,609,670 63 1 0/0/0/0/0
Latch Miss Sources for DB: ST011 Instance: st011 Snaps: 41 -62
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbgtcr: kslbegin excl 0 1 0
shared pool kghalo 0 3 3
virtual circuits kmcfms 0 1 1
virtual circuits kmcgms: if not shared serv 0 1 0
virtual circuits kmcmbf 0 1 1
Dictionary Cache Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_files 3,248 0.2 0 0 8
dc_global_oids 12,826 1.0 0 0 135
dc_histogram_defs 1,214,659 0.1 0 0 2,451
dc_object_ids 325,383 0.2 0 0 793
dc_objects 72,357 1.9 0 2 1,504
dc_profiles 125 0.0 0 0 1
dc_qmc_cache_entries 1 100.0 0 0 1
dc_rollback_segments 4,967 0.0 0 0 12
dc_segments 168,507 0.4 0 0 760
dc_sequences 8 37.5 0 8 2
dc_tablespace_quotas 5 40.0 0 5 2
dc_tablespaces 56,795 0.0 0 0 9
dc_user_grants 1,393 1.1 0 0 22
dc_usernames 70,029 0.0 0 0 15
dc_users 71,699 0.0 0 0 25
Library Cache Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 225 16.4 226 18.6 3 0
CLUSTER 1,272 0.3 1,008 0.8 0 0
JAVA DATA 2 100.0 9 44.4 0 0
SQL AREA 368,746 14.6 1,388,192 8.3 5,561 1
TABLE/PROCEDURE 114,852 1.3 375,552 0.9 494 0
TRIGGER 1,082 1.0 1,082 1.4 4 0
Shared Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid
Estd
Shared Pool SP Estd Estd Estd Lib LC Time
Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
96 .6 96 20,704 1,595 1.0 896,845
120 .7 119 25,821 1,596 1.0 898,184
144 .9 142 30,844 1,596 1.0 899,133
168 1.0 165 35,862 1,597 1.0 900,259
192 1.1 188 41,079 1,598 1.0 901,912
216 1.3 215 47,275 1,598 1.0 902,360
240 1.4 238 52,517 1,598 1.0 903,089
264 1.6 261 58,043 1,598 1.0 903,310
288 1.7 284 63,632 1,598 1.0 903,711
312 1.9 307 69,230 1,598 1.0 904,029
336 2.0 338 76,368 1,598 1.0 904,158
SGA Memory Summary for DB: ST011 Instance: st011 Snaps: 41 -62
SGA regions Size in Bytes
Database Buffers 142,606,336
Fixed Size 454,356
Redo Buffers 667,648
Variable Size 486,539,264
sum 630,267,604
SGA breakdown difference for DB: ST011 Instance: st011 Snaps: 41 -62
Pool Name Begin value End value % Diff
java free memory 33,554,432 30,031,872 -10.50
large free memory 24,861,188 24,957,400 0.39
large session heap 304,636 208,424 -31.58
shared 1M buffer 2,098,176 2,098,176 0.00
shared FileOpenBlock 695,504 695,504 0.00
shared KGK heap 3,756 3,756 0.00
shared KGLS heap 1,652,428 2,590,108 56.75
shared KQR M PO 861,220 2,452,776 184.80
shared KQR S PO 77,148 239,708 210.71
shared KQR S SO 1,792 5,632 214.29
shared KSXR pending messages que 841,036 841,036 0.00
shared KSXR receive buffers 1,033,000 1,033,000 0.00
shared MTTR advisory 25,400 29,636 16.68
shared PL/SQL DIANA 625,620 951,760 52.13
shared PL/SQL MPCODE 358,152 902,912 152.10
shared PLS non-lib hp 2,068 2,068 0.00
shared dictionary cache 1,610,880 1,610,880 0.00
shared errors 25,144 46,460 84.78
shared event statistics per sess 1,718,360 1,718,360 0.00
shared fixed allocation callback 220 220 0.00
shared free memory 157,840,156 13,956,720 -91.16
shared joxs heap init 4,220 4,220 0.00
shared kgl simulator 694,520 9,560,380 #######
shared library cache 4,829,312 39,226,604 712.26
shared message pool freequeue 834,752 834,752 0.00
shared miscellaneous 5,094,676 7,076,492 38.90
shared parameters 5,220 32,976 531.72
shared sessions 410,720 410,720 0.00
shared sim memory hea 93,176 93,176 0.00
shared sql area 9,864,252 100,764,460 921.51
shared table definiti 2,040 5,920 190.20
shared trigger defini 1,888 2,208 16.95
shared trigger inform 1,108 1,324 19.49
shared trigger source 160 1,168 630.00
buffer_cache 142,606,336 142,606,336 0.00
fixed_sga 454,356 454,356 0.00
log_buffer 656,384 656,384 0.00
init.ora Parameters for DB: ST011 Instance: st011 Snaps: 41 -62
End value
Parameter Name Begin value (if different)
background_dump_dest E:\oracle\admin\ST011\bdump
compatible 9.2.0.1.0
control_files E:\oracle\oradata\ST011\control01
core_dump_dest E:\oracle\admin\ST011\cdump
db_block_size 8192
db_cache_size 142606336
db_domain
db_file_multiblock_read_count 16 8
db_name ST011
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 300
hash_join_enabled TRUE
instance_name ST011
java_pool_size 33554432
job_queue_processes 0 5
large_pool_size 25165824
log_archive_dest_1 LOCATION=E:\oracle\oradata\ST011\
log_archive_format %t_%s.dbf
log_archive_start TRUE
open_cursors 300
pga_aggregate_target 109051904
processes 150
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
sga_max_size 630267604
shared_pool_size 176160768
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest E:\oracle\admin\ST011\udump
End of ReportFrederic's right... you're summing up too many statspacks ..
Can't see anything specific apart from the fact that Statspack itself is showing up in the top statements.
First : define 'Slow' . What is your goal for 'Ok' ?
Start thinking about sql_trace, tkprof and 10046 traces -
Hai
We are using oracle 9i R1.
I used to run statspack report every one hour.
Go through the following report and let me know what is wrong in this report. Because our server getting very slow day by day.
Mostly I changed.
If you find anything wrong in the server parameter defined, please let me know to correct that.
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
VPNEW 2611038567 vpnew 1 9.0.1.1.1 NO VP_NEW
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 1015 09-Jul-13 14:00:04 54 5.1
End Snap: 1017 09-Jul-13 16:00:07 61 6.8
Elapsed: 120.05 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 256M Std Block Size: 4K
Shared Pool Size: 272M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 164,452.25 27,998.24
Logical reads: 82,680.73 14,076.52
Block changes: 1,137.91 193.73
Physical reads: 1,811.63 308.43
Physical writes: 273.75 46.61
User calls: 1,265.18 215.40
Parses: 92.74 15.79
Hard parses: 3.59 0.61
Sorts: 65.27 11.11
Logons: 0.08 0.01
Executes: 103.01 17.54
Transactions: 5.87
% Blocks changed per Read: 1.38 Recursive Call %: 15.70
Rollback per transaction %: 64.39 Rows per Sort: 18.06
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: 97.81 In-memory Sort %: 100.00
Library Hit %: 97.24 Soft Parse %: 96.13
Execute to Parse %: 9.97 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 43.49 % Non-Parse CPU: 99.98
Shared Pool Statistics Begin End
Memory Usage %: 90.47 82.23
% SQL with executions>1: 47.34 54.83
% Memory for SQL w/exec>1: 38.21 35.60
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total
Event Waits Time (s) Wt Time
db file scattered read 1,722,742 3,967 48.06
db file sequential read 641,575 2,397 29.05
db file parallel write 6,744 636 7.70
buffer busy waits 68,542 361 4.37
async disk IO 91,243 216 2.61
Wait Events for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file scattered read 1,722,742 0 3,967 2 40.7
db file sequential read 641,575 0 2,397 4 15.2
db file parallel write 6,744 6,744 636 94 0.2
buffer busy waits 68,542 9 361 5 1.6
async disk IO 91,243 0 216 2 2.2
SQL*Net message from dblink 13,432 0 215 16 0.3
direct path write 102,953 0 177 2 2.4
log file parallel write 30,747 28,702 121 4 0.7
log file sync 10,359 9 74 7 0.2
control file parallel write 2,489 0 30 12 0.1
direct path read 3,531 0 28 8 0.1
SQL*Net more data from dblin 45,347 0 17 0 1.1
control file sequential read 669 0 7 10 0.0
latch free 873 506 2 2 0.0
direct path read (lob) 41 0 1 35 0.0
log file switch completion 14 0 1 99 0.0
SQL*Net more data to client 98,580 0 1 0 2.3
local write wait 46 0 0 10 0.0
SQL*Net more data to dblink 1,852 0 0 0 0.0
log file single write 22 0 0 6 0.0
log file sequential read 11 0 0 8 0.0
db file parallel read 7 0 0 7 0.0
single-task message 2 0 0 15 0.0
SQL*Net break/reset to clien 96 0 0 0 0.0
SQL*Net message to dblink 13,432 0 0 0 0.3
library cache pin 3 0 0 0 0.0
LGWR wait for redo copy 18 0 0 0 0.0
library cache load lock 1 0 0 0 0.0
SQL*Net message from client 9,199,880 0 198,874 22 217.5
virtual circuit status 240 240 7,602 31677 0.0
jobq slave wait 288 275 870 3021 0.0
SQL*Net message to client 9,199,888 0 6 0 217.5
SQL*Net more data from clien 58 0 0 1 0.0
Background Wait Events for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file parallel write 6,744 6,744 636 94 0.2
log file parallel write 30,749 28,704 121 4 0.7
control file parallel write 2,435 0 30 12 0.1
control file sequential read 198 0 3 17 0.0
db file scattered read 386 0 2 5 0.0
db file sequential read 176 0 1 4 0.0
async disk IO 34 0 0 13 0.0
latch free 54 54 0 5 0.0
direct path write 99 0 0 3 0.0
buffer busy waits 4 0 0 46 0.0
direct path read 99 0 0 2 0.0
log file single write 22 0 0 6 0.0
log file sequential read 11 0 0 8 0.0
rdbms ipc reply 4 0 0 17 0.0
LGWR wait for redo copy 18 0 0 0 0.0
rdbms ipc message 71,793 39,898 26,717 372 1.7
pmon timer 2,814 2,814 7,639 2715 0.1
smon timer 27 19 7,560 ###### 0.0
SQL ordered by Gets for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
33,925,100 9,024 3,759.4 5.7 27.02 27.20 1447967143
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=1 AND PRINTFLAG='Y' AND ITEMCODE I
N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND ITEM
CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=1 AN
D PRINTFLAG='Y')) AND COMPLETEFLAG='N' AND STCODE<>99
33,924,281 9,025 3,758.9 5.7 26.97 26.95 1309894166
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=1 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=1 ))
AND COMPLETEFLAG='N' AND STCODE<>99
22,431,010 118 190,093.3 3.8 21.45 29.65 4290300977
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=5 AND BILLNO>23095 AND DT>TO_DATE('01-APR-2013','D
17,110,508 90 190,116.8 2.9 16.31 18.13 2323191576
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=5 AND BILLNO>23102 AND DT>TO_DATE('01-APR-2013','D
14,067,208 74 190,097.4 2.4 13.45 20.54 2902528758
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=8 AND BILLNO>40735 AND DT>TO_DATE('01-APR-2013','D
11,243,815 93 120,901.2 1.9 660.27 663.46 2303099111
SELECT RCODE, RNAME FROM RAWMATERIAL WHERE RCODE IN ( SELECT RCO
DE FROM RAWSTOCKDATES WHERE WEEKDAY=3) AND RCODE NOT IN (SELECT
RCODE FROM STOCKONDATES WHERE TO_CHAR(STKDATE)='09-JUL-13') AN
D PRINTFLAG='Y' ORDER BY RNAME ASC
9,840,558 2,405 4,091.7 1.7 294.66 3540.26 2266490527
SELECT NVL(MAX(BACKUPDATE),SYSDATE) FROM TRACKBACKUP_LINKWITHSER
VER
9,314,803 49 190,098.0 1.6 8.92 14.44 1477811350
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
SQL ordered by Gets for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
WHERE CCODE=7 AND BILLNO>52592 AND DT>TO_DATE('01-APR-2013','D
9,125,204 48 190,108.4 1.5 4.27 12.89 1951526474
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=1 AND BILLNO>51127 AND DT>TO_DATE('01-APR-2013','D
6,653,430 35 190,098.0 1.1 6.38 8.33 2980657600
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=3 AND BILLNO>53038 AND DT>TO_DATE('01-APR-2013','D
5,513,426 29 190,118.1 0.9 5.30 5.85 2709561073
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=3 AND BILLNO>53050 AND DT>TO_DATE('01-APR-2013','D
5,323,236 28 190,115.6 0.9 4.94 5.51 1289003277
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=7 AND BILLNO>52607 AND DT>TO_DATE('01-APR-2013','D
5,322,812 28 190,100.4 0.9 5.02 5.72 928495952
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
(STCODE,CUSTID) IN(SELECT STCODE,CUSTID FROM HANDPOS.ORDERMASTER
WHERE CCODE=3 AND BILLNO>53042 AND DT>TO_DATE('01-APR-2013','D
4,943,192 26 190,122.8 0.8 4.67 5.19 2263910287
SELECT CDATE,CUSTID,STCODE,KOTNO,ITEMCODE,QTY,SPECODE,REASON,CAN
CELPRINTFLAG FROM HANDPOS.CANCELITEMDETAILS WHERE (STCODE,CUSTID
) IN( SELECT STCODE,CUSTID FROM HANDPOS.CANCELITEMDETAILS WHERE
SQL ordered by Reads for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
8,401,181 2,405 3,493.2 64.4 294.66 3540.26 2266490527
SELECT NVL(MAX(BACKUPDATE),SYSDATE) FROM TRACKBACKUP_LINKWITHSER
VER
150,474 9 16,719.3 1.2 0.02 0.11 420004354
begin HSBSTORE.APPEND_RAWMATERIAL_TO_GLOBAL; end;
150,265 9 16,696.1 1.2 2.97 33.74 631228335
SELECT * FROM TRACK_RAWMATERIAL WHERE MODIFIED_TIME > :b1 AND AC
TION='U' ORDER BY RCODE
126,600 6 21,100.0 1.0 1.05 12.98 2926197014
SELECT PAYMENTDESCRIPTION PARTICULARS,SUM(PAIDAMOUNT) PAIDAMOUN
T FROM SERVERSALES.PAIDMASTER A, SERVERSALES.PAIDDETAIL B, SE
RVERSALES.PAYMENTMASTER C WHERE A.PAYMENTID=B.PAYMENTID AND B.PA
YCODE=C.PAYCODE AND A.CCODE=7 AND BCODE=131132 AND PAYMENTDATE
BETWEEN TO_DATE('09-JUL-13 00:00:00','DD-MON-YY HH24:MI:SS')
104,975 1 104,975.0 0.8 11.59 35.97 602985589
SELECT /*+NESTED_TABLE_GET_REFS+*/ "HSBSTORE"."TRACK_SYSADM".* F
ROM "HSBSTORE"."TRACK_SYSADM"
99,198 2 49,599.0 0.8 1.83 6.61 2045198349
SELECT NVL(MAX(KOTNO),1) MAXKOTNO FROM ORDERDETAIL WHERE STCODE=
37
96,222 12 8,018.5 0.7 0.00 0.08 1123445213
begin RETMAXCUSTID(:V00001,:V00002,:V00003,:V00004); end;
88,052 4 22,013.0 0.7 0.77 9.02 4195209649
SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
, SERVERSALES.PAIDDETAIL B, SERVERSALES.PAYMENTMASTER C WHERE
A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
ND BCODE = 131132 AND PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
0:00:00','DD-MON-YY HH24:MI:SS') AND TO_DATE('09-JUL-13 23:59:
79,044 4 19,761.0 0.6 0.77 9.25 1459194232
SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
, SERVERSALES.PAIDDETAIL B, SERVERSALES.PAYMENTMASTER C WHERE
A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
ND BCODE = 131132 AND PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
0:00:00','DD-MON-YY HH24:MI:SS') AND TO_DATE('09-JUL-13 23:59:
72,142 4 18,035.5 0.6 0.88 12.63 2744348950
SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
, SERVERSALES.PAIDDETAIL B, SERVERSALES.PAYMENTMASTER C WHERE
A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
ND BCODE = 131132 AND PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
0:00:00','DD-MON-YY HH24:MI:SS') AND TO_DATE('09-JUL-13 23:59:
70,194 4 17,548.5 0.5 0.89 12.47 768206854
SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
, SERVERSALES.PAIDDETAIL B, SERVERSALES.PAYMENTMASTER C WHERE
A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=7 A
SQL ordered by Reads for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
ND BCODE = 131132 AND PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
0:00:00','DD-MON-YY HH24:MI:SS') AND TO_DATE('09-JUL-13 23:59:
55,628 7 7,946.9 0.4 2.09 41.25 3227129102
SELECT NVL(MAX(CUSTID),-99) FROM ORDERMASTER WHERE STCODE =:b1
AND LENGTH(CUSTID)<=10
54,748 28 1,955.3 0.4 2.39 70.19 511029918
SELECT EMPLOYEE_CODE,DUTY,DUTYCODE,RESIGNED_ON FROM BRANCHHR.PER
INFO WHERE EMPLOYEE_CODE IN (SELECT EMPLOYEE_CODE FROM HDEMPMA
STER WHERE RESIGNED_ON IS NULL)
49,600 1 49,600.0 0.4 0.91 5.06 1047519405
SELECT NVL(MAX(KOTNO),1) MAXKOTNO FROM ORDERDETAIL WHERE STCODE=
12
49,599 1 49,599.0 0.4 3.02 9.51 3958879593
SELECT /*+NESTED_TABLE_GET_REFS+*/ "HANDPOS"."ORDERDETAIL".* FRO
M "HANDPOS"."ORDERDETAIL"
48,834 3 16,278.0 0.4 0.58 5.88 1917766718
SELECT PAYMENTDESCRIPTION PARTICULARS,SUM(PAIDAMOUNT) PAIDAMOUN
T FROM SERVERSALES.PAIDMASTER A, SERVERSALES.PAIDDETAIL B, SE
RVERSALES.PAYMENTMASTER C WHERE A.PAYMENTID=B.PAYMENTID AND B.PA
YCODE=C.PAYCODE AND A.CCODE=8 AND BCODE=136559 AND PAYMENTDATE
BETWEEN TO_DATE('09-JUL-13 00:00:00','DD-MON-YY HH24:MI:SS')
44,488 2 22,244.0 0.3 0.22 2.00 3747323840
SELECT SUM(PAIDAMOUNT) PAIDAMOUNT FROM SERVERSALES.PAIDMASTER A
, SERVERSALES.PAIDDETAIL B, SERVERSALES.PAYMENTMASTER C WHERE
A.PAYMENTID=B.PAYMENTID AND B.PAYCODE=C.PAYCODE AND A.CCODE=8 A
ND BCODE = 136559 AND PAYMENTDATE BETWEEN TO_DATE('09-JUL-13 0
0:00:00','DD-MON-YY HH24:MI:SS') AND TO_DATE('09-JUL-13 23:59:
40,584 5 8,116.8 0.3 1.45 13.45 1312824138
SELECT NVL(MAX(CUSTID),0)+1 FROM ORDERMASTER WHERE STCODE = :b1
AND LENGTH(CUSTID)<=10
36,876 2 18,438.0 0.3 0.33 1.72 3823361077
SELECT A.BCODE,CCODE, COUNT(BILLNO) TOTCANCELBILL, SUM(TOTALAM
T+STAXAMT+SURCHARGE+CARSERVICECHARGE+SERVICECHARGE+SERVICETAX+EC
ESS+HECESS+VATFORSVTAX) TOTCANCELAMT FROM SERVERSALES.BILLMAST
ER A WHERE CANCELFLAG='Y' AND TO_CHAR(BACKUPDATE,'DD-MON-YY')=
'09-JUL-13' AND A.BCODE=136559 GROUP BY CCODE,A.BCODE ORDER BY
36,876 2 18,438.0 0.3 0.30 1.75 3906601815
SELECT A.BCODE, CCODE,MIN(BILLNO) STBILL,MAX(BILLNO) CLBILL,COUN
T(BILLNO) TOTBILL, SUM(TOTALAMT+STAXAMT+SURCHARGE+CARSERVICECH
ARGE+SERVICECHARGE+SERVICETAX+ECESS+HECESS+VATFORSVTAX) AMT FR
SQL ordered by Executions for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
34,419 34,419 1.0 0.00 0.00 12926889
SELECT UPLOAD_ALERT_HOUR FROM SYSADM WHERE 1 = 1
34,418 34,418 1.0 0.00 0.00 192561540
SELECT SPONGE_UPLOAD_LOCK FROM SYSADM WHERE 1 = 1
32,770 32,770 1.0 0.00 0.00 2091761008
select condition from cdef$ where rowid=:1
27,348 27,348 1.0 0.00 0.00 1808965695
SELECT * FROM SYSADM
14,781 14,817 1.0 0.00 0.00 2044415509
select longname from javasnm$ where short = :1
14,375 0 0.0 0.00 0.00 4031175624
alter session set isolation_level = read committed
12,921 12,921 1.0 0.00 0.00 2775403064
begin DMLQUERY_TODATABASE(:V00001,:V00002,:V00003); end;
12,838 0 0.0 0.00 0.00 1470906206
ROLLBACK
10,833 12,026 1.1 0.00 0.00 2085632044
select intcol#,nvl(pos#,0),col# from ccol$ where con#=:1
9,176 0 0.0 0.00 0.00 919183084
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(2) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 0 0.0 0.00 0.00 1097989943
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(5) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 13 0.0 0.00 0.00 1466519777
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE I
N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND ITEM
CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
D PRINTFLAG='Y')) AND COMPLETEFLAG='N' AND STCODE<>99
9,176 1 0.0 0.00 0.00 2427401293
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
SQL ordered by Executions for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
9,176 10 0.0 0.00 0.00 2442976822
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
AND COMPLETEFLAG='N' AND STCODE<>99
9,176 0 0.0 0.00 0.00 2533195368
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(6) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 0 0.0 0.00 0.00 2717690733
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 0 0.0 0.00 0.00 4184698325
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(5) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
AND COMPLETEFLAG='N' AND STCODE<>99
9,175 39 0.0 0.00 0.00 2323513381
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE I
N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND ITEM
CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
D PRINTFLAG='Y')) AND COMPLETEFLAG='N' AND STCODE<>99
9,175 0 0.0 0.00 0.00 2395870663
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND COMPLETEFLA
G='N' AND STCODE=99
9,149 0 0.0 0.00 0.00 2767419325
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=3 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(6) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=3 ))
AND COMPLETEFLAG='N' AND (STCODE<>99 AND PARCELORDERFLAG='Y')
9,149 0 0.0 0.00 0.00 3140978821
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=3 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
SQL ordered by Parse Calls for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
34,419 34,419 0.05 12926889
SELECT UPLOAD_ALERT_HOUR FROM SYSADM WHERE 1 = 1
34,418 34,418 0.05 192561540
SELECT SPONGE_UPLOAD_LOCK FROM SYSADM WHERE 1 = 1
32,770 32,770 0.05 2091761008
select condition from cdef$ where rowid=:1
27,346 27,348 0.04 1808965695
SELECT * FROM SYSADM
25,842 12,921 0.04 2775403064
begin DMLQUERY_TODATABASE(:V00001,:V00002,:V00003); end;
14,375 14,375 0.02 4031175624
alter session set isolation_level = read committed
9,176 9,176 0.01 919183084
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(2) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 9,176 0.01 1097989943
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(5) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 9,176 0.01 1466519777
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE I
N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND ITEM
CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
D PRINTFLAG='Y')) AND COMPLETEFLAG='N' AND STCODE<>99
9,176 9,176 0.01 2427401293
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 9,176 0.01 2442976822
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(2) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
AND COMPLETEFLAG='N' AND STCODE<>99
9,176 9,176 0.01 2533195368
SQL ordered by Parse Calls for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(6) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 9,176 0.01 2717690733
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=2 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(4) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=2 AND CA
NCELPRINTFLAG='N'))
9,176 9,176 0.01 4184698325
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(5) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 ))
AND COMPLETEFLAG='N' AND STCODE<>99
9,175 9,175 0.01 2323513381
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND ITEMCODE I
N(SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(1) AND ITEM
CODE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=2 AN
D PRINTFLAG='Y')) AND COMPLETEFLAG='N' AND STCODE<>99
9,175 9,175 0.01 2395870663
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO, DUPPRINTFLAG FROM TE
MPORDERDETAIL WHERE HALLCODE=2 AND PRINTFLAG='Y' AND COMPLETEFLA
G='N' AND STCODE=99
9,149 9,149 0.01 2767419325
SELECT DISTINCT STCODE,CUSTID,SPCODE,KOTNO,DUPPRINTFLAG FROM TEM
PORDERDETAIL WHERE HALLCODE=3 AND PRINTFLAG='Y' AND ITEMCODE IN(
SELECT ITEMCODE FROM IMASTER WHERE KITCHENCODE IN(6) AND ITEMCO
DE IN(SELECT ITEMCODE FROM TEMPORDERDETAIL WHERE HALLCODE=3 ))
AND COMPLETEFLAG='N' AND (STCODE<>99 AND PARCELORDERFLAG='Y')
9,149 9,149 0.01 3140978821
SELECT DISTINCT STCODE,CUSTID,KOTNO FROM TEMPCANCELITEMDETAIL W
HERE HALLCODE=3 AND CANCELPRINTFLAG='N' AND ITEMCODE IN(SELECT I
TEMCODE FROM IMASTER WHERE KITCHENCODE IN(5) AND ITEMCODE IN(S
ELECT ITEMCODE FROM TEMPCANCELITEMDETAIL WHERE HALLCODE=3 AND CA
NCELPRINTFLAG='N'))
Instance Activity Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
Statistic Total per Second per Trans
CPU used by this session 186,515 25.9 4.4
CPU used when call started 186,516 25.9 4.4
CR blocks created 1,003 0.1 0.0
Cached Commit SCN referenced 49,515 6.9 1.2
DBWR buffers scanned 488,255 67.8 11.5
DBWR checkpoint buffers written 111,100 15.4 2.6
DBWR checkpoints 11 0.0 0.0
DBWR free buffers found 321,996 44.7 7.6
DBWR lru scans 220 0.0 0.0
DBWR make free requests 221 0.0 0.0
DBWR summed scan depth 488,255 67.8 11.5
DBWR transaction table writes 128 0.0 0.0
DBWR undo block writes 178,539 24.8 4.2
SQL*Net roundtrips to/from client 9,198,173 1,277.0 217.4
SQL*Net roundtrips to/from dblink 13,432 1.9 0.3
background checkpoints completed 11 0.0 0.0
background checkpoints started 11 0.0 0.0
background timeouts 8,452 1.2 0.2
branch node splits 2 0.0 0.0
buffer is not pinned count 302,135,166 41,945.7 7,141.3
buffer is pinned count 8,788,152 1,220.1 207.7
bytes received via SQL*Net from c 1,083,084,928 150,365.8 25,600.0
bytes received via SQL*Net from d 95,665,748 13,281.4 2,261.2
bytes sent via SQL*Net to client 4,111,695,608 570,831.0 97,184.8
bytes sent via SQL*Net to dblink 7,485,552 1,039.2 176.9
calls to get snapshot scn: kcmgss 761,425 105.7 18.0
calls to kcmgas 75,988 10.6 1.8
calls to kcmgcs 3,283 0.5 0.1
change write time 655 0.1 0.0
cleanouts and rollbacks - consist 17 0.0 0.0
cleanouts only - consistent read 45,735 6.4 1.1
cluster key scan block gets 651,950 90.5 15.4
cluster key scans 299,206 41.5 7.1
commit cleanout failures: block l 1,264 0.2 0.0
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callbac 1 0.0 0.0
commit cleanout failures: cannot 6 0.0 0.0
commit cleanouts 34,036 4.7 0.8
commit cleanouts successfully com 32,765 4.6 0.8
consistent changes 1,097 0.2 0.0
consistent gets 585,710,907 81,314.9 13,844.0
consistent gets - examination 526,721,311 73,125.3 12,449.7
current blocks converted for CR 0 0.0 0.0
cursor authentications 26,373 3.7 0.6
data blocks consistent reads - un 1,062 0.2 0.0
db block changes 8,196,333 1,137.9 193.7
db block gets 9,838,496 1,365.9 232.5
deferred (CURRENT) block cleanout 62,521 8.7 1.5
dirty buffers inspected 40,579 5.6 1.0
enqueue conversions 15,038 2.1 0.4
enqueue releases 81,698 11.3 1.9
enqueue requests 81,698 11.3 1.9
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 741,982 103.0 17.5
free buffer inspected 56,063 7.8 1.3
Instance Activity Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
Statistic Total per Second per Trans
free buffer requested 13,260,577 1,841.0 313.4
hot buffers moved to head of LRU 97,066 13.5 2.3
immediate (CR) block cleanout app 45,752 6.4 1.1
immediate (CURRENT) block cleanou 30,321 4.2 0.7
index fast full scans (full) 53 0.0 0.0
leaf node splits 198 0.0 0.0
logons cumulative 574 0.1 0.0
messages received 37,937 5.3 0.9
messages sent 37,937 5.3 0.9
no buffer to keep pinned count 140,523,321 19,509.0 3,321.4
no work - consistent read gets 58,276,954 8,090.7 1,377.5
opened cursors cumulative 634,567 88.1 15.0
parse count (failures) 20 0.0 0.0
parse count (hard) 25,870 3.6 0.6
parse count (total) 668,011 92.7 15.8
parse time cpu 3,152 0.4 0.1
parse time elapsed 7,248 1.0 0.2
physical reads 13,049,137 1,811.6 308.4
physical reads direct 26,152 3.6 0.6
physical reads direct (lob) 136 0.0 0.0
physical writes 1,971,823 273.8 46.6
physical writes direct 1,667,675 231.5 39.4
physical writes non checkpoint 1,969,333 273.4 46.6
pinned buffers inspected 13,984 1.9 0.3
prefetched blocks 10,658,657 1,479.8 251.9
prefetched blocks aged out before 4 0.0 0.0
process last non-idle time 742,988,981,569 103,149,935.0 ############
recursive calls 1,697,401 235.7 40.1
recursive cpu usage 6,504 0.9 0.2
redo blocks written 2,406,500 334.1 56.9
redo buffer allocation retries 14 0.0 0.0
redo entries 4,011,118 556.9 94.8
redo log space requests 14 0.0 0.0
redo log space wait time 140 0.0 0.0
redo ordering marks 0 0.0 0.0
redo size 1,184,549,592 164,452.3 27,998.2
redo synch time 7,390 1.0 0.2
redo synch writes 10,373 1.4 0.3
redo wastage 8,732,496 1,212.3 206.4
redo write time 18,463 2.6 0.4
redo writer latching time 0 0.0 0.0
redo writes 30,747 4.3 0.7
rollback changes - undo records a 251 0.0 0.0
rollbacks only - consistent read 977 0.1 0.0
rows fetched via callback 122,026,103 16,941.0 2,884.2
session connect time 742,988,981,569 103,149,935.0 ############
session logical reads 595,549,268 82,680.7 14,076.5
session pga memory 15,920,020 2,210.2 376.3
session pga memory max 16,233,580 2,253.7 383.7
session uga memory 7,652,356 1,062.4 180.9
session uga memory max 430,862,348 59,817.1 10,184.0
shared hash latch upgrades - no w 776,349 107.8 18.4
shared hash latch upgrades - wait 9 0.0 0.0
sorts (disk) 23 0.0 0.0
sorts (memory) 470,098 65.3 11.1
sorts (rows) 8,492,519 1,179.0 200.7
Instance Activity Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
Statistic Total per Second per Trans
summed dirty queue length 58,002 8.1 1.4
switch current to new buffer 58,199 8.1 1.4
table fetch by rowid 127,264,409 17,668.3 3,008.1
table fetch continued row 7,077 1.0 0.2
table scan blocks gotten 45,372,952 6,299.2 1,072.4
table scan rows gotten 3,156,014,583 438,152.8 74,596.2
table scans (long tables) 2,909 0.4 0.1
table scans (short tables) 626,177 86.9 14.8
transaction rollbacks 338 0.1 0.0
transaction tables consistent rea 2 0.0 0.0
transaction tables consistent rea 16 0.0 0.0
user calls 9,113,117 1,265.2 215.4
user commits 15,067 2.1 0.4
user rollbacks 27,241 3.8 0.6
write clones created in backgroun 0 0.0 0.0
write clones created in foregroun 54 0.0 0.0
Tablespace IO Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
USERS
1,750,384 243 2.1 5.8 1,075 0 68,502 5.2
SYSTEM
520,667 72 1.3 5.3 1,903 0 26 133.5
PERFSTAT
88,904 12 8.2 1.7 122,041 17 0 0.0
UNDOTBS
19 0 6.8 1.0 178,708 25 6 28.3
TEMP
7,758 1 0.0 3.4 106,806 15 26 133.5
EXAMPLE
3,392 0 8.9 7.5 12 0 0 0.0
INDX
1,000 0 9.6 1.2 542 0 0 0.0
CWMLITE
66 0 20.3 1.1 11 0 0 0.0
TOOLS
43 0 3.7 1.0 11 0 0 0.0
DRSYS
34 0 17.1 1.0 11 0 0 0.0
File IO Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
CWMLITE D:\ORACLE\ORADATA\VPNEW\CWMLITE01.DBF
66 0 20.3 1.1 11 0 0
DRSYS D:\ORACLE\ORADATA\VPNEW\DRSYS01.DBF
34 0 17.1 1.0 11 0 0
EXAMPLE D:\ORACLE\ORADATA\VPNEW\EXAMPLE01.DBF
3,392 0 8.9 7.5 12 0 0
INDX D:\ORACLE\ORADATA\VPNEW\INDX01.DBF
1,000 0 9.6 1.2 542 0 0
PERFSTAT D:\ORACLE\ORADATA\VPNEW\PERFSTAT.ORA
88,904 12 8.2 1.7 122,041 17 0
SYSTEM D:\ORACLE\ORADATA\VPNEW\SYSTEM01.DBF
520,667 72 1.3 5.3 1,903 0 26 133.5
TEMP D:\ORACLE\ORADATA\VPNEW\TEMP01.DBF
7,758 1 0.0 3.4 106,806 15 26 133.5
TOOLS D:\ORACLE\ORADATA\VPNEW\TOOLS01.DBF
43 0 3.7 1.0 11 0 0
UNDOTBS D:\ORACLE\ORADATA\VPNEW\UNDOTBS01.DBF
19 0 6.8 1.0 178,708 25 6 28.3
USERS D:\ORACLE\ORADATA\VPNEW\USERS01.DBF
1,750,384 243 2.1 5.8 1,075 0 68,502 5.2
Buffer Pool Statistics for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 62,944 81.1 68,829,627 13,022,134 304,147 0 0 68,542
Instance Recovery Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 0 0 0 21448 20665 184320 20665 ##########
E 0 0 0 15276 14901 184320 14901 ##########
Buffer wait Statistics for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
data block 68,527 360 5
undo header 5 0 34
segment header 1 0 20
undo block 1 0 0
PGA Memory Stats for DB: VPNEW Instance: vpnew Snaps: 1015 -1017
-> WorkArea (W/A) memory is used for: sort, bitProblems are
- not using bind variables anywhere, resulting in excessive statement parsing. All of your statements have hardcoded literals, and many of those statements are identical except for the hardcoded literals.
Due to the hardcoded literals for Oracle they are different, and will be reparsed.
- excessive full table scans : 48 percent of the wait time is db file scattered read which means full table scan.
Time to tune your statements.
Sybrand Bakker
Senior Oracle DBA -
9I STATSPACK PACKAGE를 이용하여 생성된 성능보고서 분석 예제
제품 : ORACLE SERVER
작성날짜 : 2005-01-07
9I STATSPACK PACKAGE를 이용하여 생성된 성능보고서 분석 예제
==========================================
PURPOSE
이 문서는 9i 데이타베이스 운영 중 전반적인 System performance
저하를 경험할 경우 StatsPack Package를 이용하여 성능관련 문제
분석에 활용하는 방법을 예제를 통해 알아보기로 한다.
Explanation
<Bulletin:17118>에는 statspack.snap 프로시져를 수행하여 snapshot을
생성하는 데 있어 통계정보 수집 방법에 대하여 자세히 소개되어 있다.
<Bulletin:17119>에는 spreport.sql 수행을 통한 STATSPACK 성능 보고서
생성 방법과 생성되는 report의 내용을 요약적으로 볼 수 있다.
이 문서는 STATSPACK utility에 의해 생성되는 이 output(성능보고서)을
이해하고 진단하는 데 도움을 줄 만한 내용을 알아본다.
데이타베이스 performance tuning은 아주 광범위한 분야이므로,
아 자료는 몇 가지 특정 tuning point에 대해서만 촛점을 맞추어 알아본다.
1. 9i 에서 statspack 수행 시 Summary Information
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
ETSPRD7 1415901831 etsprd7a 1 9.2.0.5.0 YES tsonode1
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 71 11-Jun-04 10:02:41 ####### .0
End Snap: 73 11-Jun-04 12:09:00 ####### .0
Elapsed: 126.32 (mins)
==> 이전의 OPS 항목은 Real Applications Cluster(RAC) 라고 하는 새로운
용어를 나타내기 위해 Cluster로 대체되었다.
그리고, Cursors/Session 과 Comment라고 하는 column이 추가되었다.
2. Oracle 9i Instance Workload Information
모든 statspack report는 instance efficiency를 결정하는 데 도움이 될
만한 인스턴스 metric들과 인스턴스의 workload profile을 보여주는 것으로
시작한다.
Oracle 9i에서 Std Block size는 인스턴스의 primary block size를 나타낸다.
1) Instance cache information:
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 704M Std Block Size: 8K
Shared Pool Size: 256M Log Buffer: 1,024K
2) Load profile Information:
Load profile Information은 Oracle 8i와 9i가 모두 동일하다.
Load Profile
~~~~~~~~~~~~
Per Second Per Transaction
Redo size: 351,530.67 7,007.37
Logical reads: 5,449.81 108.64
Block changes: 1,042.0 8 20.77
Physical reads: 37.71 0.75
Physical writes: 134.68 2.68
User calls: 1,254.72 25.01
Parses: 4.92 0.10
Hard parses: 0.02 0.00
Sorts: 15.73 0.31
Logons: -0.01 0.00
Executes: 473.73 9.44
Transactions: 50.17
% Blocks changed per Read: 19.12 Recursive Call %: 4.71
Rollback per transaction %: 2.24 Rows per Sort: 20.91
각 항목들의 의미는 다음과 같다.
Redo size: This is the amount of redo generated during this report.
Logical Reads: This is calculated as Consistent Gets + DB Block Gets = Logical Reads
Block changes: The number of blocks modified during the sample interval
Physical Reads: The number of requests for a block that caused a physical I/O.
Physical Writes: The number of physical writes issued.
User Calls: The number of queries generated
Parses: Total of all parses: both hard and soft
Hard Parses: Those parses requiring a completely new parse of the
SQL statement. These consume both latches and shared pool area.
Soft Parses: Not listed but derived by subtracting the hard parses
from parses. A soft parse reuses a previous hard parse
and hence consumes far fewer resources.
Sorts, Logons, Executes and Transactions are all self explanatory
3) Instance Efficiency Ratios:
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: -45.57 In-memory Sort %: 97.55
Library Hit %: 99.89 Soft Parse %: 99.72
Execute to Parse %: -1.75 Latch Hit %: 99.11
Parse CPU to Parse Elapsd %: 52.66 % Non-Parse CPU: 99.99
Shared Pool Statistics Begin End
Memory Usage %: 42.07 43.53
% SQL with executions>1: 73.79 75.08
% Memory for SQL w/exec>1: 76.93 77.64
Example
1. Parse가 너무 빈번하여 성능에 영향을 주는 예제
예제1. TARGET 이 100% 인데 다른 항목들은 좋은 편이지만, PARSE 관련
비율들만 낮은 경향을 보임.
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.93 Redo NoWait %: 99.99
Buffer Hit %: 97.97 In-memory Sort %: 100.00
Library Hit %: 93.58 Soft Parse %: 85.59
Execute to Parse %: 10.21 Latch Hit %: 99.48
Parse CPU to Parse Elapsd %: 40.07 % Non-Parse CPU: 90.54
예제2. 한번 PARSE해서 한번만 수행한 SQL이 전체 SQL 의 40% 나 차지하는 경우
이러한 경우 권장사항은 한번 PARSE하여 여러번 수행하는 것이다.
Shared Pool Statistics Begin End
Memory Usage %: 94.13 94.95
% SQL with executions>1: 40.43 36.56
% Memory for SQL w/exec>1: 31.67 26.27
예제3. 다음 정보는 빈번하게 수행되면서, 수행할 때마다 PARSE하는 SQL들이다.
SQL ordered by Parse Calls for DB:
% Total
Parse Calls Executions Parses Hash Value
191,537 191,538 5.31 2386297721
Module: OCS00000.exe
SELECT DOCTNO, CLINIC, DOCTNAME FROM OCSUSER.OCSDOCTOR
WHERE ROWNUM = 1 -- AND DOCTNO > ' ' --2004/03/02 LEEJUNGHY
UN -- AND DOCTNO IN (P_DOCTNO,SUBSTR(P_DOCTNO,-5)); A
ND DOCTNO = TRIM(TO_CHAR(SUBSTR(:b1,GREATEST(LENGTH(:b1)*(-1),-5
)),'00000'))
102,871 102,871 2.85 102761273
Module: OCS00000.exe
SELECT KORNAME FROM EPMUSER.EPMMASTER WHERE EMPNO IN (:
b1,SUBSTR(:b1,-5))
92,454 92,454 2.56 231443659
Module: NIN00000.exe
SELECT USERID FROM APMUSER.APMSESSIONID WHERE INSTANC
ENO = USERENV('INSTANCE') AND SESSIONID = USERENV('S
ESSIONID')
예제4. SQL을 shared pool에 할당하는 관련 LATCH 들의 MISS가 보이는 경우
Latch Activity for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests.
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests.
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
library cache 60,564,808 1.9 0.2 1318 1,431,661 9.8
library cache pin 28,629,340 0.1 0.1 9 0
library cache pin alloca 19,120,395 0.1 0.1 5 0
shared pool 63,075,980 4.0 0.1 578
예제5. V$librarycache 뷰의 정보 중 SQL AREA의 MISS가 있는 경우
Library Cache Activity for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
SQL AREA 2,766,961 15.6 11,370,919 9.1 87,750 6
TABLE/PROCEDURE 1,166,084 0.1 3,925,826 0.1 2,081 0
BODY 45,742 0.0 45,742 0.0 0 0
TRIGGER 808,617 0.0 808,624 0.0 30 0
CLUSTER 717 0.0 523 0.0 0 0
예제6. SHARED POOL USAGE 를 볼 때 2G 중 SQL AREA + LIBRARY CACHE가 대부분 차지
SGA Memory Summary for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
SGA regions Size in Bytes
Database Buffers 1,509,949,440
Fixed Size 459,920
Redo Buffers 679,936
Variable Size 2,164,260,864
sum 3,675,350,160
shared_pool_size = 2013265920
SGA breakdown difference for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
Pool Name Begin value End value % Diff
shared library cache 465,599,756 467,728,476 0.46
shared sql area 1,283,939,172 1,300,770,180 1.31
shared miscellaneous 150,304,904 151,676,316 0.91
shared free memory 125,065,548 107,550,900 14.00
너무 빈번한 Parse를 줄이기 위한 권장사항
- Literal SQL보다는 BIND VARIABLE 사용 권장
- SOFT PARSE가 85%나 차지하므로 Session_cached_cursors 파라미터 설정 권장
( 가령 100 --> 200 )
이 파라미터에 지정한 갯수는 한 session 동안 open된 상태로 cache에
유지할 수 있는 cursor의 갯수이다.
<참고> CURSOR 는 한번 오픈된 다음 여러번 execution 될 수 있다.
예를 들어 V$SQL 뷰에서 한 SQL 이 몇번 execute 되었는지는
v$sqlarea.executions 로 확인 가능하다.
<Note:30804.1> 참조
2. SQL ACCESS PATH(SQL 수행 패턴)와 I/O에 문제가 있어 성능에 영향을 주는 예제
SQL 수행 시 full table scan보다 INDEX scan이 항상 더 빠른 것은 아니다.
예제1. 전체 WAIT TIME 의 대부분(60~70%)이 DB FILE SEQUENTIAL READ,
즉 one block read (주로 인덱스 사용)일 때이다.
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
db file sequential read 3,682,330 87,681 59.32
CPU time 31,297 21.17
global cache cr request 4,254,569 11,086 7.50
enqueue 43,040 3,211 2.17
latch free 505,497 2,068 1.40
예제2. Tablespace IO Stats for DB , File IO Stats for DB 등의 DISK IO
통계정보를 보면 AV Read 속도가 권장이 20ms 이하이나 대부분이
20ms 이상이고 30ms 인 경우
Tablespace IO Stats for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
->ordered by IOs (Reads + Writes) desc
Tablespace Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
OCS_DATA 1,320,724 174 25.0 1.0 34,046 4 90,263 22.5
AMP_DATA 589,915 78 25.6 1.1 6,487 1 4,994 28.9
OCS_IDX 282,622 37 26.9 1.0 54,707 7 7,813 25.6
CP_DATA 204,100 27 18.2 1.1 3,297 0 1,594 17.3
AMP_IDX 174,413 23 26.4 1.0 16,853 2 5,833 28.9
File IO Stats for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
AMP_DATA /dev/vx/rdsk/dongadg/daumc_amp_data_30720m
444,094 59 26.0 1.1 3,311 0 3,716 29.9
/dev/vx/rdsk/dongadg/daumc_rdat0301_10240m
74,911 10 24.5 1.1 1,124 0 685 26.5
/dev/vx/rdsk/dongadg/daumc_rdat0303_10240m
70,910 9 24.3 1.1 2,052 0 593 25.8
AMP_IDX /dev/vx/rdsk/dongadg/daumc_amp_idx_30720m
174,413 23 26.4 1.0 16,853 2 5,833 28.9
AMS_DATA /dev/vx/rdsk/dongadg/daumc_ams_data_4096m
11 0 26.4 1.0 0 0 0
위의 Disk I/O Tuning point를 근거로 튜닝 필요한 SQL 찾기
예제3. SQL ordered by Gets for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
5,029,778 20 251,488.9 2.5 62.87 106.97 1740340670
Module: NMS00000.exe
SELECT ns.getdate, ns.gettime, ns.sid, ns.idno, ns.name
, ns.ward, ns.sex, ns.age, ns.sampcd, we.workcd, MIN(nr
.testcd) testcd, MIN(nr.testno) testno, MIN(nr.result)
result, MIN(nr.ROWID) nrROWID, sm.sampnm FROM nmusr.nmsample
ns, nmusr.nmresult nr, nmusr.nmworkenv we, nmusr.xnmsa
3,200,846 1,903 1,682.0 1.6 99.29 184.85 2896635021
Module: OCS00000.exe
SELECT upslipcode FROM ocsuser.ocsslip WHERE slipcode
= 'PH11' START WITH slipcode = 'CLIN' CONNECT BY PRIOR slipcod
e = upslipcode
예제4. SQL ordered by Reads for DB: DAUMC Instance: DAUMC1 Snaps: 71 -73
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
39,256 113 347.4 0.9 33.07 226.06 639735119
Module: AMI00000.exe
begin AMPUSER.MAKEADMORDER(:V00001,:V00002,:V00003,:V00004,:V000
05,:V00006); end;
38,671 113 342.2 0.9 15.23 167.19 3348585719
Module: AMI00000.exe
DELETE FROM AMPUSER.AMPTEMPORDER WHERE ( IDNO = :b4 AND MEDDAT
E = :b3 AND TYPECODE = :b2) OR TERMID = :b1
31,358 1 31,358.0 0.8 6.46 88.00 3852126455
Module: Golden32.exe
select count(*) FROM cpusr.cpslipuse su -- WHERE su.slipcd = '2
1' -- AND su.partcd = 'MP' -- AND su.finalflag = 0 -- AND
SUBSTR(su.labno,1,1) = '1' -- AND LENGTH(su.labno) = 6 --308
Reference Documents
<Note:228913.1> Systemwide Tuning using STATSPACK Reports -
Performance(statspack) related problem
Anybodyu can suggest me how to improve the database performance as many uiser are complaining that they are getting data very slow........
i have also used statspack analyzer.......
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
NEOSOFT 399087012 neosoft 1 9.2.0.7.0 NO APP
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 1 16-May-08 10:20:15 435 2.2
End Snap: 3 16-May-08 10:24:12 442 2.2
Elapsed: 3.95 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 352M Std Block Size: 8K
Shared Pool Size: 200M Log Buffer: 1,024K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 23,125.82 7,966.31
Logical reads: 6,050.15 2,084.14
Block changes: 96.53 33.25
Physical reads: 1,103.40 380.10
Physical writes: 16.60 5.72
User calls: 189.40 65.24
Parses: 29.92 10.31
Hard parses: 8.69 2.99
Sorts: 6.97 2.40
Logons: 0.11 0.04
Executes: 29.25 10.08
Transactions: 2.90
% Blocks changed per Read: 1.60 Recursive Call %: 31.70
Rollback per transaction %: 0.29 Rows per Sort: 472.41
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 82.01 In-memory Sort %: 99.21
Library Hit %: 89.76 Soft Parse %: 70.95
Execute to Parse %: -2.29 Latch Hit %: 99.95
Parse CPU to Parse Elapsd %: 100.93 % Non-Parse CPU: 84.62
Shared Pool Statistics Begin End
Memory Usage %: 94.72 94.24
% SQL with executions>1: 39.68 38.62
% Memory for SQL w/exec>1: 39.34 38.76
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
db file scattered read 39,162 38 39.49
CPU time 28 29.48
db file sequential read 42,173 28 29.24
direct path read 1,193 1 .59
SQL*Net more data to client 31,629 1 .53
Wait Events for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file scattered read 39,162 0 38 1 56.9
db file sequential read 42,173 0 28 1 61.3
direct path read 1,193 0 1 0 1.7
SQL*Net more data to client 31,629 0 1 0 46.0
log file sync 683 0 0 0 1.0
control file sequential read 184 0 0 1 0.3
db file parallel write 61 0 0 1 0.1
control file parallel write 78 0 0 0 0.1
log file parallel write 732 0 0 0 1.1
direct path write 30 0 0 0 0.0
SQL*Net break/reset to clien 10 0 0 0 0.0
LGWR wait for redo copy 3 0 0 0 0.0
SQL*Net message from client 44,675 0 577 13 64.9
virtual circuit status 47,524 4 145 3 69.1
SQL*Net message to client 44,674 0 0 0 64.9
SQL*Net more data from clien 260 0 0 0 0.4
Background Wait Events for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file sequential read 80 0 0 2 0.1
db file parallel write 61 0 0 1 0.1
control file parallel write 78 0 0 0 0.1
log file parallel write 732 0 0 0 1.1
LGWR wait for redo copy 3 0 0 0 0.0
rdbms ipc message 993 242 2,054 2069 1.4
pmon timer 79 79 234 2962 0.1
smon timer 13 0 228 17520 0.0
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
92,160 36 2,560.0 6.4 0.41 0.37 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
75,042 33 2,274.0 5.2 0.23 0.29 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
68,310 27 2,530.0 4.8 0.27 0.27 2037438344
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
48,617 31 1,568.3 3.4 0.16 0.22 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
45,060 20 2,253.0 3.1 0.17 0.18 3400961035
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
42,976 17 2,528.0 3.0 0.14 0.17 3744553745
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36,114 78 463.0 2.5 0.13 0.11 4262998487
Module: In Patient 2.1.152.exe
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
25,102 11 2,282.0 1.8 0.06 0.10 812077776
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
24,984 36 694.0 1.7 0.09 0.07 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
23,213 1 23,213.0 1.6 1.59 2.83 2435229694
Module: SQL*Plus
BEGIN statspack.snap(i_snap_level=>7); END;
22,930 10 2,293.0 1.6 0.14 0.09 3466778893
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
22,680 10 2,268.0 1.6 0.08 0.09 3786189544
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
20,340 9 2,260.0 1.4 0.13 0.08 3649693145
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
19,460 42 463.3 1.4 0.09 0.06 3858576624
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
8,084 4 2,021.0 3.1 0.14 1.08 4198744706
Module: Out Patient 2.1.41.exe
Select Max(BillNo) as Bno From PatientsRegistration Where regdt
= to_date('01/04/2008','dd/mm/yyyy') and regdt <= to_date('31/03/2009','dd/mm/yyyy')
7,302 1 7,302.0 2.8 0.13 0.51 2116660478
Module: In Patient 2.1.157.exe
select discount,discamount from billpharmacy where patientid='PA
T09212'
7,302 1 7,302.0 2.8 0.06 0.41 3612969128
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09037'
7,302 1 7,302.0 2.8 0.19 0.51 3981413559
Module: In Patient 2.1.152.exe
sELECT * FROM BillPharmacy WHERE BillPharmacy.pATIENtid= 'PAT090
37' order by to_number((issueno))
7,300 1 7,300.0 2.8 0.14 0.69 136284863
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09037'
7,299 1 7,299.0 2.8 0.20 0.77 2137420337
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09154'
7,298 1 7,298.0 2.8 0.13 0.43 1007690124
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T08301'
7,298 1 7,298.0 2.8 0.13 0.58 3087447381
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09154'
7,061 1 7,061.0 2.7 0.13 0.97 2993688253
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09146'
7,058 1 7,058.0 2.7 0.39 0.76 1202603169
Module: In Patient 2.1.152.exe
SELECT BILLHDR.BILLNO, BILLHDR.BILLDT, BILLHDR.BALANCE, BILLHDR.
TOTAL, BILLHDR.NETAMOUNT,IPINFO.type as orgtype, BILLHDR.PREVAD
V , IPInfo.IpNO, IPInfo.REGDT,IPInfo.REGTM, IPInfo.Name, IPInfo.
ADDRESS1,IPINFO.relativenm ,Rooms.roomno , Beds.BEDNO, ROOMTYPES
, decode(IPINFO.sex,1,'Male','Female')sex,IPINFO.AGE ||' '||dec
6,640 1 6,640.0 2.5 0.13 1.06 796742944
Module: In Patient 2.1.152.exe
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
select discount,discamount from billpharmacy where patientid='PA
T09123'
4,617 4 1,154.3 1.8 0.19 0.94 2042905630
Module: Out Patient 2.1.41.exe
SELECT NVL(Max(MoneyReciept.mrBillNo),0) AS MaxOfBillNob FROM Mo
neyReciept where generalopd = 0
4,496 3 1,498.7 1.7 0.06 0.57 2718453880
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208970TS000002' order by trackdate,tracktime
4,494 3 1,498.0 1.7 0.13 0.74 3290276624
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R207032T0000351' order by trackdate,tracktime
4,451 3 1,483.7 1.7 0.20 0.99 768943678
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208613TS000002' order by trackdate,tracktime
4,091 4 1,022.8 1.6 0.19 1.62 266509601
Module: In Patient 2.1.152.exe
SELECT IPInfo.IPNo ,IPInfo.name,doctorvisit.date_r ,unithdr.drna
me , doctorvisit.visitid FROM Doctorvisit , IPInfo,unithdr wher
e Doctorvisit.Patid = IPInfo.PatID and Doctorvisit.doctorid=unit
hdr.unitid and doctorvisit.date_r >=to_date('06/05/2008','fmdd/m
m/yyyy') order by IPInfo.IPNo
3,933 5 786.6 1.5 0.14 1.29 2546712787
Module: Diagnotech 2.2.49.exe
Select max(BillNo) as Bno From MoneyReciept where rcdt >= to_dat
e('01/04/2008','dd/mm/yyyy') and rcdt <= to_date('31/03/2009','d
d/mm/yyyy')
3,439 3 1,146.3 1.3 0.25 1.89 2816864569
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R207242T0000104' order by trackdate,tracktime
3,129 2 1,564.5 1.2 0.06 0.88 1803349496
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208962TS000002' order by trackdate,tracktime
3,065 4 766.3 1.2 0.17 1.30 54282346
Module: In Patient 2.1.157.exe
Select * from track where tablenm = 'FRMDOCTORVISIT' and primkey
id = 'VI048354' order by trackdate,tracktime
2,834 3 944.7 1.1 0.17 1.57 165470279
Module: Diagnotech 2.2.49.exe
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208926TS000002' order by trackdate,tracktime
2,769 3 923.0 1.1 0.13 1.28 3812904405
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208892TS000002' order by trackdate,tracktime
2,730 3 910.0 1.0 0.19 1.21 680462328
Module: In Patient 2.1.157.exe
select * from DoctorVisit where Date_r >= to_date('06/05/2008','
dd/mm/yyyy') and Date_r <= to_date('16/05/2008','dd/mm/yyyy')
2,526 2 1,263.0 1.0 0.58 1.14 4043595143
Module: SQL*Plus
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
, TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
, FETCHES , EXECUTIONS , LOADS , INVALIDATIONS , PARSE_CALLS ,
DISK_READS , BUFFER_GETS , ROWS_PROCESSED , COMMAND_TYPE , ADDRE
SS , HASH_VALUE , VERSION_COUNT , CPU_TIME , ELAPSED_TIME , OUTL
2,484 1 2,484.0 0.9 0.19 0.91 33028691
Module: Diagnotech 2.2.49.exe
select * from requisitions where upper(reqno) = '180800'
2,483 1 2,483.0 0.9 0.13 0.93 2943168498
Module: Diagnotech 2.2.49.exe
Update Requisitions Set Collected = 0 Where TRIM(ReqID) ='R20987
8'
2,482 1 2,482.0 0.9 0.11 0.74 2336722822
Module: Diagnotech 2.2.49.exe
Update Requisitions Set Collected = 0 Where TRIM(ReqID) ='R20987
7'
2,480 1 2,480.0 0.9 0.06 0.67 650704065
Module: In Patient 2.1.152.exe
select sum(can.returnamt) refamt from diagnotech.cancellationhd
r can,diagnotech.requisitions req where can.reqid = req.reqid an
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
283 283 1.0 0.00 0.00 1283498366
Module: Diagnotech 2.2.49.exe
Select to_char(sysdate,'fmdd/mm/yyyy HH24:mi:ss am') as abc from
OPTIONS
238 76 0.3 0.00 0.00 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
126 126 1.0 0.00 0.00 2168100061
Module: Diagnotech 2.2.49.exe
select * from departments where deptid = 'DEP00004'
114 0 0.0 0.00 0.00 4073347083
select grantor#, grantee#, privilege#, sequence#, nvl(option$,0)
from objauth$ where obj#=:1 and col#=:2
112 112 1.0 0.00 0.00 3687727603
insert into col$(obj#,name,intcol#,segcol#,type#,length,precisio
n#,scale,null$,offset,fixedstorage,segcollength,deflength,defaul
t$,col#,property,charsetid,charsetform,spare1,spare2,spare3)valu
es(:1,:2,:3,:4,:5,:6,decode(:7,0,null,:7),decode(:5,2,decode(:8,
-127/*MAXSB1MINAL*/,null,:8),178,:8,179,:8,180,:8,181,:8,182,:8,
99 99 1.0 0.00 0.00 3468666020
select text from view$ where rowid=:1
84 84 1.0 0.00 0.00 2997854589
insert into access$(d_obj#,order#,columns,types) values (:1,:2,:
3,:4)
84 84 1.0 0.00 0.00 3951809012
insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
78 0 0.0 0.00 0.00 3867936055
Module: Out Patient 2.1.41.exe
commit
78 78 1.0 0.00 0.00 4262998487
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
44 44 1.0 0.00 0.00 3216099004
Module: Diagnotech 2.2.49.exe
select * from options
42 42 1.0 0.00 0.00 3858576624
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'IPINFO' escape '\'
36 540 15.0 0.01 0.01 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36 36 1.0 0.00 0.00 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
34 34 1.0 0.00 0.00 857250417
Module: Diagnotech 2.2.46.exe
select * from departments where deptid = 'DEP00031'
33 43,442 1,316.4 0.04 0.05 502973950
Module: Pharmacy 2.0.174.exe
SELECT substr(UPPER(MedMast.MedNm),1,50) MedNm , MedSubCat.MSCOD
E ,MEDMAST.POTENCY ,substr(genericnm,1,50) genericnm, sum(dmeddt
ls.currqty) stock, MedMast.medid FROM MedMast , MedSubCat,dmedd
tls where UPPER(MEDMAST.MEDNM) LIKE '%%' and medmast.medid = d
meddtls.medid and MEDMAST.SubCatID = MedSubCat.MSCatID and dmed
33 132 4.0 0.01 0.01 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 124 4.0 0.01 0.01 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 1.0 0.00 0.00 3993731530
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'OTS1' escape '\' and ac.table_name like 'DOCTORINFO' escape
28 28 1.0 0.00 0.00 737183288
Module: Diagnotech 2.2.49.exe
Select * From CReqno
27 0 0.0 0.00 0.00 246231567
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
283 283 3.99 1283498366
Module: Diagnotech 2.2.49.exe
Select to_char(sysdate,'fmdd/mm/yyyy HH24:mi:ss am') as abc from
OPTIONS
126 126 1.78 2168100061
Module: Diagnotech 2.2.49.exe
select * from departments where deptid = 'DEP00004'
99 99 1.40 3468666020
select text from view$ where rowid=:1
78 78 1.10 3867936055
Module: Out Patient 2.1.41.exe
commit
78 78 1.10 4262998487
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
44 44 0.62 3216099004
Module: Diagnotech 2.2.49.exe
select * from options
42 42 0.59 3858576624
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'IPINFO' escape '\'
36 36 0.51 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36 36 0.51 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
34 34 0.48 857250417
Module: Diagnotech 2.2.46.exe
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
select * from departments where deptid = 'DEP00031'
33 33 0.47 502973950
Module: Pharmacy 2.0.174.exe
SELECT substr(UPPER(MedMast.MedNm),1,50) MedNm , MedSubCat.MSCOD
E ,MEDMAST.POTENCY ,substr(genericnm,1,50) genericnm, sum(dmeddt
ls.currqty) stock, MedMast.medid FROM MedMast , MedSubCat,dmedd
tls where UPPER(MEDMAST.MEDNM) LIKE '%%' and medmast.medid = d
meddtls.medid and MEDMAST.SubCatID = MedSubCat.MSCatID and dmed
33 33 0.47 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 0.44 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 0.44 3993731530
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'OTS1' escape '\' and ac.table_name like 'DOCTORINFO' escape
30 15 0.42 3067006941
delete from dependency$ where d_obj#=:1
28 28 0.39 737183288
Module: Diagnotech 2.2.49.exe
Select * From CReqno
27 27 0.38 246231567
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DISSUEDTLSP' e
27 27 0.38 445844524
Module: In Patient 2.1.152.exe
select nvl(tarrifflg,0) as tf from sourcehdr where sourceid = ''
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
27 27 0.38 2037438344
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
22 22 0.31 3073477137
select u.name,o.name, t.update$, t.insert$, t.delete$, t.enabled
from obj$ o,user$ u,trigger$ t where t.baseobject=:1 and t.ob
j#=o.obj# and o.owner#=u.user# order by o.obj#
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
CPU used by this session 2,821 11.9 4.1
CPU used when call started 2,826 11.9 4.1
CR blocks created 15 0.1 0.0
DBWR buffers scanned 5,873 24.8 8.5
DBWR checkpoint buffers written 167 0.7 0.2
DBWR checkpoints 0 0.0 0.0
DBWR free buffers found 5,653 23.9 8.2
DBWR lru scans 17 0.1 0.0
DBWR make free requests 17 0.1 0.0
DBWR summed scan depth 5,873 24.8 8.5
DBWR transaction table writes 1 0.0 0.0
DBWR undo block writes 228 1.0 0.3
SQL*Net roundtrips to/from client 89,026 375.6 129.4
active txn count during cleanout 156 0.7 0.2
background checkpoints completed 0 0.0 0.0
background checkpoints started 0 0.0 0.0
background timeouts 243 1.0 0.4
branch node splits 0 0.0 0.0
buffer is not pinned count 1,225,066 5,169.1 1,780.6
buffer is pinned count 1,069,472 4,512.5 1,554.5
bytes received via SQL*Net from c 4,334,045 18,287.1 6,299.5
bytes sent via SQL*Net to client 79,310,906 334,645.2 115,277.5
calls to get snapshot scn: kcmgss 14,976 63.2 21.8
calls to kcmgas 942 4.0 1.4
calls to kcmgcs 166 0.7 0.2
change write time 19 0.1 0.0
cleanout - number of ktugct calls 182 0.8 0.3
cleanouts and rollbacks - consist 5 0.0 0.0
cleanouts only - consistent read 18 0.1 0.0
cluster key scan block gets 206,010 869.2 299.4
cluster key scans 81,803 345.2 118.9
commit cleanout failures: block l 0 0.0 0.0
commit cleanout failures: callbac 11 0.1 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 2,731 11.5 4.0
commit cleanouts successfully com 2,720 11.5 4.0
commit txn count during cleanout 87 0.4 0.1
consistent changes 15 0.1 0.0
consistent gets 1,412,564 5,960.2 2,053.2
consistent gets - examination 572,440 2,415.4 832.0
cursor authentications 531 2.2 0.8
data blocks consistent reads - un 15 0.1 0.0
db block changes 22,877 96.5 33.3
db block gets 21,323 90.0 31.0
deferred (CURRENT) block cleanout 1,548 6.5 2.3
dirty buffers inspected 19 0.1 0.0
enqueue conversions 52 0.2 0.1
enqueue releases 4,639 19.6 6.7
enqueue requests 4,640 19.6 6.7
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 6,932 29.3 10.1
free buffer inspected 19 0.1 0.0
free buffer requested 258,870 1,092.3 376.3
hot buffers moved to head of LRU 2,520 10.6 3.7
immediate (CR) block cleanout app 23 0.1 0.0
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
immediate (CURRENT) block cleanou 502 2.1 0.7
index fast full scans (full) 163 0.7 0.2
index fetch by key 380,673 1,606.2 553.3
index scans kdiixs1 86,708 365.9 126.0
leaf node 90-10 splits 22 0.1 0.0
leaf node splits 64 0.3 0.1
logons cumulative 25 0.1 0.0
messages received 806 3.4 1.2
messages sent 806 3.4 1.2
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 779,017 3,287.0 1,132.3
opened cursors cumulative 7,669 32.4 11.2
parse count (failures) 2 0.0 0.0
parse count (hard) 2,060 8.7 3.0
parse count (total) 7,091 29.9 10.3
parse time cpu 434 1.8 0.6
parse time elapsed 430 1.8 0.6
physical reads 261,506 1,103.4 380.1
physical reads direct 3,529 14.9 5.1
physical writes 3,935 16.6 5.7
physical writes direct 3,529 14.9 5.1
physical writes non checkpoint 3,839 16.2 5.6
pinned buffers inspected 0 0.0 0.0
prefetched blocks 175,966 742.5 255.8
prefetched blocks aged out before 0 0.0 0.0
process last non-idle time 270 1.1 0.4
recovery blocks read 0 0.0 0.0
recursive calls 20,832 87.9 30.3
recursive cpu usage 296 1.3 0.4
redo blocks written 11,309 47.7 16.4
redo buffer allocation retries 0 0.0 0.0
redo entries 12,097 51.0 17.6
redo log space requests 0 0.0 0.0
redo log space wait time 0 0.0 0.0
redo ordering marks 1 0.0 0.0
redo size 5,480,820 23,125.8 7,966.3
redo synch time 30 0.1 0.0
redo synch writes 689 2.9 1.0
redo wastage 160,348 676.6 233.1
redo write time 29 0.1 0.0
redo writer latching time 0 0.0 0.0
redo writes 732 3.1 1.1
rollback changes - undo records a 2 0.0 0.0
rollbacks only - consistent read 10 0.0 0.0
rows fetched via callback 235,269 992.7 342.0
session connect time 0 0.0 0.0
session logical reads 1,433,886 6,050.2 2,084.1
session pga memory 45,074,044 190,185.8 65,514.6
session pga memory max 49,946,024 210,742.7 72,596.0
session uga memory max 3,455,708 14,581.1 5,022.8
shared hash latch upgrades - no w 54,598 230.4 79.4
shared hash latch upgrades - wait 0 0.0 0.0
sorts (disk) 13 0.1 0.0
sorts (memory) 1,639 6.9 2.4
sorts (rows) 780,425 3,292.9 1,134.3
summed dirty queue length 239 1.0 0.4
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
switch current to new buffer 172 0.7 0.3
table fetch by rowid 612,799 2,585.7 890.7
table fetch continued row 626 2.6 0.9
table scan blocks gotten 459,367 1,938.3 667.7
table scan rows gotten 18,523,828 78,159.6 26,924.2
table scans (long tables) 128 0.5 0.2
table scans (short tables) 1,655 7.0 2.4
transaction rollbacks 1 0.0 0.0
transaction tables consistent rea 0 0.0 0.0
transaction tables consistent rea 0 0.0 0.0
user calls 44,888 189.4 65.2
user commits 686 2.9 1.0
user rollbacks 2 0.0 0.0
workarea executions - multipass 0 0.0 0.0
workarea executions - onepass 24 0.1 0.0
workarea executions - optimal 2,433 10.3 3.5
write clones created in foregroun 0 0.0 0.0
Tablespace IO Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
DIAGNOTECH
61,945 261 0.7 1.9 64 0 0 0.0
IP
10,753 45 1.2 9.5 23 0 0 0.0
SYSTEM
5,668 24 1.2 3.2 22 0 0 0.0
OTS1
2,456 10 1.5 7.8 19 0 0 0.0
TEMP
1,429 6 0.6 2.5 739 3 0 0.0
INVENTORY
478 2 3.5 1.3 49 0 0 0.0
UNDOTBS1
0 0 0.0 229 1 0 0.0
INDX
15 0 2.0 1.0 0 0 0 0.0
PAYROLL
1 0 20.0 4.0 0 0 0 0.0
File IO Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
DIAGNOTECH F:\ORACLE\ORADATA\NEOSOFT\DIAGNOTECH1.ORA
61,945 261 0.7 1.9 64 0 0
INDX F:\ORACLE\ORADATA\NEOSOFT\INDX01.DBF
15 0 2.0 1.0 0 0 0
INVENTORY F:\ORACLE\ORADATA\NEOSOFT\INVENTORY1.ORA
478 2 3.5 1.3 49 0 0
IP F:\ORACLE\ORADATA\NEOSOFT\IP1.ORA
10,753 45 1.2 9.5 23 0 0
OTS1 F:\ORACLE\ORADATA\NEOSOFT\OTS11.ORA
2,456 10 1.5 7.8 19 0 0
PAYROLL F:\ORACLE\ORADATA\NEOSOFT\PAYROLL1.ORA
1 0 20.0 4.0 0 0 0
SYSTEM F:\ORACLE\ORADATA\NEOSOFT\SYSTEM01.DBF
5,668 24 1.2 3.2 22 0 0
TEMP F:\ORACLE\ORADATA\NEOSOFT\TEMP01.DBF
1,429 6 0.6 2.5 739 3 0
UNDOTBS1 F:\ORACLE\ORADATA\NEOSOFT\UNDOTBS01.DBF
0 0 229 1 0
Buffer Pool Statistics for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 44,044 82.0 1,432,475 257,328 406 0 0 0
Instance Recovery Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 87 19 3628 65684 64450 184320 64450
E 87 20 4063 69805 69805 184320 69805
Buffer Pool Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate (default block size first)
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 32 .1 4,004 67.25 19,260,129,810
D 64 .2 8,008 42.95 12,300,910,895
D 96 .3 12,012 32.00 9,165,118,680
D 128 .4 16,016 25.62 7,338,010,607
D 160 .5 20,020 17.54 5,022,366,182
D 192 .5 24,024 11.74 3,361,228,965
D 224 .6 28,028 7.05 2,020,169,694
D 256 .7 32,032 3.94 1,127,930,012
D 288 .8 36,036 2.32 663,835,521
D 320 .9 40,040 1.44 413,674,540
D 352 1.0 44,044 1.00 286,377,525
D 384 1.1 48,048 0.75 215,831,108
D 416 1.2 52,052 0.60 171,670,371
D 448 1.3 56,056 0.51 145,708,247
D 480 1.4 60,060 0.45 128,439,943
D 512 1.5 64,064 0.40 114,053,332
D 544 1.5 68,068 0.37 104,584,674
D 576 1.6 72,072 0.34 96,792,591
D 608 1.7 76,076 0.32 92,596,531
D 640 1.8 80,080 0.31 89,929,979
PGA Aggr Target Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
88.2 213 29
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 24 7 24.4 0.4 1.6 .0 100.0 1,228
E 24 8 23.8 0.0 .0 .0 .0 1,228
PGA Aggr Target Histogram for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 2,000 2,000 0 0
16K 32K 55 55 0 0
32K 64K 28 28 0 0
64K 128K 50 50 0 0
128K 256K 110 110 0 0
256K 512K 26 26 0 0
512K 1024K 176 158 18 0
1M 2M 8 4 4 0
4M 8M 2 0 2 0
PGA Memory Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
12 0.5 417.1 207.2 67.0 1
18 0.8 417.1 89.3 82.0 0
24 1.0 417.1 46.4 90.0 0
29 1.2 417.1 46.4 90.0 0
34 1.4 417.1 46.4 90.0 0
38 1.6 417.1 13.2 97.0 0
43 1.8 417.1 11.1 97.0 0
48 2.0 417.1 11.1 97.0 0
72 3.0 417.1 11.1 97.0 0
96 4.0 417.1 11.1 97.0 0
144 6.0 417.1 0.0 100.0 0
192 8.0 417.1 0.0 100.0 0
Rollback Segment Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 15.0 0.00 0 0 0 0
1 412.0 0.00 831,990 1 0 1
2 48.0 0.00 61,500 0 0 0
3 87.0 0.00 132,404 0 0 0
4 79.0 0.00 66,626 0 0 0
5 71.0 0.00 91,284 0 0 0
6 40.0 0.00 15,474 0 0 0
7 660.0 0.00 547,536 1 0 1
8 168.0 0.00 21,762 0 0 0
9 86.0 0.00 10,108 0 0 0
10 295.0 0.00 156,468 0 0 0
Rollback Segment Storage for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 9,625,600 806,999 16,900,096
2 5,365,760 711,094 8,511,488
3 5,365,760 664,381 9,560,064
4 5,365,760 763,735 8,511,488
5 5,365,760 672,648 9,625,600
6 5,365,760 677,906 9,560,064
7 6,414,336 647,093 8,511,488
8 5,365,760 628,652 10,608,640
9 5,365,760 769,325 9,560,064
10 5,365,760 622,015 9,560,064
Undo Segment Summary for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 695 1,032,965 12 1 0 0 0/0/0/0/0/0
Undo Segment Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
16-May 10:22 695 ######## 12 1 0 0 0/0/0/0/0/0
Latch Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
Consistent RBA 732 0.0 0 0
FAL request queue 1 0.0 0 0
FIB s.o chain latch 12 0.0 0 0
FOB s.o list latch 27 0.0 0 0
SQL memory manager latch 2 0.0 0 79 0.0
SQL memory manager worka 7,245 0.0 0 0
active checkpoint queue 169 0.0 0 0
archive control 10 0.0 0 0
archive process latch 7 0.0 0 0
cache buffer handles 12,078 0.0 0 0
cache buffers chains 2,602,999 0.0 0.0 0 506,781 0.0
cache buffers lru chain 858 0.0 0 615,593 0.0
channel handle pool latc 37 0.0 0 0
channel operations paren 265 0.0 0 0
checkpoint queue latch 30,545 0.0 0 893 0.0
child cursor hash table 16,079 0.0 0 0
dml lock allocation 2,674 0.0 0 0
dummy allocation 43 0.0 0 0
enqueue hash chains 9,313 0.0 0 0
enqueues 9,405 0.0 0 0
event group latch 5 0.0 0 0
hash table column usage 0 0 55,565 0.0
hash table modification 1 0.0 0 0
kmcptab latch 78 0.0 0 0
kmcpvec latch 0 0 78 0.0
ktm global data 13 0.0 0 0
lgwr LWN SCN 742 0.0 0 0
library cache 193,957 0.0 0.0 0 6,959 0.4
library cache load lock 110 0.0 0 0
library cache pin 63,420 0.0 0 0
library cache pin alloca 43,208 0.0 0 0
list of block allocation 49 0.0 0 0
loader state object free 34 0.0 0 0
message pool operations 26 0.0 0 0
messages 2,866 0.0 0 0
mostly latch-free SCN 742 0.0 0 0
multiblock read objects 164,572 0.0 0.0 0 0
ncodef allocation latch 3 0.0 0 0
object stats modificatio 1,669 0.0 0 0
post/wait queue 1,029 0.0 0 683 0.0
process allocation 11 0.0 0 5 0.0
process group creation 11 0.0 0 0
redo allocation 13,617 0.0 0.0 0 0
redo copy 0 0 12,145 0.0
redo writing 2,533 0.0 0 0
row cache enqueue latch 215,027 0.0 0.0 0 0
row cache objects 218,418 0.0 0.0 0 472 0.0
sequence cache 99 0.0 0 0
session allocation 8,683 0.0 0 0
session idle bit 94,091 0.0 0 0
Latch Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
session switching 3 0.0 0 0
session timer 80 0.0 0 0
shared pool 160,825 0.0 0.0 0 0
sim partition latch 0 0 35 0.0
simulator hash latch 63,337 0.0 0 0
simulator lru latch 4,437 0.0 0 16,447 0.0
sort extent pool 129 0.0 0 0
transaction allocation 47 0.0 0 0
transaction branch alloc 3 0.0 0 0
undo global data 3,091 0.0 0 0
user lock 114 0.0 0 0
virtual circuit buffers 540,157 0.4 0.0 0 0
virtual circuit queues 256,196 0.0 0.0 0 0
virtual circuits 89,002 0.0 0 0
Top 5 Logical Reads per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Logical Reads Threshold: 10000
Subobject Obj. Logical
Owner Tablespace Object Name Name Type Reads %Total
DIAGNOTECH DIAGNOTECH REQUISITIONS TABLE 162,064 11.66
SYS SYSTEM I_OBJ1 INDEX 115,328 8.30
SYS SYSTEM OBJ$ TABLE 113,328 8.15
SYS SYSTEM I_IND1 INDEX 109,584 7.88
IP IP BILLPHARMACY TABLE 89,328 6.43
Top 5 Physical Reads per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Physical Reads Threshold: 1000
Subobject Obj. Physical
Owner Tablespace Object Name Name Type Reads %Total
IP IP BILLPHARMACY TABLE 86,212 34.43
DIAGNOTECH DIAGNOTECH REQUISITIONS TABLE 79,487 31.74
DIAGNOTECH DIAGNOTECH TRACK TABLE 33,193 13.25
IP SYSTEM TRACK TABLE 17,926 7.16
OTS1 OTS1 MONEYRECIEPT TABLE 10,036 4.01
Top 5 Row Lock Waits per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Row Lock Waits Threshold: 100
Row
Subobject Obj. Lock
Owner Tablespace Object Name Name Type Waits %Total
IP IP BILLID4064 INDEX 1 100.00
Dictionary Cache Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_histogram_defs 22,135 1.1 0 0 3,348
dc_object_ids 26,251 0.0 0 0 625
dc_objects 4,895 0.1 0 15 960
dc_profiles 21 0.0 0 0 1
dc_rollback_segments 273 0.0 0 0 12
dc_segments 11,239 0.1 0 0 604
dc_sequences 3 33.3 0 3 6
dc_tablespaces 19,449 0.0 0 0 5
dc_user_grants 2,814 0.0 0 0 17
dc_usernames 886 0.0 0 0 15
dc_users 22,542 0.0 0 0 20
Library Cache Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 445 0.0 445 0.0 0 0
CLUSTER 397 0.0 121 0.0 0 0
SQL AREA 7,041 28.0 24,030 16.9 55 23
TABLE/PROCEDURE 8,324 0.0 15,082 0.6 18 0
TRIGGER 953 0.0 953 0.0 0 0
Shared Pool Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid
Estd
Shared Pool SP Estd Estd Estd Lib LC Time
Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
104 .5 97 21,986 47,321 1.0 22,910,514
128 .6 120 27,657 47,381 1.0 22,988,994
152 .8 143 32,965 47,422 1.0 23,048,924
176 .9 166 38,101 47,451 1.0 23,094,145
200 1.0 189 42,541 47,474 1.0 23,126,910
224 1.1 212 47,258 47,492 1.0 23,155,651
248 1.2 235 52,101 47,508 1.0 23,180,673
272 1.4 258 56,800 47,521 1.0 23,202,200
296 1.5 283 61,512 47,532 1.0 23,220,564
320 1.6 306 65,892 47,540 1.0 23,235,720
344 1.7 329 70,532 47,547 1.0 23,246,826
368 1.8 352 75,208 47,553 1.0 23,257,346
392 2.0 375 81,494 47,559 1.0 23,268,801
416 2.1 411 88,685 47,565 1.0 23,279,344
SGA Memory Summary for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
SGA regions Size in Bytes
Database Buffers 369,098,752
Fixed Size 455,784
Redo Buffers 1,191,936
Variable Size 436,207,616
sum 806,954,088
SGA breakdown difference for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Pool Name Begin value End value % Diff
java free memory 83,886,080 83,886,080 0.00
large free memory 63,891,136 64,350,992 0.72
large session heap 19,994,944 19,535,088 -2.30
shared 1M buffer 2,098,176 2,098,176 0.00
shared Checkpoint queue 1,129,216 1,129,216 0.00
shared DML lock 1,028,764 1,028,764 0.00
shared FileOpenBlock 6,564,072 6,564,072 0.00
shared KGK heap 3,756 3,756 0.00
shared KGLS heap 2,584,540 2,431,584 -5.92
shared KQR M PO 2,844,672 2,768,896 -2.66
shared KQR S PO 249,880 250,652 0.31
shared KQR S SO 7,936 7,936 0.00
shared KSXR pending messages que 841,036 841,036 0.00
shared KSXR receive buffers 1,033,000 1,033,000 0.00
shared MTTR advisory 59,288 59,288 0.00
shared PL/SQL DIANA 3,179,412 3,015,708 -5.15
shared PL/SQL MPCODE 388,924 241,096 -38.01
shared PLS non-lib hp 3,688 3,688 0.00
shared VIRTUAL CIRCUITS 2,564,620 2,564,620 0.00
shared db_handles 1,080,000 1,080,000 0.00
shared dictionary cache 2,137,216 2,137,216 0.00
shared enqueue 1,676,824 1,676,824 0.00
shared event statistics per sess 18,675,020 18,675,020 0.00
shared fixed allocation callback 388 388 0.00
shared free memory 14,167,016 15,470,156 9.20
shared joxs heap init 4,220 4,220 0.00
shared ktlbk state objects 778,960 778,960 0.00
shared library cache 43,962,768 43,051,344 -2.07
shared message pool freequeue 665,792 665,792 0.00
shared miscellaneous 41,742,904 42,080,748 0.81
shared parameters 3,224 9,272 187.59
shared processes 1,500,000 1,500,000 0.00
shared sessions 3,998,480 3,998,480 0.00
shared sim memory hea 195,212 195,212 0.00
shared sql area 111,345,832 111,177,960 -0.15
shared table definiti 16,576 15,240 -8.06
shared transaction 1,852,092 1,852,092 0.00
shared trigger defini 26,236 24,148 -7.96
shared trigger inform 592 592 0.00
shared trigger source 304 304 0.00
buffer_cache 369,098,752 369,098,752 0.00
fixed_sga 455,784 455,784 0.00
log_buffer 1,180,672 1,180,672 0.00
init.ora Parameters for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
End value
Parameter Name Begin value (if different)
background_dump_dest F:\oracle\admin\neosoft\bdump
compatible 9.2.0.0.0
control_files F:\oracle\oradata\neosoft\control
core_dump_dest F:\oracle\admin\neosoft\cdump
db_block_size 8192
db_cache_size 369098752
db_domain
db_file_multiblock_read_count 16
db_name neosoft
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 300
hash_join_enabled TRUE
instance_name neosoft
java_pool_size 83886080
large_pool_size 83886080
open_cursors 300
pga_aggregate_target 25165824
processes 1500
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
shared_pool_size 209715200
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest F:\oracle\admin\neosoft\udump
End of ReportHow did you calculated all these ratios............I looked through the formatted output of the Statspack report, specifically the setion "SQL ordered by reads for DB" and found these SQL statements which are performing a large number of physical reads. Most of the SQL statements have similar WHERE clauses, except for the constants to the right of the = :
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
8,084 4 2,021.0 3.1 0.14 1.08 4198744706
Module: Out Patient 2.1.41.exe
Select Max(BillNo) as Bno From PatientsRegistration Where regdt
= to_date('01/04/2008','dd/mm/yyyy') and regdt <= to_date('31/03/2009','dd/mm/yyyy')
7,302 1 7,302.0 2.8 0.13 0.51 2116660478
Module: In Patient 2.1.157.exe
select discount,discamount from billpharmacy where patientid='PAT09212'
7,302 1 7,302.0 2.8 0.06 0.41 3612969128
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09037'
7,302 1 7,302.0 2.8 0.19 0.51 3981413559
Module: In Patient 2.1.152.exe
sELECT * FROM BillPharmacy WHERE BillPharmacy.pATIENtid= 'PAT09037' order by to_number((issueno))
7,300 1 7,300.0 2.8 0.14 0.69 136284863
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09037'
7,299 1 7,299.0 2.8 0.20 0.77 2137420337
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09154'
7,298 1 7,298.0 2.8 0.13 0.43 1007690124
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT08301'
7,298 1 7,298.0 2.8 0.13 0.58 3087447381
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09154'
7,061 1 7,061.0 2.7 0.13 0.97 2993688253
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09146'
and on what basis you one should have to find out
which query causing the problem....
i also wanted to learn how to read the
statspack.........I personally do not like Statspack reports, but there are several very good sources for understanding Statspack reports:
http://jonathanlewis.wordpress.com/2006/11/29/analysing-statspack-pt1/
http://jonathanlewis.wordpress.com/statspack-examples/
Metalink Note:232443.1 (How to Identify Resource Intensive SQL for Tuning)
Metalink Note:390374.1 (Oracle Performance Diagnostic Guide (OPDG))
Metalink Note:228913.1 (Systemwide Tuning using STATSPACK Reports)
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Peformance of one process is slow ( statspack report is attached)
Hi,
My version is 9.2.0.7 (HP-UX Itanium)
we have recently migrated the DB from windows 2003 to Unix (HP-UX Itanium 11.23).
we have one process which usually takes 15 mins before migration, now it is taking 25 mins to complete. I did not change anything at db level. same init.ora parameters. tables and indexes statistiscs are upto to date.
Please guide me, what might be the wrong at instance level. Here I am skipping the sql query portion of statspack report due to security reasons.
this statspack report is taken before running the process and after completion of process.
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
UAT 496948094 UAT 1 9.2.0.7.0 NO dbt
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 2 15-Jul-09 10:59:05 11 2.7
End Snap: 3 15-Jul-09 12:42:18 17 4.4
Elapsed: 103.22 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 400M Std Block Size: 8K
Shared Pool Size: 160M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 44,830.27 435,162.76
Logical reads: 15,223.37 147,771.73
Block changes: 198.12 1,923.15
Physical reads: 47.02 456.37
Physical writes: 7.05 68.45
User calls: 50.01 485.42
Parses: 25.99 252.26
Hard parses: 0.24 2.38
Sorts: 3.40 33.00
Logons: 0.02 0.16
Executes: 34.64 336.27
Transactions: 0.10
% Blocks changed per Read: 1.30 Recursive Call %: 27.05
Rollback per transaction %: 33.70 Rows per Sort: 1532.57
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.69 In-memory Sort %: 100.00
Library Hit %: 99.38 Soft Parse %: 99.06
Execute to Parse %: 24.98 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 48.39 % Non-Parse CPU: 99.53
Shared Pool Statistics Begin End
Memory Usage %: 94.56 94.19
% SQL with executions>1: 74.01 62.51
% Memory for SQL w/exec>1: 52.89 54.29
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 895 48.10
db file sequential read 195,597 443 23.83
log file parallel write 1,706 260 13.97
log buffer space 415 122 6.54
control file parallel write 2,074 66 3.53
Wait Events for DB: UAT Instance: UAT Snaps: 2 -3
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file sequential read 195,597 0 443 2 306.6
log file parallel write 1,706 0 260 152 2.7
log buffer space 415 0 122 293 0.7
control file parallel write 2,074 0 66 32 3.3
log file sync 678 4 51 75 1.1
db file scattered read 6,608 0 21 3 10.4
log file switch completion 9 0 2 208 0.0
SQL*Net more data to client 24,072 0 1 0 37.7
log file single write 18 0 0 19 0.0
db file parallel read 9 0 0 13 0.0
control file sequential read 928 0 0 0 1.5
SQL*Net break/reset to clien 292 0 0 0 0.5
latch free 25 2 0 3 0.0
log file sequential read 18 0 0 2 0.0
LGWR wait for redo copy 37 0 0 0 0.1
direct path read 45 0 0 0 0.1
direct path write 45 0 0 0 0.1
SQL*Net message from client 308,861 0 30,960 100 484.1
SQL*Net more data from clien 26,217 0 3 0 41.1
SQL*Net message to client 308,867 0 0 0 484.1
Background Wait Events for DB: UAT Instance: UAT Snaps: 2 -3
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
log file parallel write 1,706 0 260 152 2.7
control file parallel write 2,074 0 66 32 3.3
log buffer space 10 0 1 149 0.0
db file scattered read 90 0 1 7 0.1
db file sequential read 104 0 1 5 0.2
log file single write 18 0 0 19 0.0
control file sequential read 876 0 0 0 1.4
log file sequential read 18 0 0 2 0.0
latch free 4 2 0 9 0.0
LGWR wait for redo copy 37 0 0 0 0.1
direct path read 45 0 0 0 0.1
direct path write 45 0 0 0 0.1
rdbms ipc message 7,222 5,888 21,416 2965 11.3
pmon timer 2,079 2,079 6,044 2907 3.3
smon timer 21 21 6,002 ###### 0.0
Instance Activity Stats for DB: UAT Instance: UAT Snaps: 2 -3
Statistic Total per Second per Trans
CPU used by this session 89,478 14.5 140.3
CPU used when call started 89,478 14.5 140.3
CR blocks created 148 0.0 0.2
DBWR buffers scanned 158,122 25.5 247.8
DBWR checkpoint buffers written 11,909 1.9 18.7
DBWR checkpoints 3 0.0 0.0
DBWR free buffers found 136,228 22.0 213.5
DBWR lru scans 53 0.0 0.1
DBWR make free requests 53 0.0 0.1
DBWR summed scan depth 158,122 25.5 247.8
DBWR transaction table writes 43 0.0 0.1
DBWR undo block writes 19,283 3.1 30.2
SQL*Net roundtrips to/from client 308,602 49.8 483.7
active txn count during cleanout 6,812 1.1 10.7
background checkpoints completed 3 0.0 0.0
background checkpoints started 3 0.0 0.0
background timeouts 7,204 1.2 11.3
branch node splits 4 0.0 0.0
buffer is not pinned count 35,587,689 5,746.4 55,780.1
buffer is pinned count 202,539,737 32,704.6 317,460.4
bytes received via SQL*Net from c 106,536,068 17,202.7 166,984.4
bytes sent via SQL*Net to client 98,286,059 15,870.5 154,053.4
calls to get snapshot scn: kcmgss 346,517 56.0 543.1
calls to kcmgas 42,563 6.9 66.7
calls to kcmgcs 7,735 1.3 12.1
change write time 12,666 2.1 19.9
cleanout - number of ktugct calls 9,698 1.6 15.2
cleanouts and rollbacks - consist 0 0.0 0.0
cleanouts only - consistent read 1,161 0.2 1.8
cluster key scan block gets 15,789 2.6 24.8
cluster key scans 6,534 1.1 10.2
commit cleanout failures: block l 199 0.0 0.3
commit cleanout failures: buffer 69 0.0 0.1
commit cleanout failures: callbac 0 0.0 0.0
commit cleanouts 40,688 6.6 63.8
commit cleanouts successfully com 40,420 6.5 63.4
commit txn count during cleanout 4,652 0.8 7.3
consistent changes 150 0.0 0.2
consistent gets 93,071,913 15,028.6 145,880.7
consistent gets - examination 1,487,526 240.2 2,331.6
cursor authentications 322 0.1 0.5
data blocks consistent reads - un 51 0.0 0.1
db block changes 1,226,967 198.1 1,923.2
db block gets 1,206,448 194.8 1,891.0
deferred (CURRENT) block cleanout 13,478 2.2 21.1
dirty buffers inspected 9,876 1.6 15.5
enqueue conversions 41 0.0 0.1
enqueue releases 12,783 2.1 20.0
enqueue requests 12,785 2.1 20.0
enqueue waits 0 0.0 0.0
execute count 214,538 34.6 336.3
free buffer inspected 9,879 1.6 15.5
free buffer requested 349,615 56.5 548.0
hot buffers moved to head of LRU 141,298 22.8 221.5
immediate (CR) block cleanout app 1,161 0.2 1.8
immediate (CURRENT) block cleanou 23,894 3.9 37.5
Instance Activity Stats for DB: UAT Instance: UAT Snaps: 2 -3
Statistic Total per Second per Trans
index fast full scans (full) 19 0.0 0.0
index fetch by key 671,512 108.4 1,052.5
index scans kdiixs1 56,328,309 9,095.5 88,288.9
leaf node 90-10 splits 16 0.0 0.0
leaf node splits 2,187 0.4 3.4
logons cumulative 105 0.0 0.2
messages received 1,653 0.3 2.6
messages sent 1,653 0.3 2.6
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 35,118,594 5,670.7 55,044.8
opened cursors cumulative 4,036 0.7 6.3
parse count (failures) 43 0.0 0.1
parse count (hard) 1,516 0.2 2.4
parse count (total) 160,939 26.0 252.3
parse time cpu 421 0.1 0.7
parse time elapsed 870 0.1 1.4
physical reads 291,165 47.0 456.4
physical reads direct 45 0.0 0.1
physical writes 43,672 7.1 68.5
physical writes direct 45 0.0 0.1
physical writes non checkpoint 41,379 6.7 64.9
pinned buffers inspected 3 0.0 0.0
prefetched blocks 88,896 14.4 139.3
prefetched blocks aged out before 22 0.0 0.0
process last non-idle time 75,777 12.2 118.8
recursive calls 114,829 18.5 180.0
recursive cpu usage 11,704 1.9 18.3
redo blocks written 275,521 44.5 431.9
redo buffer allocation retries 419 0.1 0.7
redo entries 623,735 100.7 977.6
redo log space requests 10 0.0 0.0
redo log space wait time 192 0.0 0.3
redo ordering marks 3 0.0 0.0
redo size 277,633,840 44,830.3 435,162.8
redo synch time 5,185 0.8 8.1
redo synch writes 675 0.1 1.1
redo wastage 818,952 132.2 1,283.6
redo write time 26,562 4.3 41.6
redo writes 1,705 0.3 2.7
rollback changes - undo records a 395 0.1 0.6
rollbacks only - consistent read 49 0.0 0.1
rows fetched via callback 553,910 89.4 868.2
session connect time 74,797 12.1 117.2
session logical reads 94,278,361 15,223.4 147,771.7
session pga memory 2,243,808 362.3 3,516.9
session pga memory max 1,790,880 289.2 2,807.0
session uga memory 2,096,104 338.5 3,285.4
session uga memory max 32,637,856 5,270.1 51,156.5
shared hash latch upgrades - no w 56,430,882 9,112.0 88,449.7
sorts (memory) 21,055 3.4 33.0
sorts (rows) 32,268,330 5,210.5 50,577.3
summed dirty queue length 53,238 8.6 83.5
switch current to new buffer 37,071 6.0 58.1
table fetch by rowid 90,385,043 14,594.7 141,669.4
table fetch continued row 104,336 16.9 163.5
table scan blocks gotten 376,181 60.7 589.6
Instance Activity Stats for DB: UAT Instance: UAT Snaps: 2 -3
Statistic Total per Second per Trans
table scan rows gotten 5,103,693 824.1 7,999.5
table scans (long tables) 97 0.0 0.2
table scans (short tables) 53,485 8.6 83.8
transaction rollbacks 247 0.0 0.4
user calls 309,698 50.0 485.4
user commits 423 0.1 0.7
user rollbacks 215 0.0 0.3
workarea executions - opt 37,753 6.1 59.2
write clones created in foregroun 718 0.1 1.1
Tablespace IO Stats for DB: UAT Instance: UAT Snaps: 2 -3
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
USERS
200,144 32 2.3 1.4 22,576 4 0 0.0
UNDOTBS1
38 0 9.5 1.0 19,348 3 0 0.0
SYSTEM
2,016 0 4.7 1.5 505 0 0 0.0
TOOLS
14 0 9.3 1.3 1,237 0 0 0.0
IMAGES
3 0 6.7 1.0 3 0 0 0.0
INDX
3 0 6.7 1.0 3 0 0 0.0
Buffer Pool Statistics for DB: UAT Instance: UAT Snaps: 2 -3
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 49,625 99.7 94,278,286 291,074 43,627 0 0 0
Instance Recovery Stats for DB: UAT Instance: UAT Snaps: 2 -3
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 38 9 2311 13283 13021 92160 13021
E 38 7 899 4041 3767 92160 3767
Buffer Pool Advisory for DB: UAT Instance: UAT End Snap: 3
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate (default block size first)
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 32 .1 3,970 2.94 2,922,389
D 64 .2 7,940 2.54 2,524,222
D 96 .2 11,910 2.38 2,365,570
D 128 .3 15,880 2.27 2,262,338
D 160 .4 19,850 2.19 2,183,287
D 192 .5 23,820 1.97 1,962,758
D 224 .6 27,790 1.30 1,293,415
D 256 .6 31,760 1.21 1,203,737
D 288 .7 35,730 1.10 1,096,115
D 320 .8 39,700 1.06 1,056,077
D 352 .9 43,670 1.04 1,036,708
D 384 1.0 47,640 1.02 1,012,912
D 400 1.0 49,625 1.00 995,426
D 416 1.0 51,610 0.99 982,641
D 448 1.1 55,580 0.97 966,874
D 480 1.2 59,550 0.89 890,749
D 512 1.3 63,520 0.88 879,062
D 544 1.4 67,490 0.87 864,539
D 576 1.4 71,460 0.80 800,284
D 608 1.5 75,430 0.76 756,222
D 640 1.6 79,400 0.75 749,473
PGA Aggr Target Stats for DB: UAT Instance: UAT Snaps: 2 -3
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
100.0 851 0
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 320 282 12.6 0.0 .0 .0 .0 16,384
E 320 281 15.3 0.0 .0 .0 .0 16,384
PGA Aggr Target Histogram for DB: UAT Instance: UAT Snaps: 2 -3
-> Opt Executions are purely in-memory operations
Low High
Opt Opt Total Execs Opt Execs 1-Pass Execs M-Pass Execs
8K 16K 37,010 37,010 0 0
16K 32K 70 70 0 0
32K 64K 11 11 0 0
64K 128K 34 34 0 0
128K 256K 9 9 0 0
256K 512K 54 54 0 0
512K 1024K 536 536 0 0
1M 2M 7 7 0 0
2M 4M 24 24 0 0
PGA Memory Advisory for DB: UAT Instance: UAT End Snap: 3
-> When using Auto Memory Mgmt, minly choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
40 0.1 3,269.7 98.2 97.0 0
80 0.3 3,269.7 9.6 100.0 0
160 0.5 3,269.7 9.6 100.0 0
240 0.8 3,269.7 0.0 100.0 0
320 1.0 3,269.7 0.0 100.0 0
384 1.2 3,269.7 0.0 100.0 0
448 1.4 3,269.7 0.0 100.0 0
512 1.6 3,269.7 0.0 100.0 0
576 1.8 3,269.7 0.0 100.0 0
640 2.0 3,269.7 0.0 100.0 0
960 3.0 3,269.7 0.0 100.0 0
1,280 4.0 3,269.7 0.0 100.0 0
1,920 6.0 3,269.7 0.0 100.0 0
2,560 8.0 3,269.7 0.0 100.0 0
-------------------------------------------------------------Rollback Segment Stats for DB: UAT Instance: UAT Snaps: 2 -3
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 22.0 0.00 0 0 0 0
1 650.0 0.00 1,868,300 0 0 0
2 1,987.0 0.00 4,613,768 9 0 7
3 6,070.0 0.00 24,237,494 37 0 36
4 223.0 0.00 418,942 3 0 1
5 621.0 0.00 1,749,086 11 0 11
6 8,313.0 0.00 48,389,590 54 0 52
7 7,248.0 0.00 14,477,004 19 0 17
8 1,883.0 0.00 12,332,646 14 0 12
9 2,729.0 0.00 17,820,450 19 0 19
10 1,009.0 0.00 2,857,150 5 0 3
Rollback Segment Storage for DB: UAT Instance: UAT Snaps: 2 -3
->Opt Size should be larger than Avg Active
RBS No Segment Size Avg Active Opt Size Maximum Size
0 450,560 0 450,560
1 8,511,488 6,553 8,511,488
2 8,511,488 4,592,363 18,997,248
3 29,351,936 14,755,792 29,483,008
4 2,220,032 105,188 2,220,032
5 3,137,536 3,416,104 54,648,832
6 55,697,408 21,595,184 55,697,408
7 26,337,280 9,221,107 26,337,280
8 13,754,368 5,142,374 13,754,368
9 22,011,904 10,220,526 22,011,904
10 4,317,184 3,810,892 13,754,368
Undo Segment Summary for DB: UAT Instance: UAT Snaps: 2 -3
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 19,305 109,683 648 3 0 0 0/0/0/0/0/0
Undo Segment Stats for DB: UAT Instance: UAT Snaps: 2 -3
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
15-Jul 12:32 10 13,451 3 2 0 0 0/0/0/0/0/0
15-Jul 12:22 87 13,384 6 1 0 0 0/0/0/0/0/0
15-Jul 12:12 3,746 13,229 91 1 0 0 0/0/0/0/0/0
15-Jul 12:02 8,949 13,127 648 1 0 0 0/0/0/0/0/0
15-Jul 11:52 1,496 10,476 24 1 0 0 0/0/0/0/0/0
15-Jul 11:42 3,895 10,441 6 1 0 0 0/0/0/0/0/0
15-Jul 11:32 531 9,155 1 3 0 0 0/0/0/0/0/0
15-Jul 11:22 0 8,837 3 0 0 0 0/0/0/0/0/0
15-Jul 11:12 4 8,817 3 1 0 0 0/0/0/0/0/0
15-Jul 11:02 587 8,766 2 2 0 0 0/0/0/0/0/0
Latch Activity for DB: UAT Instance: UAT Snaps: 2 -3
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
Consistent RBA 1,708 0.0 0 0
FIB s.o chain latch 40 0.0 0 0
FOB s.o list latch 467 0.0 0 0
SQL memory manager latch 1 0.0 0 2,038 0.0
SQL memory manager worka 174,015 0.0 0 0
active checkpoint queue 2,081 0.0 0 0
archive control 1 0.0 0 0
cache buffer handles 162,618 0.0 0 0
cache buffers chains 190,111,507 0.0 0.2 0 426,778 0.0
cache buffers lru chain 425,142 0.0 0.2 0 65,895 0.0
channel handle pool latc 202 0.0 0 0
channel operations paren 4,405 0.0 0 0
checkpoint queue latch 228,932 0.0 0.0 0 41,321 0.0
child cursor hash table 18,320 0.0 0 0
commit callback allocati 4 0.0 0 0
dml lock allocation 2,482 0.0 0 0
dummy allocation 204 0.0 0 0
enqueue hash chains 25,615 0.0 0 0
enqueues 15,416 0.0 0 0
event group latch 104 0.0 0 0
hash table column usage 410 0.0 0 191,319 0.0
internal temp table obje 1,048 0.0 0 0
job_queue_processes para 103 0.0 0 0
ktm global data 21 0.0 0 0
lgwr LWN SCN 3,215 0.0 0.0 0 0
library cache 1,657,451 0.0 0.0 0 1,479 0.1
library cache load lock 1,126 0.0 0 0
library cache pin 1,112,420 0.0 0.0 0 0
library cache pin alloca 670,952 0.0 0.0 0 0
list of block allocation 2,748 0.0 0 0
loader state object free 36 0.0 0 0
longop free list parent 1 0.0 0 1 0.0
messages 19,427 0.0 0 0
mostly latch-free SCN 3,229 0.3 0.0 0 0
multiblock read objects 15,022 0.0 0 0
ncodef allocation latch 99 0.0 0 0
object stats modificatio 28 0.0 0 0
post/wait queue 1,810 0.0 0 1,102 0.0
process allocation 202 0.0 0 104 0.0
process group creation 202 0.0 0 0
redo allocation 629,175 0.0 0.0 0 0
redo copy 0 0 623,865 0.0
redo writing 11,487 0.0 0 0
row cache enqueue latch 197,626 0.0 0 0
row cache objects 201,089 0.0 0 642 0.0
sequence cache 348 0.0 0 0
session allocation 3,634 0.1 0.0 0 0
session idle bit 621,031 0.0 0 0
session switching 99 0.0 0 0
session timer 2,079 0.0 0 0
Latch Activity for DB: UAT Instance: UAT Snaps: 2 -3
->"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
->"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
->"Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
shared pool 786,331 0.0 0.1 0 0
sim partition latch 0 0 193 0.0
simulator hash latch 5,885,552 0.0 0 0
simulator lru latch 12,981 0.0 0 66,129 0.0
sort extent pool 120 0.0 0 0
transaction allocation 249 0.0 0 0
transaction branch alloc 99 0.0 0 0
undo global data 27,867 0.0 0 0
user lock 396 0.0 0 0
Latch Sleep breakdown for DB: UAT Instance: UAT Snaps: 2 -3
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
cache buffers lru chain 425,142 82 15 67/15/0/0/0
library cache 1,657,451 76 3 73/3/0/0/0
shared pool 786,331 37 2 35/2/0/0/0
redo allocation 629,175 31 1 30/1/0/0/0
cache buffers chains 190,111,507 21 4 19/0/2/0/0
Latch Miss Sources for DB: UAT Instance: UAT Snaps: 2 -3
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbget: pin buffer 0 2 0
cache buffers chains kcbgtcr: fast path 0 2 0
cache buffers lru chain kcbbiop: lru scan 2 12 0
cache buffers lru chain kcbbwlru 0 2 0
cache buffers lru chain kcbbxsv: move to being wri 0 1 0
library cache kgllkdl: child: cleanup 0 1 0
library cache kglpin: child: heap proces 0 1 0
library cache kglpndl: child: before pro 0 1 0
redo allocation kcrfwi: more space 0 1 0
shared pool kghalo 0 2 0
------------------------------------------------------------- -
How do I interpret it ...And can anyone please suggest measures to improve my database performance from the available report.
STATSPACK report for
Database DB Id Instance Inst Num Startup Time Release RAC
~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---
1184214567 orcl 1 03-Jun-08 16:02 10.2.0.1.0 NO
Host Name: KRISHNAF39E Num CPUs: 1 Phys Memory (MB): 512
~~~~
Snapshot Snap Id Snap Time Sessions Curs/Sess Comment
~~~~~~~~ ---------- ------------------ -------- --------- -------------------
Begin Snap: 1 03-Jun-08 16:07:21 17 5.8
End Snap: 32 03-Jun-08 21:35:08 22 9.0
Elapsed: 327.78 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 76M 72M Std Block Size: 8K
Shared Pool Size: 72M 76M Log Buffer: 2,832K
Load Profile Per Second Per Transaction
~~~~~~~~~~~~ --------------- ---------------
Redo size: 626.65 10,085.31
Logical reads: 18.57 298.82
Block changes: 2.72 43.79
Physical reads: 0.13 2.07
Physical writes: 0.34 5.40
User calls: 1.31 21.14
Parses: 1.56 25.10
Hard parses: 0.20 3.14
Sorts: 0.95 15.27
Logons: 0.01 0.17
Executes: 4.16 67.02
Transactions: 0.06
% Blocks changed per Read: 14.66 Recursive Call %: 95.81
Rollback per transaction %: 5.32 Rows per Sort: 9.86
Instance Efficiency Percentages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.99
Buffer Hit %: 99.31 In-memory Sort %: 100.00
Library Hit %: 92.48 Soft Parse %: 87.47
Execute to Parse %: 62.55 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 76.73 % Non-Parse CPU: 86.05
Shared Pool Statistics Begin End
Memory Usage %: 75.34 93.45
% SQL with executions>1: 64.78 93.71
% Memory for SQL w/exec>1: 85.34 95.57
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
control file parallel write 5,371 147 27 28.2
CPU time 108 20.7
db file parallel write 3,730 86 23 16.5
log file parallel write 2,080 45 22 8.7
control file sequential read 5,651 42 7 8.0
Host CPU (CPUs: 1)
~~~~~~~~ Load Average
Begin End User System Idle WIO WCPU
0.89 3.04 96.07
Note: There is a 18% discrepancy between the OS Stat total CPU time and
the total CPU time estimated by Statspack
OS Stat CPU time: 16115(s) (BUSY_TIME + IDLE_TIME)
Statspack CPU time: 19667(s) (Elapsed time * num CPUs in end snap)
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 0.92
% of busy CPU for Instance: 23.31
%DB time waiting for CPU - Resource Mgr:
Memory Statistics Begin End
~~~~~~~~~~~~~~~~~ ------------ ------------
Host Mem (MB): 511.6 511.6
SGA use (MB): 160.0 160.0
PGA use (MB): 24.5 29.5
% Host Mem used for SGA+PGA: 36.1 37.1
Time Model System Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> Ordered by % of DB time desc, Statistic name
Statistic Time (s) % of DB time
sql execute elapsed time 162.4 76.3
DB CPU 103.7 48.7
PL/SQL execution elapsed time 50.2 23.6
parse time elapsed 36.3 17.1
hard parse elapsed time 34.0 16.0
PL/SQL compilation elapsed time 5.5 2.6
hard parse (sharing criteria) elaps 0.8 .4
connection management call elapsed 0.6 .3
repeated bind elapsed time 0.2 .1
hard parse (bind mismatch) elapsed 0.0 .0
sequence load elapsed time 0.0 .0
failed parse elapsed time 0.0 .0
DB time 212.8
background elapsed time 366.6
background cpu time 43.9
Wait Events DB/Inst: ORCL/orcl Snaps: 1-32
-> s - second, cs - centisecond, ms - millisecond, us - microsecond
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by Total Wait Time desc, Waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
control file parallel write 5,371 0 147 27 4.4
db file parallel write 3,730 0 86 23 3.1
log file parallel write 2,080 0 45 22 1.7
control file sequential read 5,651 0 42 7 4.6
db file sequential read 2,009 0 37 19 1.6
log file sync 910 1 35 38 0.7
Streams AQ: qmn coordinator waiti 2 100 10 5004 0.0
db file scattered read 111 0 4 35 0.1
os thread startup 71 0 3 41 0.1
Data file init write 16 0 1 72 0.0
library cache load lock 3 0 1 337 0.0
SQL*Net break/reset to client 1,232 0 1 1 1.0
log file switch completion 3 0 1 192 0.0
SGA: MMAN sleep for component shr 64 67 0 7 0.1
latch free 416 0 0 0 0.3
read by other session 6 0 0 20 0.0
rdbms ipc reply 62 0 0 2 0.1
library cache pin 4 0 0 16 0.0
log file sequential read 2 0 0 14 0.0
latch: library cache 6 0 0 3 0.0
LGWR wait for redo copy 24 0 0 1 0.0
log file single write 2 0 0 5 0.0
buffer busy waits 9 0 0 1 0.0
latch: shared pool 5 0 0 0 0.0
direct path write 21 0 0 0 0.0
SQL*Net message from client 23,572 0 49,054 2081 19.3
Streams AQ: qmn slave idle wait 705 16 18,942 26868 0.6
Streams AQ: qmn coordinator idle 1,015 76 16,085 15848 0.8
Streams AQ: waiting for messages 3,226 99 16,080 4985 2.6
virtual circuit status 538 100 16,071 29872 0.4
wait for unread message on broadc 15,873 100 15,891 1001 13.0
Streams AQ: waiting for time mana 87 47 10,271 ###### 0.1
jobq slave wait 1,263 99 3,780 2993 1.0
class slave wait 3 100 15 5004 0.0
SQL*Net message to client 23,577 0 0 0 19.3
SQL*Net more data from client 139 0 0 0 0.1
Background Wait Events DB/Inst: ORCL/orcl Snaps: 1-32
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
-> Only events with Total Wait Time (s) >= .001 are shown
-> ordered by Total Wait Time desc, Waits desc (idle events last)
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
control file parallel write 5,368 0 147 27 4.4
db file parallel write 3,730 0 86 23 3.1
log file parallel write 2,080 0 45 22 1.7
events in waitclass Other 369 1 10 28 0.3
control file sequential read 783 0 8 10 0.6
os thread startup 71 0 3 41 0.1
db file sequential read 112 0 2 17 0.1
db file scattered read 70 0 1 20 0.1
log file switch completion 3 0 1 192 0.0
SGA: MMAN sleep for component shr 64 67 0 7 0.1
log file sequential read 2 0 0 14 0.0
log file single write 2 0 0 5 0.0
buffer busy waits 9 0 0 1 0.0
rdbms ipc message 53,282 96 139,790 2624 43.6
pmon timer 5,447 100 16,111 2958 4.5
Streams AQ: qmn coordinator idle 1,015 76 16,085 15848 0.8
smon timer 67 73 15,427 ###### 0.1
Streams AQ: qmn slave idle wait 456 11 12,775 28016 0.4
Streams AQ: waiting for time mana 87 47 10,271 ###### 0.1
Wait Event Histogram DB/Inst: ORCL/orcl Snaps: 1-32
-> Total Waits - units: K is 1000, M is 1000000, G is 1000000000
-> % of Waits - column heading: <=1s is truly <1024ms, >1s is truly >=1024ms
-> % of Waits - value: .0 indicates value was <.05%, null is truly 0
-> Ordered by Event (idle events last)
Total ----------------- % of Waits ------------------
Event Waits <1ms <2ms <4ms <8ms <16ms <32ms <=1s >1s
Data file init write 16 37.5 18.8 31.3 12.5
LGWR wait for redo copy 24 95.8 4.2
SGA: MMAN sleep for compon 64 14.1 4.7 6.3 29.7 43.8 1.6
SQL*Net break/reset to cli 1232 91.2 6.9 .8 .6 .2 .2
SQL*Net more data to clien 12 100.0
Streams AQ: qmn coordinato 2 100.0
buffer busy waits 9 88.9 11.1
control file parallel writ 5371 .4 39.6 54.2 .8 .4 .8 3.3 .5
control file sequential re 5651 86.9 2.9 1.3 .9 1.7 3.1 3.0 .1
db file parallel write 3730 28.7 6.1 10.0 9.7 15.4 20.1 9.8 .2
db file scattered read 111 10.8 9.0 18.9 11.7 10.8 17.1 21.6
db file sequential read 2010 28.6 14.3 4.3 4.7 13.5 20.4 14.2
db file single write 1 100.0
direct path read 6 100.0
direct path write 21 100.0
latch free 413 96.9 1.7 .7 .7
latch: enqueue hash chains 1 100.0
latch: library cache 4 75.0 25.0
latch: library cache pin 1 100.0
latch: shared pool 5 80.0 20.0
library cache load lock 3 100.0
library cache pin 4 50.0 25.0 25.0
log file parallel write 2080 69.3 4.7 1.9 .9 2.9 10.2 9.8 .2
log file sequential read 2 50.0 50.0
log file single write 2 50.0 50.0
log file switch completion 3 33.3 33.3 33.3
log file sync 910 41.0 17.7 2.1 3.0 5.4 13.2 17.7
os thread startup 71 1.4 1.4 35.2 31.0 12.7 18.3
rdbms ipc reply 62 83.9 3.2 1.6 4.8 6.5
read by other session 6 33.3 50.0 16.7
undo segment extension 1 100.0
SQL*Net message from clien 23K 84.4 2.2 1.1 .7 .6 .5 .6 9.9
SQL*Net message to client 23K 99.9 .1
SQL*Net more data from cli 139 100.0
Streams AQ: qmn coordinato 1015 22.9 .9 .1 .2 .1 75.9
Streams AQ: qmn slave idle 705 4.1 .1 .1 .6 1.0 94.0
Streams AQ: waiting for me 3226 .0 .3 99.7
Streams AQ: waiting for ti 87 23.0 10.3 66.7
class slave wait 3 100.0
dispatcher timer 269 100.0
jobq slave wait 1263 .4 99.6
pmon timer 5447 1.4 .1 .1 98.4
rdbms ipc message 53K 1.0 .2 .2 .2 .3 .2 31.2 66.7
smon timer 67 9.0 1.5 89.6
virtual circuit status 538 100.0
wait for unread message on 15K .0 .0 99.9 .1
SQL ordered by CPU DB/Inst: ORCL/orcl Snaps: 1-32
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total DB CPU (s): 104
-> Captured SQL accounts for 61.1% of Total DB CPU
-> SQL reported below exceeded 1.0% of Total DB CPU
CPU CPU per Elapsd Old
Time (s) Executions Exec (s) %Total Time (s) Buffer Gets Hash Value
44.02 576 0.08 42.5 46.47 12,780 1206412919
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
5.77 6,381 0.00 5.6 5.98 40,624 1396250429
Module: OEM.SystemPool
begin MGMT_JOB_ENGINE.get_scheduled_steps(:1, :2, :3, :4); end;
1.81 1 1.81 1.7 2.08 13,786 2522684317
Module: SQL*Plus
BEGIN statspack.snap; END;
SQL ordered by Elapsed DB/Inst: ORCL/orcl Snaps: 1-32
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total DB Time (s): 213
-> Captured SQL accounts for 39.2% of Total DB Time
-> SQL reported below exceeded 1.0% of Total DB Time
Elapsed Elap per CPU Old
Time (s) Executions Exec (s) %Total Time (s) Physical Reads Hash Value
46.47 576 0.08 21.8 44.02 76 1206412919
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
6.18 478 0.01 2.9 0.27 288 986338823
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece fr
om idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
5.98 6,381 0.00 2.8 5.77 6 1396250429
Module: OEM.SystemPool
begin MGMT_JOB_ENGINE.get_scheduled_steps(:1, :2, :3, :4); end;
SQL ordered by Gets DB/Inst: ORCL/orcl Snaps: 1-32
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> End Buffer Gets Threshold: 10000 Total Buffer Gets: 365,154
-> Captured SQL accounts for 54.0% of Total Buffer Gets
-> SQL reported below exceeded 1.0% of Total Buffer Gets
CPU Elapsd Old
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
40,624 6,381 6.4 11.1 5.77 5.98 1396250429
Module: OEM.SystemPool
begin MGMT_JOB_ENGINE.get_scheduled_steps(:1, :2, :3, :4); end;
20,280 4,090 5.0 5.6 0.38 0.38 2482976222
select intcol#,nvl(pos#,0),col#,nvl(spare1,0) from ccol$ where c
on#=:1
19,221 6,381 3.0 5.3 0.74 0.74 2360644236
Module: OEM.SystemPool
SELECT JOB_ID, EXECUTION_ID, STEP_ID, STEP_NAME, STEP_TYPE, ITER
ATE_PARAM, ITERATE_PARAM_INDEX, COMMAND_TYPE, TIMEZONE_REGION FR
OM MGMT_JOB_EXECUTION J WHERE STEP_TYPE IN (:B7 , :B6 , :B5 ) AN
D STEP_STATUS = :B4 AND COMMAND_TYPE = :B3 AND STEP_NAME LIKE :B
2 AND START_TIME <= SYS_EXTRACT_UTC(SYSTIMESTAMP) AND ROWNUM <=
13,786 1 13,786.0 3.8 1.81 2.08 2522684317
Module: SQL*Plus
BEGIN statspack.snap; END;
12,780 576 22.2 3.5 44.02 46.47 1206412919
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
12,293 3,871 3.2 3.4 0.55 1.24 3665763022
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
11,781 860 13.7 3.2 0.28 1.33 2062595902
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, nvl(property,0),subname,d_attrs from dependency$ d, obj$ o
where d_obj#=:1 and p_obj#=obj#(+) order by order#
10,106 152 66.5 2.8 0.57 0.99 1405417040
Module: OEM.SystemPool
INSERT INTO MGMT_METRICS_RAW(COLLECTION_TIMESTAMP, KEY_VALUE, ME
TRIC_GUID, STRING_VALUE, TARGET_GUID, VALUE) VALUES ( :1, NVL(:2
, ' '), :3, :4, :5, :6)
9,538 1,313 7.3 2.6 0.20 0.21 2889900621
select pos#,intcol#,col#,spare1,bo#,spare2 from icol$ where obj#
=:1
9,414 860 10.9 2.6 0.22 1.05 1198893840
select order#,columns,types from access$ where d_obj#=:1
8,535 1,002 8.5 2.3 0.48 0.88 3694268570
SQL ordered by Gets DB/Inst: ORCL/orcl Snaps: 1-32
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> End Buffer Gets Threshold: 10000 Total Buffer Gets: 365,154
-> Captured SQL accounts for 54.0% of Total Buffer Gets
-> SQL reported below exceeded 1.0% of Total Buffer Gets
CPU Elapsd Old
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i
.property,i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.
distkey,i.lblkkey,i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samp
lesize,i.dataobj#,nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mo
d(i.pctthres$,256),i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(
8,516 3,330 2.6 2.3 0.23 1.51 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
7,836 194 40.4 2.1 0.06 0.06 1129615673
select u.name,o.name, t.update$, t.insert$, t.delete$, t.enabled
from obj$ o,user$ u,trigger$ t where t.baseobject=:1 and t.ob
j#=o.obj# and o.owner#=u.user# and bitand(property,16)=0 and bi
tand(property,8)=0 order by o.obj#
6,647 3,269 2.0 1.8 0.99 0.99 1316169839
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
6,643 860 7.7 1.8 0.18 0.20 1937775682
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,n
vl(enabled,0),rowid,cols,nvl(defer,0),mtime,nvl(spare1,0) from c
def$ where obj#=:1
6,152 112 54.9 1.7 0.62 1.05 1666200974
Module: OEM.SystemPool
BEGIN EM_PING.RECORD_BATCH_HEARTBEAT(:1, :2, :3); END;
5,398 173 31.2 1.5 0.36 0.47 2384968239
Module: OEM.SystemPool
BEGIN :1 := MGMT_BLACKOUT_ENGINE.get_blackout_windows(:2,:3); EN
D;
5,037 1,247 4.0 1.4 0.52 0.54 839312984
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decod
e(type#,2,nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180
,scale,181,scale,182,scale,183,scale,231,scale,0),null$,fixedsto
rage,nvl(deflength,0),default$,rowid,col#,property, nvl(charseti
d,0),nvl(charsetform,0),spare1,spare2,nvl(spare3,0) from col$ wh
SQL ordered by Reads DB/Inst: ORCL/orcl Snaps: 1-32
-> End Disk Reads Threshold: 1000 Total Disk Reads: 2,530
-> Captured SQL accounts for 28.4% of Total Disk Reads
-> SQL reported below exceeded 1.0% of Total Disk Reads
CPU Elapsd Old
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
288 478 0.6 11.4 0.27 6.18 986338823
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece fr
om idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
76 576 0.1 3.0 44.02 46.47 1206412919
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
69 478 0.1 2.7 0.12 1.25 386388955
select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece fr
om idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
47 3,330 0.0 1.9 0.23 1.51 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
43 860 0.1 1.7 0.28 1.33 2062595902
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, nvl(property,0),subname,d_attrs from dependency$ d, obj$ o
where d_obj#=:1 and p_obj#=obj#(+) order by order#
36 478 0.1 1.4 0.11 1.58 2954231783
select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece fr
om idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
35 860 0.0 1.4 0.22 1.05 1198893840
select order#,columns,types from access$ where d_obj#=:1
26 173 0.2 1.0 0.36 0.47 2384968239
Module: OEM.SystemPool
BEGIN :1 := MGMT_BLACKOUT_ENGINE.get_blackout_windows(:2,:3); EN
D;
SQL ordered by Executions DB/Inst: ORCL/orcl Snaps: 1-32
-> End Executions Threshold: 100 Total Executions: 81,903
-> Captured SQL accounts for 76.9% of Total Executions
-> SQL reported below exceeded 1.0% of Total Executions
CPU per Elap per Old
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
6,435 6,435 1.0 0.00 0.00 1667689875
Module: EM_PING
SELECT SYS_EXTRACT_UTC(SYSTIMESTAMP) FROM DUAL
6,381 6,381 1.0 0.00 0.00 1396250429
Module: OEM.SystemPool
begin MGMT_JOB_ENGINE.get_scheduled_steps(:1, :2, :3, :4); end;
6,381 0 0.0 0.00 0.00 2360644236
Module: OEM.SystemPool
SELECT JOB_ID, EXECUTION_ID, STEP_ID, STEP_NAME, STEP_TYPE, ITER
ATE_PARAM, ITERATE_PARAM_INDEX, COMMAND_TYPE, TIMEZONE_REGION FR
OM MGMT_JOB_EXECUTION J WHERE STEP_TYPE IN (:B7 , :B6 , :B5 ) AN
D STEP_STATUS = :B4 AND COMMAND_TYPE = :B3 AND STEP_NAME LIKE :B
2 AND START_TIME <= SYS_EXTRACT_UTC(SYSTIMESTAMP) AND ROWNUM <=
4,090 6,051 1.5 0.00 0.00 2482976222
select intcol#,nvl(pos#,0),col#,nvl(spare1,0) from ccol$ where c
on#=:1
3,871 3,255 0.8 0.00 0.00 3665763022
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
3,330 1,856 0.6 0.00 0.00 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
3,269 52 0.0 0.00 0.00 1316169839
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
3,218 3,218 1.0 0.00 0.00 1693927332
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
1,313 3,457 2.6 0.00 0.00 2889900621
select pos#,intcol#,col#,spare1,bo#,spare2 from icol$ where obj#
=:1
1,247 15,878 12.7 0.00 0.00 839312984
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decod
e(type#,2,nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180
,scale,181,scale,182,scale,183,scale,231,scale,0),null$,fixedsto
rage,nvl(deflength,0),default$,rowid,col#,property, nvl(charseti
SQL ordered by Executions DB/Inst: ORCL/orcl Snaps: 1-32
-> End Executions Threshold: 100 Total Executions: 81,903
-> Captured SQL accounts for 76.9% of Total Executions
-> SQL reported below exceeded 1.0% of Total Executions
CPU per Elap per Old
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
d,0),nvl(charsetform,0),spare1,spare2,nvl(spare3,0) from col$ wh
1,003 474 0.5 0.00 0.00 1980305124
select grantee#,privilege#,nvl(col#,0),max(mod(nvl(option$,0),2)
)from objauth$ where obj#=:1 group by grantee#,privilege#,nvl(co
l#,0) order by grantee#
1,002 1,313 1.3 0.00 0.00 3694268570
select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,i
.property,i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i.
distkey,i.lblkkey,i.dblkkey,i.clufac,i.cols,i.analyzetime,i.samp
lesize,i.dataobj#,nvl(i.degree,1),nvl(i.instances,1),i.rowcnt,mo
d(i.pctthres$,256),i.indmethod#,i.trunccnt,nvl(c.unicols,0),nvl(
999 0 0.0 0.00 0.00 204386021
select col#, grantee#, privilege#,max(mod(nvl(option$,0),2)) fro
m objauth$ where obj#=:1 and col# is not null group by privilege
#, col#, grantee# order by col#, grantee#
927 856 0.9 0.00 0.00 2703824309
select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespa
ce=:3 and remoteowner is null and linkname is null and subname i
s null
901 365 0.4 0.00 0.00 2018736380
select timestamp, flags from fixed_obj$ where obj#=:1
860 3,847 4.5 0.00 0.00 1198893840
select order#,columns,types from access$ where d_obj#=:1
860 4,090 4.8 0.00 0.00 1937775682
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,n
vl(enabled,0),rowid,cols,nvl(defer,0),mtime,nvl(spare1,0) from c
def$ where obj#=:1
860 4,216 4.9 0.00 0.00 2062595902
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, nvl(property,0),subname,d_attrs from dependency$ d, obj$ o
where d_obj#=:1 and p_obj#=obj#(+) order by order#
860 216 0.3 0.00 0.00 2065408759
select con#,obj#,rcon#,enabled,nvl(defer,0) from cdef$ where rob
j#=:1
857 857 1.0 0.00 0.00 3047156589
select t.ts#,t.file#,t.block#,nvl(t.bobj#,0),nvl(t.tab#,0),t.int
cols,nvl(t.clucols,0),t.audit$,t.flags,t.pctfree$,t.pctused$,t.i
nitrans,t.maxtrans,t.rowcnt,t.blkcnt,t.empcnt,t.avgspc,t.chncnt,
t.avgrln,t.analyzetime,t.samplesize,t.cols,t.property,nvl(t.degr
ee,1),nvl(t.instances,1),t.avgspc_flb,t.flbcnt,t.kernelcols,nvl(
SQL ordered by Executions DB/Inst: ORCL/orcl Snaps: 1-32
-> End Executions Threshold: 100 Total Executions: 81,903
-> Captured SQL accounts for 76.9% of Total Executions
-> SQL reported below exceeded 1.0% of Total Executions
CPU per Elap per Old
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
SQL ordered by Parse Calls DB/Inst: ORCL/orcl Snaps: 1-32
-> End Parse Calls Threshold: 1000 Total Parse Calls: 30,669
-> Captured SQL accounts for 57.7% of Total Parse Calls
-> SQL reported below exceeded 1.0% of Total Parse Calls
% Total Old
Parse Calls Executions Parses Hash Value
1,388 616 4.53 260339297
insert into sys.col_usage$ values ( :objn, :coln, decode(bit
and(:flag,1),0,0,1), decode(bitand(:flag,2),0,0,1), decode(b
itand(:flag,4),0,0,1), decode(bitand(:flag,8),0,0,1), decode
(bitand(:flag,16),0,0,1), decode(bitand(:flag,32),0,0,1), :t
ime)
1,388 3,871 4.53 3665763022
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
901 901 2.94 2018736380
select timestamp, flags from fixed_obj$ where obj#=:1
860 860 2.80 1198893840
select order#,columns,types from access$ where d_obj#=:1
860 860 2.80 2062595902
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, nvl(property,0),subname,d_attrs from dependency$ d, obj$ o
where d_obj#=:1 and p_obj#=obj#(+) order by order#
595 595 1.94 1348827743
select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#
,iniexts,NVL(lists,65535),NVL(groups,65535),cachehint,hwmincr, N
VL(spare1,0),NVL(scanhint,0) from seg$ where ts#=:1 and file#=:2
and block#=:3
515 514 1.68 2803285
update sys.mon_mods$ set inserts = inserts + :ins, updates = upd
ates + :upd, deletes = deletes + :del, flags = (decode(bitand(fl
ags, :flag), :flag, flags, flags + :flag)), drop_segments = drop
_segments + :dropseg, timestamp = :time where obj# = :objn
478 478 1.56 336764478
select /*+ index(idl_char$ i_idl_char1) +*/ piece#,length,piece
from idl_char$ where obj#=:1 and part=:2 and version=:3 order by
piece#
478 478 1.56 386388955
select /*+ index(idl_ub2$ i_idl_ub21) +*/ piece#,length,piece fr
om idl_ub2$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
478 478 1.56 986338823
select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#,length,piece fr
om idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
SQL ordered by Parse Calls DB/Inst: ORCL/orcl Snaps: 1-32
-> End Parse Calls Threshold: 1000 Total Parse Calls: 30,669
-> Captured SQL accounts for 57.7% of Total Parse Calls
-> SQL reported below exceeded 1.0% of Total Parse Calls
% Total Old
Parse Calls Executions Parses Hash Value
478 478 1.56 2954231783
select /*+ index(idl_sb4$ i_idl_sb41) +*/ piece#,length,piece fr
om idl_sb4$ where obj#=:1 and part=:2 and version=:3 order by pi
ece#
469 576 1.53 1206412919
Module: OEM.SystemPool
BEGIN EMD_NOTIFICATION.QUEUE_READY(:1, :2, :3); END;
463 463 1.51 3468666020
select text from view$ where rowid=:1
442 442 1.44 4143084494
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with grantee#=:1 and privilege
#>0
437 1,003 1.42 1980305124
select grantee#,privilege#,nvl(col#,0),max(mod(nvl(option$,0),2)
)from objauth$ where obj#=:1 group by grantee#,privilege#,nvl(co
l#,0) order by grantee#
433 999 1.41 204386021
select col#, grantee#, privilege#,max(mod(nvl(option$,0),2)) fro
m objauth$ where obj#=:1 and col# is not null group by privilege
#, col#, grantee# order by col#, grantee#
429 1,247 1.40 839312984
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decod
e(type#,2,nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180
,scale,181,scale,182,scale,183,scale,231,scale,0),null$,fixedsto
rage,nvl(deflength,0),default$,rowid,col#,property, nvl(charseti
d,0),nvl(charsetform,0),spare1,spare2,nvl(spare3,0) from col$ wh
383 383 1.25 794436051
Module: OEM.SystemPool
SELECT INSTANTIABLE, supertype_owner, supertype_name, LOCAL_ATTR
IBUTES FROM all_types WHERE type_name = :1 AND owner = :2
320 860 1.04 2065408759
select con#,obj#,rcon#,enabled,nvl(defer,0) from cdef$ where rob
j#=:1
316 860 1.03 1937775682
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,n
vl(enabled,0),rowid,cols,nvl(defer,0),mtime,nvl(spare1,0) from c
def$ where obj#=:1
Instance Activity Stats DB/Inst: ORCL/orcl Snaps: 1-32
Statistic Total per Second per Trans
CPU used by this session 10,750 0.6 8.8
CPU used when call started 8,740 0.4 7.2
CR blocks created 325 0.0 0.3
DB time 3,594,299 182.8 2,941.3
DBWR checkpoint buffers written 6,467 0.3 5.3
DBWR checkpoints 1 0.0 0.0
DBWR revisited being-written buff 0 0.0 0.0
DBWR transaction table writes 341 0.0 0.3
DBWR undo block writes 1,453 0.1 1.2
IMU CR rollbacks 114 0.0 0.1
IMU Flushes 5,074 0.3 4.2
IMU Redo allocation size 654,720 33.3 535.8
IMU commits 712 0.0 0.6
IMU contention 1 0.0 0.0
IMU pool not allocated 3,388 0.2 2.8
IMU recursive-transaction flush 5 0.0 0.0
IMU undo allocation size 3,035,144 154.3 2,483.8
IMU- failed to get a private stra 3,388 0.2 2.8
SMON posted for undo segment shri 12 0.0 0.0
SQL*Net roundtrips to/from client 23,321 1.2 19.1
active txn count during cleanout 322 0.0 0.3
application wait time 79 0.0 0.1
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 51,421 2.6 42.1
buffer is not pinned count 174,337 8.9 142.7
buffer is pinned count 50,933 2.6 41.7
bytes received via SQL*Net from c 2,725,918 138.6 2,230.7
bytes sent via SQL*Net to client 2,576,029 131.0 2,108.0
calls to get snapshot scn: kcmgss 116,448 5.9 95.3
calls to kcmgas 4,353 0.2 3.6
calls to kcmgcs 358 0.0 0.3
change write time 22 0.0 0.0
cleanout - number of ktugct calls 419 0.0 0.3
cleanouts only - consistent read 66 0.0 0.1
cluster key scan block gets 16,867 0.9 13.8
cluster key scans 9,001 0.5 7.4
commit batch performed 0 0.0 0.0
commit batch requested 0 0.0 0.0
commit batch/immediate performed 63 0.0 0.1
commit batch/immediate requested 63 0.0 0.1
commit cleanout failures: callbac 42 0.0 0.0
commit cleanouts 7,347 0.4 6.0
commit cleanouts successfully com 7,305 0.4 6.0
commit immediate performed 63 0.0 0.1
commit immediate requested 63 0.0 0.1
commit txn count during cleanout 224 0.0 0.2
concurrency wait time 399 0.0 0.3
consistent changes 334 0.0 0.3
consistent gets 319,228 16.2 261.2
consistent gets - examination 120,857 6.2 98.9
consistent gets from cache 319,228 16.2 261.2
cursor authentications 928 0.1 0.8
data blocks consistent reads - un 334 0.0 0.3
db block changes 53,514 2.7 43.8
db block gets 45,926 2.3 37.6
Instance Activity Stats DB/Inst: ORCL/orcl Snaps: 1-32
Statistic Total per Second per Trans
db block gets direct 6 0.0 0.0
db block gets from cache 45,920 2.3 37.6
deferred (CURRENT) block cleanout 4,343 0.2 3.6
dirty buffers inspected 3 0.0 0.0
enqueue conversions 3,469 0.2 2.8
enqueue releases 171,287 8.7 140.2
enqueue requests 171,286 8.7 140.2
execute count 81,903 4.2 67.0
free buffer inspected 2,042 0.1 1.7
free buffer requested 4,152 0.2 3.4
heap block compress 26 0.0 0.0
hot buffers moved to head of LRU 2,424 0.1 2.0
immediate (CR) block cleanout app 66 0.0 0.1
immediate (CURRENT) block cleanou 1,169 0.1 1.0
index fast full scans (full) 24 0.0 0.0
index fetch by key 53,607 2.7 43.9
index scans kdiixs1 76,910 3.9 62.9
leaf node 90-10 splits 25 0.0 0.0
leaf node splits 127 0.0 0.1
lob reads 299 0.0 0.2
lob writes 265 0.0 0.2
lob writes unaligned 265 0.0 0.2
logons cumulative 208 0.0 0.2
messages received 5,731 0.3 4.7
messages sent 5,731 0.3 4.7
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 124,209 6.3 101.6
opened cursors cumulative 42,875 2.2 35.1
parse count (failures) 1 0.0 0.0
parse count (hard) 3,843 0.2 3.1
parse count (total) 30,669 1.6 25.1
parse time cpu 1,500 0.1 1.2
parse time elapsed 1,955 0.1 1.6
physical read IO requests 2,043 0.1 1.7
physical read bytes 20,725,760 1,053.8 16,960.5
physical read total IO requests 7,860 0.4 6.4
physical read total bytes 114,110,464 5,802.1 93,380.1
physical read total multi block r 163 0.0 0.1
physical reads 2,530 0.1 2.1
physical reads cache 2,524 0.1 2.1
physical reads cache prefetch 487 0.0 0.4
physical reads direct 6 0.0 0.0
physical reads direct temporary t 0 0.0 0.0
physical write IO requests 3,745 0.2 3.1
physical write bytes 54,067,200 2,749.1 44,244.8
physical write total IO requests 22,112 1.1 18.1
physical write total bytes 341,971,968 17,388.1 279,846.1
physical write total multi block 2,744 0.1 2.3
physical writes 6,600 0.3 5.4
physical writes direct 12 0.0 0.0
physical writes direct (lob) 6 0.0 0.0
physical writes from cache 6,588 0.3 5.4
physical writes non checkpoint 3,981 0.2 3.3
process last non-idle time 17,544 0.9 14.4
recursive calls 591,275 30.1 483.9
recursive cpu usage 7,791 0.4 6.4
Instance Activity Stats DB/Inst: ORCL/orcl Snaps: 1-32
Statistic Total per Second per Trans
redo blocks written 25,836 1.3 21.1
redo buffer allocation retries 1 0.0 0.0
redo entries 27,110 1.4 22.2
redo log space requests 3 0.0 0.0
redo log space wait time 57 0.0 0.1
redo size 12,324,244 626.7 10,085.3
redo synch time 3,512 0.2 2.9
redo synch writes 8,475 0.4 6.9
redo wastage 589,132 30.0 482.1
redo write time 4,543 0.2 3.7
redo writer latching time 2 0.0 0.0
redo writes 2,080 0.1 1.7
rollback changes - undo records a 106 0.0 0.1
rollbacks only - consistent read 325 0.0 0.3
rows fetched via callback 27,348 1.4 22.4
session connect time 6 0.0 0.0
session cursor cache hits 29,153 1.5 23.9
session logical reads 365,154 18.6 298.8
session pga memory 78,268,312 3,979.7 64,049.4
session pga memory max 96,324,768 4,897.8 78,825.5
session uga memory 262,001,112,732 13,321,864.7 ############
session uga memory max 116,009,500 5,898.7 94,934.1
shared hash latch upgrades - no w 65,452 3.3 53.6
sorts (memory) 18,654 1.0 15.3
sorts (rows) 183,882 9.4 150.5
sql area purged 41 0.0 0.0
summed dirty queue length 49 0.0 0.0
switch current to new buffer 246 0.0 0.2
table fetch by rowid 76,818 3.9 62.9
table fetch continued row 684 0.0 0.6
table scan blocks gotten 34,161 1.7 28.0
table scan rows gotten 2,017,936 102.6 1,651.3
table scans (long tables) 1 0.0 0.0
table scans (short tables) 3,180 0.2 2.6
total number of times SMON posted 18 0.0 0.0
transaction rollbacks 63 0.0 0.1
undo change vector size 3,993,928 203.1 3,268.4
user I/O wait time 4,256 0.2 3.5
user calls 25,832 1.3 21.1
user commits 1,157 0.1 1.0
user rollbacks 65 0.0 0.1
workarea executions - optimal 9,385 0.5 7.7
write clones created in backgroun 0 0.0 0.0
write clones created in foregroun 1 0.0 0.0
Instance Activity Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> Statistics with absolute values (should not be diffed)
Statistic Begin Value End Value
logons current 17 22
opened cursors current 98 199
session cursor cache count 168 2,568
Instance Activity Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Total per Hour
log switches (derived) 1 .18
OS Statistics DB/Inst: ORCL/orcl Snaps: 1-32
-> ordered by statistic type (CPU use, Virtual Memory, Hardware Config), Name
Statistic Total
BUSY_TIME 63,332
IDLE_TIME 1,548,195
SYS_TIME 48,954
USER_TIME 14,378
VM_IN_BYTES 78,569,472
VM_OUT_BYTES 22,740,992
PHYSICAL_MEMORY_BYTES 536,399,872
NUM_CPUS 1
Tablespace IO Stats DB/Inst: ORCL/orcl Snaps: 1-32
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
SYSTEM
5,659 0 12.7 1.2 452 0 10 24.0
SYSAUX
1,057 0 16.6 1.1 1,217 0 0 0.0
PERFSTAT
22 0 30.0 1.0 1,381 0 0 0.0
UNDOTBS1
34 0 23.5 1.0 768 0 9 0.0
EXAMPLE
8 0 75.0 1.0 2 0 0 0.0
USERS
6 0 50.0 1.0 2 0 0 0.0
File IO Stats DB/Inst: ORCL/orcl Snaps: 1-32
->Mx Rd Bkt: Max bucket time for single block read
->ordered by Tablespace, File
Tablespace Filename
Av Mx Av
Av Rd Rd Av Av Buffer BufWt
Reads Reads/s (ms) Bkt Blks/Rd Writes Writes/s Waits (ms)
EXAMPLE C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
8 0 75.0 32 1.0 2 0 0
PERFSTAT C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\PERFSTAT.DBF
22 0 30.0 64 1.0 1,381 0 0
SYSAUX C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
1,057 0 16.6 ### 1.1 1,217 0 0
SYSTEM C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
5,659 0 12.7 ### 1.2 452 0 10 24.0
UNDOTBS1 C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
34 0 23.5 32 1.0 768 0 9 0.0
USERS C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
6 0 50.0 32 1.0 2 0 0
File Read Histogram Stats DB/Inst: ORCL/orcl Snaps: 1-32
->Number of single block reads in each time range
->ordered by Tablespace, File
Tablespace Filename
0 - 2 ms 2 - 4 ms 4 - 8 ms 8 - 16 ms 16 - 32 ms 32+ ms
SYSTEM C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
326 37 57 155 196 167
SYSAUX C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
497 48 35 100 177 98
USERS C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
0 0 0 0 1 0
UNDOTBS1 C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
2 1 0 0 4 0
EXAMPLE C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
0 0 0 0 1 0
PERFSTAT C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\PERFSTAT.DBF
13 1 1 4 1 1
Buffer Pool Statistics DB/Inst: ORCL/orcl Snaps: 1-32
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
-> Buffers: the number of buffers. Units of K, M, G are divided by 1000
Free Writ Buffer
Pool Buffer Physical Physical Buffer Comp Busy
P Buffers Hit% Gets Reads Writes Waits Wait Waits
D 8982 99 366,134 2,521 6,588 0 0 15
Instance Recovery Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 0 17 2499 23208 184320 184320
E 0 14 215 23 2153 184320 2153
Buffer Pool Advisory DB/Inst: ORCL/orcl End Snap: 32
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Pool, Block Size, Buffers For Estimate
Est
Phys Estimated Est
Size for Size Buffers Read Phys Reads Est Phys % dbtime
P Est (M) Factr (thousands) Factr (thousands) Read Time for Rds
D 4 .1 0 3.4 28 345 121.1
D 8 .1 1 2.7 22 265 93.0
D 12 .2 1 2.5 20 245 86.0
D 16 .2 2 2.3 19 230 80.7
D 20 .3 2 2.2 18 212 74.4
D 24 .3 3 1.8 15 177 62.1
D 28 .4 3 1.7 14 158 55.4
D 32 .4 4 1.4 12 131 46.0
D 36 .5 4 1.3 10 118 41.4
D 40 .6 5 1.2 10 107 37.5
D 44 .6 5 1.1 9 104 36.5
D 48 .7 6 1.1 9 101 35.4
D 52 .7 6 1.1 9 100 35.1
D 56 .8 7 1.1 9 98 34.4
D 60 .8 7 1.1 9 95 33.3
D 64 .9 8 1.0 9 94 33.0
D 68 .9 8 1.0 9 94 33.0
D 72 1.0 9 1.0 8 89 31.2
D 76 1.1 9 1.0 8 88 30.9
D 80 1.1 10 1.0 8 87 30.5
Buffer wait Statistics DB/Inst: ORCL/orcl Snaps: 1-32
-> ordered by wait time desc, waits desc
Class Waits Total Wait Time (s) Avg Time (ms)
data block 6 0 20
undo header 9 0 0
PGA Aggr Target Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> B: Begin snap E: End snap (rows identified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
100.0 193 0
Warning: pga_aggregate_target was set too low for current workload, as this
value was exceeded during this interval. Use the PGA Advisory view
to help identify a different value for pga_aggregate_target.
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 16 4 24.5 0.0 .0 .0 .0 3,276
E 16 4 29.5 0.0 .0 .0 .0 3,276
PGA Aggr Target Histogram DB/Inst: ORCL/orcl Snaps: 1-32
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
2K 4K 9,075 9,075 0 0
64K 128K 27 27 0 0
512K 1024K 232 232 0 0
PGA Memory Advisory DB/Inst: ORCL/orcl End Snap: 32
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
12 0.8 211.0 0.0 100.0 1
16 1.0 211.0 0.0 100.0 1
19 1.2 211.0 0.0 100.0 1
22 1.4 211.0 0.0 100.0 0
26 1.6 211.0 0.0 100.0 0
29 1.8 211.0 0.0 100.0 0
32 2.0 211.0 0.0 100.0 0
48 3.0 211.0 0.0 100.0 0
64 4.0 211.0 0.0 100.0 0
96 6.0 211.0 0.0 100.0 0
128 8.0 211.0 0.0 100.0 0
Process Memory Summary Stats DB/Inst: ORCL/orcl Snaps: 1-32
-> B: Begin snap E: End snap
-> All rows below contain absolute values (i.e. not diffed over the interval)
-> Max Alloc is Maximum PGA Allocation size at snapshot time
Hist Max Alloc is the Historical Max Allocation for still-connected processes
-> Num Procs or Allocs: For Begin/End snapshot lines, it is the number of
processes. For Category lines, it is the number of allocations
-> ordered by Begin/End snapshot, Alloc (MB) desc
Hist Num
Avg Std Dev Max Max Procs
Alloc Used Freeabl Alloc Alloc Alloc Alloc or
Category (MB) (MB) (MB) (MB) (MB) (MB) (MB) Allocs
B -------- 24.8 12.4 .0 1.3 2.0 9 14 19
Other 24.1 1.3 2.0 9 10 19
SQL .6 .3 .1 .0 0 2 9
PL/SQL .2 .1 .0 .0 0 6 17
E -------- 29.7 16.1 .0 1.2 1.7 9 14 24
Other 28.6
null
Message was edited by:
user73673567
nullHi,
How do I interpret it ...That's a mighty big question. The STATSPACK report is very complex. I have my notes here, on how I do it:
http://www.dba-oracle.com/t_reading_statspack_report.htm
And can anyone please suggest measures The way your report is posted, it's very difficult to read!
I wrote a free tool that will accept your STATYSPACK report and make rudimentary suggestions, you might want to give it a try:
http://www.statspackanalyzer.com
Hope this helps. . .
Donald K. Burleson
Oracle Press author
Author of "Oracle Tuning: The Definitive Reference": -
Hi there, if you have time - please have a look at my stats pack below and let me know any comments you have.
I have spotted the following,
There is a huge amount of rolling back. 72%!!!
I cant do anything about this as its the frontend application. I have brought this up with the vendor.
The Hard parsing is too high.
15% seems to be hard parses.
The Execute to Parse value is negative
SQL statements are being parsed but not executed.
The softparse value is way to low. It shoudl be as close to 100 as possible.
db file sequential read is very high/expensive. why would this be?
DB Name DB Id Instance Inst Num Release OPS Host
P04 1508017556 p04 1 8.1.7.2.0 NO his
Snap Id Snap Time Sessions
Begin Snap: 343 11-Feb-05 11:04:46 1,255
End Snap: 351 11-Feb-05 11:21:28 1,255
Elapsed: 16.70 (mins)
Cache Sizes
~~~~~~~~~~~
db_block_buffers: 4000 log_buffer: 163840
db_block_size: 4096 shared_pool_size: 105M
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 5,144.91 4,566.16
Logical reads: 26,851.31 23,830.84
Block changes: 36.34 32.25
Physical reads: 1,179.03 1,046.40
Physical writes: 40.40 35.86
User calls: 141.68 125.74
Parses: 89.38 79.33
Hard parses: 17.61 15.63
Sorts: 16.87 14.97
Logons: 1.24 1.10
Executes: 71.35 63.32
Transactions: 1.13
% Blocks changed per Read: 0.14 Recursive Call %: 68.80
Rollback per transaction %: 72.90 Rows per Sort: 45.03
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 95.61 In-memory Sort %: 99.53
Library Hit %: 92.06 Soft Parse %: 80.30
Execute to Parse %: -25.28 Latch Hit %: 99.95
Parse CPU to Parse Elapsd %: % Non-Parse CPU:
Shared Pool Statistics Begin End
Memory Usage %: 75.93 77.33
% SQL with executions>1: 75.74 74.74
% Memory for SQL w/exec>1: 50.11 54.41
Top 5 Wait Events
~~~~~~~~~~~~~~~~~ Wait % Total
Event Waits Time (cs) Wt Time
db file sequential read 493,594 0 .00
db file scattered read 27,151 0 .00
latch free 13,607 0 .00
SQL*Net more data to client 10,357 0 .00
direct path read 7,635 0 .00
Wait Events for DB: P04 Instance: p04 Snaps: 343 -351
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (cs) (ms) /txn
db file sequential read 493,594 0 0 0 437.2
db file scattered read 27,151 0 0 0 24.0
latch free 13,607 8,938 0 0 12.1
SQL*Net more data to client 10,357 0 0 0 9.2
direct path read 7,635 0 0 0 6.8
file open 3,339 0 0 0 3.0
direct path write 1,397 0 0 0 1.2
log file parallel write 838 0 0 0 0.7
db file parallel write 651 0 0 0 0.6
log file sync 600 1 0 0 0.5
control file parallel write 324 0 0 0 0.3
control file sequential read 141 0 0 0 0.1
buffer busy waits 47 0 0 0 0.0
SQL*Net break/reset to clien 38 0 0 0 0.0
refresh controlfile command 14 0 0 0 0.0
enqueue 13 0 0 0 0.0
LGWR wait for redo copy 7 4 0 0 0.0
SQL*Net message to client 134,065 0 0 0 118.7
SQL*Net message from client 134,020 0 0 0 118.7
SQL*Net more data from clien 1,891 0 0 0 1.7
Background Wait Events for DB: P04 Instance: p04 Snaps: 343 -351
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (cs) (ms) /txn
log file parallel write 837 0 0 0 0.7
db file parallel write 651 0 0 0 0.6
control file parallel write 324 0 0 0 0.3
db file scattered read 76 0 0 0 0.1
db file sequential read 49 0 0 0 0.0
control file sequential read 42 0 0 0 0.0
latch free 39 39 0 0 0.0
LGWR wait for redo copy 7 4 0 0 0.0
rdbms ipc message 5,154 953 0 0 4.6
pmon timer 399 308 0 0 0.4
smon timer 4 4 0 0 0.0
SQL ordered by Gets for DB: P04 Instance: p04 Snaps: 343 -351
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
Buffer Gets Executions Gets per Exec % Total Hash Value
7,478,028 1 7,478,028.0 27.8 2174624692
SELECT distinct "RESOURCE_USAGE"."CRN", "RESOURCE
_USAGE"."DATE_MOVED_IN", "RESOURCE_USAGE"."AGRMNT_T
YPE_CODE", "HOMELESS_CASE"."CASE_STATUS",
"DECISION"."DATE_OF_DECISION", "DECISION"."DECI
SION_CODE", "PERSON"."TITLE", "PERSON"
777,467 1 777,467.0 2.9 2743905745
SELECT TRIGGER_TABLE.NUM1
, ltrim(rtrim(to_char(TRIGGER_TABLE
.NUM2, '99,990.00')))
, RNT_PATCH.ARREARS_OFF_NAME
, ltrim(rtr
im(initcap(PERSON.TITLE) || ' ' || initcap(PERSON.FORENAME) || '
' || initcap(PERSON.MIDDLE_INIT) || ' ' || initcap(PERSON.PERSO
N_SURNAME))) as person_name
,RNT_PATCH.ARREARS_OFF_NAME
,RNT_P
703,637 1 703,637.0 2.6 1491351501
select a.tablespace_name, a.bytes "total", (a.bytes - nvl
(b.free,0)) "used", nvl(b.free,0) "free", round(nv
l(b.free,0)/a.bytes*100) "%free" from (select sum(bytes) bytes,
tablespace_name from dba_data_files group by tablespace_name) a
, (select sum(bytes) free, tablespace_name from dba_free_space
575,166 1 575,166.0 2.1 3381284524
SELECT DISTINCT "BULL"."RNT_ACCOUNT"."ACCOUNT_NO",
"BULL"."RNT_PROPERTY"."A_B_WEEK", "BULL"."RNT_PRO
PERTY"."AREA_CODE", "BULL"."RNT_PROPERTY"."PATCH_CO
DE", "BULL"."PROPERTY"."PROP_SUB_NUM",
"BULL"."PROPERTY"."PROP_NAME", "BULL"."RNT_AREA"."
236,552 47 5,033.0 0.9 1785190534
SELECT count(*),max(wl_entry.total_points)
FROM shortlist_index
shortlist_type,
wl_entry,
wl_entry_status
WHERE shor
tlist_index.area=:sArea
AND shortlist_index.bedsize=:sSize
A
ND nvl(shortlist_index.dwelling_type_code,'X')=nvl(NULL,'X')
A
ND shortlist_type.shortlist=:sSLCode
AND shortlist_index.wl_co
116,045 1 116,045.0 0.4 2415945105
BEGIN STATSPACK.SNAP(i_snap_level=>5, i_modify_parameter=>'true'
); END;
110,614 1 110,614.0 0.4 625421128
INSERT INTO STATS$SQLTEXT ( HASH_VALUE,TEXT_SUBSET,PIECE,SQL_TEX
T,ADDRESS,COMMAND_TYPE,LAST_SNAP_ID ) SELECT ST1.HASH_VALUE,SS.
TEXT_SUBSET,ST1.PIECE,ST1.SQL_TEXT,ST1.ADDRESS,ST1.COMMAND_TYPE,
SS.SNAP_ID FROM V$SQLTEXT ST1,STATS$SQL_SUMMARY SS WHERE SS.S
NAP_ID = :b1 AND SS.DBID = :b2 AND SS.INSTANCE_NUMBER = :b3 A
73,900 1,221 60.5 0.3 3013728279
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
1) and privilege#>0
SQL ordered by Gets for DB: P04 Instance: p04 Snaps: 343 -351
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
Buffer Gets Executions Gets per Exec % Total Hash Value
69,636 3 23,212.0 0.3 3928236554
SELECT "REP_ADHOC_CONTRACTS"."CONTRACT_REFERENCE" ,
"REP_ADHOC_CONTRACTS"."CONTRACT_DESCRIPTION" , "REP_A
DHOC_CONTRACTS"."MSR_NUMBER" , "REP_ADHOC_CONTRACTS"."
MSR_VERSION" , "REP_ADHOC_CONTRACTS"."REPAIRS_AREA_COD
E" , "REP_ADHOC_CONTRACTS"."DEFAULT_PRIORITY_CODE" ,
53,446 144 371.2 0.2 1242614849
SELECT "USER_DETAILS"."USER_ID", "USER_DETAILS"."USER_NAME" FROM
"USER_DETAILS" ORDER BY "USER_DETAILS"."USER_ID"
40,560 25 1,622.4 0.2 3416838880
SELECT distinct(REP_NONADHOC_JOBS_VIEW.CONTRACT_REFERENCE),
REP_NONADHOC_JOBS_VIEW.CONTRACT_DESCRIPTION,
REP_NONADHOC_JOBS_VIEW.PRIORITY_CODE,
REP_NONA
DHOC_JOBS_VIEW.CONTRACT_STATUS,
REP_NONADHOC_JOBS_V
IEW.CONTRACT_STATUS_DATE,
REP_NONADHOC_JOBS_VIEW.PL
39,684 1 39,684.0 0.1 847511376
SELECT "LSC_CH_UNIT"."PARENT_HUN",
"LSC_CH_UNIT"."HUN",
"LSC_CH_UNIT"."UPRN" ,
"LSC_CH_UNIT"."HIERARCHY_UNIT_COD
E",
"LSC_CH_UNIT"."DATETIME_CREATED",
"LSC_CH_UNIT"."CREATED
_BY",
"LSC_CH_UNIT"."MGMT_UNIT_NAME" ,
substr(DECODE(p.PRO
P_SUB_NUM,NULL, '', p.PROP_SUB_NUM || ', ') ||
DECODE(p.
39,577 1 39,577.0 0.1 2389167611
SELECT "LSC_CH_UNIT"."PARENT_HUN",
"LSC_CH_UNIT"."HUN",
"LSC_CH_UNIT"."UPRN" ,
"LSC_CH_UNIT"."HIERARCHY_UNIT_COD
E",
"LSC_CH_UNIT"."DATETIME_CREATED",
"LSC_CH_UNIT"."CREATED
_BY",
"LSC_CH_UNIT"."MGMT_UNIT_NAME" ,
substr(DECODE(p.PRO
P_SUB_NUM,NULL, '', p.PROP_SUB_NUM || ', ') ||
DECODE(p.
37,699 3 12,566.3 0.1 3061673399
SELECT distinct(REP_NONADHOC_JOBS_VIEW.CONTRACT_REFERENCE),
REP_NONADHOC_JOBS_VIEW.CONTRACT_DESCRIPTION,
REP_NONADHOC_JOBS_VIEW.PRIORITY_CODE,
REP_NONA
DHOC_JOBS_VIEW.CONTRACT_STATUS,
REP_NONADHOC_JOBS_V
IEW.CONTRACT_STATUS_DATE,
REP_NONADHOC_JOBS_VIEW.PL
34,680 2 17,340.0 0.1 3015476189
SELECT distinct(REP_NONADHOC_JOBS_VIEW.CONTRACT_REFERENCE),
REP_NONADHOC_JOBS_VIEW.CONTRACT_DESCRIPTION,
SQL ordered by Reads for DB: P04 Instance: p04 Snaps: 343 -351
-> End Disk Reads Threshold: 1000
Physical Reads Executions Reads per Exec % Total Hash Value
145,750 1 145,750.0 12.3 2174624692
SELECT distinct "RESOURCE_USAGE"."CRN", "RESOURCE
_USAGE"."DATE_MOVED_IN", "RESOURCE_USAGE"."AGRMNT_T
YPE_CODE", "HOMELESS_CASE"."CASE_STATUS",
"DECISION"."DATE_OF_DECISION", "DECISION"."DECI
SION_CODE", "PERSON"."TITLE", "PERSON"
22,181 1 22,181.0 1.9 3758504226
select p1.pin , p1.title , initcap(p1.forename) , p1.middle_ini
t , initcap(p1.person_surname) , p1.date_of_birth ,' ' address ,
p1.disabled from person p1 where not exists ( select 1 fro
m rnt_occupants o where o.pin = p1.pin ) AND P1.PERSON_SURNAME
LIKE '%%' AND TO_CHAR(P1.DATE_OF_BIRTH,'dd/mm/yyyy') = '22/02/
21,591 1 21,591.0 1.8 134893840
select 0 as logid ,'ohms_full_lsc_account' as thetable, count(*
) as sourcecount from lsc_account
21,586 1 21,586.0 1.8 1271590434
select 0 as logid ,'ohms_full_lsc_account' as thetable, count(*
) as sourcecount from lsc_account charge_group_est
17,514 47 372.6 1.5 1785190534
SELECT count(*),max(wl_entry.total_points)
FROM shortlist_index
shortlist_type,
wl_entry,
wl_entry_status
WHERE shor
tlist_index.area=:sArea
AND shortlist_index.bedsize=:sSize
A
ND nvl(shortlist_index.dwelling_type_code,'X')=nvl(NULL,'X')
A
ND shortlist_type.shortlist=:sSLCode
AND shortlist_index.wl_co
13,470 1 13,470.0 1.1 2415945105
BEGIN STATSPACK.SNAP(i_snap_level=>5, i_modify_parameter=>'true'
); END;
10,259 1 10,259.0 0.9 3381284524
SELECT DISTINCT "BULL"."RNT_ACCOUNT"."ACCOUNT_NO",
"BULL"."RNT_PROPERTY"."A_B_WEEK", "BULL"."RNT_PRO
PERTY"."AREA_CODE", "BULL"."RNT_PROPERTY"."PATCH_CO
DE", "BULL"."PROPERTY"."PROP_SUB_NUM",
"BULL"."PROPERTY"."PROP_NAME", "BULL"."RNT_AREA"."
10,145 1 10,145.0 0.9 1078526263
select * from "BULL"."LSC_CH_UNIT_INHERIT" where datetime_creat
ed > (sysdate - 32)
9,406 1 9,406.0 0.8 734206759
select 0 as logid ,'ohms_inc_lsc_ch_unit_inherit' as thetable,
count(*) as sourcecount from lsc_ch_unit_inherit
9,404 105 89.6 0.8 3201672093
SELECT count ( *) FROM RNT_PROPERTY
7,053 1 7,053.0 0.6 3337740287
INSERT INTO STATS$SQL_STATISTICS ( SNAP_ID,DBID,INSTANCE_NUMBER,
TOTAL_SQL,TOTAL_SQL_MEM,SINGLE_USE_SQL,SINGLE_USE_SQL_MEM ) SEL
ECT :b1,:b2,:b3,COUNT(1),SUM(SHARABLE_MEM),SUM(DECODE(EXECUTIONS
SQL ordered by Reads for DB: P04 Instance: p04 Snaps: 343 -351
-> End Disk Reads Threshold: 1000
Physical Reads Executions Reads per Exec % Total Hash Value
,1,1,0)),SUM(DECODE(EXECUTIONS,1,SHARABLE_MEM,0)) FROM V$SQLXS
5,410 1 5,410.0 0.5 3436085714
SELECT "PROPERTY"."UPRN",
decode ( "PROPERTY"."P
ROP_SUB_NUM" ,
null ,'', "PROPERTY"."PROP_SUB_NUM" || ',' ) ||
decode ( prop_name , null , '', prop_name || ',') ||
decode
( prop_num , null , '', prop_num || ',') ||
decode ( property.
street_name , null , '', property.street_name || ',') ||
decod
5,253 1 5,253.0 0.4 3874720143
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID,DBID,INSTANCE_NUMBER,TEX
T_SUBSET,SHARABLE_MEM,SORTS,MODULE,LOADED_VERSIONS,EXECUTIONS,LO
ADS,INVALIDATIONS,PARSE_CALLS,DISK_READS,BUFFER_GETS,ROWS_PROCES
SED,ADDRESS,HASH_VALUE,VERSION_COUNT ) SELECT :b1,:b2,:b3,SUBST
R(SQL_TEXT,1,31),SHARABLE_MEM,SORTS,MODULE,LOADED_VERSIONS,EXECU
4,915 1 4,915.0 0.4 1152921379
SELECT "LSC_CH_UNIT"."UPRN",
Replace( Replace( RT
RIM( LTRIM( ( NVL ("PROPERTY"."PROP_SUB_NUM" ,
'') || ', '
|| NVL ("PROPERTY"."PROP_NAME" , '') || ', ' ||
NVL ( "PROP
ERTY"."PROP_NUM" , '') || ', ' ||
NVL ("PROPERTY"."STREET_N
AME" , '') || ', ' ||
NVL ("PROPERTY"."ADDR_LINE2" , '') ||
4,915 1 4,915.0 0.4 4174133807
SELECT "PROPERTY"."UPRN",
decode ( "PROPERTY"."P
ROP_SUB_NUM" ,
null ,'', "PROPERTY"."PROP_SUB_NUM" || ',' ) ||
decode ( prop_name , null , '', prop_name || ',') ||
decode
( prop_num , null , '', prop_num || ',') ||
decode ( property.
street_name , null , '', property.street_name || ',') ||
decod
4,913 1 4,913.0 0.4 3449421355
SELECT "LSC_CH_UNIT"."UPRN",
Replace( Replace( RT
RIM( LTRIM( ( NVL ("PROPERTY"."PROP_SUB_NUM" ,
'') || ', '
|| NVL ("PROPERTY"."PROP_NAME" , '') || ', ' ||
NVL ( "PROP
ERTY"."PROP_NUM" , '') || ', ' ||
NVL ("PROPERTY"."STREET_N
AME" , '') || ', ' ||
NVL ("PROPERTY"."ADDR_LINE2" , '') ||
4,883 1 4,883.0 0.4 2265599884
SELECT "LSC_CH_UNIT"."UPRN",
Replace( Replace( RT
RIM( LTRIM( ( NVL ("PROPERTY"."PROP_SUB_NUM" ,
'') || ', '
|| NVL ("PROPERTY"."PROP_NAME" , '') || ', ' ||
NVL ( "PROP
SQL ordered by Executions for DB: P04 Instance: p04 Snaps: 343 -351
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
4,214 441 0.1 955191413
select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
spare1 from obj$ where owner#=:1 and name=:2 and namespace=:3 an
d(remoteowner=:4 or remoteowner is null and :4 is null)and(linkn
ame=:5 or linkname is null and :5 is null)and(subname=:6 or subn
ame is null and :6 is null)
4,032 4,032 1.0 2091761008
select condition from cdef$ where rowid=:1
2,728 2,974 1.1 2085632044
select intcol#,nvl(pos#,0),col# from ccol$ where con#=:1
1,351 1,007 0.7 2024737912
SELECT TI_ACCOUNT_NO FROM RNT_TI_ACCOUNT WHERE ACCOUNT_NO = :
b1
1,328 1,639 1.2 117117207
SELECT P.TITLE || ' ' || P.FORENAME || ' ' || RTRIM(P.PERSON_
SURNAME) FULL_NAME FROM PERSON P,RNT_OCCUPANTS O WHERE O.UPR
N = :b1 AND O.PIN = P.PIN AND O.PARTY = 'Y' AND O.END_DATE_OF
_OCCUPANCY IS NULL ORDER BY DECODE(UPPER(P.TITLE),'MR',1,2)
1,221 19,964 16.4 3013728279
select privilege#,level from sysauth$ connect by grantee#=prior
privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
1) and privilege#>0
1,193 881 0.7 1121470926
SELECT * FROM SYS.SESSION_ROLES WHERE ROLE = 'DBA'
1,146 0 0.0 4032977774
ALTER SESSION SET NLS_LANGUAGE= 'ENGLISH' NLS_TERRITORY= 'UNITED
KINGDOM' NLS_CURRENCY= '£' NLS_ISO_CURRENCY= 'UNITED KINGDOM' N
LS_NUMERIC_CHARACTERS= '.,' NLS_CALENDAR= 'GREGORIAN' NLS_DATE_F
ORMAT= 'DD-MON-RR' NLS_DATE_LANGUAGE= 'ENGLISH' NLS_SORT= 'BINA
RY' TIME_ZONE= '+00:00' NLS_DUAL_CURRENCY = '¿' NLS_TIME_FORMAT
993 993 1.0 1645188330
SELECT SYSDATE FROM DUAL
987 987 1.0 214061835
SELECT NVL(SUM(B.TOTAL_INDEBTEDNESS),0) FROM RNT_TI_ACCOUNT A,
RNT_ACCOUNT_TOTALS B WHERE A.TI_ACCOUNT_NO = :b1 AND A.ACCOUNT
NO = B.ACCOUNTNO
720 720 1.0 1966425544
select text from view$ where rowid=:1
600 598 1.0 4059714361
select type#,blocks,extents,minexts,maxexts,extsize,extpct,user#
,iniexts,NVL(lists,65535),NVL(groups,65535),cachehint,hwmincr, N
VL(spare1,0) from seg$ where ts#=:1 and file#=:2 and block#=:3
554 5,356 9.7 395844583
SQL ordered by Executions for DB: P04 Instance: p04 Snaps: 343 -351
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
select name,intcol#,segcol#,type#,length,nvl(precision#,0),decod
e(type#,2,nvl(scale,-127/*MAXSB1MINAL*/),178,scale,179,scale,180
,scale,181,scale,182,scale,183,scale,231,scale,0),null$,fixedsto
rage,nvl(deflength,0),default$,rowid,col#,property, charsetid,ch
arsetform,spare1,spare2 from col$ where obj#=:1 order by intcol#
544 1,138 2.1 4195740643
select pos#,intcol#,col#,spare1 from icol$ where obj#=:1
535 0 0.0 935016769
ALTER SESSION SET NLS_DATE_FORMAT="DD-MON-RR"
495 545 1.1 199702406
select i.obj#,i.ts#,i.file#,i.block#,i.intcols,i.type#,i.flags,
i.property,i.pctfree$,i.initrans,i.maxtrans,i.blevel,i.leafcnt,i
.distkey, i.lblkkey,i.dblkkey,i.clufac,i.cols,i.analyzetime,i.sa
mplesize,i.dataobj#, nvl(i.degree,1),nvl(i.instances,1),i.rowcnt
,mod(i.pctthres$,256),i.indmethod#,i.trunccnt,nvl(c.unicols,0),n
491 2,728 5.6 1536916657
select con#,type#,condlength,intcols,robj#,rcon#,match#,refact,n
vl(enabled,0),rowid,cols,nvl(defer,0),mtime,nvl(spare1,0) from c
def$ where obj#=:1
461 459 1.0 189272129
select o.owner#,o.name,o.namespace,o.remoteowner,o.linkname,o.su
bname,o.dataobj#,o.flags from obj$ o where o.obj#=:1
448 97 0.2 114078687
select con#,obj#,rcon#,enabled,nvl(defer,0) from cdef$ where rob
j#=:1
442 0 0.0 4114899968
SELECT "OHMS_BROADCAST_UMSG"."MESSAGE_ID",
"OHMS_BROADCAST
_UMSG"."MESSAGE_DATE",
"OHMS_BROADCAST_UMSG"."BROAD
CAST_UNTIL",
"OHMS_BROADCAST_UMSG"."RECIPIENT",
"OHMS_BROADCAST_UMSG"."SENDER",
"OHMS_BRO
ADCAST_UMSG"."BROADCASTED",
"OHMS_BROADCAST_MSG"."M
419 3,113 7.4 1004464078
select grantee#,privilege#,nvl(col#,0),max(nvl(option$,0)) from
objauth$ where obj#=:1 group by grantee#,privilege#,nvl(col#,0)
order by grantee#
406 0 0.0 4261939565
select col#, grantee#, privilege#,max(nvl(option$,0)) from objau
th$ where obj#=:1 and col# is not null group by privilege#, col#
, grantee# order by col#, grantee#
395 -431 -1.1 3873590224
INSERT INTO "SHORTLIST_INDEX" ( "AREA", "BEDSIZE", "WLRN", "WL_C
ODE", "DWELLING_TYPE_CODE", "ELIG_TYPE", "SPECIAL_ELIG" ) VALUES
( :1, :2, :3, :4, :5, :6, :7 )
365 365 1.0 2055820954
SQL ordered by Executions for DB: P04 Instance: p04 Snaps: 343 -351
-> End Executions Threshold: 100
Executions Rows Processed Rows per Exec Hash Value
select nvl ( trim ( view_secure_person_notes ) , 'N' ) from ohms
Instance Activity Stats for DB: P04 Instance: p04 Snaps: 343 -351
Statistic Total per Second per Trans
CR blocks created 1,272 1.3 1.1
DBWR buffers scanned 451,257 450.4 399.7
DBWR checkpoint buffers written 0 0.0 0.0
DBWR checkpoints 0 0.0 0.0
DBWR free buffers found 440,530 439.7 390.2
DBWR lru scans 751 0.8 0.7
DBWR make free requests 751 0.8 0.7
DBWR summed scan depth 451,257 450.4 399.7
DBWR transaction table writes 4 0.0 0.0
DBWR undo block writes 1,069 1.1 1.0
SQL*Net roundtrips to/from client 130,711 130.5 115.8
background checkpoints completed 0 0.0 0.0
background checkpoints started 0 0.0 0.0
background timeouts 989 1.0 0.9
branch node splits 0 0.0 0.0
buffer is not pinned count 17,880,509 17,844.8 15,837.5
buffer is pinned count 1,826,236 1,822.6 1,617.6
bytes received via SQL*Net from c 39,833,802 39,754.3 35,282.4
bytes sent via SQL*Net to client 44,535,273 44,446.4 39,446.7
calls to get snapshot scn: kcmgss 75,996 75.8 67.3
calls to kcmgas 687 0.7 0.6
calls to kcmgcs 208 0.2 0.2
cleanouts only - consistent read 2,659 2.7 2.4
cluster key scan block gets 2,820,733 2,815.1 2,498.4
cluster key scans 8,889 8.9 7.9
commit cleanout failures: block l 778 0.8 0.7
commit cleanout failures: buffer 11 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 2,992 3.0 2.7
commit cleanouts successfully com 2,203 2.2 2.0
consistent changes 3,219 3.2 2.9
consistent gets 26,838,637 26,785.1 23,772.0
current blocks converted for CR
cursor authentications 15,764 15.7 14.0
data blocks consistent reads - un 3,159 3.2 2.8
db block changes 36,412 36.3 32.3
db block gets 66,383 66.3 58.8
deferred (CURRENT) block cleanout 875 0.9 0.8
dirty buffers inspected 929 0.9 0.8
enqueue conversions 304 0.3 0.3
enqueue releases 4,752 4.7 4.2
enqueue requests 4,775 4.8 4.2
enqueue timeouts 10 0.0 0.0
execute count 71,489 71.4 63.3
free buffer inspected 7,785 7.8 6.9
free buffer requested 1,155,014 1,152.7 1,023.0
hot buffers moved to head of LRU 70,348 70.2 62.3
immediate (CR) block cleanout app 2,659 2.7 2.4
immediate (CURRENT) block cleanou 750 0.8 0.7
index fast full scans (full) 4 0.0 0.0
leaf node splits 68 0.1 0.1
logons cumulative 1,238 1.2 1.1
logons current
messages received 4,774 4.8 4.2
messages sent 4,774 4.8 4.2
no buffer to keep pinned count 8,586,056 8,568.9 7,605.0
Instance Activity Stats for DB: P04 Instance: p04 Snaps: 343 -351
Statistic Total per Second per Trans
no work - consistent read gets 10,061,376 10,041.3 8,911.8
opened cursors cumulative 30,036 30.0 26.6
opened cursors current
parse count (hard) 17,644 17.6 15.6
parse count (total) 89,558 89.4 79.3
physical reads 1,181,389 1,179.0 1,046.4
physical reads direct 28,870 28.8 25.6
physical writes 40,482 40.4 35.9
physical writes direct 29,077 29.0 25.8
physical writes non checkpoint 40,415 40.3 35.8
pinned buffers inspected 243 0.2 0.2
prefetched blocks 629,572 628.3 557.6
prefetched blocks aged out before 108 0.1 0.1
recursive calls 313,097 312.5 277.3
redo blocks written 10,833 10.8 9.6
redo buffer allocation retries 0 0.0 0.0
redo entries 19,913 19.9 17.6
redo log space requests 0 0.0 0.0
redo size 5,155,196 5,144.9 4,566.2
redo synch writes 565 0.6 0.5
redo wastage 216,232 215.8 191.5
redo writes 836 0.8 0.7
rollback changes - undo records a 2,827 2.8 2.5
rows fetched via callback 2,749,955 2,744.5 2,435.7
session logical reads 26,905,014 26,851.3 23,830.8
session pga memory 124,228,384 123,980.4 110,034.0
session pga memory max 124,700,400 124,451.5 110,452.1
session uga memory 8,609,408 8,592.2 7,625.7
session uga memory max 41,183,948 41,101.7 36,478.3
sorts (disk) 79 0.1 0.1
sorts (memory) 16,821 16.8 14.9
sorts (rows) 761,067 759.6 674.1
summed dirty queue length 949 1.0 0.8
switch current to new buffer
table fetch by rowid 6,249,832 6,237.4 5,535.7
table fetch continued row 81,864 81.7 72.5
table scan blocks gotten 1,247,154 1,244.7 1,104.7
table scan rows gotten 27,251,960 27,197.6 24,138.1
table scans (long tables) 3,660 3.7 3.2
table scans (short tables) 4,719 4.7 4.2
total file opens 3,353 3.4 3.0
transaction rollbacks 175 0.2 0.2
transaction tables consistent rea 7 0.0 0.0
transaction tables consistent rea 59 0.1 0.1
user calls 141,961 141.7 125.7
user commits 306 0.3 0.3
user rollbacks 823 0.8 0.7
write clones created in foregroun 15 0.0 0.0
Tablespace IO Stats for DB: P04 Instance: p04 Snaps: 343 -351
->ordered by IOs (Reads + Writes) descMark:
I second John's comments about the execute to parse ratio, almost certainly another thing you want to bring up with the vendor.
A couple of other things I noticed. Your buffer cache seems to be only 16Mb, a larger buffer may help. If you are really tight for memory, you could probably trim some from the SGA which is large in relation to the buffer cache.
Most of your expensive sql (by buffer gets and physical reads) seems to only be executed one time over the snapshot period. Which might indicate that the period is atypical. If these statements are coming from the application, and not from reports running, I would look at the use of bind variables in the application. The high hard parse numbers also tend to indicate that there is a lot of unique sql generated in the database. Depending on the nature of the application, and the activity over the reporting period, this may be valid, but I would really look at the use of bind variables.
The most used sql (number of executions) seems to be primarily recursive sql (issued by Oracle on your behalf). A lot of that sql seems to be looking at the data dictionary tables that define the objects in the database, that is, the type of sql I would expect to see for hard parses, or if someone is using the DESCRIBE method of whatever database interface the application is using a lot.
Without the timing information, it is impossible to say how long the waits for db_sequential_read are, but sequential reads, despite the name, are actually caused by single block reads associated with index scan/table access by rowid. The scattered reads, which also seem a little high, are the result of full table scans.
Before running your next set of snapshots, as a dba user do:
ALTER SYSTEM SET timed_statistics = TRUE;and set timed_statistics = TRUE in your init.ora file as well.
John -
Statspack Report of My DB instance
Hey Guys:
I generated a statspack report of my db instance and here is what are my findings.
I would like to hear from you experts on where I should be focussing if at all some thing is wrong. I am new to using statspack and hence this help.
DB Name DB Id Instance Inst Num Release Cluster Host
Test 3378348462 Test 1 9.2.0.7.0 NO Sonar
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 21 07-Nov-07 09:57:54 2,163 50.6
End Snap: 31 07-Nov-07 13:05:35 2,394 49.3
Elapsed: 187.68 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 2,048M Std Block Size: 4K
Shared Pool Size: 912M Log Buffer: 2,048K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 92,813.08 3,394.20
Logical reads: 28,731.61 1,050.72
Block changes: 639.05 23.37
Physical reads: 1,817.04 66.45
Physical writes: 39.44 1.44
User calls: 2,688.74 98.33
Parses: 553.54 20.24
Hard parses: 3.63 0.13
Sorts: 219.64 8.03
Logons: 3.94 0.14
Executes: 1,045.60 38.24
Transactions: 27.34
% Blocks changed per Read: 2.22 Recursive Call %: 38.00
Rollback per transaction %: 32.76 Rows per Sort: 17.22
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.97 Redo NoWait %: 100.00
Buffer Hit %: 93.69 In-memory Sort %: 100.00
Library Hit %: 99.60 Soft Parse %: 99.34
Execute to Parse %: 47.06 Latch Hit %: 99.92
Parse CPU to Parse Elapsd %: 70.22 % Non-Parse CPU: 96.20
Shared Pool Statistics Begin End
Memory Usage %: 100.00 100.00
% SQL with executions>1: 57.52 52.53
% Memory for SQL w/exec>1: 59.44 51.50
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 19,121 37.80
db file sequential read 8,259,408 14,317 28.31
SQL*Net message from dblink 135,187 10,801 21.36
db file scattered read 792,239 2,091 4.13
ARCH wait on SENDREQ 1,385 1,077 2.13
Tablespace IO Stats for DB: EAST Instance: Test Snaps: 21 -31
->ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
SALES
4,234,917 376 1.4 1.3 12,952 1 36,425 1.2
RETAIL
1,580,550 140 2.5 4.7 18,922 2 24,786 1.7
AR
1,272,815 113 2.1 3.4 4,044 0 17,387 1.4
CATALYST
467,941 42 1.6 3.0 30,109 3 648 0.9
SALES_IDX
471,258 42 2.2 1.0 23,052 2 2,592 3.0
CATIDX
283,058 25 4.1 1.2 101,820 9 7,552 3.4
CORP
235,608 21 2.1 1.2 7,480 1 2,025 2.7
RETAILLRGIDX
201,128 18 1.8 1.0 20,337 2 1,979 3.2
ARIDX2
194,451 17 2.1 1.0 6,102 1 248 1.5
UNDOTBS
1,876 0 1.7 1.0 112,541 10 269 0.1
RETAILSMLIDX
55,340 5 2.2 1.0 5,936 1 397 3.2
SYSTEM
49,147 4 2.2 1.5 11,311 1 111 2.5
PERFSTAT
3,042 0 0.5 1.0 659 0 0 0.0
TEMP
1,687 0 552.1 36.0 1,635 0 0 0.0
IFFM
5 0 10.0 1.0 5 0 0 0.0
TOOLS
5 0 4.0 1.0 5 0 0 0.0
USERS
5 0 6.0 1.0 5 0 0 0.0
Thanks in Advance,
Regards,
- BMPWell, it depends... very much , what do you want to get? ...two situations may arise:
1) You have a performance issue
2) You're trying to be proactive and find out any 'performance gain' oportunity (or you, neither, your users have realized there is a problem...which is very rare)
My suggestions, if your case is (2)
a) Focus on Wait events
b) Analyze what is going on with excesive reads, mostly if you see disk IO and waits.
c) Try to reduce excesive executions: sometimes developers think is cheaper to ask the database 1 million times, than add 100 lines of code (Yep...it's easier for them to charge the bill on us)
... there are more suggestions, only those poped right now... sorry,I need a larger buffer cache.
Regards
http://oracledisect.blogspot.com -
Check and identify cause of previous temp tablespace usage
Hi
Our production ERP database is on solaris and on version 9.2.0.8.0. The application tier and database tier are on two separate nodes.
Recently we observed that the temporary tablespace is being consumed more on a particular day. While monitoring the database,we observed the free temp tablespace was less and hence added 10gb space to it. However within 5-6 hours this space was utilised and certain requests/jobs failed due to no space in temp. This happened on 04th December 2012. Though the situation returned to normal post that,we need to find the cause of consumption of temporary tablespace in such large volumes. We are on 9i database and hence tried identifying the queries through statspack report as no views in particular exist for 9i.
We came across many queries which would help us identfy the current temp usage,but in 9i,we didnot find anything which would guide us on the historic temp tablespace usage. Can it be found via statspack? If yes,what exactly to check for in it? Request you to all please advice. Thanks.
Regards
Rdxdba-- To get historic information for a spesific sid,serial
column temp_mb format 99999999
column sample_time format a25
prompt
prompt DBA_HIST_ACTIVE_SESS_HISTORY
prompt
select sample_time,session_id,session_serial#,sql_id,temp_space_allocated/1024/1024 temp_mb,
temp_space_allocated/1024/1024-lag(temp_space_allocated/1024/1024,1,0) over (order by sample_time) as temp_diff
from dba_hist_active_sess_history
--from v$active_session_history
where
session_id=&1
and session_serial#=&2
order by sample_time asc
prompt
prompt ACTIVE_SESS_HIST
prompt
select sample_time,session_id,session_serial#,sql_id,temp_space_allocated/1024/1024 temp_mb,
temp_space_allocated/1024/1024-lag(temp_space_allocated/1024/1024,1,0) over (order by sample_time) as temp_diff
--from dba_hist_active_sess_history
from v$active_session_history
where
session_id=&1
and session_serial#=&2
order by sample_time asc
=========================================================================
---- For global temp usage info
col sid_serial format a10
col username format a17
col osuser format a15
col spid format 99999
col module format a15
col program format a30
col mb_used format 999999.999
col mb_total format 999999.999
col tablespace format a15
col statements format 999
col hash_value format 99999999999
col sql_text format a50
col service_name format a15
prompt
prompt #####################################################################
prompt #######################LOCAL TEMP USAGE#############################
prompt #####################################################################
prompt
SELECT A.tablespace_name tablespace, D.mb_total,
SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_used,
D.mb_total - SUM (A.used_blocks * D.block_size) / 1024 / 1024 mb_free
FROM v$sort_segment A,
SELECT B.name, C.block_size, SUM (C.bytes) / 1024 / 1024 mb_total
FROM v$tablespace B, v$tempfile C
WHERE B.ts#= C.ts#
GROUP BY B.name, C.block_size
) D
WHERE A.tablespace_name = D.name
GROUP by A.tablespace_name, D.mb_total;
prompt
prompt #####################################################################
prompt #######################LOCAL TEMP USERS#############################
prompt #####################################################################
prompt
SELECT S.sid || ',' || S.serial# sid_serial, S.username, S.osuser, P.spid,
--S.module,
--P.program,
s.service_name,
SUM (T.blocks) * TBS.block_size / 1024 / 1024 mb_used, T.tablespace,
COUNT(*) statements
FROM v$tempseg_usage T, v$session S, dba_tablespaces TBS, v$process P
WHERE T.session_addr = S.saddr
AND S.paddr = P.addr
AND T.tablespace = TBS.tablespace_name
GROUP BY S.sid, S.serial#, S.username, S.osuser, P.spid,
S.module,
P.program,
s.service_name,TBS.block_size, T.tablespace
ORDER BY mb_used;
--prompt
--prompt #####################################################################
--prompt #######################LOCAL ACTIVE SQLS ############################
--prompt #####################################################################
--prompt
-- SELECT sysdate "TIME_STAMP", vsu.username, vs.sid, vp.spid, vs.sql_id, vst.sql_text,vsu.segtype, vsu.tablespace,vs.service_name,
-- sum_blocks*dt.block_size/1024/1024 usage_mb
-- FROM
-- SELECT username, sqladdr, sqlhash, sql_id, tablespace, segtype,session_addr,
-- sum(blocks) sum_blocks
-- FROM v$tempseg_usage
-- group by username, sqladdr, sqlhash, sql_id, tablespace, segtype,session_addr
-- ) "VSU",
-- v$sqltext vst,
-- v$session vs,
-- v$process vp,
-- dba_tablespaces dt
-- WHERE vs.sql_id = vst.sql_id
-- AND vsu.session_addr = vs.saddr
-- AND vs.paddr = vp.addr
-- AND vst.piece = 0
-- AND vs.status='ACTIVE'
-- AND dt.tablespace_name = vsu.tablespace
-- order by usage_mb;
--prompt
--prompt #####################################################################
--prompt #######################LOCAL TEMP SQLS##############################
--prompt #####################################################################
--prompt
--SELECT S.sid || ',' || S.serial# sid_serial, S.username, Q.sql_id, Q.sql_text,
--T.blocks * TBS.block_size / 1024 / 1024 mb_used, T.tablespace
--FROM v$tempseg_usage T, v$session S, v$sqlarea Q, dba_tablespaces TBS
--WHERE T.session_addr = S.saddr
--AND T.sqladdr = Q.address
--AND T.tablespace = TBS.tablespace_name
--ORDER BY mb_used;
--
Maybe you are looking for
-
SLES OES Patching using ZCM - Best Practice?
Have recently updated an underused ZLM 7.3 to ZCM 11 and have started to utilise it to perform patching of SLES 10 SP3 and OES 2. At present I have a Novell subscription that downloads from novell NU as Patches with Create Category based Bundle Group
-
My iPod touch is running slow on iOS 5.1.1 4g
On July I restore my iPod touch because it said iPod is disabled connect to iTunes. Last week I try to make a new calendar event but when I tap done it froze. Then in safari web pages will load slow. Today safari crashes. Same to the youtube app. And
-
SM30: table Maintenance - appropriate event while changing existing entries
Can anyone please let me know which event is appropriate to validate data while changing existing entries in database table using SM30. Thanks & Regards, Nilesh Kumar
-
I'm trying to find some simple code that will direct a user to a page based upon his or her selection. I have a hint and submit button. When one is pressed I want to redirect to a certain screen. I have code in vbscript not javascript using onClick.
-
[svn:osmf:] 10528: Removing obsolete import statements.
Revision: 10528 Author: [email protected] Date: 2009-09-23 02:47:21 -0700 (Wed, 23 Sep 2009) Log Message: Removing obsolete import statements. Modified Paths: osmf/trunk/framework/MediaFramework/org/openvideoplayer/media/IContainerGateway.a