DETAILED ADDM REPORT FOR TASK 'ADDM:4127787440_2_18108' WITH ID 129626
----------------------------------------------------------------------
Analysis Period: 21-JAN-2011 from 12:00:28 to 12:04:42
Database ID/Instance: 4127787440/2
Database/Instance Names: CAPGENT/capgent2
Host Name: rac2.capgent.com
Database Version: 10.2.0.4.0
Snapshot Range: from 18107 to 18108
Database Time: 494 seconds
Average Database Load: 1.9 active sessions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FINDING 1: 87% impact (431 seconds)
-----------------------------------
SQL statements consuming significant database time were found.
RECOMMENDATION 1: SQL Tuning, 70% benefit (343 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4fx1nsvwwbgm8".
RELEVANT OBJECT: SQL statement with SQL_ID 4fx1nsvwwbgm8 and
PLAN_HASH 3177380161
select invtxn0_.IV_ID as IV1_36_0_, invtxn0_.IV_DATE as IV2_36_0_,
csthdr1_.CS_ID as CS1_22_1_, accrtxn2_.IV_ID as IV1_1_2_,
accrtxn2_.IV_DATE as IV2_1_2_, invtxn0_.IV_PINVID as IV3_36_0_,
invtxn0_.IV_SBID as IV4_36_0_, invtxn0_.IV_CURR as IV5_36_0_,
invtxn0_.IV_CHGS as IV6_36_0_, invtxn0_.IV_TLAMT as IV7_36_0_,
invtxn0_.IV_SHPADD as IV8_36_0_, invtxn0_.IV_BLNO as IV9_36_0_,
invtxn0_.IV_SHMODE as IV10_36_0_, invtxn0_.IV_CARR as IV11_36_0_,
invtxn0_.IV_BILLADD as IV12_36_0_, invtxn0_.IV_CRTRMS as IV13_36_0_,
invtxn0_.IV_TERMS as IV14_36_0_, invtxn0_.IV_ATTDTLS as IV15_36_0_,
invtxn0_.IV_TEXT as IV16_36_0_, invtxn0_.IV_BTCHDTE as IV17_36_0_,
invtxn0_.IV_ADVPAID as IV18_36_0_, invtxn0_.IV_ADVADJ as IV19_36_0_,
invtxn0_.IV_PRNTD as IV20_36_0_, invtxn0_.IV_MODE as IV21_36_0_,
invtxn0_.IV_DUEDATE as IV22_36_0_, invtxn0_.IV_TARIFF as IV23_36_0_,
invtxn0_.IV_TXNDTE as IV24_36_0_, invtxn0_.IV_GPINVNO as IV25_36_0_,
invtxn0_.IV_CRTDBY as IV26_36_0_, invtxn0_.IV_MODBY as IV27_36_0_,
invtxn0_.IV_CRTDDT as IV28_36_0_, invtxn0_.IV_MODDT as IV29_36_0_,
invtxn0_.IV_CUSNO as IV30_36_0_, invtxn0_.IV_ASSGTPE as IV31_36_0_,
invtxn0_.IV_ASSGNTO as IV32_36_0_, invtxn0_.IV_STR1 as IV33_36_0_,
invtxn0_.IV_STR2 as IV34_36_0_, invtxn0_.IV_STR3 as IV35_36_0_,
invtxn0_.IV_STR4 as IV36_36_0_, invtxn0_.IV_STR5 as IV37_36_0_,
invtxn0_.IV_STR6 as IV38_36_0_, invtxn0_.IV_STR7 as IV39_36_0_,
invtxn0_.IV_STR8 as IV40_36_0_, invtxn0_.IV_STR9 as IV41_36_0_,
invtxn0_.IV_STR10 as IV42_36_0_, invtxn0_.IV_STR11 as IV43_36_0_,
invtxn0_.IV_STR12 as IV44_36_0_, invtxn0_.IV_STR13 as IV45_36_0_,
invtxn0_.IV_STR14 as IV46_36_0_, invtxn0_.IV_STR15 as IV47_36_0_,
invtxn0_.IV_STR16 as IV48_36_0_, invtxn0_.IV_STR17 as IV49_36_0_,
invtxn0_.IV_STR18 as IV50_36_0_, invtxn0_.IV_STR19 as IV51_36_0_,
invtxn0_.IV_STR20 as IV52_36_0_, invtxn0_.IV_STR21 as IV53_36_0_,
invtxn0_.IV_STR22 as IV54_36_0_, invtxn0_.IV_STR23 as IV55_36_0_,
invtxn0_.IV_STR24 as IV56_36_0_, invtxn0_.IV_STR25 as IV57_36_0_,
invtxn0_.IV_NUM1 as IV58_36_0_, invtxn0_.IV_NUM2 as IV59_36_0_,
invtxn0_.IV_NUM3 as IV60_36_0_, invtxn0_.IV_NUM4 as IV61_36_0_,
invtxn0_.IV_NUM5 as IV62_36_0_, invtxn0_.IV_NUM6 as IV63_36_0_,
invtxn0_.IV_NUM7 as IV64_36_0_, invtxn0_.IV_NUM8 as IV65_36_0_,
invtxn0_.IV_NUM9 as IV66_36_0_, invtxn0_.IV_NUM10 as IV67_36_0_,
invtxn0_.IV_DATE1 as IV68_36_0_, invtxn0_.IV_DATE2 as IV69_36_0_,
invtxn0_.IV_DATE3 as IV70_36_0_, invtxn0_.IV_DATE4 as IV71_36_0_,
invtxn0_.IV_DATE5 as IV72_36_0_, invtxn0_.IV_DATE6 as IV73_36_0_,
invtxn0_.IV_DATE8 as IV74_36_0_, invtxn0_.IV_DATE9 as IV75_36_0_,
invtxn0_.IV_DATE10 as IV76_36_0_, invtxn0_.IV_ORDNO as IV77_36_0_,
invtxn0_.IV_FOR as IV78_36_0_, invtxn0_.IV_REMTO as IV79_36_0_,
invtxn0_.IV_PRODCDE as IV80_36_0_, invtxn0_.IV_CNTRLNO as IV81_36_0_,
invtxn0_.IV_IONUM as IV82_36_0_, invtxn0_.IV_AUTHNO as IV83_36_0_,
invtxn0_.IV_DEPTNO as IV84_36_0_, invtxn0_.IV_LOC as IV85_36_0_,
invtxn0_.IV_CLOSED as IV86_36_0_, invtxn0_.TID as TID36_0_,
invtxn0_.AID as AID36_0_, invtxn0_.IV_SOURCE as IV89_36_0_,
invtxn0_.IV_RECTYPE as IV90_36_0_, invtxn0_.IV_SLSORDNO as
IV91_36_0_, invtxn0_.IV_GAMT as IV92_36_0_, invtxn0_.IV_TXAMT as
IV93_36_0_, invtxn0_.IV_PDAMT as IV94_36_0_, invtxn0_.IV_BU as
IV95_36_0_, invtxn0_.IV_SHREF as IV96_36_0_, invtxn0_.IV_SHCLASS as
IV97_36_0_, invtxn0_.IV_SHDT as IV98_36_0_, invtxn0_.IV_PODATE as
IV99_36_0_, invtxn0_.IV_PROREF as IV100_36_0_, invtxn0_.IV_BLDATEFRO
as IV101_36_0_, invtxn0_.IV_BLDATETO as IV102_36_0_,
invtxn0_.IV_BATCH as IV103_36_0_, invtxn0_.IV_SLDATE as IV104_36_0_,
invtxn0_.IV_GROUP as IV105_36_0_, invtxn0_.IV_SHADDDET as
IV106_36_0_, invtxn0_.IV_RESP as IV107_36_0_, invtxn0_.IV_REMDT as
IV108_36_0_, invtxn0_.IV_PROB as IV109_36_0_, invtxn0_.IV_STID as
IV110_36_0_, invtxn0_.rowid as rowid111_36_0_, invtxn0_.EN_ID as
EN112_36_0_, invtxn0_.STE_ID as STE113_36_0_, invtxn0_.MTH_SETID as
MTH114_36_0_, invtxn0_.CS_ID as CS115_36_0_, invtxn0_.IV_TYPE as
IV116_36_0_, csthdr1_.CS_PID as CS2_22_1_, csthdr1_.CS_NAME as
CS3_22_1_, csthdr1_.CS_ACTIVE as CS4_22_1_, csthdr1_.CS_ALIAS as
CS5_22_1_, csthdr1_.CS_REF1 as CS6_22_1_, csthdr1_.CS_REF2 as
CS7_22_1_, csthdr1_.CS_OREF as CS8_22_1_, csthdr1_.CS_OSUPP as
CS9_22_1_, csthdr1_.CS_CDSCT as CS10_22_1_, csthdr1_.CS_DELM as
CS11_22_1_, csthdr1_.CS_SLPN as CS12_22_1_, csthdr1_.CS_RESP as
CS13_22_1_, csthdr1_.CS_VATC as CS14_22_1_, csthdr1_.CS_CURR as
CS15_22_1_, csthdr1_.CS_XCHTPE as CS16_22_1_, csthdr1_.CS_DTEFRM as
CS17_22_1_, csthdr1_.CS_PAYR as CS18_22_1_, csthdr1_.CS_STATS as
CS19_22_1_, csthdr1_.CS_CRLM1 as CS20_22_1_, csthdr1_.CS_CRLM2 as
CS21_22_1_, csthdr1_.CS_CRLM3 as CS22_22_1_, csthdr1_.CS_STOP as
CS23_22_1_, csthdr1_.CS_OSINAMT as CS24_22_1_, csthdr1_.CS_ODINAMT as
CS25_22_1_, csthdr1_.CS_LINVDTE as CS26_22_1_, csthdr1_.CS_EDTE as
CS27_22_1_, csthdr1_.CS_SUMINV as CS28_22_1_, csthdr1_.CS_INTINV as
CS29_22_1_, csthdr1_.CS_INTRUL as CS30_22_1_, csthdr1_.CS_CRATING as
CS31_22_1_, csthdr1_.CS_CREVIEW as CS32_22_1_, csthdr1_.CS_CRUPDTE as
CS33_22_1_, csthdr1_.CS_DB as CS34_22_1_, csthdr1_.CS_LANG as
CS35_22_1_, csthdr1_.CS_PSTID as CS36_22_1_, csthdr1_.CS_REGION as
CS37_22_1_, csthdr1_.CS_RMKS as CS38_22_1_, csthdr1_.CS_STMT as
CS39_22_1_, csthdr1_.CS_CRTDBY as CS40_22_1_, csthdr1_.CS_MODBY as
CS41_22_1_, csthdr1_.CS_CRTDDT as CS42_22_1_, csthdr1_.CS_MODDT as
CS43_22_1_, csthdr1_.CS_CSGID as CS44_22_1_, csthdr1_.EN_ID as
EN45_22_1_, csthdr1_.STE_ID as STE46_22_1_, csthdr1_.CS_STR1 as
CS47_22_1_, csthdr1_.CS_STR2 as CS48_22_1_, csthdr1_.CS_STR3 as
CS49_22_1_, csthdr1_.CS_STR4 as CS50_22_1_, csthdr1_.CS_STR5 as
CS51_22_1_, csthdr1_.CS_STR6 as CS52_22_1_, csthdr1_.CS_STR7 as
CS53_22_1_, csthdr1_.CS_STR8 as CS54_22_1_, csthdr1_.CS_STR9 as
CS55_22_1_, csthdr1_.CS_STR10 as CS56_22_1_, csthdr1_.CS_STR11 as
CS57_22_1_, csthdr1_.CS_STR12 as CS58_22_1_, csthdr1_.CS_STR13 as
CS59_22_1_, csthdr1_.CS_STR14 as CS60_22_1_, csthdr1_.CS_STR15 as
CS61_22_1_, csthdr1_.CS_STR16 as CS62_22_1_, csthdr1_.CS_STR17 as
CS63_22_1_, csthdr1_.CS_STR18 as CS64_22_1_, csthdr1_.CS_STR19 as
CS65_22_1_, csthdr1_.CS_STR20 as CS66_22_1_, csthdr1_.CS_STR21 as
CS67_22_1_, csthdr1_.CS_STR22 as CS68_22_1_, csthdr1_.CS_STR23 as
CS69_22_1_, csthdr1_.CS_STR24 as CS70_22_1_, csthdr1_.CS_STR25 as
CS71_22_1_, csthdr1_.CS_NUM1 as CS72_22_1_, csthdr1_.CS_NUM2 as
CS73_22_1_, csthdr1_.CS_NUM3 as CS74_22_1_, csthdr1_.CS_NUM4 as
CS75_22_1_, csthdr1_.CS_NUM5 as CS76_22_1_, csthdr1_.CS_NUM6 as
CS77_22_1_, csthdr1_.CS_NUM7 as CS78_22_1_, csthdr1_.CS_NUM8 as
CS79_22_1_, csthdr1_.CS_NUM9 as CS80_22_1_, csthdr1_.CS_NUM10 as
CS81_22_1_, csthdr1_.CS_NUM11 as CS82_22_1_, csthdr1_.CS_NUM12 as
CS83_22_1_, csthdr1_.CS_NUM13 as CS84_22_1_, csthdr1_.CS_NUM14 as
CS85_22_1_, csthdr1_.CS_NUM15 as CS86_22_1_, csthdr1_.CS_NUM16 as
CS87_22_1_, csthdr1_.CS_NUM17 as CS88_22_1_, csthdr1_.CS_NUM18 as
CS89_22_1_, csthdr1_.CS_NUM19 as CS90_22_1_, csthdr1_.CS_NUM20 as
CS91_22_1_, csthdr1_.CS_DATE1 as CS92_22_1_, csthdr1_.CS_DATE2 as
CS93_22_1_, csthdr1_.CS_DATE3 as CS94_22_1_, csthdr1_.CS_DATE4 as
CS95_22_1_, csthdr1_.CS_DATE5 as CS96_22_1_, csthdr1_.CS_DATE6 as
CS97_22_1_, csthdr1_.CS_DATE7 as CS98_22_1_, csthdr1_.CS_DATE8 as
CS99_22_1_, csthdr1_.CS_DATE9 as CS100_22_1_, csthdr1_.CS_DATE10 as
CS101_22_1_, csthdr1_.CS_TERMS as CS102_22_1_, csthdr1_.CS_KEYMARK as
CS103_22_1_, csthdr1_.AID as AID22_1_, csthdr1_.CS_IND as
CS105_22_1_, csthdr1_.CS_URL as CS106_22_1_, csthdr1_.AC_TYPE as
AC107_22_1_, csthdr1_.CS_AVGDP as CS108_22_1_, csthdr1_.CS_BKT12 as
CS109_22_1_, csthdr1_.CS_ERAM as CS110_22_1_, csthdr1_.rowid as
rowid111_22_1_, csthdr1_.PY_CODE as PY112_22_1_, csthdr1_.PC_ID as
PC113_22_1_, csthdr1_.CY_ID as CY114_22_1_, csthdr1_.PR_ID as
PR115_22_1_, csthdr1_.CS_TYPE as CS116_22_1_, csthdr1_.DT_ID as
DT117_22_1_, accrtxn2_.SB_ID as SB3_1_2_, accrtxn2_.AR_BTHDTE as
AR4_1_2_, accrtxn2_.AR_PAYR as AR5_1_2_, accrtxn2_.AR_INVVNS as
AR6_1_2_, accrtxn2_.AR_INVVNO as AR7_1_2_, accrtxn2_.AR_DESC as
AR8_1_2_, accrtxn2_.AR_SLSPRN as AR9_1_2_, accrtxn2_.AR_CUSGRP as
AR10_1_2_, accrtxn2_.AR_XCHRTPE as AR11_1_2_, accrtxn2_.AR_XCHRTE as
AR12_1_2_, accrtxn2_.AR_FCURAMT as AR13_1_2_, accrtxn2_.AR_VATAMT as
AR14_1_2_, accrtxn2_.AR_CHGTPE as AR15_1_2_, accrtxn2_.AR_MRKUP as
AR16_1_2_, accrtxn2_.AR_FWUDTE as AR17_1_2_, accrtxn2_.AR_ACCDTE as
AR18_1_2_, accrtxn2_.ACC_CODE as ACC19_1_2_, accrtxn2_.AR_BANK as
AR20_1_2_, accrtxn2_.AR_CDSCT as AR21_1_2_, accrtxn2_.AR_PYTMTD as
AR22_1_2_, accrtxn2_.AR_RECCDE as AR23_1_2_, accrtxn2_.AR_RECDTE as
AR24_1_2_, accrtxn2_.AR_ADVCDE as AR25_1_2_, accrtxn2_.AR_PYREM as
AR26_1_2_, accrtxn2_.AR_LREMDTE as AR27_1_2_, accrtxn2_.AR_PTREMDTE
as AR28_1_2_, accrtxn2_.AR_STPBY as AR29_1_2_, accrtxn2_.AR_STPDTE as
AR30_1_2_, accrtxn2_.AR_NOPYTRM as AR31_1_2_, accrtxn2_.AR_INTINVB as
AR32_1_2_, accrtxn2_.AR_INTINVS as AR33_1_2_, accrtxn2_.AR_CINTAMT as
AR34_1_2_, accrtxn2_.AR_FLGCDE as AR35_1_2_, accrtxn2_.AR_GPINDTE as
AR36_1_2_, accrtxn2_.AR_TXT as AR37_1_2_, accrtxn2_.AR_DOCLNK as
AR38_1_2_, accrtxn2_.AR_DRTPRD as AR39_1_2_, accrtxn2_.AR_DRPRDTE as
AR40_1_2_, accrtxn2_.AR_PRODGRP as AR41_1_2_, accrtxn2_.AR_ORDNO as
AR42_1_2_, accrtxn2_.AR_TXNDTE as AR43_1_2_, accrtxn2_.AR_FRTTRM as
AR44_1_2_, accrtxn2_.AR_NBR as AR45_1_2_, accrtxn2_.AR_PRINT as
AR46_1_2_, accrtxn2_.AR_CRTDBY as AR47_1_2_, accrtxn2_.AR_MODBY as
AR48_1_2_, accrtxn2_.AR_CRTDDT as AR49_1_2_, accrtxn2_.AR_MODDT as
AR50_1_2_, accrtxn2_.EN_ID as EN51_1_2_, accrtxn2_.STE_ID as
STE52_1_2_, accrtxn2_.AR_AMT as AR53_1_2_, accrtxn2_.AR_OUTAMT as
AR54_1_2_, accrtxn2_.AR_STR1 as AR55_1_2_, accrtxn2_.AR_STR2 as
AR56_1_2_, accrtxn2_.AR_STR3 as AR57_1_2_, accrtxn2_.AR_STR4 as
AR58_1_2_, accrtxn2_.AR_STR5 as AR59_1_2_, accrtxn2_.AR_STR6 as
AR60_1_2_, accrtxn2_.AR_STR7 as AR61_1_2_, accrtxn2_.AR_STR8 as
AR62_1_2_, accrtxn2_.AR_STR9 as AR63_1_2_, accrtxn2_.AR_STR10 as
AR64_1_2_, accrtxn2_.AR_STR11 as AR65_1_2_, accrtxn2_.AR_STR12 as
AR66_1_2_, accrtxn2_.AR_STR13 as AR67_1_2_, accrtxn2_.AR_STR14 as
AR68_1_2_, accrtxn2_.AR_STR15 as AR69_1_2_, accrtxn2_.AR_NUM1 as
AR70_1_2_, accrtxn2_.AR_NUM2 as AR71_1_2_, accrtxn2_.AR_NUM3 as
AR72_1_2_, accrtxn2_.AR_NUM4 as AR73_1_2_, accrtxn2_.AR_NUM5 as
AR74_1_2_, accrtxn2_.AR_NUM6 as AR75_1_2_, accrtxn2_.AR_NUM7 as
AR76_1_2_, accrtxn2_.AR_NUM8 as AR77_1_2_, accrtxn2_.AR_NUM9 as
AR78_1_2_, accrtxn2_.AR_NUM10 as AR79_1_2_, accrtxn2_.AR_DATE1 as
AR80_1_2_, accrtxn2_.AR_DATE2 as AR81_1_2_, accrtxn2_.AR_DATE3 as
AR82_1_2_, accrtxn2_.AR_DATE4 as AR83_1_2_, accrtxn2_.AR_DATE5 as
AR84_1_2_, accrtxn2_.AR_DATE6 as AR85_1_2_, accrtxn2_.AR_DATE7 as
AR86_1_2_, accrtxn2_.AR_DATE8 as AR87_1_2_, accrtxn2_.AR_DATE9 as
AR88_1_2_, accrtxn2_.AR_DATE10 as AR89_1_2_, accrtxn2_.AR_PROMDTE as
AR90_1_2_, accrtxn2_.TID as TID1_2_, accrtxn2_.PY_TERMS as PY92_1_2_,
accrtxn2_.PR_ID as PR93_1_2_ from INV_TXN invtxn0_, CST_HDR csthdr1_,
ACCR_TXN accrtxn2_, CSTPE_HDR cstpehdr4_ where
invtxn0_.CS_ID=csthdr1_.CS_ID(+) and
invtxn0_.IV_ID=accrtxn2_.IV_ID(+) and
invtxn0_.IV_DATE=accrtxn2_.IV_DATE(+) and
csthdr1_.CS_TYPE=cstpehdr4_.CS_TYPE and (invtxn0_.CS_ID in (:1 , :2 ,
:3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15
, :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 ,
:27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38
, :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 ,
:50)) and invtxn0_.IV_TYPE=cstpehdr4_.CS_NAME and
invtxn0_.IV_CLOSED=0
RATIONALE: SQL statement with SQL_ID "4fx1nsvwwbgm8" was executed 3
times and had an average elapsed time of 114 seconds.
RECOMMENDATION 2: SQL Tuning, 5.6% benefit (28 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4jx3axz9gv5zf".
RELEVANT OBJECT: SQL statement with SQL_ID 4jx3axz9gv5zf and
PLAN_HASH 804695543
SELECT IO_TIME.SNAP_ID, IO_TIME.SECONDS, DB.SECONDS, CPU.SECONDS FROM
(SELECT SNAP_ID, DBID, INSTANCE_NUMBER,
SUM(TIME_WAITED_MICRO)/1000000 SECONDS FROM DBA_HIST_SYSTEM_EVENT
WHERE DBID = :B52 AND INSTANCE_NUMBER = :B51 AND SNAP_ID IN (:B50
,:B49 ,:B48 ,:B47 ,:B46 ,:B45 ,:B44 ,:B43 ,:B42 ,:B41 ,:B40 ,:B39
,:B38 ,:B37 ,:B36 ,:B35 ,:B34 ,:B33 ,:B32 ,:B31 ,:B30 ,:B29 ,:B28
,:B27 ,:B26 ,:B25 ,:B24 ,:B23 ,:B22 ,:B21 ,:B20 ,:B19 ,:B18 ,:B17
,:B16 ,:B15 ,:B14 ,:B13 ,:B12 ,:B11 ,:B10 ,:B9 ,:B8 ,:B7 ,:B6 ,:B5
,:B4 ,:B3 ,:B2 ,:B1 ) AND WAIT_CLASS = 'User I/O' GROUP BY SNAP_ID,
DBID, INSTANCE_NUMBER) IO_TIME, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 3649082374) DB, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 2748282437) CPU WHERE IO_TIME.SNAP_ID = DB.SNAP_ID
AND IO_TIME.DBID = DB.DBID AND IO_TIME.INSTANCE_NUMBER =
DB.INSTANCE_NUMBER AND DB.SNAP_ID = CPU.SNAP_ID AND DB.DBID =
CPU.DBID AND DB.INSTANCE_NUMBER = CPU.INSTANCE_NUMBER ORDER BY
IO_TIME.SNAP_ID
RATIONALE: SQL statement with SQL_ID "4jx3axz9gv5zf" was executed 8
times and had an average elapsed time of 3.4 seconds.
RECOMMENDATION 3: SQL Tuning, 4.7% benefit (23 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"8jkzt6vsccyqd".
RELEVANT OBJECT: SQL statement with SQL_ID 8jkzt6vsccyqd and
PLAN_HASH 575304967
select workflowin0_.wf_id as col_0_0_ from wf_instance workflowin0_,
wf_string_properties stringprop1_, wf_timestamp_properties
timestampp2_ where workflowin0_.id=stringprop1_.wf_instance_id(+) and
workflowin0_.id=timestampp2_.wf_instance_id(+) and
workflowin0_.tx_type=:1 and workflowin0_.status=:2 and
workflowin0_.en_id=:3 and stringprop1_.name=:4 and
stringprop1_.value=:5 and timestampp2_.name=:6 and
timestampp2_.value=:7
RATIONALE: SQL statement with SQL_ID "8jkzt6vsccyqd" was executed 165
times and had an average elapsed time of 0.14 seconds.
RECOMMENDATION 4: SQL Tuning, 4.3% benefit (21 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"6pyythwmhk9yu".
RELEVANT OBJECT: SQL statement with SQL_ID 6pyythwmhk9yu and
PLAN_HASH 3641753794
select * from ( select stshdr1_.ST_NAME as col_0_0_, csthdr2_.CS_REF1
as col_1_0_, csthdr2_.CS_NAME as col_2_0_, invtxn0_.IV_GPINVNO as
col_3_0_, invtxn0_.IV_TLAMT as col_4_0_, accrtxn4_.AR_OUTAMT as
col_5_0_, invtxn0_.IV_DATE as col_6_0_, invtxn0_.IV_ID as col_7_0_,
invtxn0_.IV_DUEDATE as col_8_0_,
trunc(current_date-invtxn0_.IV_DUEDATE) as col_9_0_,
invtxn0_.IV_SLSORDNO as col_10_0_, invtxn0_.IV_ORDNO as col_11_0_,
invtxn0_.IV_CRTRMS as col_12_0_, invtxn0_.IV_ASSGNTO as col_13_0_,
invtxn0_.IV_STR7 as col_14_0_, invtxn0_.IV_STID as col_15_0_,
invtxn0_.CS_ID as col_16_0_, stshdr1_.ST_ICON as col_17_0_ from
INV_TXN invtxn0_, CST_HDR csthdr2_, ACCR_TXN accrtxn4_, STS_HDR
stshdr1_ where invtxn0_.CS_ID=csthdr2_.CS_ID and
invtxn0_.IV_ID=accrtxn4_.IV_ID and invtxn0_.IV_DATE=accrtxn4_.IV_DATE
and (invtxn0_.EN_ID in (3910)) and invtxn0_.IV_STID=stshdr1_.ST_ID
and invtxn0_.IV_TYPE='Invoice' and invtxn0_.IV_CLOSED=0 and
(upper(csthdr2_.CS_REF1) like '%72496700%') ) where rownum <= :1
RATIONALE: SQL statement with SQL_ID "6pyythwmhk9yu" was executed 1
times and had an average elapsed time of 21 seconds.
RECOMMENDATION 5: SQL Tuning, 3.2% benefit (16 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"f5pwkxw60z6xz".
RELEVANT OBJECT: SQL statement with SQL_ID f5pwkxw60z6xz and
PLAN_HASH 1905475992
SELECT a.advisor_name, a.task_name, a.inst_id, a.description,
a.owner, a.status, a.execution_start, a.execution_end,
trunc(a.created)-trunc(sysdate)+a.days_to_expire, a.task_id,
a.recommendation_count, a.state, jl.status,
cast(nvl(a.start_date,a.last_start_date) as TIMESTAMP), a.created,
trunc(sysdate)-trunc(a.created) FROM (SELECT b.*, j.state as state,
j.start_date as start_date, j.last_start_date as last_start_date FROM
(SELECT /*+ NO_MERGE(mt) ORDERED */ t.advisor_name as advisor_name,
t.task_name as task_name, t.description as description, t.owner as
owner, t.created as created, t.status as status, t.execution_start as
execution_start, t.execution_end as execution_end, t.task_id as
task_id, t.recommendation_count as recommendation_count, mt.exec_time
as max_execution_time, p1.parameter_value as days_to_expire,
p2.parameter_value as inst_id FROM (SELECT /*+ ORDERED */
p1.parameter_value as inst_id, t.advisor_id, max(t.execution_start)
as exec_time FROM dba_advisor_tasks t, (SELECT task_id,
parameter_value FROM dba_advisor_parameters_proj WHERE
parameter_name = 'INSTANCE') p1, (SELECT task_id, parameter_value
FROM dba_advisor_parameters_proj WHERE parameter_name = 'DB_ID')
p2 WHERE task_name like :1 AND t.task_id=p1.task_id AND
t.task_id=p2.task_id(+) GROUP BY p1.parameter_value, t.advisor_id )
mt, dba_advisor_tasks t, dba_advisor_parameters_proj p1,
dba_advisor_parameters_proj p2 WHERE t.advisor_id = mt.advisor_id AND
t.execution_start = mt.exec_time AND mt.inst_id = p2.parameter_value
AND t.advisor_name like :2 AND p1.task_id=t.task_id AND
p1.parameter_name='DAYS_TO_EXPIRE' AND p2.task_id=t.task_id AND
p2.parameter_name='INSTANCE' ) b, dba_scheduler_jobs j WHERE
CONCAT('ADV_', b.task_name)=j.job_name (+) AND b.owner=j.owner (+) )
a, (SELECT job_name, operation, status, owner FROM
dba_scheduler_job_log WHERE operation='RUN' AND log_id IN (SELECT
UNIQUE MAX(log_id) OVER (PARTITION BY job_name) FROM
dba_scheduler_job_log WHERE operation='RUN') ) jl WHERE
CONCAT('ADV_', a.task_name)=jl.job_name(+) AND a.owner=jl.owner (+)
RATIONALE: SQL statement with SQL_ID "f5pwkxw60z6xz" was executed 1
times and had an average elapsed time of 15 seconds.
FINDING 2: 60% impact (295 seconds)
-----------------------------------
The SGA was inadequately sized, causing additional I/O or hard parses.
RECOMMENDATION 1: DB Configuration, 30% benefit (148 seconds)
ACTION: Increase the size of the SGA by setting the parameter
"sga_target" to 4800 M.
ADDITIONAL INFORMATION:
The value of parameter "sga_target" was "3840 M" during the analysis
period.
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "User I/O" was consuming significant database time.
(74% impact [365 seconds])
FINDING 3: 56% impact (279 seconds)
-----------------------------------
Individual SQL statements responsible for significant user I/O wait were
found.
RECOMMENDATION 1: SQL Tuning, 70% benefit (343 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4fx1nsvwwbgm8".
RELEVANT OBJECT: SQL statement with SQL_ID 4fx1nsvwwbgm8 and
PLAN_HASH 3177380161
select invtxn0_.IV_ID as IV1_36_0_, invtxn0_.IV_DATE as IV2_36_0_,
csthdr1_.CS_ID as CS1_22_1_, accrtxn2_.IV_ID as IV1_1_2_,
accrtxn2_.IV_DATE as IV2_1_2_, invtxn0_.IV_PINVID as IV3_36_0_,
invtxn0_.IV_SBID as IV4_36_0_, invtxn0_.IV_CURR as IV5_36_0_,
invtxn0_.IV_CHGS as IV6_36_0_, invtxn0_.IV_TLAMT as IV7_36_0_,
invtxn0_.IV_SHPADD as IV8_36_0_, invtxn0_.IV_BLNO as IV9_36_0_,
invtxn0_.IV_SHMODE as IV10_36_0_, invtxn0_.IV_CARR as IV11_36_0_,
invtxn0_.IV_BILLADD as IV12_36_0_, invtxn0_.IV_CRTRMS as IV13_36_0_,
invtxn0_.IV_TERMS as IV14_36_0_, invtxn0_.IV_ATTDTLS as IV15_36_0_,
invtxn0_.IV_TEXT as IV16_36_0_, invtxn0_.IV_BTCHDTE as IV17_36_0_,
invtxn0_.IV_ADVPAID as IV18_36_0_, invtxn0_.IV_ADVADJ as IV19_36_0_,
invtxn0_.IV_PRNTD as IV20_36_0_, invtxn0_.IV_MODE as IV21_36_0_,
invtxn0_.IV_DUEDATE as IV22_36_0_, invtxn0_.IV_TARIFF as IV23_36_0_,
invtxn0_.IV_TXNDTE as IV24_36_0_, invtxn0_.IV_GPINVNO as IV25_36_0_,
invtxn0_.IV_CRTDBY as IV26_36_0_, invtxn0_.IV_MODBY as IV27_36_0_,
invtxn0_.IV_CRTDDT as IV28_36_0_, invtxn0_.IV_MODDT as IV29_36_0_,
invtxn0_.IV_CUSNO as IV30_36_0_, invtxn0_.IV_ASSGTPE as IV31_36_0_,
invtxn0_.IV_ASSGNTO as IV32_36_0_, invtxn0_.IV_STR1 as IV33_36_0_,
invtxn0_.IV_STR2 as IV34_36_0_, invtxn0_.IV_STR3 as IV35_36_0_,
invtxn0_.IV_STR4 as IV36_36_0_, invtxn0_.IV_STR5 as IV37_36_0_,
invtxn0_.IV_STR6 as IV38_36_0_, invtxn0_.IV_STR7 as IV39_36_0_,
invtxn0_.IV_STR8 as IV40_36_0_, invtxn0_.IV_STR9 as IV41_36_0_,
invtxn0_.IV_STR10 as IV42_36_0_, invtxn0_.IV_STR11 as IV43_36_0_,
invtxn0_.IV_STR12 as IV44_36_0_, invtxn0_.IV_STR13 as IV45_36_0_,
invtxn0_.IV_STR14 as IV46_36_0_, invtxn0_.IV_STR15 as IV47_36_0_,
invtxn0_.IV_STR16 as IV48_36_0_, invtxn0_.IV_STR17 as IV49_36_0_,
invtxn0_.IV_STR18 as IV50_36_0_, invtxn0_.IV_STR19 as IV51_36_0_,
invtxn0_.IV_STR20 as IV52_36_0_, invtxn0_.IV_STR21 as IV53_36_0_,
invtxn0_.IV_STR22 as IV54_36_0_, invtxn0_.IV_STR23 as IV55_36_0_,
invtxn0_.IV_STR24 as IV56_36_0_, invtxn0_.IV_STR25 as IV57_36_0_,
invtxn0_.IV_NUM1 as IV58_36_0_, invtxn0_.IV_NUM2 as IV59_36_0_,
invtxn0_.IV_NUM3 as IV60_36_0_, invtxn0_.IV_NUM4 as IV61_36_0_,
invtxn0_.IV_NUM5 as IV62_36_0_, invtxn0_.IV_NUM6 as IV63_36_0_,
invtxn0_.IV_NUM7 as IV64_36_0_, invtxn0_.IV_NUM8 as IV65_36_0_,
invtxn0_.IV_NUM9 as IV66_36_0_, invtxn0_.IV_NUM10 as IV67_36_0_,
invtxn0_.IV_DATE1 as IV68_36_0_, invtxn0_.IV_DATE2 as IV69_36_0_,
invtxn0_.IV_DATE3 as IV70_36_0_, invtxn0_.IV_DATE4 as IV71_36_0_,
invtxn0_.IV_DATE5 as IV72_36_0_, invtxn0_.IV_DATE6 as IV73_36_0_,
invtxn0_.IV_DATE8 as IV74_36_0_, invtxn0_.IV_DATE9 as IV75_36_0_,
invtxn0_.IV_DATE10 as IV76_36_0_, invtxn0_.IV_ORDNO as IV77_36_0_,
invtxn0_.IV_FOR as IV78_36_0_, invtxn0_.IV_REMTO as IV79_36_0_,
invtxn0_.IV_PRODCDE as IV80_36_0_, invtxn0_.IV_CNTRLNO as IV81_36_0_,
invtxn0_.IV_IONUM as IV82_36_0_, invtxn0_.IV_AUTHNO as IV83_36_0_,
invtxn0_.IV_DEPTNO as IV84_36_0_, invtxn0_.IV_LOC as IV85_36_0_,
invtxn0_.IV_CLOSED as IV86_36_0_, invtxn0_.TID as TID36_0_,
invtxn0_.AID as AID36_0_, invtxn0_.IV_SOURCE as IV89_36_0_,
invtxn0_.IV_RECTYPE as IV90_36_0_, invtxn0_.IV_SLSORDNO as
IV91_36_0_, invtxn0_.IV_GAMT as IV92_36_0_, invtxn0_.IV_TXAMT as
IV93_36_0_, invtxn0_.IV_PDAMT as IV94_36_0_, invtxn0_.IV_BU as
IV95_36_0_, invtxn0_.IV_SHREF as IV96_36_0_, invtxn0_.IV_SHCLASS as
IV97_36_0_, invtxn0_.IV_SHDT as IV98_36_0_, invtxn0_.IV_PODATE as
IV99_36_0_, invtxn0_.IV_PROREF as IV100_36_0_, invtxn0_.IV_BLDATEFRO
as IV101_36_0_, invtxn0_.IV_BLDATETO as IV102_36_0_,
invtxn0_.IV_BATCH as IV103_36_0_, invtxn0_.IV_SLDATE as IV104_36_0_,
invtxn0_.IV_GROUP as IV105_36_0_, invtxn0_.IV_SHADDDET as
IV106_36_0_, invtxn0_.IV_RESP as IV107_36_0_, invtxn0_.IV_REMDT as
IV108_36_0_, invtxn0_.IV_PROB as IV109_36_0_, invtxn0_.IV_STID as
IV110_36_0_, invtxn0_.rowid as rowid111_36_0_, invtxn0_.EN_ID as
EN112_36_0_, invtxn0_.STE_ID as STE113_36_0_, invtxn0_.MTH_SETID as
MTH114_36_0_, invtxn0_.CS_ID as CS115_36_0_, invtxn0_.IV_TYPE as
IV116_36_0_, csthdr1_.CS_PID as CS2_22_1_, csthdr1_.CS_NAME as
CS3_22_1_, csthdr1_.CS_ACTIVE as CS4_22_1_, csthdr1_.CS_ALIAS as
CS5_22_1_, csthdr1_.CS_REF1 as CS6_22_1_, csthdr1_.CS_REF2 as
CS7_22_1_, csthdr1_.CS_OREF as CS8_22_1_, csthdr1_.CS_OSUPP as
CS9_22_1_, csthdr1_.CS_CDSCT as CS10_22_1_, csthdr1_.CS_DELM as
CS11_22_1_, csthdr1_.CS_SLPN as CS12_22_1_, csthdr1_.CS_RESP as
CS13_22_1_, csthdr1_.CS_VATC as CS14_22_1_, csthdr1_.CS_CURR as
CS15_22_1_, csthdr1_.CS_XCHTPE as CS16_22_1_, csthdr1_.CS_DTEFRM as
CS17_22_1_, csthdr1_.CS_PAYR as CS18_22_1_, csthdr1_.CS_STATS as
CS19_22_1_, csthdr1_.CS_CRLM1 as CS20_22_1_, csthdr1_.CS_CRLM2 as
CS21_22_1_, csthdr1_.CS_CRLM3 as CS22_22_1_, csthdr1_.CS_STOP as
CS23_22_1_, csthdr1_.CS_OSINAMT as CS24_22_1_, csthdr1_.CS_ODINAMT as
CS25_22_1_, csthdr1_.CS_LINVDTE as CS26_22_1_, csthdr1_.CS_EDTE as
CS27_22_1_, csthdr1_.CS_SUMINV as CS28_22_1_, csthdr1_.CS_INTINV as
CS29_22_1_, csthdr1_.CS_INTRUL as CS30_22_1_, csthdr1_.CS_CRATING as
CS31_22_1_, csthdr1_.CS_CREVIEW as CS32_22_1_, csthdr1_.CS_CRUPDTE as
CS33_22_1_, csthdr1_.CS_DB as CS34_22_1_, csthdr1_.CS_LANG as
CS35_22_1_, csthdr1_.CS_PSTID as CS36_22_1_, csthdr1_.CS_REGION as
CS37_22_1_, csthdr1_.CS_RMKS as CS38_22_1_, csthdr1_.CS_STMT as
CS39_22_1_, csthdr1_.CS_CRTDBY as CS40_22_1_, csthdr1_.CS_MODBY as
CS41_22_1_, csthdr1_.CS_CRTDDT as CS42_22_1_, csthdr1_.CS_MODDT as
CS43_22_1_, csthdr1_.CS_CSGID as CS44_22_1_, csthdr1_.EN_ID as
EN45_22_1_, csthdr1_.STE_ID as STE46_22_1_, csthdr1_.CS_STR1 as
CS47_22_1_, csthdr1_.CS_STR2 as CS48_22_1_, csthdr1_.CS_STR3 as
CS49_22_1_, csthdr1_.CS_STR4 as CS50_22_1_, csthdr1_.CS_STR5 as
CS51_22_1_, csthdr1_.CS_STR6 as CS52_22_1_, csthdr1_.CS_STR7 as
CS53_22_1_, csthdr1_.CS_STR8 as CS54_22_1_, csthdr1_.CS_STR9 as
CS55_22_1_, csthdr1_.CS_STR10 as CS56_22_1_, csthdr1_.CS_STR11 as
CS57_22_1_, csthdr1_.CS_STR12 as CS58_22_1_, csthdr1_.CS_STR13 as
CS59_22_1_, csthdr1_.CS_STR14 as CS60_22_1_, csthdr1_.CS_STR15 as
CS61_22_1_, csthdr1_.CS_STR16 as CS62_22_1_, csthdr1_.CS_STR17 as
CS63_22_1_, csthdr1_.CS_STR18 as CS64_22_1_, csthdr1_.CS_STR19 as
CS65_22_1_, csthdr1_.CS_STR20 as CS66_22_1_, csthdr1_.CS_STR21 as
CS67_22_1_, csthdr1_.CS_STR22 as CS68_22_1_, csthdr1_.CS_STR23 as
CS69_22_1_, csthdr1_.CS_STR24 as CS70_22_1_, csthdr1_.CS_STR25 as
CS71_22_1_, csthdr1_.CS_NUM1 as CS72_22_1_, csthdr1_.CS_NUM2 as
CS73_22_1_, csthdr1_.CS_NUM3 as CS74_22_1_, csthdr1_.CS_NUM4 as
CS75_22_1_, csthdr1_.CS_NUM5 as CS76_22_1_, csthdr1_.CS_NUM6 as
CS77_22_1_, csthdr1_.CS_NUM7 as CS78_22_1_, csthdr1_.CS_NUM8 as
CS79_22_1_, csthdr1_.CS_NUM9 as CS80_22_1_, csthdr1_.CS_NUM10 as
CS81_22_1_, csthdr1_.CS_NUM11 as CS82_22_1_, csthdr1_.CS_NUM12 as
CS83_22_1_, csthdr1_.CS_NUM13 as CS84_22_1_, csthdr1_.CS_NUM14 as
CS85_22_1_, csthdr1_.CS_NUM15 as CS86_22_1_, csthdr1_.CS_NUM16 as
CS87_22_1_, csthdr1_.CS_NUM17 as CS88_22_1_, csthdr1_.CS_NUM18 as
CS89_22_1_, csthdr1_.CS_NUM19 as CS90_22_1_, csthdr1_.CS_NUM20 as
CS91_22_1_, csthdr1_.CS_DATE1 as CS92_22_1_, csthdr1_.CS_DATE2 as
CS93_22_1_, csthdr1_.CS_DATE3 as CS94_22_1_, csthdr1_.CS_DATE4 as
CS95_22_1_, csthdr1_.CS_DATE5 as CS96_22_1_, csthdr1_.CS_DATE6 as
CS97_22_1_, csthdr1_.CS_DATE7 as CS98_22_1_, csthdr1_.CS_DATE8 as
CS99_22_1_, csthdr1_.CS_DATE9 as CS100_22_1_, csthdr1_.CS_DATE10 as
CS101_22_1_, csthdr1_.CS_TERMS as CS102_22_1_, csthdr1_.CS_KEYMARK as
CS103_22_1_, csthdr1_.AID as AID22_1_, csthdr1_.CS_IND as
CS105_22_1_, csthdr1_.CS_URL as CS106_22_1_, csthdr1_.AC_TYPE as
AC107_22_1_, csthdr1_.CS_AVGDP as CS108_22_1_, csthdr1_.CS_BKT12 as
CS109_22_1_, csthdr1_.CS_ERAM as CS110_22_1_, csthdr1_.rowid as
rowid111_22_1_, csthdr1_.PY_CODE as PY112_22_1_, csthdr1_.PC_ID as
PC113_22_1_, csthdr1_.CY_ID as CY114_22_1_, csthdr1_.PR_ID as
PR115_22_1_, csthdr1_.CS_TYPE as CS116_22_1_, csthdr1_.DT_ID as
DT117_22_1_, accrtxn2_.SB_ID as SB3_1_2_, accrtxn2_.AR_BTHDTE as
AR4_1_2_, accrtxn2_.AR_PAYR as AR5_1_2_, accrtxn2_.AR_INVVNS as
AR6_1_2_, accrtxn2_.AR_INVVNO as AR7_1_2_, accrtxn2_.AR_DESC as
AR8_1_2_, accrtxn2_.AR_SLSPRN as AR9_1_2_, accrtxn2_.AR_CUSGRP as
AR10_1_2_, accrtxn2_.AR_XCHRTPE as AR11_1_2_, accrtxn2_.AR_XCHRTE as
AR12_1_2_, accrtxn2_.AR_FCURAMT as AR13_1_2_, accrtxn2_.AR_VATAMT as
AR14_1_2_, accrtxn2_.AR_CHGTPE as AR15_1_2_, accrtxn2_.AR_MRKUP as
AR16_1_2_, accrtxn2_.AR_FWUDTE as AR17_1_2_, accrtxn2_.AR_ACCDTE as
AR18_1_2_, accrtxn2_.ACC_CODE as ACC19_1_2_, accrtxn2_.AR_BANK as
AR20_1_2_, accrtxn2_.AR_CDSCT as AR21_1_2_, accrtxn2_.AR_PYTMTD as
AR22_1_2_, accrtxn2_.AR_RECCDE as AR23_1_2_, accrtxn2_.AR_RECDTE as
AR24_1_2_, accrtxn2_.AR_ADVCDE as AR25_1_2_, accrtxn2_.AR_PYREM as
AR26_1_2_, accrtxn2_.AR_LREMDTE as AR27_1_2_, accrtxn2_.AR_PTREMDTE
as AR28_1_2_, accrtxn2_.AR_STPBY as AR29_1_2_, accrtxn2_.AR_STPDTE as
AR30_1_2_, accrtxn2_.AR_NOPYTRM as AR31_1_2_, accrtxn2_.AR_INTINVB as
AR32_1_2_, accrtxn2_.AR_INTINVS as AR33_1_2_, accrtxn2_.AR_CINTAMT as
AR34_1_2_, accrtxn2_.AR_FLGCDE as AR35_1_2_, accrtxn2_.AR_GPINDTE as
AR36_1_2_, accrtxn2_.AR_TXT as AR37_1_2_, accrtxn2_.AR_DOCLNK as
AR38_1_2_, accrtxn2_.AR_DRTPRD as AR39_1_2_, accrtxn2_.AR_DRPRDTE as
AR40_1_2_, accrtxn2_.AR_PRODGRP as AR41_1_2_, accrtxn2_.AR_ORDNO as
AR42_1_2_, accrtxn2_.AR_TXNDTE as AR43_1_2_, accrtxn2_.AR_FRTTRM as
AR44_1_2_, accrtxn2_.AR_NBR as AR45_1_2_, accrtxn2_.AR_PRINT as
AR46_1_2_, accrtxn2_.AR_CRTDBY as AR47_1_2_, accrtxn2_.AR_MODBY as
AR48_1_2_, accrtxn2_.AR_CRTDDT as AR49_1_2_, accrtxn2_.AR_MODDT as
AR50_1_2_, accrtxn2_.EN_ID as EN51_1_2_, accrtxn2_.STE_ID as
STE52_1_2_, accrtxn2_.AR_AMT as AR53_1_2_, accrtxn2_.AR_OUTAMT as
AR54_1_2_, accrtxn2_.AR_STR1 as AR55_1_2_, accrtxn2_.AR_STR2 as
AR56_1_2_, accrtxn2_.AR_STR3 as AR57_1_2_, accrtxn2_.AR_STR4 as
AR58_1_2_, accrtxn2_.AR_STR5 as AR59_1_2_, accrtxn2_.AR_STR6 as
AR60_1_2_, accrtxn2_.AR_STR7 as AR61_1_2_, accrtxn2_.AR_STR8 as
AR62_1_2_, accrtxn2_.AR_STR9 as AR63_1_2_, accrtxn2_.AR_STR10 as
AR64_1_2_, accrtxn2_.AR_STR11 as AR65_1_2_, accrtxn2_.AR_STR12 as
AR66_1_2_, accrtxn2_.AR_STR13 as AR67_1_2_, accrtxn2_.AR_STR14 as
AR68_1_2_, accrtxn2_.AR_STR15 as AR69_1_2_, accrtxn2_.AR_NUM1 as
AR70_1_2_, accrtxn2_.AR_NUM2 as AR71_1_2_, accrtxn2_.AR_NUM3 as
AR72_1_2_, accrtxn2_.AR_NUM4 as AR73_1_2_, accrtxn2_.AR_NUM5 as
AR74_1_2_, accrtxn2_.AR_NUM6 as AR75_1_2_, accrtxn2_.AR_NUM7 as
AR76_1_2_, accrtxn2_.AR_NUM8 as AR77_1_2_, accrtxn2_.AR_NUM9 as
AR78_1_2_, accrtxn2_.AR_NUM10 as AR79_1_2_, accrtxn2_.AR_DATE1 as
AR80_1_2_, accrtxn2_.AR_DATE2 as AR81_1_2_, accrtxn2_.AR_DATE3 as
AR82_1_2_, accrtxn2_.AR_DATE4 as AR83_1_2_, accrtxn2_.AR_DATE5 as
AR84_1_2_, accrtxn2_.AR_DATE6 as AR85_1_2_, accrtxn2_.AR_DATE7 as
AR86_1_2_, accrtxn2_.AR_DATE8 as AR87_1_2_, accrtxn2_.AR_DATE9 as
AR88_1_2_, accrtxn2_.AR_DATE10 as AR89_1_2_, accrtxn2_.AR_PROMDTE as
AR90_1_2_, accrtxn2_.TID as TID1_2_, accrtxn2_.PY_TERMS as PY92_1_2_,
accrtxn2_.PR_ID as PR93_1_2_ from INV_TXN invtxn0_, CST_HDR csthdr1_,
ACCR_TXN accrtxn2_, CSTPE_HDR cstpehdr4_ where
invtxn0_.CS_ID=csthdr1_.CS_ID(+) and
invtxn0_.IV_ID=accrtxn2_.IV_ID(+) and
invtxn0_.IV_DATE=accrtxn2_.IV_DATE(+) and
csthdr1_.CS_TYPE=cstpehdr4_.CS_TYPE and (invtxn0_.CS_ID in (:1 , :2 ,
:3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15
, :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 ,
:27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38
, :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 ,
:50)) and invtxn0_.IV_TYPE=cstpehdr4_.CS_NAME and
invtxn0_.IV_CLOSED=0
RATIONALE: SQL statement with SQL_ID "4fx1nsvwwbgm8" was executed 3
times and had an average elapsed time of 114 seconds.
RATIONALE: Average time spent in User I/O wait events per execution was
76 seconds.
RECOMMENDATION 2: SQL Tuning, 5.6% benefit (28 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4jx3axz9gv5zf".
RELEVANT OBJECT: SQL statement with SQL_ID 4jx3axz9gv5zf and
PLAN_HASH 804695543
SELECT IO_TIME.SNAP_ID, IO_TIME.SECONDS, DB.SECONDS, CPU.SECONDS FROM
(SELECT SNAP_ID, DBID, INSTANCE_NUMBER,
SUM(TIME_WAITED_MICRO)/1000000 SECONDS FROM DBA_HIST_SYSTEM_EVENT
WHERE DBID = :B52 AND INSTANCE_NUMBER = :B51 AND SNAP_ID IN (:B50
,:B49 ,:B48 ,:B47 ,:B46 ,:B45 ,:B44 ,:B43 ,:B42 ,:B41 ,:B40 ,:B39
,:B38 ,:B37 ,:B36 ,:B35 ,:B34 ,:B33 ,:B32 ,:B31 ,:B30 ,:B29 ,:B28
,:B27 ,:B26 ,:B25 ,:B24 ,:B23 ,:B22 ,:B21 ,:B20 ,:B19 ,:B18 ,:B17
,:B16 ,:B15 ,:B14 ,:B13 ,:B12 ,:B11 ,:B10 ,:B9 ,:B8 ,:B7 ,:B6 ,:B5
,:B4 ,:B3 ,:B2 ,:B1 ) AND WAIT_CLASS = 'User I/O' GROUP BY SNAP_ID,
DBID, INSTANCE_NUMBER) IO_TIME, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 3649082374) DB, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 2748282437) CPU WHERE IO_TIME.SNAP_ID = DB.SNAP_ID
AND IO_TIME.DBID = DB.DBID AND IO_TIME.INSTANCE_NUMBER =
DB.INSTANCE_NUMBER AND DB.SNAP_ID = CPU.SNAP_ID AND DB.DBID =
CPU.DBID AND DB.INSTANCE_NUMBER = CPU.INSTANCE_NUMBER ORDER BY
IO_TIME.SNAP_ID
RATIONALE: SQL statement with SQL_ID "4jx3axz9gv5zf" was executed 8
times and had an average elapsed time of 3.4 seconds.
RATIONALE: Average time spent in User I/O wait events per execution was
3.4 seconds.
RECOMMENDATION 3: SQL Tuning, 4.3% benefit (21 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"6pyythwmhk9yu".
RELEVANT OBJECT: SQL statement with SQL_ID 6pyythwmhk9yu and
PLAN_HASH 3641753794
select * from ( select stshdr1_.ST_NAME as col_0_0_, csthdr2_.CS_REF1
as col_1_0_, csthdr2_.CS_NAME as col_2_0_, invtxn0_.IV_GPINVNO as
col_3_0_, invtxn0_.IV_TLAMT as col_4_0_, accrtxn4_.AR_OUTAMT as
col_5_0_, invtxn0_.IV_DATE as col_6_0_, invtxn0_.IV_ID as col_7_0_,
invtxn0_.IV_DUEDATE as col_8_0_,
trunc(current_date-invtxn0_.IV_DUEDATE) as col_9_0_,
invtxn0_.IV_SLSORDNO as col_10_0_, invtxn0_.IV_ORDNO as col_11_0_,
invtxn0_.IV_CRTRMS as col_12_0_, invtxn0_.IV_ASSGNTO as col_13_0_,
invtxn0_.IV_STR7 as col_14_0_, invtxn0_.IV_STID as col_15_0_,
invtxn0_.CS_ID as col_16_0_, stshdr1_.ST_ICON as col_17_0_ from
INV_TXN invtxn0_, CST_HDR csthdr2_, ACCR_TXN accrtxn4_, STS_HDR
stshdr1_ where invtxn0_.CS_ID=csthdr2_.CS_ID and
invtxn0_.IV_ID=accrtxn4_.IV_ID and invtxn0_.IV_DATE=accrtxn4_.IV_DATE
and (invtxn0_.EN_ID in (3910)) and invtxn0_.IV_STID=stshdr1_.ST_ID
and invtxn0_.IV_TYPE='Invoice' and invtxn0_.IV_CLOSED=0 and
(upper(csthdr2_.CS_REF1) like '%72496700%') ) where rownum <= :1
RATIONALE: SQL statement with SQL_ID "6pyythwmhk9yu" was executed 1
times and had an average elapsed time of 21 seconds.
RATIONALE: Average time spent in User I/O wait events per execution was
20 seconds.
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "User I/O" was consuming significant database time.
(74% impact [365 seconds])
FINDING 4: 53% impact (264 seconds)
-----------------------------------
Individual database segments responsible for significant user I/O wait were
found.
RECOMMENDATION 1: Segment Tuning, 53% benefit (264 seconds)
ACTION: Run "Segment Advisor" on TABLE "DNBI.INV_TXN" with object id
56469.
RELEVANT OBJECT: database object with id 56469
ACTION: Investigate application logic involving I/O on TABLE
"DNBI.INV_TXN" with object id 56469.
RELEVANT OBJECT: database object with id 56469
RATIONALE: The I/O usage statistics for the object are: 3 full object
scans, 31548 physical reads, 24 physical writes and 0 direct reads.
RATIONALE: The SQL statement with SQL_ID "4fx1nsvwwbgm8" spent
significant time waiting for User I/O on the hot object.
RELEVANT OBJECT: SQL statement with SQL_ID 4fx1nsvwwbgm8
select invtxn0_.IV_ID as IV1_36_0_, invtxn0_.IV_DATE as IV2_36_0_,
csthdr1_.CS_ID as CS1_22_1_, accrtxn2_.IV_ID as IV1_1_2_,
accrtxn2_.IV_DATE as IV2_1_2_, invtxn0_.IV_PINVID as IV3_36_0_,
invtxn0_.IV_SBID as IV4_36_0_, invtxn0_.IV_CURR as IV5_36_0_,
invtxn0_.IV_CHGS as IV6_36_0_, invtxn0_.IV_TLAMT as IV7_36_0_,
invtxn0_.IV_SHPADD as IV8_36_0_, invtxn0_.IV_BLNO as IV9_36_0_,
invtxn0_.IV_SHMODE as IV10_36_0_, invtxn0_.IV_CARR as IV11_36_0_,
invtxn0_.IV_BILLADD as IV12_36_0_, invtxn0_.IV_CRTRMS as IV13_36_0_,
invtxn0_.IV_TERMS as IV14_36_0_, invtxn0_.IV_ATTDTLS as IV15_36_0_,
invtxn0_.IV_TEXT as IV16_36_0_, invtxn0_.IV_BTCHDTE as IV17_36_0_,
invtxn0_.IV_ADVPAID as IV18_36_0_, invtxn0_.IV_ADVADJ as IV19_36_0_,
invtxn0_.IV_PRNTD as IV20_36_0_, invtxn0_.IV_MODE as IV21_36_0_,
invtxn0_.IV_DUEDATE as IV22_36_0_, invtxn0_.IV_TARIFF as IV23_36_0_,
invtxn0_.IV_TXNDTE as IV24_36_0_, invtxn0_.IV_GPINVNO as IV25_36_0_,
invtxn0_.IV_CRTDBY as IV26_36_0_, invtxn0_.IV_MODBY as IV27_36_0_,
invtxn0_.IV_CRTDDT as IV28_36_0_, invtxn0_.IV_MODDT as IV29_36_0_,
invtxn0_.IV_CUSNO as IV30_36_0_, invtxn0_.IV_ASSGTPE as IV31_36_0_,
invtxn0_.IV_ASSGNTO as IV32_36_0_, invtxn0_.IV_STR1 as IV33_36_0_,
invtxn0_.IV_STR2 as IV34_36_0_, invtxn0_.IV_STR3 as IV35_36_0_,
invtxn0_.IV_STR4 as IV36_36_0_, invtxn0_.IV_STR5 as IV37_36_0_,
invtxn0_.IV_STR6 as IV38_36_0_, invtxn0_.IV_STR7 as IV39_36_0_,
invtxn0_.IV_STR8 as IV40_36_0_, invtxn0_.IV_STR9 as IV41_36_0_,
invtxn0_.IV_STR10 as IV42_36_0_, invtxn0_.IV_STR11 as IV43_36_0_,
invtxn0_.IV_STR12 as IV44_36_0_, invtxn0_.IV_STR13 as IV45_36_0_,
invtxn0_.IV_STR14 as IV46_36_0_, invtxn0_.IV_STR15 as IV47_36_0_,
invtxn0_.IV_STR16 as IV48_36_0_, invtxn0_.IV_STR17 as IV49_36_0_,
invtxn0_.IV_STR18 as IV50_36_0_, invtxn0_.IV_STR19 as IV51_36_0_,
invtxn0_.IV_STR20 as IV52_36_0_, invtxn0_.IV_STR21 as IV53_36_0_,
invtxn0_.IV_STR22 as IV54_36_0_, invtxn0_.IV_STR23 as IV55_36_0_,
invtxn0_.IV_STR24 as IV56_36_0_, invtxn0_.IV_STR25 as IV57_36_0_,
invtxn0_.IV_NUM1 as IV58_36_0_, invtxn0_.IV_NUM2 as IV59_36_0_,
invtxn0_.IV_NUM3 as IV60_36_0_, invtxn0_.IV_NUM4 as IV61_36_0_,
invtxn0_.IV_NUM5 as IV62_36_0_, invtxn0_.IV_NUM6 as IV63_36_0_,
invtxn0_.IV_NUM7 as IV64_36_0_, invtxn0_.IV_NUM8 as IV65_36_0_,
invtxn0_.IV_NUM9 as IV66_36_0_, invtxn0_.IV_NUM10 as IV67_36_0_,
invtxn0_.IV_DATE1 as IV68_36_0_, invtxn0_.IV_DATE2 as IV69_36_0_,
invtxn0_.IV_DATE3 as IV70_36_0_, invtxn0_.IV_DATE4 as IV71_36_0_,
invtxn0_.IV_DATE5 as IV72_36_0_, invtxn0_.IV_DATE6 as IV73_36_0_,
invtxn0_.IV_DATE8 as IV74_36_0_, invtxn0_.IV_DATE9 as IV75_36_0_,
invtxn0_.IV_DATE10 as IV76_36_0_, invtxn0_.IV_ORDNO as IV77_36_0_,
invtxn0_.IV_FOR as IV78_36_0_, invtxn0_.IV_REMTO as IV79_36_0_,
invtxn0_.IV_PRODCDE as IV80_36_0_, invtxn0_.IV_CNTRLNO as IV81_36_0_,
invtxn0_.IV_IONUM as IV82_36_0_, invtxn0_.IV_AUTHNO as IV83_36_0_,
invtxn0_.IV_DEPTNO as IV84_36_0_, invtxn0_.IV_LOC as IV85_36_0_,
invtxn0_.IV_CLOSED as IV86_36_0_, invtxn0_.TID as TID36_0_,
invtxn0_.AID as AID36_0_, invtxn0_.IV_SOURCE as IV89_36_0_,
invtxn0_.IV_RECTYPE as IV90_36_0_, invtxn0_.IV_SLSORDNO as
IV91_36_0_, invtxn0_.IV_GAMT as IV92_36_0_, invtxn0_.IV_TXAMT as
IV93_36_0_, invtxn0_.IV_PDAMT as IV94_36_0_, invtxn0_.IV_BU as
IV95_36_0_, invtxn0_.IV_SHREF as IV96_36_0_, invtxn0_.IV_SHCLASS as
IV97_36_0_, invtxn0_.IV_SHDT as IV98_36_0_, invtxn0_.IV_PODATE as
IV99_36_0_, invtxn0_.IV_PROREF as IV100_36_0_, invtxn0_.IV_BLDATEFRO
as IV101_36_0_, invtxn0_.IV_BLDATETO as IV102_36_0_,
invtxn0_.IV_BATCH as IV103_36_0_, invtxn0_.IV_SLDATE as IV104_36_0_,
invtxn0_.IV_GROUP as IV105_36_0_, invtxn0_.IV_SHADDDET as
IV106_36_0_, invtxn0_.IV_RESP as IV107_36_0_, invtxn0_.IV_REMDT as
IV108_36_0_, invtxn0_.IV_PROB as IV109_36_0_, invtxn0_.IV_STID as
IV110_36_0_, invtxn0_.rowid as rowid111_36_0_, invtxn0_.EN_ID as
EN112_36_0_, invtxn0_.STE_ID as STE113_36_0_, invtxn0_.MTH_SETID as
MTH114_36_0_, invtxn0_.CS_ID as CS115_36_0_, invtxn0_.IV_TYPE as
IV116_36_0_, csthdr1_.CS_PID as CS2_22_1_, csthdr1_.CS_NAME as
CS3_22_1_, csthdr1_.CS_ACTIVE as CS4_22_1_, csthdr1_.CS_ALIAS as
CS5_22_1_, csthdr1_.CS_REF1 as CS6_22_1_, csthdr1_.CS_REF2 as
CS7_22_1_, csthdr1_.CS_OREF as CS8_22_1_, csthdr1_.CS_OSUPP as
CS9_22_1_, csthdr1_.CS_CDSCT as CS10_22_1_, csthdr1_.CS_DELM as
CS11_22_1_, csthdr1_.CS_SLPN as CS12_22_1_, csthdr1_.CS_RESP as
CS13_22_1_, csthdr1_.CS_VATC as CS14_22_1_, csthdr1_.CS_CURR as
CS15_22_1_, csthdr1_.CS_XCHTPE as CS16_22_1_, csthdr1_.CS_DTEFRM as
CS17_22_1_, csthdr1_.CS_PAYR as CS18_22_1_, csthdr1_.CS_STATS as
CS19_22_1_, csthdr1_.CS_CRLM1 as CS20_22_1_, csthdr1_.CS_CRLM2 as
CS21_22_1_, csthdr1_.CS_CRLM3 as CS22_22_1_, csthdr1_.CS_STOP as
CS23_22_1_, csthdr1_.CS_OSINAMT as CS24_22_1_, csthdr1_.CS_ODINAMT as
CS25_22_1_, csthdr1_.CS_LINVDTE as CS26_22_1_, csthdr1_.CS_EDTE as
CS27_22_1_, csthdr1_.CS_SUMINV as CS28_22_1_, csthdr1_.CS_INTINV as
CS29_22_1_, csthdr1_.CS_INTRUL as CS30_22_1_, csthdr1_.CS_CRATING as
CS31_22_1_, csthdr1_.CS_CREVIEW as CS32_22_1_, csthdr1_.CS_CRUPDTE as
CS33_22_1_, csthdr1_.CS_DB as CS34_22_1_, csthdr1_.CS_LANG as
CS35_22_1_, csthdr1_.CS_PSTID as CS36_22_1_, csthdr1_.CS_REGION as
CS37_22_1_, csthdr1_.CS_RMKS as CS38_22_1_, csthdr1_.CS_STMT as
CS39_22_1_, csthdr1_.CS_CRTDBY as CS40_22_1_, csthdr1_.CS_MODBY as
CS41_22_1_, csthdr1_.CS_CRTDDT as CS42_22_1_, csthdr1_.CS_MODDT as
CS43_22_1_, csthdr1_.CS_CSGID as CS44_22_1_, csthdr1_.EN_ID as
EN45_22_1_, csthdr1_.STE_ID as STE46_22_1_, csthdr1_.CS_STR1 as
CS47_22_1_, csthdr1_.CS_STR2 as CS48_22_1_, csthdr1_.CS_STR3 as
CS49_22_1_, csthdr1_.CS_STR4 as CS50_22_1_, csthdr1_.CS_STR5 as
CS51_22_1_, csthdr1_.CS_STR6 as CS52_22_1_, csthdr1_.CS_STR7 as
CS53_22_1_, csthdr1_.CS_STR8 as CS54_22_1_, csthdr1_.CS_STR9 as
CS55_22_1_, csthdr1_.CS_STR10 as CS56_22_1_, csthdr1_.CS_STR11 as
CS57_22_1_, csthdr1_.CS_STR12 as CS58_22_1_, csthdr1_.CS_STR13 as
CS59_22_1_, csthdr1_.CS_STR14 as CS60_22_1_, csthdr1_.CS_STR15 as
CS61_22_1_, csthdr1_.CS_STR16 as CS62_22_1_, csthdr1_.CS_STR17 as
CS63_22_1_, csthdr1_.CS_STR18 as CS64_22_1_, csthdr1_.CS_STR19 as
CS65_22_1_, csthdr1_.CS_STR20 as CS66_22_1_, csthdr1_.CS_STR21 as
CS67_22_1_, csthdr1_.CS_STR22 as CS68_22_1_, csthdr1_.CS_STR23 as
CS69_22_1_, csthdr1_.CS_STR24 as CS70_22_1_, csthdr1_.CS_STR25 as
CS71_22_1_, csthdr1_.CS_NUM1 as CS72_22_1_, csthdr1_.CS_NUM2 as
CS73_22_1_, csthdr1_.CS_NUM3 as CS74_22_1_, csthdr1_.CS_NUM4 as
CS75_22_1_, csthdr1_.CS_NUM5 as CS76_22_1_, csthdr1_.CS_NUM6 as
CS77_22_1_, csthdr1_.CS_NUM7 as CS78_22_1_, csthdr1_.CS_NUM8 as
CS79_22_1_, csthdr1_.CS_NUM9 as CS80_22_1_, csthdr1_.CS_NUM10 as
CS81_22_1_, csthdr1_.CS_NUM11 as CS82_22_1_, csthdr1_.CS_NUM12 as
CS83_22_1_, csthdr1_.CS_NUM13 as CS84_22_1_, csthdr1_.CS_NUM14 as
CS85_22_1_, csthdr1_.CS_NUM15 as CS86_22_1_, csthdr1_.CS_NUM16 as
CS87_22_1_, csthdr1_.CS_NUM17 as CS88_22_1_, csthdr1_.CS_NUM18 as
CS89_22_1_, csthdr1_.CS_NUM19 as CS90_22_1_, csthdr1_.CS_NUM20 as
CS91_22_1_, csthdr1_.CS_DATE1 as CS92_22_1_, csthdr1_.CS_DATE2 as
CS93_22_1_, csthdr1_.CS_DATE3 as CS94_22_1_, csthdr1_.CS_DATE4 as
CS95_22_1_, csthdr1_.CS_DATE5 as CS96_22_1_, csthdr1_.CS_DATE6 as
CS97_22_1_, csthdr1_.CS_DATE7 as CS98_22_1_, csthdr1_.CS_DATE8 as
CS99_22_1_, csthdr1_.CS_DATE9 as CS100_22_1_, csthdr1_.CS_DATE10 as
CS101_22_1_, csthdr1_.CS_TERMS as CS102_22_1_, csthdr1_.CS_KEYMARK as
CS103_22_1_, csthdr1_.AID as AID22_1_, csthdr1_.CS_IND as
CS105_22_1_, csthdr1_.CS_URL as CS106_22_1_, csthdr1_.AC_TYPE as
AC107_22_1_, csthdr1_.CS_AVGDP as CS108_22_1_, csthdr1_.CS_BKT12 as
CS109_22_1_, csthdr1_.CS_ERAM as CS110_22_1_, csthdr1_.rowid as
rowid111_22_1_, csthdr1_.PY_CODE as PY112_22_1_, csthdr1_.PC_ID as
PC113_22_1_, csthdr1_.CY_ID as CY114_22_1_, csthdr1_.PR_ID as
PR115_22_1_, csthdr1_.CS_TYPE as CS116_22_1_, csthdr1_.DT_ID as
DT117_22_1_, accrtxn2_.SB_ID as SB3_1_2_, accrtxn2_.AR_BTHDTE as
AR4_1_2_, accrtxn2_.AR_PAYR as AR5_1_2_, accrtxn2_.AR_INVVNS as
AR6_1_2_, accrtxn2_.AR_INVVNO as AR7_1_2_, accrtxn2_.AR_DESC as
AR8_1_2_, accrtxn2_.AR_SLSPRN as AR9_1_2_, accrtxn2_.AR_CUSGRP as
AR10_1_2_, accrtxn2_.AR_XCHRTPE as AR11_1_2_, accrtxn2_.AR_XCHRTE as
AR12_1_2_, accrtxn2_.AR_FCURAMT as AR13_1_2_, accrtxn2_.AR_VATAMT as
AR14_1_2_, accrtxn2_.AR_CHGTPE as AR15_1_2_, accrtxn2_.AR_MRKUP as
AR16_1_2_, accrtxn2_.AR_FWUDTE as AR17_1_2_, accrtxn2_.AR_ACCDTE as
AR18_1_2_, accrtxn2_.ACC_CODE as ACC19_1_2_, accrtxn2_.AR_BANK as
AR20_1_2_, accrtxn2_.AR_CDSCT as AR21_1_2_, accrtxn2_.AR_PYTMTD as
AR22_1_2_, accrtxn2_.AR_RECCDE as AR23_1_2_, accrtxn2_.AR_RECDTE as
AR24_1_2_, accrtxn2_.AR_ADVCDE as AR25_1_2_, accrtxn2_.AR_PYREM as
AR26_1_2_, accrtxn2_.AR_LREMDTE as AR27_1_2_, accrtxn2_.AR_PTREMDTE
as AR28_1_2_, accrtxn2_.AR_STPBY as AR29_1_2_, accrtxn2_.AR_STPDTE as
AR30_1_2_, accrtxn2_.AR_NOPYTRM as AR31_1_2_, accrtxn2_.AR_INTINVB as
AR32_1_2_, accrtxn2_.AR_INTINVS as AR33_1_2_, accrtxn2_.AR_CINTAMT as
AR34_1_2_, accrtxn2_.AR_FLGCDE as AR35_1_2_, accrtxn2_.AR_GPINDTE as
AR36_1_2_, accrtxn2_.AR_TXT as AR37_1_2_, accrtxn2_.AR_DOCLNK as
AR38_1_2_, accrtxn2_.AR_DRTPRD as AR39_1_2_, accrtxn2_.AR_DRPRDTE as
AR40_1_2_, accrtxn2_.AR_PRODGRP as AR41_1_2_, accrtxn2_.AR_ORDNO as
AR42_1_2_, accrtxn2_.AR_TXNDTE as AR43_1_2_, accrtxn2_.AR_FRTTRM as
AR44_1_2_, accrtxn2_.AR_NBR as AR45_1_2_, accrtxn2_.AR_PRINT as
AR46_1_2_, accrtxn2_.AR_CRTDBY as AR47_1_2_, accrtxn2_.AR_MODBY as
AR48_1_2_, accrtxn2_.AR_CRTDDT as AR49_1_2_, accrtxn2_.AR_MODDT as
AR50_1_2_, accrtxn2_.EN_ID as EN51_1_2_, accrtxn2_.STE_ID as
STE52_1_2_, accrtxn2_.AR_AMT as AR53_1_2_, accrtxn2_.AR_OUTAMT as
AR54_1_2_, accrtxn2_.AR_STR1 as AR55_1_2_, accrtxn2_.AR_STR2 as
AR56_1_2_, accrtxn2_.AR_STR3 as AR57_1_2_, accrtxn2_.AR_STR4 as
AR58_1_2_, accrtxn2_.AR_STR5 as AR59_1_2_, accrtxn2_.AR_STR6 as
AR60_1_2_, accrtxn2_.AR_STR7 as AR61_1_2_, accrtxn2_.AR_STR8 as
AR62_1_2_, accrtxn2_.AR_STR9 as AR63_1_2_, accrtxn2_.AR_STR10 as
AR64_1_2_, accrtxn2_.AR_STR11 as AR65_1_2_, accrtxn2_.AR_STR12 as
AR66_1_2_, accrtxn2_.AR_STR13 as AR67_1_2_, accrtxn2_.AR_STR14 as
AR68_1_2_, accrtxn2_.AR_STR15 as AR69_1_2_, accrtxn2_.AR_NUM1 as
AR70_1_2_, accrtxn2_.AR_NUM2 as AR71_1_2_, accrtxn2_.AR_NUM3 as
AR72_1_2_, accrtxn2_.AR_NUM4 as AR73_1_2_, accrtxn2_.AR_NUM5 as
AR74_1_2_, accrtxn2_.AR_NUM6 as AR75_1_2_, accrtxn2_.AR_NUM7 as
AR76_1_2_, accrtxn2_.AR_NUM8 as AR77_1_2_, accrtxn2_.AR_NUM9 as
AR78_1_2_, accrtxn2_.AR_NUM10 as AR79_1_2_, accrtxn2_.AR_DATE1 as
AR80_1_2_, accrtxn2_.AR_DATE2 as AR81_1_2_, accrtxn2_.AR_DATE3 as
AR82_1_2_, accrtxn2_.AR_DATE4 as AR83_1_2_, accrtxn2_.AR_DATE5 as
AR84_1_2_, accrtxn2_.AR_DATE6 as AR85_1_2_, accrtxn2_.AR_DATE7 as
AR86_1_2_, accrtxn2_.AR_DATE8 as AR87_1_2_, accrtxn2_.AR_DATE9 as
AR88_1_2_, accrtxn2_.AR_DATE10 as AR89_1_2_, accrtxn2_.AR_PROMDTE as
AR90_1_2_, accrtxn2_.TID as TID1_2_, accrtxn2_.PY_TERMS as PY92_1_2_,
accrtxn2_.PR_ID as PR93_1_2_ from INV_TXN invtxn0_, CST_HDR csthdr1_,
ACCR_TXN accrtxn2_, CSTPE_HDR cstpehdr4_ where
invtxn0_.CS_ID=csthdr1_.CS_ID(+) and
invtxn0_.IV_ID=accrtxn2_.IV_ID(+) and
invtxn0_.IV_DATE=accrtxn2_.IV_DATE(+) and
csthdr1_.CS_TYPE=cstpehdr4_.CS_TYPE and (invtxn0_.CS_ID in (:1 , :2 ,
:3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15
, :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 ,
:27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38
, :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 ,
:50)) and invtxn0_.IV_TYPE=cstpehdr4_.CS_NAME and
invtxn0_.IV_CLOSED=0
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "User I/O" was consuming significant database time.
(74% impact [365 seconds])
FINDING 5: 25% impact (123 seconds)
-----------------------------------
The throughput of the I/O subsystem was significantly lower than expected.
RECOMMENDATION 1: Host Configuration, 25% benefit (123 seconds)
ACTION: Consider increasing the throughput of the I/O subsystem.
Oracle's recommended solution is to stripe all data file using the
SAME methodology. You might also need to increase the number of disks
for better performance. Alternatively, consider using Oracle's
Automatic Storage Management solution.
RATIONALE: During the analysis period, the average data files' I/O
throughput was 1 M per second for reads and 10 K per second for
writes. The average response time for single block reads was 15
milliseconds.
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "User I/O" was consuming significant database time.
(74% impact [365 seconds])
FINDING 6: 19% impact (94 seconds)
----------------------------------
SQL statements responsible for significant inter-instance messaging were found
RECOMMENDATION 1: SQL Tuning, 70% benefit (343 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4fx1nsvwwbgm8".
RELEVANT OBJECT: SQL statement with SQL_ID 4fx1nsvwwbgm8 and
PLAN_HASH 3177380161
select invtxn0_.IV_ID as IV1_36_0_, invtxn0_.IV_DATE as IV2_36_0_,
csthdr1_.CS_ID as CS1_22_1_, accrtxn2_.IV_ID as IV1_1_2_,
accrtxn2_.IV_DATE as IV2_1_2_, invtxn0_.IV_PINVID as IV3_36_0_,
invtxn0_.IV_SBID as IV4_36_0_, invtxn0_.IV_CURR as IV5_36_0_,
invtxn0_.IV_CHGS as IV6_36_0_, invtxn0_.IV_TLAMT as IV7_36_0_,
invtxn0_.IV_SHPADD as IV8_36_0_, invtxn0_.IV_BLNO as IV9_36_0_,
invtxn0_.IV_SHMODE as IV10_36_0_, invtxn0_.IV_CARR as IV11_36_0_,
invtxn0_.IV_BILLADD as IV12_36_0_, invtxn0_.IV_CRTRMS as IV13_36_0_,
invtxn0_.IV_TERMS as IV14_36_0_, invtxn0_.IV_ATTDTLS as IV15_36_0_,
invtxn0_.IV_TEXT as IV16_36_0_, invtxn0_.IV_BTCHDTE as IV17_36_0_,
invtxn0_.IV_ADVPAID as IV18_36_0_, invtxn0_.IV_ADVADJ as IV19_36_0_,
invtxn0_.IV_PRNTD as IV20_36_0_, invtxn0_.IV_MODE as IV21_36_0_,
invtxn0_.IV_DUEDATE as IV22_36_0_, invtxn0_.IV_TARIFF as IV23_36_0_,
invtxn0_.IV_TXNDTE as IV24_36_0_, invtxn0_.IV_GPINVNO as IV25_36_0_,
invtxn0_.IV_CRTDBY as IV26_36_0_, invtxn0_.IV_MODBY as IV27_36_0_,
invtxn0_.IV_CRTDDT as IV28_36_0_, invtxn0_.IV_MODDT as IV29_36_0_,
invtxn0_.IV_CUSNO as IV30_36_0_, invtxn0_.IV_ASSGTPE as IV31_36_0_,
invtxn0_.IV_ASSGNTO as IV32_36_0_, invtxn0_.IV_STR1 as IV33_36_0_,
invtxn0_.IV_STR2 as IV34_36_0_, invtxn0_.IV_STR3 as IV35_36_0_,
invtxn0_.IV_STR4 as IV36_36_0_, invtxn0_.IV_STR5 as IV37_36_0_,
invtxn0_.IV_STR6 as IV38_36_0_, invtxn0_.IV_STR7 as IV39_36_0_,
invtxn0_.IV_STR8 as IV40_36_0_, invtxn0_.IV_STR9 as IV41_36_0_,
invtxn0_.IV_STR10 as IV42_36_0_, invtxn0_.IV_STR11 as IV43_36_0_,
invtxn0_.IV_STR12 as IV44_36_0_, invtxn0_.IV_STR13 as IV45_36_0_,
invtxn0_.IV_STR14 as IV46_36_0_, invtxn0_.IV_STR15 as IV47_36_0_,
invtxn0_.IV_STR16 as IV48_36_0_, invtxn0_.IV_STR17 as IV49_36_0_,
invtxn0_.IV_STR18 as IV50_36_0_, invtxn0_.IV_STR19 as IV51_36_0_,
invtxn0_.IV_STR20 as IV52_36_0_, invtxn0_.IV_STR21 as IV53_36_0_,
invtxn0_.IV_STR22 as IV54_36_0_, invtxn0_.IV_STR23 as IV55_36_0_,
invtxn0_.IV_STR24 as IV56_36_0_, invtxn0_.IV_STR25 as IV57_36_0_,
invtxn0_.IV_NUM1 as IV58_36_0_, invtxn0_.IV_NUM2 as IV59_36_0_,
invtxn0_.IV_NUM3 as IV60_36_0_, invtxn0_.IV_NUM4 as IV61_36_0_,
invtxn0_.IV_NUM5 as IV62_36_0_, invtxn0_.IV_NUM6 as IV63_36_0_,
invtxn0_.IV_NUM7 as IV64_36_0_, invtxn0_.IV_NUM8 as IV65_36_0_,
invtxn0_.IV_NUM9 as IV66_36_0_, invtxn0_.IV_NUM10 as IV67_36_0_,
invtxn0_.IV_DATE1 as IV68_36_0_, invtxn0_.IV_DATE2 as IV69_36_0_,
invtxn0_.IV_DATE3 as IV70_36_0_, invtxn0_.IV_DATE4 as IV71_36_0_,
invtxn0_.IV_DATE5 as IV72_36_0_, invtxn0_.IV_DATE6 as IV73_36_0_,
invtxn0_.IV_DATE8 as IV74_36_0_, invtxn0_.IV_DATE9 as IV75_36_0_,
invtxn0_.IV_DATE10 as IV76_36_0_, invtxn0_.IV_ORDNO as IV77_36_0_,
invtxn0_.IV_FOR as IV78_36_0_, invtxn0_.IV_REMTO as IV79_36_0_,
invtxn0_.IV_PRODCDE as IV80_36_0_, invtxn0_.IV_CNTRLNO as IV81_36_0_,
invtxn0_.IV_IONUM as IV82_36_0_, invtxn0_.IV_AUTHNO as IV83_36_0_,
invtxn0_.IV_DEPTNO as IV84_36_0_, invtxn0_.IV_LOC as IV85_36_0_,
invtxn0_.IV_CLOSED as IV86_36_0_, invtxn0_.TID as TID36_0_,
invtxn0_.AID as AID36_0_, invtxn0_.IV_SOURCE as IV89_36_0_,
invtxn0_.IV_RECTYPE as IV90_36_0_, invtxn0_.IV_SLSORDNO as
IV91_36_0_, invtxn0_.IV_GAMT as IV92_36_0_, invtxn0_.IV_TXAMT as
IV93_36_0_, invtxn0_.IV_PDAMT as IV94_36_0_, invtxn0_.IV_BU as
IV95_36_0_, invtxn0_.IV_SHREF as IV96_36_0_, invtxn0_.IV_SHCLASS as
IV97_36_0_, invtxn0_.IV_SHDT as IV98_36_0_, invtxn0_.IV_PODATE as
IV99_36_0_, invtxn0_.IV_PROREF as IV100_36_0_, invtxn0_.IV_BLDATEFRO
as IV101_36_0_, invtxn0_.IV_BLDATETO as IV102_36_0_,
invtxn0_.IV_BATCH as IV103_36_0_, invtxn0_.IV_SLDATE as IV104_36_0_,
invtxn0_.IV_GROUP as IV105_36_0_, invtxn0_.IV_SHADDDET as
IV106_36_0_, invtxn0_.IV_RESP as IV107_36_0_, invtxn0_.IV_REMDT as
IV108_36_0_, invtxn0_.IV_PROB as IV109_36_0_, invtxn0_.IV_STID as
IV110_36_0_, invtxn0_.rowid as rowid111_36_0_, invtxn0_.EN_ID as
EN112_36_0_, invtxn0_.STE_ID as STE113_36_0_, invtxn0_.MTH_SETID as
MTH114_36_0_, invtxn0_.CS_ID as CS115_36_0_, invtxn0_.IV_TYPE as
IV116_36_0_, csthdr1_.CS_PID as CS2_22_1_, csthdr1_.CS_NAME as
CS3_22_1_, csthdr1_.CS_ACTIVE as CS4_22_1_, csthdr1_.CS_ALIAS as
CS5_22_1_, csthdr1_.CS_REF1 as CS6_22_1_, csthdr1_.CS_REF2 as
CS7_22_1_, csthdr1_.CS_OREF as CS8_22_1_, csthdr1_.CS_OSUPP as
CS9_22_1_, csthdr1_.CS_CDSCT as CS10_22_1_, csthdr1_.CS_DELM as
CS11_22_1_, csthdr1_.CS_SLPN as CS12_22_1_, csthdr1_.CS_RESP as
CS13_22_1_, csthdr1_.CS_VATC as CS14_22_1_, csthdr1_.CS_CURR as
CS15_22_1_, csthdr1_.CS_XCHTPE as CS16_22_1_, csthdr1_.CS_DTEFRM as
CS17_22_1_, csthdr1_.CS_PAYR as CS18_22_1_, csthdr1_.CS_STATS as
CS19_22_1_, csthdr1_.CS_CRLM1 as CS20_22_1_, csthdr1_.CS_CRLM2 as
CS21_22_1_, csthdr1_.CS_CRLM3 as CS22_22_1_, csthdr1_.CS_STOP as
CS23_22_1_, csthdr1_.CS_OSINAMT as CS24_22_1_, csthdr1_.CS_ODINAMT as
CS25_22_1_, csthdr1_.CS_LINVDTE as CS26_22_1_, csthdr1_.CS_EDTE as
CS27_22_1_, csthdr1_.CS_SUMINV as CS28_22_1_, csthdr1_.CS_INTINV as
CS29_22_1_, csthdr1_.CS_INTRUL as CS30_22_1_, csthdr1_.CS_CRATING as
CS31_22_1_, csthdr1_.CS_CREVIEW as CS32_22_1_, csthdr1_.CS_CRUPDTE as
CS33_22_1_, csthdr1_.CS_DB as CS34_22_1_, csthdr1_.CS_LANG as
CS35_22_1_, csthdr1_.CS_PSTID as CS36_22_1_, csthdr1_.CS_REGION as
CS37_22_1_, csthdr1_.CS_RMKS as CS38_22_1_, csthdr1_.CS_STMT as
CS39_22_1_, csthdr1_.CS_CRTDBY as CS40_22_1_, csthdr1_.CS_MODBY as
CS41_22_1_, csthdr1_.CS_CRTDDT as CS42_22_1_, csthdr1_.CS_MODDT as
CS43_22_1_, csthdr1_.CS_CSGID as CS44_22_1_, csthdr1_.EN_ID as
EN45_22_1_, csthdr1_.STE_ID as STE46_22_1_, csthdr1_.CS_STR1 as
CS47_22_1_, csthdr1_.CS_STR2 as CS48_22_1_, csthdr1_.CS_STR3 as
CS49_22_1_, csthdr1_.CS_STR4 as CS50_22_1_, csthdr1_.CS_STR5 as
CS51_22_1_, csthdr1_.CS_STR6 as CS52_22_1_, csthdr1_.CS_STR7 as
CS53_22_1_, csthdr1_.CS_STR8 as CS54_22_1_, csthdr1_.CS_STR9 as
CS55_22_1_, csthdr1_.CS_STR10 as CS56_22_1_, csthdr1_.CS_STR11 as
CS57_22_1_, csthdr1_.CS_STR12 as CS58_22_1_, csthdr1_.CS_STR13 as
CS59_22_1_, csthdr1_.CS_STR14 as CS60_22_1_, csthdr1_.CS_STR15 as
CS61_22_1_, csthdr1_.CS_STR16 as CS62_22_1_, csthdr1_.CS_STR17 as
CS63_22_1_, csthdr1_.CS_STR18 as CS64_22_1_, csthdr1_.CS_STR19 as
CS65_22_1_, csthdr1_.CS_STR20 as CS66_22_1_, csthdr1_.CS_STR21 as
CS67_22_1_, csthdr1_.CS_STR22 as CS68_22_1_, csthdr1_.CS_STR23 as
CS69_22_1_, csthdr1_.CS_STR24 as CS70_22_1_, csthdr1_.CS_STR25 as
CS71_22_1_, csthdr1_.CS_NUM1 as CS72_22_1_, csthdr1_.CS_NUM2 as
CS73_22_1_, csthdr1_.CS_NUM3 as CS74_22_1_, csthdr1_.CS_NUM4 as
CS75_22_1_, csthdr1_.CS_NUM5 as CS76_22_1_, csthdr1_.CS_NUM6 as
CS77_22_1_, csthdr1_.CS_NUM7 as CS78_22_1_, csthdr1_.CS_NUM8 as
CS79_22_1_, csthdr1_.CS_NUM9 as CS80_22_1_, csthdr1_.CS_NUM10 as
CS81_22_1_, csthdr1_.CS_NUM11 as CS82_22_1_, csthdr1_.CS_NUM12 as
CS83_22_1_, csthdr1_.CS_NUM13 as CS84_22_1_, csthdr1_.CS_NUM14 as
CS85_22_1_, csthdr1_.CS_NUM15 as CS86_22_1_, csthdr1_.CS_NUM16 as
CS87_22_1_, csthdr1_.CS_NUM17 as CS88_22_1_, csthdr1_.CS_NUM18 as
CS89_22_1_, csthdr1_.CS_NUM19 as CS90_22_1_, csthdr1_.CS_NUM20 as
CS91_22_1_, csthdr1_.CS_DATE1 as CS92_22_1_, csthdr1_.CS_DATE2 as
CS93_22_1_, csthdr1_.CS_DATE3 as CS94_22_1_, csthdr1_.CS_DATE4 as
CS95_22_1_, csthdr1_.CS_DATE5 as CS96_22_1_, csthdr1_.CS_DATE6 as
CS97_22_1_, csthdr1_.CS_DATE7 as CS98_22_1_, csthdr1_.CS_DATE8 as
CS99_22_1_, csthdr1_.CS_DATE9 as CS100_22_1_, csthdr1_.CS_DATE10 as
CS101_22_1_, csthdr1_.CS_TERMS as CS102_22_1_, csthdr1_.CS_KEYMARK as
CS103_22_1_, csthdr1_.AID as AID22_1_, csthdr1_.CS_IND as
CS105_22_1_, csthdr1_.CS_URL as CS106_22_1_, csthdr1_.AC_TYPE as
AC107_22_1_, csthdr1_.CS_AVGDP as CS108_22_1_, csthdr1_.CS_BKT12 as
CS109_22_1_, csthdr1_.CS_ERAM as CS110_22_1_, csthdr1_.rowid as
rowid111_22_1_, csthdr1_.PY_CODE as PY112_22_1_, csthdr1_.PC_ID as
PC113_22_1_, csthdr1_.CY_ID as CY114_22_1_, csthdr1_.PR_ID as
PR115_22_1_, csthdr1_.CS_TYPE as CS116_22_1_, csthdr1_.DT_ID as
DT117_22_1_, accrtxn2_.SB_ID as SB3_1_2_, accrtxn2_.AR_BTHDTE as
AR4_1_2_, accrtxn2_.AR_PAYR as AR5_1_2_, accrtxn2_.AR_INVVNS as
AR6_1_2_, accrtxn2_.AR_INVVNO as AR7_1_2_, accrtxn2_.AR_DESC as
AR8_1_2_, accrtxn2_.AR_SLSPRN as AR9_1_2_, accrtxn2_.AR_CUSGRP as
AR10_1_2_, accrtxn2_.AR_XCHRTPE as AR11_1_2_, accrtxn2_.AR_XCHRTE as
AR12_1_2_, accrtxn2_.AR_FCURAMT as AR13_1_2_, accrtxn2_.AR_VATAMT as
AR14_1_2_, accrtxn2_.AR_CHGTPE as AR15_1_2_, accrtxn2_.AR_MRKUP as
AR16_1_2_, accrtxn2_.AR_FWUDTE as AR17_1_2_, accrtxn2_.AR_ACCDTE as
AR18_1_2_, accrtxn2_.ACC_CODE as ACC19_1_2_, accrtxn2_.AR_BANK as
AR20_1_2_, accrtxn2_.AR_CDSCT as AR21_1_2_, accrtxn2_.AR_PYTMTD as
AR22_1_2_, accrtxn2_.AR_RECCDE as AR23_1_2_, accrtxn2_.AR_RECDTE as
AR24_1_2_, accrtxn2_.AR_ADVCDE as AR25_1_2_, accrtxn2_.AR_PYREM as
AR26_1_2_, accrtxn2_.AR_LREMDTE as AR27_1_2_, accrtxn2_.AR_PTREMDTE
as AR28_1_2_, accrtxn2_.AR_STPBY as AR29_1_2_, accrtxn2_.AR_STPDTE as
AR30_1_2_, accrtxn2_.AR_NOPYTRM as AR31_1_2_, accrtxn2_.AR_INTINVB as
AR32_1_2_, accrtxn2_.AR_INTINVS as AR33_1_2_, accrtxn2_.AR_CINTAMT as
AR34_1_2_, accrtxn2_.AR_FLGCDE as AR35_1_2_, accrtxn2_.AR_GPINDTE as
AR36_1_2_, accrtxn2_.AR_TXT as AR37_1_2_, accrtxn2_.AR_DOCLNK as
AR38_1_2_, accrtxn2_.AR_DRTPRD as AR39_1_2_, accrtxn2_.AR_DRPRDTE as
AR40_1_2_, accrtxn2_.AR_PRODGRP as AR41_1_2_, accrtxn2_.AR_ORDNO as
AR42_1_2_, accrtxn2_.AR_TXNDTE as AR43_1_2_, accrtxn2_.AR_FRTTRM as
AR44_1_2_, accrtxn2_.AR_NBR as AR45_1_2_, accrtxn2_.AR_PRINT as
AR46_1_2_, accrtxn2_.AR_CRTDBY as AR47_1_2_, accrtxn2_.AR_MODBY as
AR48_1_2_, accrtxn2_.AR_CRTDDT as AR49_1_2_, accrtxn2_.AR_MODDT as
AR50_1_2_, accrtxn2_.EN_ID as EN51_1_2_, accrtxn2_.STE_ID as
STE52_1_2_, accrtxn2_.AR_AMT as AR53_1_2_, accrtxn2_.AR_OUTAMT as
AR54_1_2_, accrtxn2_.AR_STR1 as AR55_1_2_, accrtxn2_.AR_STR2 as
AR56_1_2_, accrtxn2_.AR_STR3 as AR57_1_2_, accrtxn2_.AR_STR4 as
AR58_1_2_, accrtxn2_.AR_STR5 as AR59_1_2_, accrtxn2_.AR_STR6 as
AR60_1_2_, accrtxn2_.AR_STR7 as AR61_1_2_, accrtxn2_.AR_STR8 as
AR62_1_2_, accrtxn2_.AR_STR9 as AR63_1_2_, accrtxn2_.AR_STR10 as
AR64_1_2_, accrtxn2_.AR_STR11 as AR65_1_2_, accrtxn2_.AR_STR12 as
AR66_1_2_, accrtxn2_.AR_STR13 as AR67_1_2_, accrtxn2_.AR_STR14 as
AR68_1_2_, accrtxn2_.AR_STR15 as AR69_1_2_, accrtxn2_.AR_NUM1 as
AR70_1_2_, accrtxn2_.AR_NUM2 as AR71_1_2_, accrtxn2_.AR_NUM3 as
AR72_1_2_, accrtxn2_.AR_NUM4 as AR73_1_2_, accrtxn2_.AR_NUM5 as
AR74_1_2_, accrtxn2_.AR_NUM6 as AR75_1_2_, accrtxn2_.AR_NUM7 as
AR76_1_2_, accrtxn2_.AR_NUM8 as AR77_1_2_, accrtxn2_.AR_NUM9 as
AR78_1_2_, accrtxn2_.AR_NUM10 as AR79_1_2_, accrtxn2_.AR_DATE1 as
AR80_1_2_, accrtxn2_.AR_DATE2 as AR81_1_2_, accrtxn2_.AR_DATE3 as
AR82_1_2_, accrtxn2_.AR_DATE4 as AR83_1_2_, accrtxn2_.AR_DATE5 as
AR84_1_2_, accrtxn2_.AR_DATE6 as AR85_1_2_, accrtxn2_.AR_DATE7 as
AR86_1_2_, accrtxn2_.AR_DATE8 as AR87_1_2_, accrtxn2_.AR_DATE9 as
AR88_1_2_, accrtxn2_.AR_DATE10 as AR89_1_2_, accrtxn2_.AR_PROMDTE as
AR90_1_2_, accrtxn2_.TID as TID1_2_, accrtxn2_.PY_TERMS as PY92_1_2_,
accrtxn2_.PR_ID as PR93_1_2_ from INV_TXN invtxn0_, CST_HDR csthdr1_,
ACCR_TXN accrtxn2_, CSTPE_HDR cstpehdr4_ where
invtxn0_.CS_ID=csthdr1_.CS_ID(+) and
invtxn0_.IV_ID=accrtxn2_.IV_ID(+) and
invtxn0_.IV_DATE=accrtxn2_.IV_DATE(+) and
csthdr1_.CS_TYPE=cstpehdr4_.CS_TYPE and (invtxn0_.CS_ID in (:1 , :2 ,
:3 , :4 , :5 , :6 , :7 , :8 , :9 , :10 , :11 , :12 , :13 , :14 , :15
, :16 , :17 , :18 , :19 , :20 , :21 , :22 , :23 , :24 , :25 , :26 ,
:27 , :28 , :29 , :30 , :31 , :32 , :33 , :34 , :35 , :36 , :37 , :38
, :39 , :40 , :41 , :42 , :43 , :44 , :45 , :46 , :47 , :48 , :49 ,
:50)) and invtxn0_.IV_TYPE=cstpehdr4_.CS_NAME and
invtxn0_.IV_CLOSED=0
RATIONALE: SQL statement with SQL_ID "4fx1nsvwwbgm8" was executed 3
times and had an average elapsed time of 114 seconds.
RATIONALE: Average time spent in Cluster wait events per execution was
30 seconds.
RECOMMENDATION 2: SQL Tuning, 5.6% benefit (28 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"4jx3axz9gv5zf".
RELEVANT OBJECT: SQL statement with SQL_ID 4jx3axz9gv5zf and
PLAN_HASH 804695543
SELECT IO_TIME.SNAP_ID, IO_TIME.SECONDS, DB.SECONDS, CPU.SECONDS FROM
(SELECT SNAP_ID, DBID, INSTANCE_NUMBER,
SUM(TIME_WAITED_MICRO)/1000000 SECONDS FROM DBA_HIST_SYSTEM_EVENT
WHERE DBID = :B52 AND INSTANCE_NUMBER = :B51 AND SNAP_ID IN (:B50
,:B49 ,:B48 ,:B47 ,:B46 ,:B45 ,:B44 ,:B43 ,:B42 ,:B41 ,:B40 ,:B39
,:B38 ,:B37 ,:B36 ,:B35 ,:B34 ,:B33 ,:B32 ,:B31 ,:B30 ,:B29 ,:B28
,:B27 ,:B26 ,:B25 ,:B24 ,:B23 ,:B22 ,:B21 ,:B20 ,:B19 ,:B18 ,:B17
,:B16 ,:B15 ,:B14 ,:B13 ,:B12 ,:B11 ,:B10 ,:B9 ,:B8 ,:B7 ,:B6 ,:B5
,:B4 ,:B3 ,:B2 ,:B1 ) AND WAIT_CLASS = 'User I/O' GROUP BY SNAP_ID,
DBID, INSTANCE_NUMBER) IO_TIME, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 3649082374) DB, (SELECT SNAP_ID, DBID,
INSTANCE_NUMBER, VALUE/1000000 SECONDS FROM DBA_HIST_SYS_TIME_MODEL
WHERE STAT_ID = 2748282437) CPU WHERE IO_TIME.SNAP_ID = DB.SNAP_ID
AND IO_TIME.DBID = DB.DBID AND IO_TIME.INSTANCE_NUMBER =
DB.INSTANCE_NUMBER AND DB.SNAP_ID = CPU.SNAP_ID AND DB.DBID =
CPU.DBID AND DB.INSTANCE_NUMBER = CPU.INSTANCE_NUMBER ORDER BY
IO_TIME.SNAP_ID
RATIONALE: SQL statement with SQL_ID "4jx3axz9gv5zf" was executed 8
times and had an average elapsed time of 3.4 seconds.
RATIONALE: Average time spent in Cluster wait events per execution was
0.019 seconds.
RECOMMENDATION 3: SQL Tuning, 4.7% benefit (23 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"8jkzt6vsccyqd".
RELEVANT OBJECT: SQL statement with SQL_ID 8jkzt6vsccyqd and
PLAN_HASH 575304967
select workflowin0_.wf_id as col_0_0_ from wf_instance workflowin0_,
wf_string_properties stringprop1_, wf_timestamp_properties
timestampp2_ where workflowin0_.id=stringprop1_.wf_instance_id(+) and
workflowin0_.id=timestampp2_.wf_instance_id(+) and
workflowin0_.tx_type=:1 and workflowin0_.status=:2 and
workflowin0_.en_id=:3 and stringprop1_.name=:4 and
stringprop1_.value=:5 and timestampp2_.name=:6 and
timestampp2_.value=:7
RATIONALE: SQL statement with SQL_ID "8jkzt6vsccyqd" was executed 165
times and had an average elapsed time of 0.14 seconds.
RATIONALE: Average time spent in Cluster wait events per execution was
0.0035 seconds.
RECOMMENDATION 4: SQL Tuning, 3.2% benefit (16 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"f5pwkxw60z6xz".
RELEVANT OBJECT: SQL statement with SQL_ID f5pwkxw60z6xz and
PLAN_HASH 1905475992
SELECT a.advisor_name, a.task_name, a.inst_id, a.description,
a.owner, a.status, a.execution_start, a.execution_end,
trunc(a.created)-trunc(sysdate)+a.days_to_expire, a.task_id,
a.recommendation_count, a.state, jl.status,
cast(nvl(a.start_date,a.last_start_date) as TIMESTAMP), a.created,
trunc(sysdate)-trunc(a.created) FROM (SELECT b.*, j.state as state,
j.start_date as start_date, j.last_start_date as last_start_date FROM
(SELECT /*+ NO_MERGE(mt) ORDERED */ t.advisor_name as advisor_name,
t.task_name as task_name, t.description as description, t.owner as
owner, t.created as created, t.status as status, t.execution_start as
execution_start, t.execution_end as execution_end, t.task_id as
task_id, t.recommendation_count as recommendation_count, mt.exec_time
as max_execution_time, p1.parameter_value as days_to_expire,
p2.parameter_value as inst_id FROM (SELECT /*+ ORDERED */
p1.parameter_value as inst_id, t.advisor_id, max(t.execution_start)
as exec_time FROM dba_advisor_tasks t, (SELECT task_id,
parameter_value FROM dba_advisor_parameters_proj WHERE
parameter_name = 'INSTANCE') p1, (SELECT task_id, parameter_value
FROM dba_advisor_parameters_proj WHERE parameter_name = 'DB_ID')
p2 WHERE task_name like :1 AND t.task_id=p1.task_id AND
t.task_id=p2.task_id(+) GROUP BY p1.parameter_value, t.advisor_id )
mt, dba_advisor_tasks t, dba_advisor_parameters_proj p1,
dba_advisor_parameters_proj p2 WHERE t.advisor_id = mt.advisor_id AND
t.execution_start = mt.exec_time AND mt.inst_id = p2.parameter_value
AND t.advisor_name like :2 AND p1.task_id=t.task_id AND
p1.parameter_name='DAYS_TO_EXPIRE' AND p2.task_id=t.task_id AND
p2.parameter_name='INSTANCE' ) b, dba_scheduler_jobs j WHERE
CONCAT('ADV_', b.task_name)=j.job_name (+) AND b.owner=j.owner (+) )
a, (SELECT job_name, operation, status, owner FROM
dba_scheduler_job_log WHERE operation='RUN' AND log_id IN (SELECT
UNIQUE MAX(log_id) OVER (PARTITION BY job_name) FROM
dba_scheduler_job_log WHERE operation='RUN') ) jl WHERE
CONCAT('ADV_', a.task_name)=jl.job_name(+) AND a.owner=jl.owner (+)
RATIONALE: SQL statement with SQL_ID "f5pwkxw60z6xz" was executed 1
times and had an average elapsed time of 15 seconds.
RATIONALE: Average time spent in Cluster wait events per execution was
0.15 seconds.
RECOMMENDATION 5: SQL Tuning, 0.26% benefit (1 seconds)
ACTION: Tune the PL/SQL block with SQL_ID "8u809k64x3nzd". Refer to the
"Tuning PL/SQL Applications" chapter of Oracle's "PL/SQL User's Guide
and Reference"
RELEVANT OBJECT: SQL statement with SQL_ID 8u809k64x3nzd
begin DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT(); end;
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "Cluster" was consuming significant database time.
(20% impact [100 seconds])
FINDING 7: 18% impact (89 seconds)
----------------------------------
Read and write contention on database blocks was consuming significant
database time.
NO RECOMMENDATIONS AVAILABLE
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Inter-instance messaging was consuming significant database
time on this instance. (20% impact [100 seconds])
SYMPTOM: Wait class "Cluster" was consuming significant database
time. (20% impact [100 seconds])
FINDING 8: 2.8% impact (14 seconds)
-----------------------------------
Wait event "reliable message" in wait class "Other" was consuming significant
database time.
RECOMMENDATION 1: Application Analysis, 2.8% benefit (14 seconds)
ACTION: Investigate the cause for high "reliable message" waits. Refer
to Oracle's "Database Reference" for the description of this wait
event.
SYMPTOMS THAT LED TO THE FINDING:
SYMPTOM: Wait class "Other" was consuming significant database time.
(3.6% impact [18 seconds])
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ADDITIONAL INFORMATION
----------------------
WARNING: The flushing of snapshots 18107 and 18108 took 32 seconds which is
12% of the analysis period time. This may reduce the reliability of
the ADDM analysis.
Wait class "Application" was not consuming significant database time.
Wait class "Commit" was not consuming significant database time.
Wait class "Concurrency" was not consuming significant database time.
Wait class "Configuration" was not consuming significant database time.
CPU was not a bottleneck for the instance.
Wait class "Network" was not consuming significant database time.
Session connect and disconnect calls were not consuming significant database
time.
Hard parsing of SQL statements was not consuming significant database time.
The analysis of I/O performance is based on the default assumption that the
average read time for one database block is 10000 micro-seconds.
An explanation of the terminology used in this report is available when you
run the report with the 'ALL' level of detail.