Resource report

Dear All,
in a process industry production takes place in different stages.
For a particular stage let us say Blending there will be 5 phases where we use different resources.
Instead of cretaing  5 resources in recipe i wish to go with one resource called blend.
At the same time i need to capture reporting data of resources of individual phases also.
How can this be achieved.
Should i go for secondary resources.
System by default will pick the resourceassigned to operation for all the phases under it.
Kindly Give ur inputs
Regards
Jeevan

closed

Similar Messages

  • P6 Resource Report Errors

    I've created a resource histogram by exporting the report in ASCII to Excel. Initially I set the timescale in weeks and the data/histogram was fine. I then took the same report, but changed the timescale to months. This time some of the data was not entered into the correct cells and some of the rows had to have cells inserted to bring data into line with the rest. Even the row showing totals was out of synch with the rest.
    Am I doing something wrong or is this a bug in the system?
    Many thanks.

    I will second it being a bug, I have run almost the same report multiple times and every time I am forced to shift a couple of cells. I believe the date and totals are off.
    One tip I found was to use a semicolon (;) as the separator instead of a comma. You can import it into excel just the same but it gives me a cleaner report.

  • 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 raitsarevo

    Hi
    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 Report

    Frederic'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

  • Regarding Statspack Report

    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, bit

    Problems 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

  • BI Publisher 11g 11.1.1.6.0 and OIM Reports Not Showing Up

    After upgrading to OIM BP04, I following the readme to install BI Publishing, but used the 11.1.1.6.0 version.
    After creating: C:\Oracle\Middleware\Oracle_BIP\user_projects\domains\bifoundation_domain\config\bipublisher\repository\Reports\Oracle Identity Manager
    I copied C:\Oracle\Middleware\Oracle_BIP\user_projects\domains\bifoundation_domain\config\bipublisher\repository\Reports\Oracle Identity Manager\OIM_11gR1_BIP11gReports.zip and uncompressed it here..
    Then I restarted everything except for the database.
    When I logon to the BIP console, go to Catalog then Shared Folders, there is no 'Oracle Identity Manager' folder...only the original Components and Sample folders.
    What's up with that?

    The answer is to open up the weblogic security schema for BIP and add a user account with the same name used to access OIM, then add the BI_Authors role. Save. Restart BIP. This got me the Resource Reports.
    The DB Roles and Privs reports still don't work OOTB because the jobs don't update the UD_DB_ORA_P and _R tables. Still working on how to get that down. What's that...you know how...please do tell. Thanks :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Performance problem, statspack report included.

    HI,
    on my 9.2.0.8 cpu_count=12 EE I've got job which takes 5h , there is strange top sql reported:
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    E1        2020101010                E1            1 9.2.0.8.0   NO      test1
                  Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:     56073 22-Mar-10 15:00:04       35       5.7
      End Snap:     56078 22-Mar-10 20:00:04       38       5.6
       Elapsed:              300.00 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:     1,024M      Std Block Size:          8K
               Shared Pool Size:       320M          Log Buffer:      2,000K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:            141,422.83             23,063.29
                  Logical reads:             21,928.15              3,576.05
                  Block changes:                695.89                113.49
                 Physical reads:                424.41                 69.21
                Physical writes:                 36.35                  5.93
                     User calls:                 21.19                  3.46
                         Parses:                115.96                 18.91
                    Hard parses:                  1.41                  0.23
                          Sorts:                 28.80                  4.70
                         Logons:                  0.14                  0.02
                       Executes:              5,099.90                831.69
                   Transactions:                  6.13
      % Blocks changed per Read:    3.17    Recursive Call %:     99.86
    Rollback per transaction %:    0.00       Rows per Sort:      3.88
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:    100.00
                Buffer  Hit   %:   98.07    In-memory Sort %:    100.00
                Library Hit   %:   99.43        Soft Parse %:     98.78
             Execute to Parse %:   97.73         Latch Hit %:    100.00
    Parse CPU to Parse Elapsd %:   39.63     % Non-Parse CPU:     99.50
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   19.64   94.21
        % SQL with executions>1:   73.59   14.19
      % Memory for SQL w/exec>1:   63.89    9.21
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                       10,436    78.98
    db file sequential read                           231,010       1,484    11.23
    db file scattered read                            333,736         733     5.55
    log file sync                                      67,760         206     1.56
    db file parallel write                             63,946         204     1.54
    ^LWait Events for DB: E1  Instance: E1  Snaps: 56073 -56078
    -> 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           231,010          0      1,484      6      2.1
    db file scattered read            333,736          0        733      2      3.0
    log file sync                      67,760          0        206      3      0.6
    db file parallel write             63,946          0        204      3      0.6
    direct path write (lob)            45,642          0         82      2      0.4
    control file parallel write         7,000          0         28      4      0.1
    log file parallel write           205,617          0         14      0      1.9
    process startup                       450          0         11     25      0.0
    control file sequential read        8,068          0          8      1      0.1
    log file switch completion            104          0          3     28      0.0
    log buffer space                       86          0          2     22      0.0
    SQL*Net break/reset to clien        3,632          0          1      0      0.0
    latch free                          1,241         23          1      0      0.0
    direct path read                    3,432          0          1      0      0.0
    log file single write                 160          0          0      3      0.0
    direct path write                   2,074          0          0      0      0.0
    log file sequential read              160          0          0      2      0.0
    direct path read (lob)                 76          0          0      3      0.0
    SQL*Net message from dblink            38          0          0      4      0.0
    buffer busy waits                      19          0          0      4      0.0
    single-task message                     1          0          0     64      0.0
    SQL*Net more data to client         2,493          0          0      0      0.0
    LGWR wait for redo copy               369          0          0      0      0.0
    library cache pin                       3          0          0      0      0.0
    enqueue                                 7          0          0      0      0.0
    SQL*Net message to dblink              38          0          0      0      0.0
    SQL*Net message from client       240,510          0    378,158   1572      2.2
    jobq slave wait                     9,559      9,475     27,883   2917      0.1
    wakeup time manager                   583        583     16,960  29090      0.0
    SQL*Net message to client         240,514          0          0      0      2.2
    SQL*Net more data from clien        2,990          0          0      0      0.0
    ^LBackground Wait Events for DB: E1  Instance: E1  Snaps: 56073 -56078
    -> 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             63,946          0        204      3      0.6
    control file parallel write         7,000          0         28      4      0.1
    log file parallel write           205,617          0         14      0      1.9
    control file sequential read        3,998          0          4      1      0.0
    db file scattered read                237          0          1      5      0.0
    db file sequential read               161          0          1      3      0.0
    log file single write                 160          0          0      3      0.0
    direct path read                    3,398          0          0      0      0.0
    direct path write                   2,070          0          0      0      0.0
    log file sequential read              160          0          0      2      0.0
    rdbms ipc reply                       259          0          0      1      0.0
    log buffer space                       11          0          0     11      0.0
    LGWR wait for redo copy               369          0          0      0      0.0
    latch free                             34          2          0      1      0.0
    buffer busy waits                       1          0          0      0      0.0
    rdbms ipc message                 590,267     22,981     82,922    140      5.3
    pmon timer                          6,288      6,288     17,570   2794      0.1
    smon timer                             96         50     16,604 ######      0.0
    ^LSQL ordered by Gets for DB: E1  Instance: E1  Snaps: 56073 -56078
    -> 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
        385,750,162            1  385,750,162.0   97.7 ########  15723.50 2420406373
    Module: 01@ me2xml.sql
    declare v_message         VARCHAR2(2000); v_inserts         VARC
    HAR2(2000); v_voucher         VARCHAR2(2000); v_vls
    VARCHAR2(2000); v_posi            VARCHAR2(2000); v_posih
        VARCHAR2(2000); v_rep_inderts     VARCHAR2(2000); begin  upd
    ate  PARAM_SYSTEM set SYS_WARTOSC_TEKST =  null where
        351,634,942   87,908,729            4.0   89.1  1307.36   1617.33 4265647904
    Module: 01@ posi2xml.sql
    select longname from javasnm$ where short = :1
    ...other statements are way lowerAny ideas how can I optimize 'select longname from javasnm$ where short = :1' ?
    Regards.
    Greg

    Thank You , but I'm unable to reduce java calls ,because the whole code is doing xml transformations (xmlparse and xmldom).
    My java pool is:
    SQL> show parameters java
    NAME TYPE VALUE
    java_max_sessionspace_size integer 0
    java_pool_size big integer 167772160
    java_soft_sessionspace_limit integer 0
    and my shared pool is:
    SQL> show parameters shared
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    max_shared_servers integer 20
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 8388608
    shared_pool_size big integer 335544320
    shared_server_sessions integer 0
    shared_servers integer 0
    btw how do You know I'm using shared pool for ad-hoc queries ?
    The 5h interval spans one procedure call , there is no other workload on database.
    Regards.
    Greg

  • AWR Report - suggestions to improve performance.

    Hi Folks,
    Web application server version - 10.1.2.0.2
    Database version - 10.1.0.4.0
    OS version - AIX 5.3
    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    xxxx      3419432639 xxxx            1 10.1.0.4.0  NO      hostname
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     16598 07-Jul-09 16:30:54        23      60.7
      End Snap:     16599 07-Jul-09 17:30:46        36      94.1
       Elapsed:               59.88 (mins)
       DB Time:               44.99 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:     1,536M      Std Block Size:         8K
               Shared Pool Size:     1,248M          Log Buffer:     1,024K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             30,495.86            138,156.74
                  Logical reads:              1,735.49              7,862.39
                  Block changes:                197.66                895.45
                 Physical reads:                564.70              2,558.28
                Physical writes:                 54.64                247.52
                     User calls:                  2.00                  9.04
                         Parses:                 14.32                 64.87
                    Hard parses:                  1.37                  6.22
                          Sorts:                  5.83                 26.42
                         Logons:                  0.12                  0.54
                       Executes:                 72.71                329.38
                   Transactions:                  0.22
      % Blocks changed per Read:   11.39    Recursive Call %:    99.64
    Rollback per transaction %:   17.53       Rows per Sort:  5933.99
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   71.24    In-memory Sort %:   99.79
                Library Hit   %:   96.22        Soft Parse %:   90.41
             Execute to Parse %:   80.31         Latch Hit %:   99.99
    Parse CPU to Parse Elapsd %:   21.82     % Non-Parse CPU:   96.80
    Shared Pool Statistics        Begin    End
                 Memory Usage %:   13.13   27.55
        % SQL with executions>1:   61.04   15.52
      % Memory for SQL w/exec>1:   60.96   12.31
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                        % Total
    Event                                 Waits    Time (s)   DB Time     Wait Class
    db file scattered read              135,977       1,204     44.62       User I/O
    CPU time                                            547     20.26
    db file sequential read              99,521         187      6.92       User I/O
    log file parallel write              10,995          16       .59     System I/O
    direct path write temp                7,225          13       .47       User I/O
    Wait Events  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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           135,977          0      1,204       9     171.5
    db file sequential read           99,521          0        187       2     125.5
    log file parallel write           10,995          0         16       1      13.9
    direct path write temp             7,225          0         13       2       9.1
    process startup                      117          1          7      58       0.1
    latch: library cache                 306          0          5      15       0.4
    direct path read temp            152,490          0          4       0     192.3
    db file parallel write               342          0          4      11       0.4
    log file sync                        309          3          4      13       0.4
    db file parallel read                359          0          3       8       0.5
    latch: cache buffers lru ch           80          0          2      19       0.1
    control file parallel write        1,325          0          1       1       1.7
    latch: row cache objects              26          0          1      51       0.0
    latch: cache buffers chains          138        138          1       9       0.2
    log file switch completion             3          0          1     399       0.0
    buffer busy waits                     94          0          1      10       0.1
    latch: shared pool                    44          0          0       6       0.1
    control file sequential rea        1,258          0          0       0       1.6
    latch: object queue header             3          0          0      41       0.0
    SQL*Net message to client          5,866          0          0       0       7.4
    LGWR wait for redo copy              495          1          0       0       0.6
    direct path read                      58          0          0       1       0.1
    latch: session allocation              6          0          0       6       0.0
    latch: In memory undo latch            3          0          0      10       0.0
    SQL*Net break/reset to clie           62          0          0       0       0.1
    control file single write             40          0          0       1       0.1
    latch: redo allocation                12          0          0       2       0.0
    latch free                             2          0          0      11       0.0
    enq: TX - index contention             1          0          0      21       0.0
    latch: messages                        8          0          0       2       0.0
    log file single write                  2          0          0       4       0.0
    direct path write                     99          0          0       0       0.1
    SQL*Net more data to client          237          0          0       0       0.3
    log file sequential read               2          0          0       2       0.0
    latch: library cache lock              1          0          0       3       0.0
    latch: enqueue hash chains             3          0          0       0       0.0
    SQL*Net more data from clie            2          0          0       0       0.0
    SQL*Net message from client        5,855          0     23,607    4032       7.4
    jobq slave wait                    3,441      3,334      9,925    2884       4.3
    Queue Monitor Wait                 1,537        623      3,532    2298       1.9
    Queue Monitor Slave Wait             503          0      3,532    7022       0.6
    wakeup time manager                   12          0      3,527  293898       0.0
    virtual circuit status               120        120      3,512   29266       0.2
    class slave wait                       2          2         10    4883       0.0
    Background Wait Events  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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           10,995          0         16       1      13.9
    process startup                      117          1          7      58       0.1
    db file sequential read            1,255          0          4       3       1.6
    db file parallel write               342          0          4      11       0.4
    control file parallel write        1,329          0          1       1       1.7
    db file scattered read               151          0          1       7       0.2
    latch: cache buffers lru ch           32          0          0      15       0.0
    latch: library cache                   5          0          0      69       0.0
    control file sequential rea          213          0          0       1       0.3
    latch: cache buffers chains            2          2          0      34       0.0
    LGWR wait for redo copy              495          1          0       0       0.6
    control file single write             40          0          0       1       0.1
    latch: redo allocation                12          0          0       2       0.0
    latch: messages                        8          0          0       2       0.0
    latch: object queue header             2          0          0       8       0.0
    log file single write                  2          0          0       4       0.0
    direct path write                     25          0          0       0       0.0
    buffer busy waits                      1          0          0       7       0.0
    latch: shared pool                     2          0          0       2       0.0
    log file sequential read               2          0          0       2       0.0
    direct path read                      22          0          0       0       0.0
    rdbms ipc message                 15,461     10,346     26,675    1725      19.5
    Queue Monitor Wait                 1,537        623      3,532    2298       1.9
    Queue Monitor Slave Wait             503          0      3,532    7022       0.6
    wakeup time manager                   12          0      3,527  293898       0.0
    smon timer                           175          8      3,418   19530       0.2
    Time Model Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by Time (seconds) desc
                                                           Time      % Total
    Statistic Name                                     (seconds)     DB Time
    sql execute elapsed time                            2,708.75      100.35
    DB time                                             2,699.22      100.00
    DB CPU                                                546.94       20.26
    background elapsed time                               113.64        4.21
    parse time elapsed                                     90.88        3.37
    hard parse elapsed time                                59.03        2.19
    PL/SQL execution elapsed time                          56.46        2.09
    Java execution elapsed time                             8.99         .33
    background cpu time                                     8.18         .30
    PL/SQL compilation elapsed time                         4.55         .17
    connection management call elapsed time                 1.08         .04
    failed parse elapsed time                                .73         .03
    hard parse (sharing criteria) elapsed time               .70         .03
    hard parse (bind mismatch) elapsed time                  .61         .02
    sequence load elapsed time                               .41         .02
    inbound PL/SQL rpc elapsed time                          .00         .00
    failed parse (out of shared memory) elapsed t            .00         .00
    Operating System Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic Name                                   Value
    AVG_BUSY_TICKS                                 771,364
    AVG_IDLE_TICKS                                 346,024
    AVG_IN_BYTES                             3,812,632,576
    AVG_IOWAIT_TICKS                                38,470
    AVG_OUT_BYTES                            1,141,137,408
    AVG_SYS_TICKS                                    2,786
    AVG_USER_TICKS                                  13,588
    BUSY_TICKS                                   3,085,837
    IDLE_TICKS                                   1,384,395
    IN_BYTES                                15,250,530,304
    IOWAIT_TICKS                                   154,103
    OS_CPU_WAIT_TIME                                70,200
    OUT_BYTES                                4,564,549,632
    RSRC_MGR_CPU_WAIT_TIME                               0
    SYS_TICKS                                       11,439
    USER_TICKS                                      54,613
    Service Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by DB Time
                                                                 Physical    Logical
    Service Name                      DB Time (s)   DB CPU (s)      Reads      Reads
    xxxx                              2,032.9        519.7  1,804,948  5,709,611
    SYS$USERS                               666.3         27.2    219,320    501,732
    SYS$BACKGROUND                            0.0          0.0      4,565     28,708
    xxxxXDB                               0.0          0.0          0          0
    Service Wait Class Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Wait Class info for services in the Service Statistics section.
    -> Total Waits and Time Waited displayed for the following wait
       classes:  User I/O, Concurrency, Administrative, Network
    -> Time Waited (Wt Time) in centisecond (100th of a second)
    Service Name
    User I/O  User I/O  Concurcy  Concurcy     Admin     Admin   Network   Network
    Total Wts   Wt Time Total Wts   Wt Time Total Wts   Wt Time Total Wts   Wt Time
    xxxx
       374696    127922         0         0         0         0      3701         7
    SYS$USERS
        18820     12406       172       222         0         0      2129         0
    SYS$BACKGROUND
         2218       783         0         0         0         0         0         0
    SQL ordered by Elapsed Time  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Resources reported for PL/SQL code includes the resources used by all SQL
       statements called by the code.
    -> % Total DB Time is the Elapsed Time of the SQL statement divided
       into the Total Database Time multiplied by 100
    <<<<<<<<<<<<<<<<<<<<<<<<<<<SQLs Deleted >>>>>>>>>>>>      
    SQL ordered by Sharable Memory  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
                      No data exists for this section of the report.
    SQL ordered by Version Count  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
                      No data exists for this section of the report.
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    CPU used by this session                     53,470           14.9          67.4
    CPU used when call started                   51,928           14.5          65.5
    CR blocks created                             5,298            1.5           6.7
    Cached Commit SCN referenced                192,226           53.5         242.4
    Commit SCN cached                             3,613            1.0           4.6
    DB time                                   1,253,838          349.0       1,581.1
    DBWR checkpoint buffers written               4,304            1.2           5.4
    DBWR checkpoints                                  1            0.0           0.0
    DBWR transaction table writes                    59            0.0           0.1
    DBWR undo block writes                        5,557            1.6           7.0
    IMU CR rollbacks                                  1            0.0           0.0
    IMU Flushes                                     191            0.1           0.2
    IMU Redo allocation size                    860,820          239.6       1,085.5
    IMU commits                                     381            0.1           0.5
    IMU contention                                    5            0.0           0.0
    IMU ktichg flush                                  1            0.0           0.0
    IMU undo allocation size                  1,839,872          512.1       2,320.1
    SQL*Net roundtrips to/from clien              5,591            1.6           7.1
    active txn count during cleanout                948            0.3           1.2
    application wait time                             4            0.0           0.0
    background checkpoints completed                  1            0.0           0.0
    background checkpoints started                    1            0.0           0.0
    background timeouts                          10,366            2.9          13.1
    buffer is not pinned count                2,387,595          664.6       3,010.8
    buffer is pinned count                      792,051          220.5         998.8
    bytes received via SQL*Net from             333,467           92.8         420.5
    bytes sent via SQL*Net to client          2,449,972          682.0       3,089.5
    calls to get snapshot scn: kcmgs            319,869           89.0         403.4
    calls to kcmgas                              17,576            4.9          22.2
    calls to kcmgcs                               1,912            0.5           2.4
    change write time                             2,175            0.6           2.7
    cleanout - number of ktugct call              4,589            1.3           5.8
    cluster key scan block gets                 579,340          161.3         730.6
    cluster key scans                           283,013           78.8         356.9
    commit cleanout failures: block                   1            0.0           0.0
    commit cleanout failures: buffer                  1            0.0           0.0
    commit cleanout failures: callba                  1            0.0           0.0
    commit cleanout failures: cannot                  5            0.0           0.0
    commit cleanouts                             25,713            7.2          32.4
    commit cleanouts successfully co             25,705            7.2          32.4
    commit txn count during cleanout              4,110            1.1           5.2
    concurrency wait time                           650            0.2           0.8
    consistent changes                            7,352            2.1           9.3
    consistent gets                           5,509,829        1,533.7       6,948.1
    consistent gets - examination             1,061,141          295.4       1,338.1
    consistent gets direct                           39            0.0           0.1
    consistent gets from cache                5,509,790        1,533.7       6,948.0
    cursor authentications                          310            0.1           0.4
    data blocks consistent reads - u              6,747            1.9           8.5
    db block changes                            710,092          197.7         895.5
    db block gets                               725,044          201.8         914.3
    db block gets direct                         14,789            4.1          18.7
    db block gets from cache                    710,255          197.7         895.7
    deferred (CURRENT) block cleanou             14,036            3.9          17.7
    dirty buffers inspected                       9,309            2.6          11.7
    enqueue conversions                             926            0.3           1.2
    enqueue releases                             92,643           25.8         116.8
    enqueue requests                             92,643           25.8         116.8
    enqueue waits                                     1            0.0           0.0
    execute count                               261,199           72.7         329.4
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    free buffer inspected                     1,719,681          478.7       2,168.6
    free buffer requested                     1,804,893          502.4       2,276.0
    heap block compress                           1,617            0.5           2.0
    hot buffers moved to head of LRU            295,841           82.4         373.1
    immediate (CR) block cleanout ap              3,664            1.0           4.6
    immediate (CURRENT) block cleano              6,108            1.7           7.7
    index fast full scans (full)                    533            0.2           0.7
    index fetch by key                          582,804          162.2         734.9
    index scans kdiixs1                         328,534           91.5         414.3
    leaf node 90-10 splits                          190            0.1           0.2
    leaf node splits                                353            0.1           0.5
    logons cumulative                               426            0.1           0.5
    messages received                             5,699            1.6           7.2
    messages sent                                 5,699            1.6           7.2
    no buffer to keep pinned count                    0            0.0           0.0
    no work - consistent read gets            4,088,134        1,137.9       5,155.3
    opened cursors cumulative                    46,867           13.1          59.1
    parse count (failures)                           27            0.0           0.0
    parse count (hard)                            4,933            1.4           6.2
    parse count (total)                          51,443           14.3          64.9
    parse time cpu                                1,748            0.5           2.2
    parse time elapsed                            8,012            2.2          10.1
    physical read IO requests                   390,490          108.7         492.4
    physical reads                            2,028,713          564.7       2,558.3
    physical reads cache                      1,793,229          499.2       2,261.3
    physical reads cache prefetch             1,557,452          433.5       1,964.0
    physical reads direct                       235,484           65.6         297.0
    physical reads direct (lob)                      36            0.0           0.1
    physical reads direct temporary             235,426           65.5         296.9
    physical reads prefetch warmup                6,031            1.7           7.6
    physical write IO requests                   15,092            4.2          19.0
    physical writes                             196,287           54.6         247.5
    physical writes direct                      179,731           50.0         226.7
    physical writes direct (lob)                     39            0.0           0.1
    physical writes direct temporary            179,664           50.0         226.6
    physical writes from cache                   16,556            4.6          20.9
    physical writes non checkpoint              194,791           54.2         245.6
    pinned buffers inspected                          2            0.0           0.0
    prefetch warmup blocks aged out               1,292            0.4           1.6
    prefetched blocks aged out befor            293,795           81.8         370.5
    process last non-idle time                    1,954            0.5           2.5
    recursive calls                           1,997,982          556.1       2,519.5
    recursive cpu usage                          50,834           14.2          64.1
    redo blocks written                         224,755           62.6         283.4
    redo buffer allocation retries                    3            0.0           0.0
    redo entries                                357,063           99.4         450.3
    redo log space requests                           3            0.0           0.0
    redo log space wait time                        123            0.0           0.2
    redo ordering marks                           5,391            1.5           6.8
    redo size                               109,558,292       30,495.9     138,156.7
    redo synch time                                 398            0.1           0.5
    redo synch writes                               300            0.1           0.4
    redo wastage                              1,486,252          413.7       1,874.2
    redo write time                               1,657            0.5           2.1
    redo writer latching time                         7            0.0           0.0
    redo writes                                   5,499            1.5           6.9
    rollback changes - undo records               5,688            1.6           7.2
    rows fetched via callback                    96,659           26.9         121.9
    session connect time                              0            0.0           0.0
    session logical reads                     6,234,873        1,735.5       7,862.4
    Instance Activity Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    Statistic                                     Total     per Second     per Trans
    session pga memory                      162,220,520       45,154.5     204,565.6
    session pga memory max                  341,641,032       95,096.7     430,821.0
    session uga memory                  790,286,168,264  219,978,374.3 #############
    session uga memory max                  267,584,080       74,482.8     337,432.6
    shared hash latch upgrades - no             327,865           91.3         413.5
    shared hash latch upgrades - wai                 47            0.0           0.1
    sorts (disk)                                     44            0.0           0.1
    sorts (memory)                               20,909            5.8          26.4
    sorts (rows)                            124,334,820       34,609.0     156,790.4
    summed dirty queue length                    10,849            3.0          13.7
    switch current to new buffer                    125            0.0           0.2
    table fetch by rowid                        362,785          101.0         457.5
    table fetch continued row                     1,811            0.5           2.3
    table scan blocks gotten                  2,989,662          832.2       3,770.1
    table scan rows gotten                  102,945,486       28,655.2     129,817.8
    table scans (long tables)                        65            0.0           0.1
    table scans (short tables)                    8,082            2.3          10.2
    transaction rollbacks                            72            0.0           0.1
    undo change vector size                  40,524,316       11,280.1      51,102.5
    user I/O wait time                          140,959           39.2         177.8
    user calls                                    7,168            2.0           9.0
    user commits                                    654            0.2           0.8
    user rollbacks                                  139            0.0           0.2
    workarea executions - onepass                    30            0.0           0.0
    workarea executions - optimal                13,486            3.8          17.0
    write clones created in foregrou                  6            0.0           0.0
              -------------------------------------------------------------contd on next ...
    Edited by: LazyDBA10g on Jul 8, 2009 4:50 AM

    Instance Activity Stats - Absolute Values  DB/Inst: xxxx/xxxx  Snaps: 1
    -> Statistics with absolute values (should not be diffed)
    -> Statistics identified by '(derived)' come from sources other than SYSSTAT
    Statistic                            Begin Value       End Value
    opened cursors current                     1,397           3,387
    logons current                                23              36
    Instance Activity Stats - Thread Activity  DB/Inst: xxxx/xxxx  Snaps: 16
    Statistic                                     Total  per Hour
    log switches (derived)                            1      1.00
    Tablespace IO Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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)
    TEMP2
           153,326      43    0.2     1.6        6,040        2          0    0.0
    AA_DATA
           115,909      32    5.8     7.6          217        0          0    0.0
    AA_WEB
            57,358      16    9.1    12.8        2,200        1          0    0.0
    AA_INDEX
            43,576      12    3.3     3.3          738        0          0    0.0
    AA_WEB_IDX
            11,475       3    2.9     1.1            6        0          0    0.0
    SYSTEM
             5,575       2    3.8     1.4        2,528        1         61   16.1
    SYSAUX
             3,017       1    5.3     1.4        2,401        1          5    0.0
    UNDOTBS1
               262       0    5.0     1.0          955        0         28    0.0
    AA_LOB
                36       0   13.6     5.5            3        0          0    0.0
    USERS
                 3       0   33.3     1.0            3        0          0    0.0
    EXAMPLE
                 1       0   40.0     1.0            1        0          0    0.0
    File IO Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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)
    EXAMPLE                  /AAA/oradata/xxxx/example01.dbf
                 1       0   40.0     1.0            1        0          0    0.0
    SYSAUX                   /AAA/oradata/xxxx/sysaux01.dbf
             3,017       1    5.3     1.4        2,401        1          5    0.0
    SYSTEM                   /AAA/oradata/xxxx/system01.dbf
             5,575       2    3.8     1.4        2,528        1         61   16.1
    TEMP2                    /AAA/oradata/xxxx/TEMP02.DBFf
           153,324      43    0.2     1.6        6,040        2          0
    TEMP2                    /AAA/oradata/xxxx/TEMP03.DBF
                 2       0    5.0     1.0            0        0          0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs01.dbf
               181       0    4.9     1.0          307        0          3    0.0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs02.dbf
                70       0    5.6     1.0          157        0         20    0.0
    UNDOTBS1                 /AAA/oradata/xxxx/undotbs021.dbf
                11       0    2.7     1.0          491        0          5    0.0
    USERS                    /AAA/oradata/xxxx/users01.dbf
                 1       0   50.0     1.0            1        0          0    0.0
    USERS                    /AAA/oradata/xxxx/users02.dbf
                 1       0   30.0     1.0            1        0          0    0.0
    USERS                    /AAA/oradata/xxxx/users03.dbf
                 1       0   20.0     1.0            1        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA01.DBF
            28,830       8    5.8     7.6           80        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA02.DBF
            30,068       8    5.8     7.5           34        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA03.DBF
            28,669       8    5.8     7.5           56        0          0    0.0
    AA_DATA              /AAA/oradata/xxxx/AA_DATA04.DBF
            28,342       8    5.9     7.7           47        0          0    0.0
    AA_INDEX             /AAA/oradata/xxxx/AA_INDEX01.DBF
            22,286       6    3.1     3.2          439        0          0    0.0
    AA_INDEX             /AAA/oradata/xxxx/AA_INDEX02.DBF
            21,290       6    3.4     3.3          299        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB01.DBF
                20       0   11.0     5.4            1        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB02.DBF
                11       0   17.3     5.5            1        0          0    0.0
    AA_LOB               /AAA/oradata/xxxx/AA_LOB03.DBF
                 5       0   16.0     6.2            1        0          0    0.0
    AA_WEB               /AAA/oradata/xxxx/AA_WEB01.DBF
            28,640       8    9.2    12.8        1,079        0          0    0.0
    AA_WEB               /AAA/oradata/xxxx/AA_WEB02.DBF
            28,718       8    9.0    12.8        1,121        0          0    0.0
    AA_WEB_IDX           /AAA/oradata/xxxx/AA_WEB_IDX01.DBF
             5,068       1    2.8     1.2            2        0          0    0.0
    AA_WEB_IDX           /AAA/oradata/xxxx/AA_WEB_IDX02.DBF
             6,407       2    2.9     1.1            4        0          0    0.0
    Buffer Pool Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Standard block size Pools  D: default,  K: keep,  R: recycle
    -> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
                                                                Free Writ     Buffer
         Number of Pool         Buffer     Physical    Physical Buff Comp       Busy
    P      Buffers Hit%           Gets        Reads      Writes Wait Wait      Waits
    D      190,848   71      6,220,953    1,793,255      16,556    0    0         94
    Instance Recovery Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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     8        155       955      5359     360000      5359
    E     0     9        311      1177      4572     360000      4572
    Buffer Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> 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            144    .1           17,892          1.97          3,571,363
    D            288    .2           35,784          1.62          2,936,281
    D            432    .3           53,676          1.57          2,850,391
    D            576    .4           71,568          1.44          2,616,052
    D            720    .5           89,460          1.33          2,414,217
    D            864    .6          107,352          1.15          2,091,986
    D          1,008    .7          125,244          1.04          1,882,876
    D          1,152    .8          143,136          1.02          1,857,287
    D          1,296    .8          161,028          1.02          1,844,981
    D          1,440    .9          178,920          1.01          1,830,107
    D          1,536   1.0          190,848          1.00          1,816,003
    D          1,584   1.0          196,812          0.98          1,785,023
    D          1,728   1.1          214,704          0.93          1,688,213
    D          1,872   1.2          232,596          0.89          1,613,261
    D          2,016   1.3          250,488          0.88          1,594,176
    D          2,160   1.4          268,380          0.87          1,584,933
    D          2,304   1.5          286,272          0.87          1,582,965
    D          2,448   1.6          304,164          0.86          1,569,802
    D          2,592   1.7          322,056          0.86          1,569,169
    D          2,736   1.8          339,948          0.86          1,568,758
    D          2,880   1.9          357,840          0.86          1,568,194
    PGA Aggr Summary  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
    PGA Cache Hit %   W/A MB Processed  Extra W/A MB Read/Written
               88.0              4,058                        552
    PGA Aggr Target Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> B: Begin snap   E: End snap (rows dentified with B or E contain data
       which is absolute i.e. not diffed over the interval)
    -> 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  %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        500        432       57.5        0.0     .0     .0     .0     25,600
    E        500        428       70.2        0.0     .0     .0     .0     25,600
    PGA Aggr Target Histogram  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Optimal Executions are purely in-memory operations
      Low     High
    Optimal Optimal    Total Execs  Optimal Execs 1-Pass Execs M-Pass Execs
         2K      4K         11,726         11,726            0            0
        64K    128K            256            256            0            0
       128K    256K            206            206            0            0
       256K    512K            583            583            0            0
       512K   1024K            363            363            0            0
         1M      2M            124            124            0            0
         2M      4M            107            107            0            0
         4M      8M             66             64            2            0
         8M     16M             49             35           14            0
        16M     32M             52             39           13            0
        32M     64M              3              2            1            0
        64M    128M              4              4            0            0
       128M    256M              2              2            0            0
    PGA Memory Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> 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
            63     0.1          4,098.7          2,609.3     61.0          0
           125     0.3          4,098.7          1,521.6     73.0          0
           250     0.5          4,098.7          1,354.7     75.0          0
           375     0.8          4,098.7          1,109.3     79.0          0
           500     1.0          4,098.7            373.4     92.0          0
           600     1.2          4,098.7             71.6     98.0          0
           700     1.4          4,098.7             41.6     99.0          0
           800     1.6          4,098.7             41.6     99.0          0
           900     1.8          4,098.7              0.0    100.0          0
         1,000     2.0          4,098.7              0.0    100.0          0
         1,500     3.0          4,098.7              0.0    100.0          0
         2,000     4.0          4,098.7              0.0    100.0          0
         3,000     6.0          4,098.7              0.0    100.0          0
         4,000     8.0          4,098.7              0.0    100.0          0
    Shared Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
    -> SP: Shared Pool     Est LC: Estimated Library Cache   Factr: Factor
    -> 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.
                                            Est LC Est LC  Est LC Est LC
        Shared    SP   Est LC                 Time   Time    Load   Load      Est LC
          Pool  Size     Size       Est LC   Saved  Saved    Time   Time         Mem
       Size(M) Factr      (M)      Mem Obj     (s)  Factr     (s)  Factr    Obj Hits
           224    .2      130        9,174     380    1.0      91    1.0     408,867
           352    .3      171       12,647     381    1.0      90    1.0     409,226
           480    .4      171       12,647     381    1.0      90    1.0     409,226
           608    .5      171       12,647     381    1.0      90    1.0     409,226
           736    .6      171       12,647     381    1.0      90    1.0     409,226
           864    .7      171       12,647     381    1.0      90    1.0     409,226
           992    .8      171       12,647     381    1.0      90    1.0     409,226
         1,120    .9      171       12,647     381    1.0      90    1.0     409,226
         1,248   1.0      171       12,647     381    1.0      90    1.0     409,226
         1,376   1.1      171       12,647     381    1.0      90    1.0     409,226
         1,504   1.2      171       12,647     381    1.0      90    1.0     409,226
         1,632   1.3      171       12,647     381    1.0      90    1.0     409,226
         1,760   1.4      171       12,647     381    1.0      90    1.0     409,226
         1,888   1.5      171       12,647     381    1.0      90    1.0     409,226
         2,016   1.6      171       12,647     381    1.0      90    1.0     409,226
         2,144   1.7      171       12,647     381    1.0      90    1.0     409,226
         2,272   1.8      171       12,647     381    1.0      90    1.0     409,226
         2,400   1.9      171       12,647     381    1.0      90    1.0     409,226
         2,528   2.0      171       12,647     381    1.0      90    1.0     409,226
    Java Pool Advisory  DB/Inst: xxxx/xxxx  Snap: 16599
                                            Est LC Est LC  Est LC Est LC
          Java    JP   Est LC                 Time   Time    Load   Load      Est LC
          Pool  Size     Size       Est LC   Saved  Saved    Time   Time         Mem
       Size(M) Factr      (M)      Mem Obj     (s)  Factr     (s)  Factr    Obj Hits
            32    .1        6          142       2    1.0      23    1.0         142
            64    .3        6          142       2    1.0      23    1.0         142
            96    .4        6          142       2    1.0      23    1.0         142
           128    .5        6          142       2    1.0      23    1.0         142
           160    .6        6          142       2    1.0      23    1.0         142
           192    .8        6          142       2    1.0      23    1.0         142
           224    .9        6          142       2    1.0      23    1.0         142
           256   1.0        6          142       2    1.0      23    1.0         142
           288   1.1        6          142       2    1.0      23    1.0         142
           320   1.3        6          142       2    1.0      23    1.0         142
           352   1.4        6          142       2    1.0      23    1.0         142
           384   1.5        6          142       2    1.0      23    1.0         142
           416   1.6        6          142       2    1.0      23    1.0         142
           448   1.8        6          142       2    1.0      23    1.0         142
           480   1.9        6          142       2    1.0      23    1.0         142
           512   2.0        6          142       2    1.0      23    1.0         142
    Buffer Wait Statistics  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by wait time desc, waits desc
    Class                    Waits Total Wait Time (s)  Avg Time (ms)
    data block                  66                   1             15
    undo block                  25                   0              0
    undo header                  3                   0              0
    Enqueue Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> Enqueue stats gathered prior to 10i should not be compared with 10i data
    -> ordered by Wait Time desc, Waits desc
    Enqueue Type (Request Reason)
        Requests    Succ Gets Failed Gets       Waits  Wt Time (s) Av Wt Time(ms)
    TX-Transaction (index contention)
               1            1           0           1            0          22.00
    Undo Segment Summary  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> 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   Snap OutOf    uS/uR/uU/
    TS#       Blocks           Trans  Len (s) Concurcy TooOld Space    eS/eR/eU
       1        5,497           6,716    2,708        4      0     0 0/0/0/0/0/0
    Undo Segment Stats  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> ordered by Time desc
                        Undo          Num Max Qry  Max Tx   Snap OutOf   uS/uR/uU/
    End Time          Blocks        Trans Len (s)   Concy TooOld Space   eS/eR/eU
    07-Jul 17:24          26          161   2,708       1      0     0 0/0/0/0/0/0
    07-Jul 17:14          27          143   2,108       2      0     0 0/0/0/0/0/0
    07-Jul 17:04          27          226   1,508       1      0     0 0/0/0/0/0/0
    07-Jul 16:54       1,565        1,734     204       4      0     0 0/0/0/0/0/0
    07-Jul 16:44       2,985        3,078     145       4      0     0 0/0/0/0/0/0
    07-Jul 16:34         867        1,374       0       4      0     0 0/0/0/0/0/0
    Latch Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> "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 Name                     Requests   Miss  /Miss    (s)     Requests   Miss
    Consistent RBA                    5,501    0.0             0            0
    FOB s.o list latch                  523    0.0             0            0
    In memory undo latch              4,267    0.1    1.0      0          728    1.2
    JOX SGA heap latch                   22    0.0             0            0
    JS queue state obj latch         25,992    0.0             0            0
    JS slv state obj latch              338    0.0             0            0
    KTF sga enqueue                       8    0.0             0        1,092    0.0
    KWQMN job cache list lat             12    0.0             0            0
    KWQP Prop Status                    415    0.0             0            0
    MQL Tracking Latch                    0                    0           72    0.0
    Memory Management Latch          18,075    0.0             0        1,207    0.0
    PL/SQL warning settings           1,607    0.0             0            0
    SQL memory manager latch              1    0.0             0        1,206    0.0
    SQL memory manager worka        127,457    0.0    0.0      0            0
    SWRF Alerted Metric Elem         13,029    0.0             0            0
    Shared B-Tree                     2,523    0.0             0            0
    active checkpoint queue           1,560    0.0             0            0
    active service list               6,791    0.0             0            0
    archive control                       8    0.0             0            0
    begin backup scn array               40    0.0             0            0
    cache buffer handles              4,560    0.0             0            0
    cache buffers chains         14,704,024    0.0    0.2      1    3,447,993    0.0
    cache buffers lru chain          62,381    0.3    0.4      2    3,121,799    0.4
    channel handle pool latc            759    0.0             0            0
    channel operations paren         14,505    0.0             0            0
    checkpoint queue latch           67,923    0.0             0       16,481    0.0
    child cursor hash table          36,508    0.0             0            0
    client/application info              16    0.0             0            0
    compile environment latc          1,063    0.0             0            0
    cursor bind value captur            125    0.0             0          384    1.0
    dictionary lookup                   107    0.0             0            0
    dml lock allocation              52,017    0.1    0.0      0            0
    dummy allocation                    839    0.4    0.0      0            0
    enqueue hash chains             186,347    0.0    0.1      0            0
    enqueues                        122,225    0.0    0.0      0            0
    event group latch                   230    0.0             0            0
    file cache latch                    153    0.0             0            0
    global KZLD latch for me            110    0.0             0            0
    hash table column usage             512    0.0             0      138,833    0.0
    hash table modification             125    0.0             0            0
    internal temp table obje              3    0.0             0            0
    job workq parent latch                0                    0          388    0.0
    job_queue_processes para            172    0.0             0            0
    ksuosstats global area              243    0.0             0            0
    ktm global data                     175    0.0             0            0
    kwqbsn:qsga                       2,523    0.0             0            0
    lgwr LWN SCN                      6,225    0.0             0            0
    library cache                 1,069,757    0.1    0.3      5        2,857  227.5
    library cache load lock          10,002    0.0             0            0
    library cache lock              277,733    0.0    0.0      0            0
    library cache lock alloc          4,092    0.0             0            0
    library cache pin               776,264    0.0    0.0      0            0
    library cache pin alloca          4,018    0.0             0            0
    list of block allocation          1,044    0.0             0            0
    loader state object free            460    0.0             0            0
    longop free list parent           1,357    0.0             0       19,547    0.0
    message pool operations             334    0.0             0            0
    messages                         37,979    0.0    0.9      0            0
    mostly latch-free SCN             6,237    0.0    0.0      0            0
    multiblock read objects         351,202    0.0    0.0      0            0
    Latch Activity  DB/Inst: xxxx/xxxx  Snaps: 16598-16599
    -> "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 requestscontd..............
    Edited by: LazyDBA10g on Jul 8, 2009 4:51 AM

  • Crystal Report/STRUTS: Error (404) when clicking on Control Buttons (Print, Export, Next, Previous, etc...) on report viewer

    Post Author: jwenny
    CA Forum: Deployment
    Need help badly!!!
    We are using the crystal reports plugin for STRUTS.
    We are able to display the report in the crystal report viewer.  However, when we click any control buttons (print, export, etc...), then we get:
    JSPG0036E:  Failed to find resource /Report-viewer.jsp
    We then moved Report-viewer.jsp to the WebContents folder (root directory) and got a different error when we clicked any control button:
    Error:  400 page not found
    Does anyone know how to solve this problem?  For instance, is there a setting or parameter that needs to be set?
    Greatly appreciate any help!

    HI,
    Whenever we print the viewer does an auto postback, I believe due to this some of the values are getting missed. Moreover we are referring to the viewer and reportdocument object, it seems. So can you try this simple code in an application to see if it helps:
    ReportDocument rdoc = new ReportDocument();
    rdoc.Load("C:\TASKECrystalReports\Intraday.rpt");
    rdoc.SetDatabaseLogon("uid","pwd");
    rdoc.SetParameterValues("parameter name","value");
    CrystalReportViewer.ReportSource = rdoc;
    Helps?
    Thanks.

  • Error "Multi-level error propagation carried out" when I run a report

    Hi All,
    When I run the report /SAPAPO/CDPS_REPT - Order and Resource Reporting with the below criteria I getting error "Multi-level error propagation carried out"
    Planning Version - Simulation Version XXX
    Evaluation Start - 05/03/2011
    Evaluation End - 12/31/2013
    Evaluation List - Extended Operation List
    I do not get error when I run the report with selection as Active version 000 and Evaluation List as Order List, Operation List.
    I have tried by ruuning Live cache consistancy check, but the issue is not fixed
    Please help me to resolve this issue
    Thanks & Regards,
    Rajkumar

    Hi Jack,
    Please do post the server log file here so that we can try and find a solution for the problem you are facing.
    I had a problem a while ago with the app server too. While trying to run an application, after a few times, it would give me an error message saying the Application Server cannot be started. I rebooted my machine and thankfully it worked again. Just try this too and see if it works.
    If it doesnt we can go through the server log and try to identify the cause of the problem.
    Cheers :-)

  • OIM 9.1.0.2 - Report issue

    Hi Gurus,
    IHAC who have reported that after running reconciliation archiving operation one of their reports stopped to properly work.
    The report is the Rogue Account by Resource. I guess the records for generating that report are in the RCX table.
    Before running archive, the customer was able to generate the Rogue Account by Resource report.
    After running archive, the customer was not able to see those records anymore (even though those records are in the RCX table). He is able to generate the report, but only new records.
    The customer realized that the procedure 'XL_SP_RogueAccountsByResource' runs a query. It seems that the query check for RCE table's data. But this table is clean because of Recon archive.
    Is that behavior correct? Should not the reports display all the records from the RCX table?
    I would appreciate any help.
    TiA,

    You forgot a colon. Try:
    jdbc:oracle:thin:@poc.sw.com:1521:orcl
    -Kevin

  • Statspack Report.

    OS - win2003 server
    DB - 9.2.0.5.0
    Can you have a look on Statspack Report and offer your valuable suggestions?
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance                                                                                                                                                             
      340547761 CHRYSLER            1 chrysler                                                                                                                                                             
    Instances in this Statspack schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       DB Id    Inst Num DB Name      Instance     Host
      340547761        1 CHRYSLER     chrysler     NOID2K36BGTP
                                                   B1
    Using  340547761 for database Id
    Using          1 for instance number
    Completed Snapshots
                               Snap                    Snap
    Instance     DB Name         Id   Snap Started    Level Comment
    chrysler     CHRYSLER         1 17 Jan 2008 10:05     5
                                  2 17 Jan 2008 10:09     5
                                  3 17 Jan 2008 10:16     5
                                  4 17 Jan 2008 10:48     5
                                  5 17 Jan 2008 11:02     5
                                  6 17 Jan 2008 11:12     5
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 4
    Begin Snapshot Id specified: 4
    Enter value for end_snap: 6
    End   Snapshot Id specified: 6
    PAR VERSN
    HOST_NAME                                                        DB Name
    Instance     BTIME
    NO  9.2.0.5.0
    NOID2K36BGTPB1                                                   CHRYSLER
    chrysler     20080117 10:48:11
    ETIME
    20080117 11:12:09
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is sp_4_6.  To use this name,
    press <return> to continue, otherwise enter an alternative.
    Enter value for report_name: Statspack Report
    Using the report name Statspack Report
    SP2-0333: Illegal spool file name: "Statspack Report" (bad character: ' ')
    STATSPACK report for
    DB Name         DB Id    Instance     Inst Num Release     Cluster Host
    CHRYSLER       340547761 chrysler            1 9.2.0.5.0   NO      NOID2K36BGTP
                                                                       B1
                Snap Id     Snap Time      Sessions Curs/Sess Comment
    Begin Snap:       4 17-Jan-08 10:48:11       22       6.5
      End Snap:       6 17-Jan-08 11:12:09       27       7.4
       Elapsed:               23.97 (mins)
    Cache Sizes (end)
    ~~~~~~~~~~~~~~~~~
                   Buffer Cache:       184M      Std Block Size:         8K
               Shared Pool Size:       904M          Log Buffer:       512K
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                      Redo size:             10,225.13          4,901,244.00
                  Logical reads:                700.13            335,593.67
                  Block changes:                 68.68             32,918.67
                 Physical reads:                 15.03              7,206.67
                Physical writes:                 14.41              6,906.00
                     User calls:                  1.22                584.00
                         Parses:                  0.73                349.33
                    Hard parses:                  0.03                 13.67
                          Sorts:                  0.40                193.00
                         Logons:                  0.01                  4.67
                       Executes:                  1.46                701.67
                   Transactions:                  0.00
      % Blocks changed per Read:    9.81    Recursive Call %:    91.60
    Rollback per transaction %:    0.00       Rows per Sort:  1016.53
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Buffer Nowait %:  100.00       Redo NoWait %:  100.00
                Buffer  Hit   %:   99.57    In-memory Sort %:   99.65
                Library Hit   %:  100.00        Soft Parse %:   96.09
             Execute to Parse %:   50.21         Latch Hit %:   99.98
    Parse CPU to Parse Elapsd %:   56.76     % Non-Parse CPU:   99.34
    Shared Pool Statistics        Begin   End
                 Memory Usage %:   53.83   53.90
        % SQL with executions>1:   84.54   84.53
      % Memory for SQL w/exec>1:   62.62   62.65
    Top 5 Timed Events
    ~~~~~~~~~~~~~~~~~~                                                     % Total
    Event                                               Waits    Time (s) Ela Time
    CPU time                                                           32    79.76
    direct path read                                      390           3     7.21
    db file scattered read                                275           2     3.78
    log file parallel write                               515           1     2.44
    db file sequential read                               365           1     2.07
    Wait Events for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> 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
    direct path read                      390          0          3      7    130.0
    db file scattered read                275          0          2      5     91.7
    log file parallel write               515        449          1      2    171.7
    db file sequential read               365          0          1      2    121.7
    control file parallel write           467          0          0      1    155.7
    control file sequential read          294          0          0      1     98.0
    db file parallel write                 35          0          0     10     11.7
    db file parallel read                   1          0          0    251      0.3
    LGWR wait for redo copy                19          1          0     12      6.3
    SQL*Net message from dblink            18          0          0      4      6.0
    latch free                             14          0          0      5      4.7
    log file sync                          14          0          0      1      4.7
    SQL*Net break/reset to clien           36          0          0      0     12.0
    log buffer space                       19          0          0      1      6.3
    SQL*Net more data to client           103          0          0      0     34.3
    direct path write                       8          0          0      1      2.7
    SQL*Net message to dblink              18          0          0      0      6.0
    SQL*Net message from client         1,606          0     11,104   6914    535.3
    wakeup time manager                    47         47      2,580  54895     15.7
    SQL*Net more data from clien           11          0          0     14      3.7
    SQL*Net message to client           1,611          0          0      0    537.0
    Background Wait Events for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> 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               515        449          1      2    171.7
    control file parallel write           467          0          0      1    155.7
    db file parallel write                 35          0          0     10     11.7
    control file sequential read          188          0          0      2     62.7
    LGWR wait for redo copy                19          1          0     12      6.3
    latch free                              4          0          0     17      1.3
    rdbms ipc message                   2,392      1,859      9,366   3916    797.3
    pmon timer                            487        487      2,651   5443    162.3
    smon timer                              4          4      2,307 ######      1.3
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> 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
            415,514            2      207,757.0   41.3     5.45      5.44 1116368370
    Module: SQL*Plus
    INSERT INTO STATS$SQLTEXT ( HASH_VALUE , TEXT_SUBSET , PIECE , S
    QL_TEXT , ADDRESS , COMMAND_TYPE , LAST_SNAP_ID ) SELECT ST1.HAS
    H_VALUE , SS.TEXT_SUBSET , ST1.PIECE , ST1.SQL_TEXT , ST1.ADDRES
    S , ST1.COMMAND_TYPE , SS.SNAP_ID FROM V$SQLTEXT ST1 , STATS$SQL
    SUMMARY SS WHERE SS.SNAPID = :B3 AND SS.DBID = :B2 AND SS.INST
            223,045            2      111,522.5   22.2     1.09      1.38 3446574552
    Module: SQL Developer
    select column_name from  all_updatable_columns where TABLE_NAME
    = :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
            208,951            1      208,951.0   20.8    10.42     14.21 1240367379
    Module: SQL*Plus
    BEGIN statspack.snap ; END;
            208,539            1      208,539.0   20.7    10.47     14.11 2522684317
    Module: sqlplus.exe
    BEGIN statspack.snap; END;
             81,198            1       81,198.0    8.1     0.73      0.73  401938015
    Module: Oracle SQL Developer
    SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
    s.all_synonyms s, sys.all_objects o WHERE s.table_name = o.objec
    t_name AND s.table_owner = o.owner AND object_type IN ('PACKAGE'
    , 'PROCEDURE', 'SEQUENCE', 'TABLE', 'TYPE', 'VIEW', 'FUNCTION' )
    ORDER BY s.owner, s.synonym_name
             58,656           10        5,865.6    5.8     3.34      3.33 3247664323
    insert into source$(obj#,line,source) values (:1,:2,:3)
             57,404            2       28,702.0    5.7     0.28      0.30 3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
             51,583            1       51,583.0    5.1     0.77      0.75 2077069258
    Module: Oracle SQL Developer
    SELECT owner, object_name, object_type FROM sys.all_objects WHER
    E object_type IN ('PACKAGE', 'PROCEDURE', 'SEQUENCE', 'TABLE', '
    TYPE', 'VIEW', 'FUNCTION' ) ORDER BY owner, object_name
             41,310            2       20,655.0    4.1     0.27      0.29 1607513402
    Module: SQL Developer
    SELECT OWNER,TABLE_NAME FROM all_external_tables
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> 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
             20,776            1       20,776.0    2.1     0.20      0.21 1305228895
    Module: SQL*Plus
    select owner , object_name , object_type from dba_objects where
    object_type = 'TABLE'
             15,709           10        1,570.9    1.6     0.97      1.07 3098922061
    delete from source$ where obj#=:1
             11,854            1       11,854.0    1.2     0.11      0.21 4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
              7,493            1        7,493.0    0.7     0.17      1.87 1279266739
    Module: SQL Developer
    select count(*) from IMP_TEMPSS_PARTSLANG
              3,904           47           83.1    0.4     0.00      0.14  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              3,467           14          247.6    0.3     0.50      0.53 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              1,694            4          423.5    0.2     0.08      0.08 1547382267
    Module: SQL Developer
    select object_type,owner,object_name,rank from (    select objec
    t_type,owner,object_name,0 rank    from all_objects    where obj
    ect_name = :NAME    and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
    ext('USERENV', 'CURRENT_SCHEMA')))    and object_type not in ( '
    SYNONYM' )     union all    select ao.object_type,ao.owner,ao.ob
              1,317          188            7.0    0.1     0.00      0.03 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
                892            1          892.0    0.1     0.02      0.01 3021556466
    Module: SQL Developer
    SELECT OBJECT_NAME, OBJECT_ID,             DECODE(STATUS, 'INVAL
    ID', 'TRUE', 'FALSE') INVALID,              'TRUE' runnable,
    SQL ordered by Gets for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> 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
             NVL( b.HAS_BODY, 'FALSE') HAS_BODY FROM SYS.ALL_OBJECTS
    a,      (SELECT 'TRUE' HAS_BODY, object_name tmp_name FROM SYS.
    ALL_OBJECTS WHERE OWNER = :SCHEMA AND OBJECT_TYPE = 'PACKAGE BOD
                890            2          445.0    0.1     0.09      0.10 1201167771
    Module: SQL Developer
    SELECT T.TABLE_NAME,     'TABLE' OBJECT_TYPE ,     (SELECT O.OBJ
    ECT_ID        FROM ALL_OBJECTS O        WHERE O.OWNER = T.OWNER
           AND O.OBJECT_TYPE = 'TABLE'        AND O.OBJECT_NAME = T.
    TABLE_NAME) OBJECT_ID FROM   ALL_TABLES T WHERE  T.OWNER = :1 AN
    D    T.TABLE_NAME LIKE :2 AND    T.IOT_NAME IS NULL AND    T.NES
                779           10           77.9    0.1     0.02      0.05 3067006941
    delete from dependency$ where d_obj#=:1
                748          146            5.1    0.1     0.05      0.05 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)
                632            2          316.0    0.1    10.53     17.92 4043595143
    Module: SQL*Plus
    INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
    , TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
             17,317            2        8,658.5   80.1    10.53     17.92 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
              8,659            1        8,659.0   40.1    10.42     14.21 1240367379
    Module: SQL*Plus
    BEGIN statspack.snap ; END;
              8,658            1        8,658.0   40.0    10.47     14.11 2522684317
    Module: sqlplus.exe
    BEGIN statspack.snap; END;
              3,880            1        3,880.0   17.9     0.17      1.87 1279266739
    Module: SQL Developer
    select count(*) from IMP_TEMPSS_PARTSLANG
                299            2          149.5    1.4     1.09      1.38 3446574552
    Module: SQL Developer
    select column_name from  all_updatable_columns where TABLE_NAME
    = :OBJECT_NAME and owner = :OBJECT_OWNER and updatable = 'YES'
                 12            5            2.4    0.1     0.05      0.13 3444463493
    Module: SQL Developer
    SELECT TEXT FROM SYS.ALL_SOURCE  WHERE TYPE = :TYPE AND OWNER =
    :OWNER AND NAME = :NAME  ORDER BY LINE
                 12            4            3.0    0.1     0.03      0.13 3833423502
    Module: SQL Developer
    SELECT TEXT FROM SYS.ALL_SOURCE WHERE TYPE = :1 AND OWNER = :2 A
    ND NAME = :3 ORDER BY LINE
                  9            1            9.0    0.0     0.00      0.07 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,
                  8            2            4.0    0.0     0.28      0.30 3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
                  7            5            1.4    0.0     0.02      0.06 3508476732
    insert into idl_ub1$(obj#,part,version,piece#,length,piece) valu
    es(:1,:2,:3,:4,:5,:6)
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
                  5            8            0.6    0.0     0.00      0.03 1008661772
    update idl_ub1$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
    4 and part=:5 and piece#=:6 and version=:7
                  5            1            5.0    0.0     0.11      0.21 4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
                  2            3            0.7    0.0     0.00      0.01  761440199
    insert into idl_ub2$(obj#,part,version,piece#,length,piece) valu
    es(:1,:2,:3,:4,:5,:6)
                  1            3            0.3    0.0     0.00      0.01 1249304535
    update idl_ub2$ set piece#=:1 ,length=:2 , piece=:3 where obj#=:
    4 and part=:5 and piece#=:6 and version=:7
                  1            2            0.5    0.0     0.27      0.29 1607513402
    Module: SQL Developer
    SELECT OWNER,TABLE_NAME FROM all_external_tables
                  1           10            0.1    0.0     0.03      0.02 1825174980
    delete from access$ where d_obj#=:1
                  1           10            0.1    0.0     0.02      0.05 3067006941
    delete from dependency$ where d_obj#=:1
                  1           10            0.1    0.0     3.34      3.33 3247664323
    insert into source$(obj#,line,source) values (:1,:2,:3)
                  1          146            0.0    0.0     0.05      0.05 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)
                  0            2            0.0    0.0     0.00      0.00   10821553
    Module: SQL Developer
    ALTER SESSION SET TIME_ZONE = '05:30'
                  0            3            0.0    0.0     0.00      0.01   66972507
    Module: SQL Developer
    SELECT TO_DATE(TIMESTAMP, 'YYYY-MM-DD:HH24:MI:SS') FROM SYS.ALL_
    OBJECTS WHERE OWNER = :1 AND OBJECT_NAME = :2 AND OBJECT_TYPE =
    :3
                  0            2            0.0    0.0     0.02      0.00   80089551
    Module: SQL Developer
    SELECT LAST_DDL_TIME FROM SYS.ALL_OBJECTS WHERE OWNER = :1 AND O
    BJECT_NAME = :2 AND OBJECT_TYPE = :3
                  0            1            0.0    0.0     0.00      0.00  120978412
    select col#,intcol#,ntab# from ntab$ where obj#=:1 order by intc
    SQL ordered by Reads for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Disk Reads Threshold:    1000
                                                         CPU      Elapsd
    Physical Reads  Executions  Reads per Exec %Total Time (s)  Time (s) Hash Value
    ol# asc
                  0            5            0.0    0.0     0.00      0.00  130926350
    select count(*) from sys.job$ where next_date < :1 and (field1 =
    :2 or (field1 = 0 and 'Y' = :3))
                  0            5            0.0    0.0     0.00      0.00  155765854
    select count(*),min(piece#),max(piece#) from idl_ub1$ where obj#
    =:1 and part=:2 and version=:3
                  0            1            0.0    0.0     0.00      0.00  162044583
    select col#,intcol#,charsetid,charsetform from col$ where obj#=:
    1 order by intcol# asc
                  0            2            0.0    0.0     0.00      0.00  179957765
    select count(*),min(piece#),max(piece#) from idl_char$ where obj
    #=:1 and part=:2 and version=:3
                  0            3            0.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#
                  0           10            0.0    0.0     0.00      0.00  292617943
    delete from vtable$ where obj#=:1
                  0            1            0.0    0.0     0.73      0.73  401938015
    Module: Oracle SQL Developer
    SELECT s.owner, s.synonym_name, 'SYNONYM' as object_type FROM sy
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
             280               0              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
             280             280              1.0       0.00        0.00 1693927332
    select count(*) from sys.job$ where (next_date > sysdate) and (n
    ext_date < (sysdate+5/86400))
             188             188              1.0       0.00        0.00 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
             146             146              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)
              76              76              1.0       0.00        0.00 2997854589
    insert into access$(d_obj#,order#,columns,types) values (:1,:2,:
    3,:4)
              47               0              0.0       0.00        0.00  633914867
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYS.AQ_EVENT_TABLE   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47             188              4.0       0.00        0.00  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              47               0              0.0       0.00        0.00  870116171
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQERROR   where tim
    e_manager_info <= :1 and state != :2   for update skip locked
              47               0              0.0       0.00        0.00 1153132087
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQCALL   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47               0              0.0       0.00        0.00 3920324236
    select q_name, state, delay, expiration, rowid, msgid,   dequeue
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
    msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corri
    d,   time_manager_info, sender_name, sender_address, sender_prot
    ocol   from SYS.AQ_SRVNTFN_TABLE   where time_manager_info <= :1
              30              30              1.0       0.00        0.00 2201541053
    insert into error$(obj#,sequence#,line,position#,textlength,text
    ) values (:1,:2,:3,:4,:5,:6)
              26             115              4.4       0.00        0.00 1749333492
    select position#,sequence#,level#,argument,type#,charsetid,chars
    etform,properties,nvl(length, 0), nvl(precision#, 0),nvl(scale,
    0),nvl(radix, 0), type_owner,type_name,type_subname,type_linknam
    e,pls_type from argument$ where obj#=:1 and procedure#=:2 order
    by sequence# desc
              21               0              0.0       0.00        0.00 1683508596
    delete from idl_sb4$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 1894783783
    delete from idl_char$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 2479503691
    delete from idl_ub1$ where obj#=:1 and part=:2
              21               0              0.0       0.00        0.00 3926364396
    delete from idl_ub2$ where obj#=:1 and part=:2
              20              20              1.0       0.00        0.00 3401267293
    insert into settings$(obj#, param, value) values (:1, :2, :3)
              14              62              4.4       0.00        0.00 1356713530
    select privilege#,level from sysauth$ connect by grantee#=prior
    privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
    1) and privilege#>0
              14              14              1.0       0.04        0.04 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              13              13              1.0       0.00        0.00 3468666020
    select text from view$ where rowid=:1
              12              12              1.0       0.00        0.00  825987371
    Module: SQL Developer
    declare     l_line varchar2(255);     l_done number;     l_buffe
    r long; begin   loop     exit when length(l_buffer)+255 > :maxby
    tes OR l_done = 1;     dbms_output.get_line( l_line, l_done );
       l_buffer := l_buffer || l_line || chr(10);   end loop;  :done
    := l_done;  :buffer := l_buffer; end;
              12               0              0.0       0.00        0.00 2222871512
    Module: SQL Developer
    SQL ordered by Executions for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Executions Threshold:     100
                                                    CPU per    Elap per
    Executions   Rows Processed   Rows per Exec    Exec (s)   Exec (s)  Hash Value
    SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
    =:2
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
              47           47     4.48  633914867
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYS.AQ_EVENT_TABLE   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47           47     4.48  815501214
    select t.schema, t.name, t.flags, q.name from system.aq$_queue_t
    ables t, sys.aq$_queue_table_affinities aft,      system.aq$_que
    ues q where aft.table_objno = t.objno and aft.owner_instance = :
    1 and        q.table_objno = t.objno and q.usage = 0 and       b
    itand(t.flags, 4+16+32+64+128+256) = 0 for update of t.name, aft
              47           47     4.48  870116171
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQERROR   where tim
    e_manager_info <= :1 and state != :2   for update skip locked
              47           47     4.48 1153132087
    select q_name, state, delay, expiration, rowid, msgid,    dequeu
    e_msgid, chain_no, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corr
    id,     time_manager_info   from SYSTEM.DEF$_AQCALL   where time
    managerinfo <= :1 and state != :2   for update skip locked
              47          188     4.48 3371479671
    select t.name,  (select owner_instance from sys.aq$_queue_table_
    affinities   where table_objno = t.objno)  from system.aq$_queue
    _tables t where t.name = :1 and t.schema = :2 for update skip lo
    cked
              47           47     4.48 3920324236
    select q_name, state, delay, expiration, rowid, msgid,   dequeue
    msgid, chainno, local_order_no, enq_time, enq_tid, step_no,
    priority, exception_qschema, exception_queue, retry_count, corri
    d,   time_manager_info, sender_name, sender_address, sender_prot
    ocol   from SYS.AQ_SRVNTFN_TABLE   where time_manager_info <= :1
              21           21     2.00 1683508596
    delete from idl_sb4$ where obj#=:1 and part=:2
              21           21     2.00 1894783783
    delete from idl_char$ where obj#=:1 and part=:2
              21           21     2.00 2479503691
    delete from idl_ub1$ where obj#=:1 and part=:2
              21           21     2.00 3926364396
    delete from idl_ub2$ where obj#=:1 and part=:2
              14           14     1.34 1356713530
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
    select privilege#,level from sysauth$ connect by grantee#=prior
    privilege# and privilege#>0 start with (grantee#=:1 or grantee#=
    1) and privilege#>0
              14           14     1.34 1554250272
    Module: SQL Developer
    select count(1) from all_objects where owner <> 'PUBLIC' and  ob
    ject_name in (:S0)
              13           13     1.24 3468666020
    select text from view$ where rowid=:1
              12           12     1.15  825987371
    Module: SQL Developer
    declare     l_line varchar2(255);     l_done number;     l_buffe
    r long; begin   loop     exit when length(l_buffer)+255 > :maxby
    tes OR l_done = 1;     dbms_output.get_line( l_line, l_done );
       l_buffer := l_buffer || l_line || chr(10);   end loop;  :done
    := l_done;  :buffer := l_buffer; end;
              12           12     1.15 2222871512
    Module: SQL Developer
    SELECT LINE,POSITION,TEXT FROM USER_ERRORS WHERE TYPE=:1AND NAME
    =:2
              11           11     1.05  701589132
    Module: SQL Developer
    BEGIN       /* NOP UNLESS A TABLE OBJECT */       IF dictionary_
    obj_type = 'TABLE' AND sys.dbms_cdc_publish.active > 0       THE
    N         sys.dbms_cdc_publish.change_table_trigger(dictionary_o
    bj_owner,dictionary_obj_name,sysevent);       END IF;       END;
              11           11     1.05 4144490151
    delete from error$ where obj#=:1
              11           11     1.05 4151580176
    update obj$ set obj#=:6,type#=:7,ctime=:8,mtime=:9,stime=:10,sta
    tus=:11,dataobj#=:13,flags=:14,oid$=:15,spare1=:16, spare2=:17 w
    here owner#=:1 and name=:2 and namespace=:3 and(remoteowner=:4 o
    r remoteowner is null and :4 is null)and(linkname=:5 or linkname
    is null and :5 is null)and(subname=:12 or subname is null and :
              10           10     0.95  292617943
    delete from vtable$ where obj#=:1
              10           10     0.95  412513799
    select o.owner#, u.name,        o.name,            o.namespace,
            o.obj#,   d.d_timestamp, nvl(d.property,0), o.type#, o.s
    ubname  from dependency$ d, obj$ o, user$ u  where d.p_obj#=:1
    and   (d.p_timestamp=:2 or d.property=2)  and   d.d_obj#=o.obj#
    and   o.owner#=u.user#  and decode(:3,0,0,o.type#)=:3
              10           10     0.95 1077743770
    SQL ordered by Parse Calls for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Parse Calls Threshold:      1000
                               % Total
    Parse Calls  Executions   Parses  Hash Value
    delete from argument$ where obj#=:1
    SQL ordered by Sharable Memory for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Sharable Memory Threshold:   1048576
    Sharable Mem (b)  Executions  % Total  Hash Value
           3,898,908            2     0.4   3259503395
    Module: SQL Developer
    select * from (SELECT OBJECT_NAME, OBJECT_ID ,'' short_name,
    decode(( SELECT count (1) FROM SYS.ALL_TAB_PARTITIONS WHERE TAB
    LE_OWNER =owner  AND TABLE_NAME = object_name ),0,'FALSE','TRUE'
    )  partition,                                 OWNER OBJECT_OWNER
                   FROM SYS.ALL_OBJECTS O               WHERE O.OWNE
           2,519,473            1     0.3    680078008
    Module: SQL Developer
    SELECT O.OBJECT_NAME, O.OBJECT_TYPE, O.OBJECT_ID FROM   ALL_OBJE
    CTS O WHERE  O.OWNER = :1 AND    O.OBJECT_NAME LIKE :2 AND    O.
    OBJECT_TYPE IN (:3) AND    O.SUBOBJECT_NAME IS NULL AND    O.SEC
    ONDARY = 'N' AND    ( O.OBJECT_TYPE <> 'INDEX' OR         (
          EXISTS (SELECT 1                   FROM   ALL_INDEXES I
           1,882,420            1     0.2   4208944292
    Module: SQL Developer
    with pri_cols as ( SELECT cols.column_name column_name, cols.pos
    ition column_position              FROM all_constraints cons, al
    l_cons_columns cols            WHERE cons.constraint_type = 'P'
               AND cons.constraint_name = cols.constraint_name
          AND cons.owner = cols.owner            and cols.table_name
           1,687,994            4     0.2   1547382267
    Module: SQL Developer
    select object_type,owner,object_name,rank from (    select objec
    t_type,owner,object_name,0 rank    from all_objects    where obj
    ect_name = :NAME    and UPPER(owner) = nvl(:OWNER,UPPER(sys_cont
    ext('USERENV', 'CURRENT_SCHEMA')))    and object_type not in ( '
    SYNONYM' )     union all    select ao.object_type,ao.owner,ao.ob
           1,406,016            2     0.1   2033073833
    Module: SQL Developer
    select parameter,value from nls_session_parameters  union all SE
    LECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL union all S
    ELECT parameter, value FROM nls_database_parameters WHERE parame
    ter='NLS_CHARACTERSET'
    SQL ordered by Version Count for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    -> End Version Count Threshold:        20
    Version
       Count  Executions   Hash Value
          53            2   2033073833
    Module: SQL Developer
    select parameter,value from nls_session_parameters  union all SE
    LECT 'DB_TIMEZONE' name, DBTIMEZONE  value FROM DUAL union all S
    ELECT parameter, value FROM nls_database_parameters WHERE parame
    ter='NLS_CHARACTERSET'
    Instance Activity Stats for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    Statistic                                      Total     per Second    per Trans
    CPU used by this session                       3,185            2.2      1,061.7
    CPU used when call started                     3,185            2.2      1,061.7
    CR blocks created                                 48            0.0         16.0
    Cached Commit SCN referenced                       0            0.0          0.0
    Commit SCN cached                                  0            0.0          0.0
    DBWR buffers scanned                               0            0.0          0.0
    DBWR checkpoint buffers written                   22            0.0          7.3
    DBWR checkpoints                                   0            0.0          0.0
    DBWR free buffers found                            0            0.0          0.0
    DBWR lru scans                                     0            0.0          0.0
    DBWR make free requests                            0            0.0          0.0
    DBWR revisited being-written buff                  0            0.0          0.0
    DBWR summed scan depth                             0            0.0          0.0
    DBWR transaction table writes                      6            0.0          2.0
    DBWR undo block writes                            12            0.0          4.0
    SQL*Net roundtrips to/from client              1,570            1.1        523.3
    SQL*Net roundtrips to/from dblink                 18            0.0          6.0
    active txn count during cleanout                 188            0.1         62.7
    background checkpoints completed                   0            0.0          0.0
    background checkpoints started                     0            0.0          0.0
    background timeouts                            1,682            1.2        560.7
    branch node splits                                 0            0.0          0.0
    buffer is not pinned count                   436,985          303.9    145,661.7
    buffer is pinned count                       948,328          659.5    316,109.3
    bytes received via SQL*Net from c            803,800          559.0    267,933.3
    bytes received via SQL*Net from d              6,405            4.5      2,135.0
    bytes sent via SQL*Net to client             831,677          578.4    277,225.7
    bytes sent via SQL*Net to dblink               3,735            2.6      1,245.0
    calls to get snapshot scn: kcmgss              7,027            4.9      2,342.3
    calls to kcmgas                                  763            0.5        254.3
    calls to kcmgcs                                  208            0.1         69.3
    change write time                                375            0.3        125.0
    cleanout - number of ktugct calls              3,728            2.6      1,242.7
    cleanouts and rollbacks - consist                  0            0.0          0.0
    cleanouts only - consistent read               3,527            2.5      1,175.7
    cluster key scan block gets                   27,451           19.1      9,150.3
    cluster key scans                             12,274            8.5      4,091.3
    commit cleanout failures: block l                  0            0.0          0.0
    commit cleanout failures: buffer                   0            0.0          0.0
    commit cleanout failures: callbac                  2            0.0          0.7
    commit cleanout failures: cannot                   0            0.0          0.0
    commit cleanouts                               1,219            0.9        406.3
    commit cleanouts successfully com              1,217            0.9        405.7
    commit txn count during cleanout               3,574            2.5      1,191.3
    consistent changes                                95            0.1         31.7
    consistent gets                              926,553          644.3    308,851.0
    consistent gets - examination                304,799          212.0    101,599.7
    current blocks converted for CR                    0            0.0          0.0
    cursor authentications                            13            0.0          4.3
    data blocks consistent reads - un                 95            0.1         31.7
    db block changes                              98,756           68.7     32,918.7
    db block gets                                 80,228           55.8     26,742.7
    deferred (CURRENT) block cleanout                613            0.4        204.3
    dirty buffers inspected                        3,379            2.4      1,126.3
    enqueue conversions                               90            0.1         30.0
    enqueue releases                               2,288            1.6        762.7
    Instance Activity Stats for DB: CHRYSLER  Instance: chrysler  Snaps: 4 -6
    Statistic                                      Total     per Second    per Trans
    enqueue requests                               2,290            1.6        763.3
    enqueue timeouts                                   0            0.0          0.0
    enqueue waits                                      0            0.0          0.0
    execute count                                  2,105            1.5        701.7
    free buffer inspected                          3,379            2.4      1,126.3
    free buffer requested                          4,937            3.4      1,645.7
    hot buffers moved to head of LRU                 243            0.2         81.0
    immediate (CR) block cleanout app              3,527            2.5      1,175.7
    immediate (CURRENT) block cleanou                240            0.2         80.0
    index fast full scans (full)                       0            0.0          0.0
    index fetch by key                           248,987          173.2     82,995.7
    index scans kdiixs1                          457,728          318.3    152,576.0
    leaf node 90-10 splits                             1            0.0          0.3
    leaf node splits                                  36            0.0         12.0
    logons cumulative                                 14            0.0          4.7
    messages received                                553            0.4        184.3
    messages sent                                    553            0.4        184.3
    no buffer to keep pinned count                     0            0.0          0.0
    no work - consistent read gets               483,400          336.2    161,133.3
    opened cursors cumulative                        806            0.6        268.7
    parse count (failures)                            14            0.0          4.7
    parse count (hard)                                41            0.0         13.7
    parse count (total)                            1,048            0.7        349.3
    parse time cpu                                    21            0.0          7.0
    parse time elapsed                                37            0.0         12.3
    physical reads                                21,620           15.0      7,206.7
    physical reads direct                         17,317           12.0      5,772.3
    physical writes                               20,718           14.4      6,906.0
    physical writes direct                        17,317           12.0      5,772.3
    physical writes non checkpoint                20,698           14.4      6,899.3
    pinned buffers inspected                           0            0.0          0.0
    prefetched blocks                              3,662            2.6      1,220.7
    prefetched blocks aged out before                  0            0.0          0.0
    process last non-idle time            16,807,669,922   11,688,226.7 ############
    recovery blocks read                               0            0.0          0.0
    recursive calls                               19,103           13.3      6,367.7
    recursive cpu usage                            2,568            1.8        856.0
    redo blocks written                           29,780           20.7      9,926.7
    redo buffer allocation retries                    19            0.0          6.3
    redo entries                                  51,190           35.6     17,063.3
    redo log space requests                            0            0.0          0.0
    redo log space wait time                           0            0.0          0.0
    redo ordering marks                               17            0.0          5.7
    redo size                   

    I know, I must apply the latest patch to make it 9.2.0.8.0. coming back to your question, I am actually new in this company, don't know much about their nature of database. their database appears to run prety slow. specially, when they perfrom bulk DML activity. I've already suggested them to disable the indexes
    and drop the constraints, but that didn't seem to work eighter. I though, you guys would able to offer something , which would make sence in order to kill the ongoing problem. Anyways, thanks for the inputs
    hare krishna
    Alok

  • Want to have own selection screen  in HR-ABAP report using LDB

    Hi experts,
            I am working on HR-ABAP report using LDB pnp and infotypes..But, here we get the built in selection criterion..but I want my own selection screen to be displayed..whats the solution for this??? Is it possible to create my own selection screen instead of default one..and how???
    Please help me..its very urgent..

    Hi,
    chk this out:
    Create Report Categories                                                                               
    In this step, you define the report categories and determine the layout
       of the standard selection screen for these report categories. You can 
       create report categories for programs or queries that are based on the
       PNP or PNPCE logical databases.                                                                               
    The definition of report categories is divided into two sections:                                                                               
    o   In the Change Report Category view, you define general attributes 
           such as sort order, input fields for date, and so on.                                                                               
    o   In the Change Selection Criteria view, you define which selection 
           fields of the logical database should be avaliable on the selection
           screen.                                                                               
    Example                                                                               
    You want to set up your system so that your employees can only start  
       evaluation reports for Payroll if they use a payroll area. Within a   
       payroll area, you should be able to select according to personnel     
       number. Additional selection criteria should not be possible and you  
       should not be allowed to enter a sort sequence.                       
    Standard settings                                                                               
    The standard system already contains report categories. You can find the 
    attributes of the report categories in the table.                                                                               
    Note the following five report categories in particular:                                                                               
    o   Report category ' ' is the SAP default report category for     
        programs that are based on the PNP logical database.                                                                               
    o   Report category PNPCE is the SAP default category for programs that  
        are based on the PNPCE logical database.                                                                               
    o   Report category '00000000' is the customer-specific default category 
        for programs that are based on the PNP logical database.                                                                               
    o   Report category '0PNPCE' is the customer-specific default category   
        for programs that are based on the PNPCE logical database.                                                                               
    o   Report category __X2001 is the default category for Queries  that    
        are based on an InfoSet of the PNP LDB.                                                                               
    o   Report category QUEPNPCE is the default category for queries that    
        are based on an InfoSet of the PNPCE LDB.                                                                               
    The default report categories are used when a report is called if    
        the report has not been assigned a report category.                  
    Parameters and Options for Report Categories of the LDB PNP and PNPCE  
    Parameters and Options in Screen Area General Data                     
       If you activate this parameter, you can only enter data on the data
       selection period if you use reports that have been assigned. The   
       same date entries are then used for the person selection as for the
       date selection.                                                                               
    o   Matchcode allowed                                                  
       If you activate this parameter, you have use of a Matchcode        
       pushbutton (search help) if you use reports that have been assigned.
       This pushbutton enables you to perform the person selection.                                                                               
    o   Sort allowed                                                       
       If you activate this parameter, you have use of a Sort pushbutton if
       you use report that have been assigned. This pushbutton enables you
       to define a sort order before you execute the report.                                                                               
    o   Organizational structure allowed                                   
       If you activate this parameter, you have use of an Org.Structure   
       pushbutton if you use reports that have been assigned. This        
       pushbutton enables you to perform the person selection.            
       Note:                                                              
       For more information about these options, see the online           
       documentation under this path:                                     
       SAP Library -> Human Resources -> Reporting in Human Resources     
       Management -> Standard HR Reports -> Report Selection Screen in    
       Human Resources Management.                                                                               
    Parameters and Options in Screen Areas Data Selection Period/Person    
    Selection Period/Payroll Area/Period/Year                                                                               
    o   Options for data selection period and person selection period (key 
        date and so on)                                                    
        Here you define which options for date and person selection are    
        available for reports that have been assigned.                                                                               
    o   Options for payroll area/period/year                               
        Here you define which options for selection using payroll          
        area/period/year are available for reports that have been assigned.                                                                               
    Parameters and Options in Screen Area Selection View                                                                               
    o   Type/Name                                                          
        This parameter enables you to use selection views to define report 
        categories. You use the selection view selected here to determine  
        which fields are available in the Dynamic Selectionsy.                                                                               
    Note:                                                              
        You create selection views for the PNP and PNPCE logical databases 
        in the Object Navigator (SE80):                                    
        1. Start the Object Navigator (SE80)                               
        2. Choose Workbench -> Edit Object.                                
        3. Choose the More... tab page and the Selection view on this tab  
        page.                                                              
        4. Choose Create.                                                  
        5. In the Create Selection View dialog box, choose the For any     
        tables option.                                                     
        6. In the Name of view field, enter a name for your selection view.
        7. In the Tables dialog box, enter the name of the table from which
        you want to use fields.                                            
        Note:                                                              
        When you enter the table name, observe the naming convention in    
        Personnel Administration:                                          
        Infotype number: nnnn -> table name: PAnnnn                        
        8. Choose Continue.                                                
        9. In the Functional groups area, define functional groups by      
        assigning a name and a number.                                     
        10. Assign fields from the selected tables to the functional groups
        by entering the number of the desired functional group in front of 
        each field.                                                        
        11. Save your entries.                                                                               
    For more information about adjusting the dynamic selections using 
    your own selection views, see the online documentation under the  
    following menu path:                                              
    SAP Library -> Human Resources -> Reporting in Human Resources    
    Management -> HR Standard Reports -> Report Selection Screen in   
    Human Resources Management -> Enhancing the Selection Screen -    
    Dynamic Selections.                                                                               
    If you do not want to offer dynamic selections, make the following
    settings:                                                                               
    -   LDB PNP: In the Selection view field, enter PNP_NO_FREE_SEL.  
    -   LDB PNPCE: Leave the Selection view field empty.                                                                               
    Parameters and Options in Screen Area Data Selection Period/Person   
    Selection Period/Payroll Area/Period/Year                                                                               
    o   Available input parameters, date or period entry (today, key date,
       all, and so on), and standard value.                             
       Using the Standard value option, you define which of the selected
       options is shown.                                                                               
    Parameters and Options in Screen Area CE Selection Fields                                                                               
    o   CE selection fields (external person ID, grouping reason, grouping
       value)                                                           
       Using the options in this area, you define whether the external  
       person Id, grouping reason, or grouping value are available on the
       selection screen.                                                
       Note:                                                            
       These parameters are only relevant for you if you implement      
       Concurrent Employment (see also note 517071).                                                                               
    Parameters and Options in Screen Area Selection view                                                                               
    o   Dynamic selections as dialog box                                  
        If this switch is set, you can call the dynamic selections as a   
        dialog box.                                                                               
    o   Dynamic selections active                                         
        If this switch is set, the dynamic selections of the logical      
        database are active at the start of the report.                                                                               
    Note that the following combinations are possible for the last two
        options mentioned:                                                                               
    Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/inactive         
        Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/active           
        Dyn.Sel. as dialog box/Dyn.Sel. active: active/inactive                                                                               
    Activities                                                                               
    1.  Choose Edit -> New entries.                                                                               
    2.  Enter an abbreviation and a long text for the report category.         
        The customer name range for report categories is 0-9.                                                                               
    3.  Select the For the PNPCE logical database checkbox, if you want to     
        create a report category for a program or for queries of the PNPCE     
        logical database.                                                                               
    4.  In the General Data screen area, choose the desired options.           
        If you want to use selection IDs, you must have first created and      
        grouped selection Ids. The IMG path to do this is given in the         
        parameter description section.                                                                               
    5.  In the Data selection period/person selection period or Selection      
        period screen area, choose the desired options.                                                                               
    6.  In the Selection view screen area, choose the desired options.                                                                               
    7.  In the CE selection fields screen area, choose the desired (only       
        possible for report categories of the LDB PNPCE).                                                                               
    8.  Save your entries.                                                                               
    9.  Choose the subactivity Permitted selection criteria.                                                                               
    10. Choose Edit -> New entries.                                                                               
    11. In the Select option field, use the input help to select each field    
        that should be available on the selection screen.                                                                               
    12. Select the checkbox in the 1.page column, if you want this selection   
        field to be available directly when you call the selection screen.                                                                               
    Further notes                                                                               
    13. If you want to copy entries, you still have to enter the selection     
        parameters again in the subsequent screen.                                                                               
    o   If you create the report category '000000000', a selection screen is   
        generated according to report category '00000000'for all reports for   
        which a report category has not explicitly been assigned.                                                                               
    Assign Report Categories                                                                               
    In this step, you assign a report category to your reports.                                                                               
    Example                                                                               
    You have created your own report, for example ZPCTEST1, and would like
        it to have the selection screen that corresponds to that of the       
        evaluation report for Payroll, which is assigned to report category   
        '__M00001'.                                                           
        Assign report category '__M00001' to the report.                                                                               
    Requirements                                                                               
    You must have defined the Report Categories.                                                                               
    Standard settings                                                                               
    SAP Standard Reports:                                                                               
    In the standard system, reports are assigned a report category. If you
        want to override these assignments, perform the activities described  
        here. If you want to assign report categories to standard reports using
        SE38, this represents a modification.                                                                               
    Customer-Specific Reports:                                                                               
    For reports you have developed yourself, you can either assign report 
        categories by performing the activities described here or directly in SE38.
    Recommendation                                                                               
    Only assign a report category if you have created your own reports or if  
    the selection screens in the standard system do not meet your             
    requirements.                                                                               
    Activities                                                                               
    1.  Choose Edit -> New entries.                                                                               
    2.  Perform the required assignment using the Program name and Report     
       category fields.                                                                               
    3.  Save your entries.                   
    reward if helpful
    regards,
    madhumitha

  • Need help in reviewing AWR report

    Hello Friends,
    I need some information on reviewing this AWR report. Can you please tell me if you see any red flags or out of the ordinary? I’m trying to look for some performance or blocking issue that may be causing a process to run for longer than expected time or eventually terminate without finishing.
    C:\Users\SIDDHARTH\Documents\Desktop\awr_rpt_-wbprdsnap_193927_thru_193952.htm
    I do appreciate your help.
    Thank you,

    Hi Ehtiram,
    Thanks for your suggestion.
    I have enclosed SQL stat rpt. can you suggest me which SQL ID causing this issue.
    Elapsed Time (s) CPU Time (s) Executions  Elap per Exec (s)  % Total DB Time SQL Id SQL Module SQL Text
    24,349 1,734 8,057 3.02 4.19 8x7g7z2azkbwy java@lena015 (TNS V1-V3)  SELECT ES.EMPSKD_ACT_START_TIM...
    19,014 4,960 8,800,248 0.00 3.27 0yg00z7gwc8xv java@lena014 (TNS V1-V3)  SELECT * FROM override o WHERE...
    16,686 583 2 8343.24 2.87 9btt17d327kjw java@lena018 (TNS V1-V3)  DELETE FROM so_results_detail ...
    12,969 189 1 12969.05 2.23 2rtppqwfnvucj java@lena014 (TNS V1-V3)  SELECT WRKS_WORK_DATE FROM J...
    11,432 9,712 2,138 5.35 1.96 07rqh01v58fqa java@lena018 (TNS V1-V3)  Select AMXAVS_ID from AMX_AVAI...
    9,683 676 12 806.96 1.66 8036tzu5fvvhg java@lena018 (TNS V1-V3)  DELETE FROM so_distrib_detail ...
    8,812 3,079 18,765 0.47 1.51 0crxpb0xurc21 java@lena014 (TNS V1-V3)  select (fd.fcast_calls + fd.fc...
    5,716 4,381 82,132 0.07 0.98 50cdgbs67apxr java@lena014 (TNS V1-V3)  SELECT PG.* FROM SO_SCHEDULE_G...
    5,364 110 47,005 0.11 0.92 9df2twkpvsw5p java@lena014 (TNS V1-V3)  SELECT USR.WBU_ID VUF_RCP_ID...
    4,911 4,080 7,996 0.61 0.84 g4yxt4nsahm6t java@lena015 (TNS V1-V3)  SELECT R.RDR_UDF1 AS sGrace, ...
    Back to SQL Statistics
    Back to Top
    SQL ordered by CPU Time
    Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
    % Total DB Time is the Elapsed Time of the SQL statement divided into the Total Database Time multiplied by 100
    CPU Time (s) Elapsed Time (s) Executions  CPU per Exec (s) % Total DB Time SQL Id SQL Module SQL Text
    9,712 11,432 2,138 4.54 1.96 07rqh01v58fqa java@lena018 (TNS V1-V3)  Select AMXAVS_ID from AMX_AVAI...
    4,960 19,014 8,800,248 0.00 3.27 0yg00z7gwc8xv java@lena014 (TNS V1-V3)  SELECT * FROM override o WHERE...
    4,626 4,718 1,196,614 0.00 0.81 0drcwvhmn0cnj java@lena014 (TNS V1-V3)  select SKDGRP_ID, VOLTYP_ID, ...
    4,381 5,716 82,132 0.05 0.98 50cdgbs67apxr java@lena014 (TNS V1-V3)  SELECT PG.* FROM SO_SCHEDULE_G...
    4,080 4,911 7,996 0.51 0.84 g4yxt4nsahm6t java@lena015 (TNS V1-V3)  SELECT R.RDR_UDF1 AS sGrace, ...
    3,079 8,812 18,765 0.16 1.51 0crxpb0xurc21 java@lena014 (TNS V1-V3)  select (fd.fcast_calls + fd.fc...
    1,892 2,802 8,463,493 0.00 0.48 60tk6bna3qwbn java@lena014 (TNS V1-V3)  SELECT /*+INDEX(OVERRIDE IDX_O...
    1,734 24,349 8,057 0.22 4.19 8x7g7z2azkbwy java@lena015 (TNS V1-V3)  SELECT ES.EMPSKD_ACT_START_TIM...
    1,437 1,438 157,923 0.01 0.25 75wjn3dnjq2x3 java@lena014 (TNS V1-V3)  SELECT * FROM CMPLNC_GROUP_FIL...
    1,241 2,243 19,223 0.06 0.39 fjucxsh2xum7c java@lena014 (TNS V1-V3)  SELECT emp.emp_id FROM employe...
    676 9,683 12 56.31 1.66 8036tzu5fvvhg java@lena018 (TNS V1-V3)  DELETE FROM so_distrib_detail ...
    583 16,686 2 291.61 2.87 9btt17d327kjw java@lena018 (TNS V1-V3)  DELETE FROM so_results_detail ...
    189 12,969 1 189.14 2.23 2rtppqwfnvucj java@lena014 (TNS V1-V3)  SELECT WRKS_WORK_DATE FROM J...
    Back to SQL Statistics
    Back to Top
    SQL ordered by Gets
    Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
    Total Buffer Gets: 13,427,369,138
    Captured SQL account for 60.3% of Total
    Buffer Gets  Executions  Gets per Exec  %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
    3,403,579,267 2,138 1,591,945.40 25.35 9711.73 11431.76 07rqh01v58fqa java@lena018 (TNS V1-V3)  Select AMXAVS_ID from AMX_AVAI...
    1,070,482,359 1,196,614 894.59 7.97 4626.43 4718.30 0drcwvhmn0cnj java@lena014 (TNS V1-V3)  select SKDGRP_ID, VOLTYP_ID, ...
    421,090,926 18,765 22,440.23 3.14 3078.77 8812.06 0crxpb0xurc21 java@lena014 (TNS V1-V3)  select (fd.fcast_calls + fd.fc...
    322,602,711 8,800,248 36.66 2.40 4960.29 19013.56 0yg00z7gwc8xv java@lena014 (TNS V1-V3)  SELECT * FROM override o WHERE...
    287,681,734 19,223 14,965.50 2.14 1240.74 2243.16 fjucxsh2xum7c java@lena014 (TNS V1-V3)  SELECT emp.emp_id FROM employe...
    205,494,645 2,985,988 68.82 1.53 882.42 882.58 f736f78bg36fz java@lena014 (TNS V1-V3)  SELECT WBT_ID FROM SO_EMPLOYEE...
    189,266,051 114,985 1,646.01 1.41 703.31 710.28 4ca6cmu7vywx0 java@lena014 (TNS V1-V3)  SELECT CG.* FROM SO_SCHEDULE_G...
    180,050,736 2,478 72,659.70 1.34 840.37 3858.85 a13n3pt09jabr java@lena018 (TNS V1-V3)  DELETE FROM AMX_AVAIL_SUMMARY ...
    146,401,683 82,132 1,782.52 1.09 4381.09 5715.93 50cdgbs67apxr java@lena014 (TNS V1-V3)  SELECT PG.* FROM SO_SCHEDULE_G...
    133,298,999 60,547 2,201.58 0.99 515.19 802.26 cncd24nf9m6m6 java@lena014 (TNS V1-V3)  SELECT SO.*, EMP.* FROM SO_EM...
    Back to SQL Statistics
    Back to Top
    SQL ordered by Reads
    Total Disk Reads: 161,056,185
    Captured SQL account for 38.7% of Total
    Physical Reads Executions Reads per Exec  %Total CPU Time (s) Elapsed Time (s) SQL Id SQL Module SQL Text
    16,051,442 2 8,025,721.00 9.97 583.23 16686.47 9btt17d327kjw java@lena018 (TNS V1-V3)  DELETE FROM so_results_detail ...
    14,313,828 12 1,192,819.00 8.89 675.73 9683.47 8036tzu5fvvhg java@lena018 (TNS V1-V3)  DELETE FROM so_distrib_detail ...
    4,589,031 8,057 569.57 2.85 1734.00 24349.00 8x7g7z2azkbwy java@lena015 (TNS V1-V3)  SELECT ES.EMPSKD_ACT_START_TIM...
    3,484,791 7 497,827.29 2.16 359.64 3188.47 6kn1bh485cgfm java@lena014 (TNS V1-V3)  SELECT WRKS_WORK_DATE FROM J...
    2,975,671 8,800,248 0.34 1.85 4960.29 19013.56 0yg00z7gwc8xv java@lena014 (TNS V1-V3)  SELECT * FROM override o WHERE...
    2,758,931 1 2,758,931.00 1.71 189.14 12969.05 2rtppqwfnvucj java@lena014 (TNS V1-V3)  SELECT WRKS_WORK_DATE FROM J...
    1,345,288 1 1,345,288.00 0.84 316.63 1319.96 cg19gczm0t1rq PYW121WA.exe  select unique vctp.EMP...
    1,321,391 0   0.82 302.93 1317.47 6dq9gfc26kmbt PYW121WA.exe  select COUNT(*) from...
    1,273,572 18,765 67.87 0.79 3078.77 8812.06 0crxpb0xurc21 java@lena014 (TNS V1-V3)  select (fd.fcast_calls + fd.fc...
    1,248,698 6 208,116.33 0.78 287.11 1297.41 250a6k8scn6d1 java@lena014 (TNS V1-V3)  SELECT WRKS_WORK_DATE, EMPL...
    Back to SQL Statistics
    Back to Top
    SQL ordered by Executions
    Total Executions: 128,083,116
    Captured SQL account for 51.0% of Total
    Executions  Rows Processed Rows per Exec CPU per Exec (s) Elap per Exec (s)  SQL Id SQL Module SQL Text
    8,800,248 4,896,274 0.56 0.00 0.00 0yg00z7gwc8xv java@lena014 (TNS V1-V3)  SELECT * FROM override o WHERE...
    8,463,493 2,096 0.00 0.00 0.00 60tk6bna3qwbn java@lena014 (TNS V1-V3)  SELECT /*+INDEX(OVERRIDE IDX_O...
    6,077,148 6,077,148 1.00 0.00 0.00 88vs2qyv0wrr7 java@lena018 (TNS V1-V3)  SELECT SEQ_AMXAVS_ID.NEXTVAL F...
    4,854,539 4,854,135 1.00 0.00 0.00 frdva1m6src9p java@lena014 (TNS V1-V3)  select * from emp_def_lab wher...
    4,520,588 4,840,522 1.07 0.00 0.00 1jgzwf0qkrmnv java@lena018 (TNS V1-V3)  delete from "WORKBRAIN"."AMX_...
    4,205,634 9,720,125 2.31 0.00 0.00 9gj46z0yfjbn6 java@lena014 (TNS V1-V3)  SELECT * FROM so_posn_set_elmt...
    3,834,278 3,834,039 1.00 0.00 0.00 gmgvzfk9nz404 java@lena014 (TNS V1-V3)  SELECT ACT_ID, ACT_NAME, ACT...
    2,985,988 2,674,478 0.90 0.00 0.00 f736f78bg36fz java@lena014 (TNS V1-V3)  SELECT WBT_ID FROM SO_EMPLOYEE...
    2,081,020 2,080,811 1.00 0.00 0.00 brnrwgx8c44zu java@lena014 (TNS V1-V3)  SELECT tcode_udf8 FROM time_co...
    1,779,779 2,531,807 1.42 0.00 0.00 fv9j5aanhvn35 java@lena014 (TNS V1-V3)  select * from employee_team wh...
    Back to SQL Statistics
    Back to Top
    SQL ordered by Parse Calls
    Total Parse Calls: 42,958,894
    Captured SQL account for 65.4% of Total
    Parse Calls Executions  % Total Parses SQL Id SQL Module SQL Text
    6,077,150 6,077,148 14.15 88vs2qyv0wrr7 java@lena018 (TNS V1-V3)  SELECT SEQ_AMXAVS_ID.NEXTVAL F...
    4,205,421 4,205,634 9.79 9gj46z0yfjbn6 java@lena014 (TNS V1-V3)  SELECT * FROM so_posn_set_elmt...
    3,834,191 3,834,278 8.93 gmgvzfk9nz404 java@lena014 (TNS V1-V3)  SELECT ACT_ID, ACT_NAME, ACT...
    1,603,096 2,081,020 3.73 brnrwgx8c44zu java@lena014 (TNS V1-V3)  SELECT tcode_udf8 FROM time_co...
    982,185 982,187 2.29 4m7m0t6fjcs5x    update seq$ set increment$=:2,...
    902,759 906,293 2.10 6cvn595prdbtf java@lena014 (TNS V1-V3)  SELECT wbt_id FROM employee_te...
    821,077 1,779,779 1.91 fv9j5aanhvn35 java@lena014 (TNS V1-V3)  select * from employee_team wh...
    681,828 681,857 1.59 f0jjm3ky3kawn java@lena014 (TNS V1-V3)  SELECT * FROM EMPLOYEE_BALANCE...
    548,293 912,139 1.28 dmw686hrngaxf java@lena014 (TNS V1-V3)  SELECT * FROM override WHERE o...
    345,765 345,765 0.80 ftj9uawt4wwzb    select condition from cdef$ wh...
    Back to SQL Statistics
    Back to Top
    SQL ordered by Sharable Memory
    No data exists for this section of the report.
    Back to SQL Statistics
    Back to Top
    SQL ordered by Version Count
    Only Statements with Version Count greater than 20 are displayed
    Version Count  Executions  SQL Id SQL Module SQL Text
    163 38,796 ax51zndhagcxh java@lena018 (TNS V1-V3)  UPDATE work_summary SET wr...
    122 444 7pgr0hyg72xps java@lena014 (TNS V1-V3)  INSERT INTO employee_schedule ...
    100 42,367 3dg7u9t51sszw java@lena014 (TNS V1-V3)  UPDATE employee_schedule SET ...
    41 131,055 c1zdcc94svbpb java@lena014 (TNS V1-V3)  UPDATE override SET EMP_ID =...
    {code}
    Thank you.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oracle Performance Report how-to

    Hello everyone!
    I've got a task to check what is the problem of oracle perofrmance on production server which is 150% percents more powerful then test one.
    I've run ADDM report on the server, and that was a result
    sing the report name addmrpt_1_2_3.txt
    Running the ADDM analysis on the specified pair of snapshots ...
    Generating the ADDM report for this analysis ...
              ADDM Report for Task 'TASK_9838'
    Analysis Period
    AWR snapshot range from 2 to 3.
    Time period starts at 10-JUN-13 02.40.53 PM
    Time period ends at 10-JUN-13 03.35.54 PM
    Analysis Target
    Database 'mydb' with DB ID u_dont_neew_this.
    Database version 11.2.0.3.0.
    ADDM performed an analysis of instance mydb, numbered 1 and hosted at
    myhost.
    Activity During the Analysis Period
    Total database time was 2716 seconds.
    The average number of active sessions was .82.
    Summary of Findings
       Description         Active Sessions      Recommendations
                           Percent of Activity
    1  Top SQL Statements  .8 | 97.38           4
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Findings and Recommendations
    Finding 1: Top SQL Statements
    Impact is .8 active sessions, 97.38% of total activity.
    SQL statements consuming significant database time were found. These
    statements offer a good opportunity for performance improvement.
       Recommendation 1: SQL Tuning
       Estimated benefit is .42 active sessions, 51.31% of total activity.
       Action
          Run SQL Tuning Advisor on the SELECT statement with SQL_ID
          "7juu3q1kd9jtg".
          Related Object
             SQL statement with SQL_ID 7juu3q1kd9jtg.
             SELECT A1.C_PORT_KIND, A2.C_FILIAL, A2.C_DEPART FROM Z#PRODUCT A2,
             Z#SIM_LOAN_PORT A1 WHERE A1.ID=:B1 AND A1.ID=A2.ID
       Rationale
          The SQL spent 100% of its database time on CPU, I/O and Cluster waits.
          This part of database time may be improved by the SQL Tuning Advisor.
       Rationale
          Database time for this SQL was divided as follows: 100% for SQL
          execution, 0% for parsing, 0% for PL/SQL execution and 0% for Java
          execution.
       Rationale
          SQL statement with SQL_ID "7juu3q1kd9jtg" was executed 54474 times and
          had an average elapsed time of 0.025 seconds.
       Rationale
          Top level calls to execute the PL/SQL statement with SQL_ID
          "2um3zzd1dhjck" are responsible for 100% of the database time spent on
          the SELECT statement with SQL_ID "7juu3q1kd9jtg".
          Related Object
             SQL statement with SQL_ID 2um3zzd1dhjck.
             BEGIN  IBS.Z$U$28413226.P(:1,:2,:3); END;
    as i see there is a problem with some procedure, so that is an info for developers.
    But the developers ask me for the resources report. As i know in EM there is a beautiful graphic report with resources usage. I'd like to know if it's possible to check resources usage during the snapshot via sqlplus.
    regards,
    vs

    How do you know that the server is '150%' more powerful than the last one?
    I presume you figured that out by performing volumetric tests before moving to the new server so you had a point of reference to use? I'm assuming that you're not just going by the specs of the server itself.
    The same applies here: all that you're doing in your OP is showing what the top activity is in the database for that period of time; that might be perfectly normal - during our very heaviest times, ADDM is always whining about how 'the SGA is undersized': I'd led to be sceptical of this suggestion as it's 25Gb, but that's a 'normal' item on the report given how much we batter the database during that particular time slot every day. We expect it, we don't consider it out of the ordinary nor a problem.
    ASSUMING YOU HAVE THE LICENSE (I presume that you do as you're using ADDM), use AWR to compare two periods in time and see whether something pops out. Failing that, a read of single AWR report will give you a nice amount of information: where the contention is, what the database is waiting on, etc. If you can't determine a point of reference, then at least give the AWR report a look (especially at the wait events and the SQL statistics sections).
    Mark

Maybe you are looking for

  • "convert to black and white" crashes PSE6 in mac

    Hello. until today, this worked flawlessly. But now, when I go to the "convert to B&W menu, the usual different B&W modes menu doesn't show up anymore, the picture instantly converts, then PSE6 crashes and has to be force quit. It might have to do wi

  • Merge when no data found

    Hello All , Ran into a problem using MERGE statement . Looks like the USING clause in merge statement has to return data for the merge to work. My issue is that when the using select is not returning any data the merge does not perform the WHEN NOT M

  • Problems after replacing LCD screen

    I fell over and cracked the screen to my ipod nano 3rd gen. (also broke my arm but that was easier to fix!). Ive just bought a new lcd screen for it and followed all the directions on how to install it. The problem im having now is it all appears to

  • My app store doesn't work

    i have an imac iMac   Model Identifier:          iMac11,2   Processor Name:          Intel Core i3   Processor Speed:          3.06 GHz My soft ware is OS 10.6.8 my app store on Apple Menu doesn't work so can't upgrade to LIon. I also have an ipad so

  • CFL - "oForm.ChooseFromLists.Item("?")" List in all documents

    Hi to all, is there anyone who can tell on how to get the exact "oForm.ChooseFromLists.Item("?")" list in all document forms: example AR,AP,Inventory transfer, Service call etc.....