STATSPACK report

Hi all

Oracle 9i (9.2.0.8)

Linux

I have generated the statspack report, found a few sqls select * from table; table composed of 20 million documents (IE chewing performance of database) which is actually not standard sqls business (a person pulling the sqls).

can you please let us know how to find that triggers these standards no sqls. ? Does sql trace for a particular session will help you...?

Cronjobs etc... checked check-ins made but I could not find...

Thank you

Mike.

If you can find the current session, you already know who it is from $session of v.  If you know the process id of linux, you can see information on v$ process joined the session of v$.  It has been too long since I've seen OEM, but according to me, it has a screen of performance that allows you to see who is using everything.  Also on the screen of linux, you can use it to see who is connected to unix, if it's local.

There are also audit controls and other things, depending on whether you try to do it after the fact, or if you are on the phone, to complain.

If trying to find after the fact, you risk a little cron that makes an extended ps or a top in a file note periodically, which uses more resources.  You could feed this process id in an sql query for the information process and the session.  Query to return all the SQL statements executed for a particular user.

It depends on.  STATSPACK gives clues about what is happening with the db, then you would normally deal with sql.  But you know the sql problem, you want that done.

Tags: Database

Similar Questions

  • How to interpret the statspack report

    Is there any document Oracle describing how to interpret a statspack report?

    Check also on these notes:
    FAQ - Statspack reference complete [ID 94224.1]
    Systemwide Tuning with STATSPACK [228913.1 ID] reports

  • Generate Statspack report automatically once a day

    Hello

    I would like to generate statspack report once per day and send automatically to my emial to important parts of this report. Right now I have this sript:
    su - oracle -c "sqlplus perfstat/perfstat" << EOF
    column esnap new_value end_snap noprint
    select max(snap_id) as esnap from stats$snapshot;
    column bsnap new_value begin_snap noprint
    select max(snap_id)-24 as bsnap from stats$snapshot;
    define report_name=/home/oracle/sp_proba.lst
    @?/rdbms/admin/spreport
    EOF
    Of course I remove the lines below that parse and send information to my email. It is important to me that those command works when I paste the line in perfstat session (from sqlplus), but when I run the script it receive an error ORA-20200. Of course, it is obvious that this snap_id exists because I select in statspack view! Question is, why this code works when I run line by line of sqlplus session, but does not work when run from a script? Someone at - it such a problem?

    Best.

    try putting a------before instant stats$ $

    column esnap new_value end_snap noprint
    Select max (snap_id) as snapshot esnap of $ stats\;
    column bsnap new_value begin_snap noprint
    SELECT max (snap_id) - 24 as bsnap of snapshot of $ stats\;
    define report_name=/home/oracle/sp_proba.lst

  • STATSPACK report - SQL is truncated

    Hi guys.
    Is there a way I can change something, so my sql statements are not truncated in the statspack report?

    I'm under Oracle 9.2.0.4

    Output looks like:

    6 786 452 25 804 263,0 7.6 617.49 610,10 691505363
    Module: AMTask.exe
    SELECT TRANSACTION_DATE DID SUPPLY_DUE_DATE, PART_ID, 'I' AS EXTRA
    LY_TYPE, NULL AS WORKORDER_BASE_ID AS NULL WORKORDER_LOT_ID
    NULL AS WORKORDER_SPLIT_ID, PURC_ORDER_ID AS NULL, NULL AS PURE
    C_ORDER_LINE_NO, NULL AS PLANNED_ORDER_ID AS NULL PLANNED_O
    RDER_LINE_NO, NETTABLE_QTY, WAREHOUSE_ID, TRANSACTION_ID FROM


    Thank you

    Published by: Jamie CC June 9, 2010 07:17

    Use $ORACLE_HOME/admin/rdbms/sprepsql.sql with the hash value for the full text

    ---------
    Coskan Gundogar

    Blog: http://coskan.wordpress.com
    Twitter: http://www.twitter.com/coskan
    LinkedIn: http://uk.linkedin.com/in/coskan
    ---------

  • How to read the Statspack report in Oracle 11.2 g Standard Edition

    Dear all,

    I use Oracle 11.2 g Standard Edition in the laboratory.

    For the performance tuning, how to read the Statspack report?

    Please note I cannot use the feature of Oracle AWR due to the Limitation of the license. Thus, as if I will generate report AWR with Oracle Standard Edition, it will be not correct error and printing "time DB is equal to zero for any report interval."

    Sumit-
    Bangalore, India

    The CWA requires additional licenses - Oracle's Diagnostics Pack.
    http://download.Oracle.com/docs/CD/E11882_01/license.112/e10594/options.htm#CIHIHDDJ

    This is only available for the Enterprise Edition licenses on top. I don't know anyway to the CWA standard edition licenses, so I recommend against using it even where it does not on its own.

  • Find the sql query in statspack report

    Salvation;
    I have 11.5.10.2 and db version 9iR2... I took a statspack report, and I should find a sql query... But admin, is kill session and I can't see complite sorted SQL query by gets for DB...

    so the question is find this query which is kiiled by admin?

    Thank you

    Hello

    Its bad news to can not find this sql... So normally it istn killed by admin, I could find it from stats$ sql_summary or v$ sql_text?

    It is possible.

    Note: 153507.1 - Applications Oracle StatsPack
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=153507.1

    And another question... If I have a sql printing is eating my cpu or my server resource, how do I find this sql? Under what title I can find in the statspack report

    Refer to:

    Note: 232443.1 - how to identify the resource intensive SQL for Tuning
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=232443.1

    Kind regards
    Hussein

  • How can I save an AWR/statspack report in xml format?

    How can I save an AWR/statspack report in xml format? or is there a way... coz when you create the report, it offers the possibility for normal (the base sql or txt file) or html... of 10.2.0.3

    Hello

    H4. No format html and txt. will not be properly charged to the top, you will need to extract using the suite to generate .dmp

    This is how to extract the AWR data and

    sqlplus "/as sysdba"
    SQL> @$ORACLE_HOME/rdbms/admin/awrextr.sql
    

    and that's how to load upwards

    sqlplus "/as sysdba"
    SQL>@$ORACLE_HOME/rdbms/admin/awrload.sql
    

    Concerning

  • in RAC STATSPACK report

    Hi master,

    We have therefore 2 node RAC on RHEL 4.7 (both) with the same set settings.

    I would like to know, if we need for setting these two node RAc report performance and database or statspack report of two RAC nodes will do?

    I have collected report to both nodes, but not database, because I think that the instances on the nodes represent the load on the database.

    Please correct if I am my bad...

    any suggestion is appreciated.


    Thanks and greetings
    VD

    Vikrant,

    You just need to run the /ADDM for the AWR report report of $ORACLE_HOME/rdbms/admin and it will be to collect information for both instances and therefore statspack.

    $> sqlplus '/as sysdba'
    sql> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
    sql> @$ORACLE_HOME/rdbms/admin/addmrpt.sql
    

    Concerning

  • In Oracle RAC STATSPACK report

    Dear friends,
    When I tried to do a STASPACK report on RAC nodes, I got the following error:
    Departure snap_id doesnot belong to this instance.

    When I tried to use the other node, I get the error:
    The fine snap_id doesnot belong to this instance.

    Is it something to do special cars waiting for the constraint of STATSPACK being of level 7 or more.



    Kind regards
    Aravind K R

    Snapshots are different for the different nodes. Please put the correct component ID software snap-in to collect the statpack report.

    Concerning
    Asif Kabir

  • In Oracle 9i STATSPACK report

    Hi all
    I use oracle 9i and I get the following errors when executing script spreport. could you please explain the error and the solution for this?

    SQL > @? / rdbms/admin/spreport

    Current instance
    ~~~~~~~~~~~~~~~~

    Instance of Num DB Id DB Inst name
    ----------- ------------ -------- ------------
    3193480681 1 PPU01 PPU01



    Instances in this scheme of Statspack
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    stats $ database_instance
    *
    ERROR on line 7:
    ORA-00942: table or view does not exist



    With the help of 3198580987 to the Id database
    Using for example number 1
    stats $ snapshot s
    *
    ERROR on line 8:
    ORA-00942: table or view does not exist




    Specify the start and end snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter the value for begin_snap: 1
    Begin snapshot Id specified: 1

    Enter the value of end_snap: 2
    End of snapshot specified Id: 2

    Create the procedure, SP_REPORTS, which is owned by PERFSTAT which generates the report of your choice.

    GRANT EXECUTE ON PERFSTAT. SP_REPORTS to ;

  • Sixth Statspack report

    Pls help me interpret the AWR report based on the following statistical data.


    Load profile

    Per second per Transaction per Exec per call

    DB Time (s): 1.3 0.3 0.01 0.02

    DB CPU: the 0.3 0.1 0.00 0.00

    Size: 27 170.7 6,227.3

    Logical reads: 44 554,6 10,211.5

    Block changes: 183.4 42.0

    Physical reads: 18 370.4 4,210.3

    Physical writings: 32.2 7.4

    The user calls: 81.6 18.7

    Analysis: 24.0 5.5

    Hard analysis: 0.3 0.1

    Treated W/A Mo: 0.1 0.5

    Logons: 0.2 0.0

    Runs: 254,2 58.3

    Cancellations: 2.8 0.6

    Operations: 4.4


    Instance efficiency percentage (target 100%)

    % Buffer Nowait: 94,43 redo NoWait %: 100.00

    Buffer % success: 58,80% sort in memory: 100.00

    Library success %: 99,71% soft Parse: 98,76

    Run parse %: latch 90,57 hit %: 99.99

    Analyze the CPU to analyze Elapsd %: 62,99% Non-Parse CPU: 98.48


    % Use of memory: 86,62 85,62

    % SQL with executions > 1: 95,71 93.01

    % Memory for SQL w/exec > 1: 96,59 91,51


    Top 5 timed events in foreground

    Event waits Time (s) waiting (ms) % DB class average response time wait

    read by another session 613,959,299 1 444 853 68.96 user I/O

    DB CPU 141 192 21,89

    DB file sequential read 48 912 1 63,918,992 7.58 user IO

    db file scattered read 7 994 566 4 634 1 0.72 user IO

    gc 30,678,150 4 396 cr disc 0 0.68 Cluster



    Host CPU (processors: 8 cores: 8 Sockets: 2)

    Average load Begin load average end user % WIO %System% Idle

    0.32 0.24 14.0 5.3 1.4 80.6

    Instance of CPU

    % Total % CPU busy % DB time CPU waiting for CPU (Resource Manager)

    10.6 0.0 54.8

    Memory statistics

    Begin End

    Host Mem (MB): 32,764.4 32 764,4

    Use of LMS (MB): 8,192.0 8 192,0

    Use of PGA (MB): 966,5 1,105.5

    Host % Mem used for SGA + PGA: 27,95 28.38

    Number of Instances: 2 2

    Global load profile Cache

    Per second per Transaction

    Received global Cache blocks: 4.18 0.96

    Served global Cache blocks: 18.64 4.27

    GCS/GHG messages received: 629,86 144.36

    GCS/GHG messages sent: 505,70 115,90

    Merger of DBWR writing: 0.45 0.10

    Estd (KB) 404.32 interswitching traffic

    Global Cache efficiency percentages (lens + local remote 100%)

    Access - local cache buffer %: 58,79

    Access - remote cache buffer %: 0.01

    Access - disk buffer %: 41.20

    Global Cache and Enqueue Services - characteristics of the workload


    Time model statistics

    Time in the user-calls database (DB time) Total: s 645084.3
    Statistics, including the word 'context' measure the background processing time and therefore do not contribute to the time of the DB
    statistical
    Ordered as a percentage or DB time desc, name of statistic

    Statistics time (s) % of time of the DB name

    Execute SQL time elapsed 635,898.44 98.58
    DB CPU 141,192.37 21,89
    PL/SQL execution elapsed 11.05 71 255,32
    Time cpu RMAN (backup/restore) 3.25 20 973,68
    analysis time 8,241.32 1.28
    time analysis hard 6,569.44 1.02
    entrants PL/SQL rpc time elapsed 5 472,33 0.85
    elapsed time failed analysis 0.59 3 800,08
    time up hard analysis (sharing criteria) 436,30 0.07
    elapsed time of connection management call 276,28 0.04
    PL/SQL compilation elapsed 135,32 0.02
    Java execution elapsed 128,78 0.02
    elapsed time sequence load 75,10 0.01
    time bind repeated 24,70 0.00
    time up hard analysis (bind incompatibility) 11,86 0.00
    Time of DB 645,084.25
    elapsed time of background 554,250.33
    time background cpu 280,430.82


    Kind regards
    VN

    user7202581 wrote:
    Pls help me interpret the AWR report based on the following statistical data.

    I tried to format your AWR report. Please in the future do not publish versions in HTML of AWR reports and use a tag code before and after the content of your report to preserve spaces:

    Load Profile
                           Per Second  Per Transaction  Per Exec  Per Call
        DB Time(s):               1.3              0.3      0.01      0.02
        DB CPU(s):                0.3              0.1      0.00      0.00
        Redo size:           27,170.7          6,227.3
        Logical reads:       44,554.6         10,211.5
        Block changes:          183.4             42.0
        Physical reads:      18,370.4          4,210.3
        Physical writes:         32.2              7.4
        User calls:              81.6             18.7
        Parses:                  24.0              5.5
        Hard parses:              0.3              0.1
        W/A MB processed:         0.5              0.1
        Logons:                   0.2              0.0
        Executes:               254.2             58.3
        Rollbacks:                2.8              0.6
        Transactions:             4.4         
    
    Instance Efficiency Percentages (Target 100%)
        Buffer Nowait %:            94.43        Redo NoWait %:    100.00
        Buffer Hit %:               58.80        In-memory Sort %: 100.00
        Library Hit %:              99.71        Soft Parse %:      98.76
        Execute to Parse %:         90.57        Latch Hit %:       99.99
        Parse CPU to Parse Elapsd %:62.99        % Non-Parse CPU:   98.48
        Memory Usage %:             86.62        85.62
        % SQL with executions>1:    95.71        93.01
        % Memory for SQL w/exec>1:  96.59        91.51
    
    Top 5 Timed Foreground Events
        Event                         Waits  Time(s)  Avg wait (ms)  % DB time  Wait Class
        read by other session   613,959,299  444,853              1      68.96  User I/O
        DB CPU                               141,192                     21.89
        db file sequential read  63,918,992   48,912              1       7.58  User I/O
        db file scattered read    7,994,566    4,634              1       0.72  User I/O
        gc cr disk read          30,678,150    4,396              0       0.68  Cluster
    
    Host CPU (CPUs: 8 Cores: 8 Sockets: 2)
        Load Average Begin  Load Average End  %User  %System  %WIO  %Idle
                      0.24              0.32   14.0      5.3   1.4   80.6
    
        Instance CPU
        %Total CPU   %Busy CPU  %DB time waiting for CPU (Resource Manager)
              10.6        54.8  0.0
    
        Memory Statistics
                                       Begin       End
        Host Mem (MB):              32,764.4  32,764.4
        SGA use (MB):                8,192.0   8,192.0
        PGA use (MB):                  966.5   1,105.5
        % Host Mem used for SGA+PGA:    27.95     28.38
    
    Number of Instances:        2        2
        Global Cache Load Profile
                                        Per Second  Per Transaction
        Global Cache blocks received:         4.18             0.96
        Global Cache blocks served:          18.64             4.27
        GCS/GES messages received:          629.86           144.36
        GCS/GES messages sent:              505.70           115.90
        DBWR Fusion writes:                   0.45             0.10
        Estd Interconnect traffic (KB)      404.32         
    
        Global Cache Efficiency Percentages (Target local+remote 100%)
        Buffer access - local cache %:        58.79
        Buffer access - remote cache %:        0.01
        Buffer access - disk %:               41.20
    
        Global Cache and Enqueue Services - Workload Characteristics
    
    Time Model Statistics
        Total time in database user-calls (DB Time): 645084.3s
        Statistics including the word "background" measure background process time, and so do not contribute to the DB time
        statistic
        Ordered by % or DB time desc, Statistic name
    
        Statistic Name                               Time (s)  % of DB Time
        sql execute elapsed time                   635,898.44         98.58
        DB CPU                                     141,192.37         21.89
        PL/SQL execution elapsed time               71,255.32         11.05
        parse time elapsed                           8,241.32          1.28
        hard parse elapsed time                      6,569.44          1.02
        inbound PL/SQL rpc elapsed time              5,472.33          0.85
        failed parse elapsed time                    3,800.08          0.59
        hard parse (sharing criteria) elapsed time     436.30          0.07
        connection management call elapsed time        276.28          0.04
        PL/SQL compilation elapsed time                135.32          0.02
        Java execution elapsed time                    128.78          0.02
        sequence load elapsed time                      75.10          0.01
        repeated bind elapsed time                      24.70          0.00
        hard parse (bind mismatch) elapsed time         11.86          0.00
        DB time                                    645,084.25
        background elapsed time                    554,250.33
        background cpu time                        280,430.82
        RMAN cpu time (backup/restore)              20,973.68          3.25
    

    After spending a lot of time fixing the formatting of the section of the AWR report posted, what follows is visible:
    Time (s) DB = 1.3 seconds per second wall clock
    Report total time = 645,084.25/1.3 = 496 219 seconds (approximately) = 137,84 hours

    Do not generate an AWR report with 137,84 hours. Why? First of all, allows you to hide the details important but who are lost in the medium - the numbers above show that your database instance has been almost (1.3 idle sessions occupied), these medium-sized sessions 1.3 spend 78.11% of their time waiting for events. Second, the substantive elapsed time is 86% of the time consumed by user sessions - who provided misleading information unless people recognise that the report covers everyday 5.74. Ideally, your AWR report should cover the minimum time necessary for analysis (and if you want to solve a problem with a single session, it is best to use a SQL extended 10046 trace). This amount of time can be 10 minutes, 15 minutes, 1 hour, or 3 hours, but (almost) never 5.74 days.

    Close look at the items suggested by Dom.

    Charles Hooper
    http://hoopercharles.WordPress.com/
    IT Manager/Oracle DBA
    K & M-making Machine, Inc.

  • Negative value to run to analyze the report in the statspack report

    Hello

    I use Oracle 10.2.0.3.

    In the Execute to analyze the value of its pack stats report report, I get the negative value-35%. I read that this means that there are more number of parse as executions. But how and where it can be checked off, and what step I can take to resolve/correct this?

    I have a procedure 'a' who calls the procedure b, c and d in it.

    I have a table "t" that is referenced in the proceedings b, c and d (not in one)

    I've run a DDL on the table "t" where, by b, c and d invalid and in which cases invalidate the procedure as well.

    I call the procedure 'a' for execution, but in this procedure, I circumvent enforcement of procedures b, c and d (I can do this based on a condition and I don't call these procedures during execution of the procedure a).

    Then, when I call the procedure, it will be recompiled, but before he could be recompiled, oracle has recompile b, c and d as well.

    So in this case, I don't have that a single execution of procedure 'a' but compilation of a, b, c and d have run to analyze the ratio of 1:4.

    I hope you understand now. Which is why I suspect me that your procedures are be invalidated yet and still have several compilations.

    Salman

  • Unable to find the id of the statspack report snapshot in Oracle 9.2.0.4

    Hello guys,.

    When I run @?/rdbms/admin/spreport.sql I am not able to see any id snapshot. I see all the values as #.

    Please find below the output, I get after I run @?/rdbms/admin/spreport.sql

    ========================================================================

    August 6, 2013 22:007
    August 6, 2013 23:007
    August 7, 2013 00:007
    August 7, 2013 01:007
    August 7, 2013 02:007
    August 7, 2013 03:007

    Specify the start and end snapshot Ids

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Begin snapshot Id specified:

    Enter the value for end_snap:

    ============================================================================

    Oracle version is 9.2.0.4.0

    I checked the tables ' stats$ snapshot and stats$ database_instance ', here too, I can see instant as id #.

    Please suggest.

    You need to edit $ORACLE_HOME/rdbms/admin/sprepins.sql, find a line something like

    column snap_id format 99999990 heading 'Snap Id';
  • Need help for analysis "plan and background events waiting" on the report statspack for oracle database 11.2.0.4 on AIX

    HI: I analyze the STATSPACK report: this is the "volume test" on our UAT server for most of entry or "bind variables".  Our shared pool is well used in oracle.  Recovery of Oracle logs is not configured properly on this server, as in "Top 5 events of waiting", there are 2 for Oder.

    I need to know what other information may be digging from of 'waiting in the foreground events' & ' background waiting events ", and which can help us better understand, in combination of ' Top 5 wait event, that how did the server test /?  It could be overwhelming. wait events, so appreciate useful diagnostic or analyses.  Database is oracle 11.2.0.4 updated from 11.2.0.3 on IBM AIX 64-bit, level 6.x system power


    STATSPACK report


    DB Id Instance Inst Num Startup Time Release RAC database


    ~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---

    700000XXX XXX 1 22 April 15 12:12 11.2.0.4.0 no.


    Host name Platform CPU Cores Sockets (G) memory

    ~~~~ ---------------- ---------------------- ----- ----- ------- ------------

    dXXXX_XXX AIX-Based Systems (64-2 1 0 16.0)


    Snapshot Id Snap Snap time Sessions Curs/Sess comment

    ~~~~~~~~    ---------- ------------------ -------- --------- ------------------

    BEGIN Snap: 5635 22 April 15 13:00:02 114 4.6

    End Snap: 5636 22 April 15 14:00:01 128 8.8

    Elapsed time: 59.98 (mins) Av law Sess: 0.6

    DB time: 35,98 (mins) DB CPU: 19,43 (mins)


    Cache sizes Begin End

    ~~~~~~~~~~~       ---------- ----------

    Cache buffer: block 2 064 M Std size: 8 K

    Shared pool: 3 072 M Log Buffer: 13 632 K

    Load profile per second per Transaction per Exec by call

    ~~~~~~~~~~~~      ------------------  ----------------- ----------- -----------

    DB Time (s): 0.0 0.6 0.00 0.00

    DB CPU: 0.0 0.3 0.00 0.00

    Size: 458 720,6 8,755.7

    Logical reads: 245,7 12 874,2

    Block changes: 1 356.4 25.9

    Physical reads: 6.6 0.1

    Physical writings: 61.8 1.2

    The user calls: 38.8 2 033,7

    Analysis: 286,5 5.5

    Hard analysis: 0.5 0.0

    Treated W/A Mo: 1.7 0.0

    Logons: 1.2 0.0

    Runs: 801,1 15.3

    Cancellations: 6.1 0.1

    Operations: 52.4


    Indicators of the instance

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Buffer % Nowait: 100.00 do NoWait %: 100.00

    Buffer % success: 99.98% W/A optimal, Exec: 100.00

    Library success %: 99,77% soft Parse: 99.82

    Run parse %: 64.24 latch hit %: 99.98

    Analyze the CPU to analyze Elapsd %: 53.15% Non-Parse CPU: 98.03


    Shared pool statistics Begin End

    ------  ------

    % Memory use: 10.50 12.79

    % SQL with executions > 1: 69,98 78,37

    % Memory for SQL w/exec > 1: 70.22 81,96

    Top 5 timed events Avg % Total

    ~~~~~~~~~~~~~~~~~~                                                   wait   Call

    Event waits time (s) (ms) time

    ----------------------------------------- ------------ ----------- ------ ------

    CPU time                                                       847          50.2

    ENQ: TX - 4 480 97 434 25.8 line lock conflict

    Log file sync 284 169 185 1 11.0

    log file parallel write 299 537 164 1 9.7

    log file sequential read 698 16 24 1.0

    Host CPU (processors: 2 hearts: Sockets 1: 0)

    ~ ~ ~ Medium load

    Begin End User System Idle WIO WCPU

    ------- -------   ------- ------- ------- ------- --------

    1.16 1.84 19.28 14.51 66.21 1.20 82.01


    Instance of CPU

    ~~~~~~~~~~~~                                       % Time (seconds)

    -------- --------------

    Host: Time (s) Total: 7,193.8

    Host: Availability of time processor (s): 2,430.7

    % of time host is busy: 33.8

    Instance: Time processor Total (s): 1,203.1

    % Busy CPU used, for example: 49.5

    Instance: Time of database total (s): 2,426.4

    % DB time waiting for CPU (resp. resources): 0.0


    Statistical memory Begin End

    ~~~~~~~~~~~~~~~~~                ------------ ------------

    Host Mem (MB): 16,384.0 16 384,0

    Use of LMS (MB): 7,136.0 7 136,0

    Use of PGA (Mo): 282.5 361.4

    Host % Mem used for SGA + PGA: 45.3 45.8

    Foreground wait events DB/Inst: XXXXXs Snaps: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)


    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    ENQ: TX - line lock 4 480 0 434 97 contentio 0,0 25.8

    284 167 0 185 1 file synchronization log 1.5 11.0

    File I/O 8 741 of disk 0 4 operations 0.0 0.2

    direct path write 0 13 247 3 0.1 0.2

    DB file sequential read 6 058 0 1 0.0 0.1

    buffer busy waits 1 800 0 1 1 0,0.1

    SQL * Net more data to the client 29 161 0 1 0.2 0.1

    direct path read 7 696 0 1 0.0 0.0

    db file scattered read 316 0 1 2 0,0.0

    latch: shared pool 144 0 0 2 0,0.0

    Initialization of 30 0 0 3 0,0.0 CSS

    cursor: hand 10 0 0 9 0,0.0 S

    lock row cache 41 0 0 2 0,0.0

    latch: rank objects cache 19 0 0 3 0,0.0

    log file switch (private 8 0 0 7 0,0.0 str

    library cache: mutex X 28 0 0 2 0,0.0

    latch: cache buffers chains 54 0 0 1 0,0.0

    free lock 290 0 0 0.0 0.0

    sequential control file read 1 568 0 0 0.0 0.0

    switch logfile (4 0 0 6 0,0.0 control point

    Live sync 8 0 0 3 0,0.0 road

    latch: redo allocation 60 0 0 0 0.0.0

    SQL * Net break/reset for 34 0 0 1 0,0.0 customer

    latch: enqueue hash chains 45 0 0 0 0.0.0

    latch: cache buffers lru chain 7 0 0 2 0,0.0

    latch: allowance 5 0 0 1 0,0.0 session

    latch: object queue header 6 0 0 1 0,0.0 o

    Operation of metadata files ASM 30 0 0 0 0.0.0

    latch: in memory of undo latch 15 0 0 0.0 0.0

    latch: cancel the overall data 8 0 0 0 0.0.0

    SQL * Net client message 6 362 536 0 278 225 44 33.7

    jobq slave wait 7 270 100 3 635 500 0.0

    SQL * Net more data to 7 976 0 15 2 0,0 clien

    SQL * Net message to client 6 362 544 0 8 0 33.7

    -------------------------------------------------------------

    Context of the DB/Inst events waiting: XXXXXs clings: 5635-5636

    -> Only events with wait times Total (s) > =.001 are indicated

    --> sorted by Total desc waiting time, waits desc (idle last events)

    AVG % Total

    % Tim Total wait Wait Wait call

    Event is waiting for the time (s) (ms) /txn times

    ---------------------------- ------------ ---- ---------- ------ -------- ------

    log file parallel write 299 537 0 164 1 1.6 9.7

    log file sequential read 698 0 16 24 0.0 1.0

    db file parallel write 9 556 0 13 1 0,1.8

    146 0 10 70 0,0.6 startup operating system thread

    control file parallel write 2 037 0 2 1 0,0.1

    Newspaper archive e/s 35 0 1 30 0,0.1

    LGWR wait for redo copy 2 447 0 0 0.0 0.0

    async file IO DB present 9 556 0 0 0.1 0.0

    DB file sequential read 145 0 0 2 0,0.0

    File I/O disk 349 0 operations 0 0.0 0.0

    db file scattered read 30 0 0 4 0,0.0

    sequential control file read 5 837 0 0 0.0 0.0

    ADR block lu file 19 0 0 4 0,0.0

    Block ADR file write 5 0 0 15 0,0.0

    direct path write 14 0 0 2 0,0.0

    direct path read 3 0 0 7 0,0.0

    latch: shared pool 3 0 0 6 0,0.0

    single log file write 56 0 0 0.0 0.0

    latch: redo allocation 53 0 0 0 0.0.0

    latch: 1 0 0 3 0,0.0 active service list

    free latch 11 0 0 0 0.0.0

    CPI of RDBMS 5 314 523 57 189 182 1.7 message

    Space Manager: slave wa slowed 4 086 88 18 996 4649 0.0

    DIAG idle wait 7 185 100 1000 7 186 0.0

    Streams AQ: waiting time 2 50 4 909 # 0,0

    Streams AQ: qmn slowed slave 129 0 3 612 28002 0.0 w

    Streams AQ: Coordinator of the 258 50 3 612 14001 0,0 qmn

    SMON timer 2 43 3 605 83839 0.0

    PMON timer 99 1 199 2999 3 596 0.0

    SQL * Net client message 17 019 0 31 2 0.1

    SQL * Net message to client 12 762 0 0 0.1 0

    class slaves wait 28 0 0 0 0.0

    Thank you very much!

    Hello

    I think that your CPU is overloaded by your stress tests. You have one VCPU with 2 wires (2 LCPU), right? And the load average is greater than one. You have time DB which is not counted in (CPU time + wait events) and which comes no doubt from time spent in the runqueue.

    > Oracle recovery logs is not properly configured on this server, as in "Top 5 events of waiting", there are 2 for oder

    It is an error in statspack for show "log file parallel write here." This moment is historical and is included in 'log file sync '. And I don't think you have to redo misconfiguration. Waiting for 1ms to commit is ok. In OLTP you should have more than one validation in a user interaction so that the user don't worry not about 1 m in batch mode, unless you commit to each row, 1 DC to commit should not increase the total execution time.

    The fact that you have a lot of line lock (enq: TX - line lock conflict) but very little time (on average 97 ms) is probably a sign that testers are running simultaneously a charge affecting the same data. Their set of test data is perhaps too simple and short. An example: when stress tests of an order entry system if you run 1000 concurrent sessions, ordering the same product to the same customer, you can get this kind of symptoms, but the test we unrealistic.

    It's a high activity of 2000 calls per second, 52 transactions per second, user. But you also have low average active sessions, so the report probably covers a period of non-uniform activity, which makes the averages without meaning.

    So note to tell about the events of waiting here. But we don't have any info about 39% of DB time devoted to the CPU which is where something can be improved.

    Kind regards

    Franck.

  • Run the report statspack remotely from a client?

    Hello!

    I run a statspack report @spreport.sql of SQL * Plus the term on the database server.

    Having to go on the DB server because it is sometimes a chore and I prefer to get a report of any customer, or even of in SQL Developer.

    Y at - it an easy way to achieve this or is it a tool for that?

    Obviously, the spreport.sql may be different from the Oracle DB version to another, and I would need to have a series of these reports on the client scripts and select the right one or I would need to have some mechanisum (stored proc?) coming to rdbms/admin on the server, so run the spreport.sql script, read the output and return from the customer.

    Y at - it an easier way or someone knows of a set that will do it?

    Thank you
    Marcus

    Marcus,

    I don't think that I don't have your question. Sorry, but don't you mean you want to get a report from the client terminal by running locally on the client only? That's what I got from this line,

    Having to go on the DB server because it is sometimes a chore and I prefer to get a report of any customer, or even of in SQL Developer.

    Or if you want the report is available on the server to the client's local computer?

    If you want the State you will be given on the client side only, I'm not sure that there is no possibly he. What is the problem in the reading of the report on the same server if? If you can connect to db valid db and the o/s user, it can recover the data as well. But it's just a thought. I do not use the tools a lot, so I guess, I'll just join you and see what others have to say about it.

    Aman...

Maybe you are looking for

  • How will I know if my Touchsmart 300-1210uk computer has Bluetooth?

    I'm trying to connect my new phone which can connect only through Bluetooth, but neither the PC or Mobile can find each other. I have the connectivity and the visibiity lit on the mobile but cannot work on the PC. The word Bluetooth is written on the

  • Clean install Yoga 2 Pro

    Instead of an accident of the SSD, I inserted a new SSD, I was stupid enough to forget to make a backup of all the time I've used my Yoga. Now, I have to install a clean victory 8.1 pro on my Yoga 2 Pro. I made a bootable usb device, but when I start

  • The infamous battery HP Mini saga continues...

    Hi all, I have; again, I put another HP Mini, this one is a 210-2005sa and it will not charge the batteries, it is the 17th I was given to try and correction, of 16 previously, 14 was put in a cell, with the owners cursing HP. I read so many posts an

  • Bis for access to the network

    Hi guys, I am a newebie to the blackberry java development, and ive read several topics and questions. I'm working on the development of an application that requires network support, essentially BIS. But from what ive read, seems that you must be a m

  • Need a bit of help on vSphere bypass network

    Hi allI'm new, please bear with me if this question is stupid.I want to know if there is a way to share "invited a network in a BONE connection" with all of the server VM.I am running a vmware 5.5 hyper-visiere (type 1) on a laboratory server, which