How to Understand AWR Report

Hi
How to understand AWR report?

Hi,
first of all, you need to understand things that this report is about -- like wait events, DB time, CPU time, etc. If you are familiar with these things, the rest is easy.
There are also some articles about reading AWR reports in my blog, including some examples: http://savvinov.com/awr/
Best regards,
Nikolay

Similar Messages

  • How to understand STATPACKS report ?

    Hi,
    How to understand STATPACKS report ? Some documents or link ?
    Thank you.

    http://www.akadia.com/services/ora_statspack_survival_guide.html
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm
    http://jonathanlewis.wordpress.com/2008/02/18/analysing-statspack/
    and many..many more....!!!!
    Grrod reading...
    Sim

  • Understanding awr reports...

    HI, I am trying to understand information we have in our AWR reports. In the section top 5 timed events we usually see something like the following...
    Top 5 Timed Events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    CPU time 1,855 83.9
    db file sequential read 101,452 395 4 17.9 User I/O
    gc current block 2-way 156,259 51 0 2.3 Cluster
    gc cr block 2-way 98,696 34 0 1.5 Cluster
    log file sync 23,665 21 1 1.0 Commit
    So when it says the CPU time is the top timed event and it is 83.9% of the top 5 timed events what does that actually mean? Is that a good thing that the CPU time is my top timed event? My system is running very good and I am assuming that this is a good thing?
    Thanks.

    >
    Top 5 Timed Events
    Event Waits Time(s) Avg Wait(ms) % Total Call Time Wait Class
    CPU time 1,855 83.9
    db file sequential read 101,452 395 4 17.9 User I/O
    gc current block 2-way 156,259 51 0 2.3 Cluster
    gc cr block 2-way 98,696 34 0 1.5 Cluster
    log file sync 23,665 21 1 1.0 Commit
    My system is running very good and I am assuming that this is a good thing?
    This doesn't mean anything without a context. For a start - are you taking snapshots at the default 1 hour interval, how many CPUs do you have, and how many nodes in your cluster. (I'd guess it's just two).
    The best answer is from Taral Desai - but I'd like to add [+*this thought*+|http://jonathanlewis.wordpress.com/2009/09/10/philosophy-5/] >.
    Note - even if your 1,855 seconds of CPU is (effectively) one out of 16 CPUs running at 50% utilisation for an hour - which would make your AWR report look as if the database is pretty idle - it may be that one user is sitting at his desk swearing because his report took 900 (CPU) seconds to run when he reckons he should be getting a sub-second response.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to generate AWR report by using ttStats?

    Hi all,are there any links or documents to show how to use ttStats toolkit to generate a report like Oracle AWR report?
    If no links or document available, could you tell me how to use it?
    In fact I want to know how to do a performance analysis for my application and perform some tune.
    If any other toolkits are more suitable please let me know and of course the guide that how to use them is much welcome.
    Thanks.

    The ttStats executable can be found in the <TimesTen_home>/support directory. Before you can run the executable within a command prompt, you'll need to source the ttenv.* file in the <TimesTen_home>/bin directory.
    The output of ttStats -h is as follows:
    ttStats [-latchstats on|off] [-display-options] [-xml file]
    [-statlevel level] <dsn or connstr>
    ttStats -s[napshot] [-latchstats on|off] -xml <file> <dsn or connstr>
    ttStats -report <xmlfile1> <xmlfile2> <-text|-html> <report_file>
    Where parameters in <> are required, and in [] are optional.
    -display-options:
    This option only works in monitoring mode as
    screen filtering. ttStats only displays on the
    screen statistics with specified prefixes.
    Available prefix options include:
    -cg, -ckpt, -conn, -db, -grid, -lock, -log, -repl,
    -stmt, -txn, -xla, -zz, where the naming of prefixes
    conforms to naming of statistics in TimesTen
    sys.systemstats table. If no display option
    is specified, all statistics are displayed
    by default. For example, run command
    ttStats -cg -stmt dsn=TptbmData
    to display only cache group and statement
    related statistics.
    -h[elp] Print help message and exit.
    -interval <secs> Collect a set of statistics every <secs> seconds
    (default=10).
    Note: setting this lower can negatively impact
    performance
    -xml <file> Write statistics to <file> in XML format. All
    statistics will be written to <file> no matter
    whether they are displayed on screen or not.
    For example ttStats -xml mon.xml dsn=TptbmData
    and ttStats -xml mon.xml -cg dsn=TptbmData
    write the same file even if the latter only
    shows cache related statistics on the screen.
    -snapshot One snapshot of all statistics are saved to disk
    in the specified file format, then the program
    exits. This option should be used together with
    the -xml option.
    -statlevel <level>
    Set the SysStats level, this value of level only
    applies to sys.systemstats table.
    -report <xmlfile1> <xmlfile2> <-xml|-text|-html> <report_file>
    Compare two snapshots, and generate an AWR like
    report. At present, each XML file contains only
    one snapshot. The difference is computed as the
    absolute value of statistic value in <xmlfile2>
    minus that in <xmlfile1>. The result can be
    written in HTML and plain text formats. XML is
    not supported as output format at present.
    As an example, you can run the utility as the instance admin user by doing something like:
    ./ttStats -s -xml tmp.xml <DSN>
    You can then open tmp.xml with a web browser and see statistics about the database.
    You can also compare two previously captured snaps by doing something like:
    ./ttStats -report tmp1.xml tmp2.xml -html tmpReport.html

  • How to take awr report

    A little confused in generating awr report using awrrpt.sql
    Here are the snapshots we have in the repository.
    8257 13 Nov 2013 02:00 
    1
    8258 13 Nov 2013 02:30 
    1
    8259 13 Nov 2013 03:00 
    1
    8260 13 Nov 2013 03:30 
    1
    8261 13 Nov 2013 04:00 
    1
    8262 13 Nov 2013 04:30 
    1
    And the test run we'd was between 2:15 to 3:45.  which snapshots should we choose as the begin snap ID and end snap ID.
    I got this question when i saw how the snapshots were taken like snap ID 8258
      SNAP_ID BEGIN_INTERVAL_TIME       
    END_INTERVAL_TIME
    8258 13-NOV-13 02.00.19.314 AM 
    13-NOV-13 02.30.23.284 AM
    where i was going to select 8257 as the begin snap ID.
    Which snap IDs makes more sense for the time window of 2:15 to 3:45 ?
    Thanks
    Siva.

    It seems you are confused by BEGIN_INTERVAL_TIME (you can look on this column as orientation for the interval, begin/end) and END_INTERVAL_TIME.
    END_INTERVAL_TIME is the time when the snapshot is taken,
    In your case:
      SNAP_ID BEGIN_INTERVAL_TIME  
    END_INTERVAL_TIME
    8258 13-NOV-13 02.00.19.314 AM
    13-NOV-13 02.30.23.284 AM
    So,
    SNAP_ID = 8258 with BEGIN_INTERVAL_TIME = 02.00.19.314 AM
    If you check previous SNAP_ID = 8257, that snap will have END_INTERVAL_TIME = 02.00.19.314 AM
    Taking a snapshot doesn't last 30 min. If you need to know how much time the database spent to take the snapshot you can query FLUSH_ELAPSED column from DBA_HIST_SNAPSHOT.
    I.Arsov
    Message was edited by: IvicaArsov

  • How to get AWR report in text format

    Hi all,
    Here we are getting AWR report in html format through OEM.I want to get AWR report in .txt format
    Please help me
    Thanks in advance

    Hi
    You can use the following scripts:
    - ORACLE_HOME/rdbms/admin/awrrpt.sql
    - ORACLE_HOME/rdbms/admin/awrrpti.sql
    HTH
    Chris

  • How to paste AWR report sections ?

    Hello,
    I have problems pasting sections of html verison of AWR report in this forum.
    Tried including the tag, but it is still not readable.
    I am trying to copy the Time Model Statistics section.
    Pls help if you have an idea.
    Rgds,
    Gokul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    When it is working for me then it will work for you definately; as it worked above. You are using "{}" brackets, while I used "[]" brackets... give it a try once again....
    Regards
    Girish Sharma
    Edited by: Girish Sharma on Aug 9, 2012 12:17 PM
    This is not aligned because your actual text is itself not aliged, anyway I am pasting it after alignment manually....
    Time Model Statistics
        Total time in database user-calls (DB Time): 6332.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                                       Time (s) % DB time
    sql execute elapsed time                6,337.34    100.08
    DB CPU                               5,118.71     80.83
    inbound PL/SQL rpc elapsed time              97.04      1.53
    PL/SQL execution elapsed time                    6.78      0.11
    parse time elapsed                         3.43      0.05
    hard parse elapsed time                    2.17      0.03
    connection management call elapsed time          1.08      0.02
    hard parse (sharing criteria) elapsed time          0.61      0.01
    sequence load elapsed time                    0.34      0.01
    failed parse elapsed time                    0.06      0.00
    repeated bind elapsed time                    0.03      0.00
    PL/SQL compilation elapsed time               0.01      0.00
    hard parse (bind mismatch) elapsed time          0.00      0.00
    DB time                          6,332.32      
    background elapsed time                  227.81      
    background cpu time                       142.45       Or there are chances that after pasting you have tried manually to align in this window...!

  • How to monitor on disk i/o on healthcheck and awr report on biweekly health

    can you explain how to monitor from disk i/o and awr report from old snap shot to new snap shot
    how to check and analyze .,,,,,,,,,,,,,,,,,,,,,can any one tell few points which we can **regularly maintain for health check**
    thanks in advance
    SQL> SELECT group_number ,disk_number ,mount_status ,total_mb/1024 ,free_mb/1024
    2 ,reads, (bytes_read / (1024*1024*1024)) mb_read ,read_errs ,read_time,writes
    3 ,write_errs ,write_time FROM v$asm_disk;
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 0 OPENED 199.989258 0 13697147
    402.589765 0 44542.38 4358669 0 8883.86
    2 1 OPENED 199.989258 0 13653653
    405.503195 0 46014.33 4805783 0 11138.13
    2 2 OPENED 199.989258 0 15272350
    415.620874 0 45524.7 4571038 0 9806.01
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    2 3 OPENED 199.989258 0 22713630
    533.380945 0 48105.68 4692729 0 9994.31
    2 4 OPENED 199.99707 0 23986390
    547.804756 0 57601.79 5788565 0 11073.44
    1 0 OPENED 199.989258 0 310810
    47.4352741 0 9652.12 1877994 0 3490.5
    GROUP_NUMBER DISK_NUMBER MOUNT_S TOTAL_MB/1024 FREE_MB/1024 READS
    MB_READ READ_ERRS READ_TIME WRITES WRITE_ERRS WRITE_TIME
    1 1 OPENED 199.99707 0 137665
    44.7837362 0 9155.21 751099 0 3092.96
    1 2 OPENED 199.99707 0 139561
    44.7904587 0 9424.26 753116 0 2858.23
    1 3 OPENED 199.99707 0 141139
    44.7718539 0 9506.27 802414 0 2768.22
    9 rows selected.
    can you please tell me how to monitor on disk i/os which is as shown above and
    please tell me AWR report to analyze some basic points for health check
    please give some details for health check of database.
    thanks in advance

    Hi;
    What is DB version?
    Please check below doc:
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28275/tdppt_degrade.htm#CACGCJDC
    Also see:
    What is AWR( Automatic workload repository ) and How to generate the AWR report? [ID 748642.1]
    How To Understand AWR Report / Statspack Report [ID 842884.1]
    Regard
    Helios

  • AWR report understanding document

    Hi,
    Could someone please provide me with a good link for understanding the AWR report.
    Thanks.

    See if these links help
    http://www.oracle.com/technology/products/manageability/database/pdf/ow05/PS_S001_274001_106-1_FIN_v1.pdf
    http://www.oracle.com/technology/obe/10gr2_db_vmware/manage/addm/addm.htm
    MOS Doc 842884.1 - How To Understand AWR Report / Statspack Report
    MOS Doc 744143.1 - Tuning performance on eBusiness suite (see section "How to interpret AWR or Statspack report ?")
    HTH
    Srini

  • Steps to generate AWR report from Oracle 11g OEM

    I have gone through online documentation for generating an AWR report from Oracle 11g OEM but the documentation is more focused on generating the AWR report manually. I would request if there is a link or documentation to go through for generating AWR report from Oracle 11g enterprise manager.
    I hope my question is clear.
    Please revert with the reply to my query.
    Regards

    HI ,
    Please check following link: Siva Oracle: How to generate AWR Report from OEM Grid
    Thank you

  • '%Total Call Time ' in AWR report

    Hi.
    I have a quick question here,
    For the awr report, the ‘Top 5 Timed Events’ section, does anybody knows how the ‘%Total Call Time ‘ is calculated for each event listed there?
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time Wait Class
    PX Deq Credit: send blkd 5,682,600 3,816 1 39.8 Other
    db file scattered read 91,236 1,681 18 17.5 User I/O
    CPU time 1,347 14.0
    log file sync 99,426 752 8 7.8 Commit
    log file parallel write 97,921 523 5 5.4 System I/O
    Thanks,
    Lei

    922884 wrote:
    Hi,
    Db version is 10.2.0.4.0
    What is meaning of waits and % Total Call Time in Top 5 Timed Events in AWR report? Waits is the number of times a session waited on a particular call
    % Total Call Time is the total time spent in this event divided by the db time, converted to a percentage.
    It gives you some idea of how signifcant this event was in the total time spent waiting by the user. Unfortunately the SQLNet times are excluded in the calculations, so there is a component of time that (from the end-users' perspective) is lost.
    How to read AWR report?Where i have to start from it?
    The best place to start is probably still the white paper about statspack produced by Oracle 11 years ago: http://www.oracle.com/technetwork/database/focus-areas/performance/statspack-opm4-134117.pdf
    How the values are calculated in awr? For example db time is 556.15 and elapsed time is 1,439.73 .
    elapsed time is the clock time between the start and end time of the snapshots, reportedin in minutes - in your case your report covers 24 hours which is generally far too long to be useful.
    db time is the time your sessions were active "inside" the database - again in minutes - and it's a measure of how much time you spent working. It is the sum of wait time and CPU time.
    Regards
    Jonathan Lewis

  • AWR Reports

    Hi,
    Can any one know how to pull AWR Reports for 15th day back from today.
    My retention period is set to 7 days. Let me know ASAP.
    Thanks
    Kuldeep

    sql> @?/rdbms/admin/awrrptGives you a list of available snapshots from which you can pick two with no instance shutdown between.
    Of course, if you have set the (default) retention of 7 days, than it is extremely unlikely that you will see
    snapshots from "15th day back from today".
    That was as ASAP as I could write, by the way, and should have been obvious :-)

  • Understanding the AWR report

    Hello,
    Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
    I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
    I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
    2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
        at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
        at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
        at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
        at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
        at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
    Looking forward for reply/questions...
    Thanks in Advance,
    Sameer.

    Hello,
    Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
    I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
    I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
    2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
        at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
        at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
        at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
        at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
        at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
        at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
    Looking forward for reply/questions...
    Thanks in Advance,
    Sameer.

  • How to do Detailed AWR Report  Analysis

    Hi,
    Please let me Know how to do analysis AWR report and get it corrected.

    The best way to isolate the bottlenecks in Oracle is to analyze the top five wait events for the database and look for any external waits that might be associated with disk, CPU and network.
    Oracle provide two scripts to produce workload repository reports (awrrpt.sql and awrrpti.sql). They are similar in format to the statspack reports and give the option of HTML or plain text formats. The two reports give essential the same output but the awrrpti.sql allows you to select a single instance. The reports can be generated as follows.
    @$ORACLE_HOME/rdbms/admin/awrrpt.sql
    @$ORACLE_HOME/rdbms/admin/awrrpti.sql
    The scripts prompt you to enter the report format (html or text), the start snapshot id, the end snapshot id and the report filename. The resulting report can be opend in a browser or text editor accordingly.
    http://www.oracle-base.com/articles/10g/automatic-workload-repository-10g.php

  • How Far Back Oracle Keep AWR Reports

    Hello,
    A quick question:
    Does anyone know how far back Oracle retain AWR reports in the database? Is this something that we can customize? If it is, can someone offer some insights?
    Thanks!

    The default settings for 'interval' and 'retention' are (60 min and 7 days respectively),
    Sample modification using,
    execute dbms_workload_repository.modify_snapshot_settings(interval => 120,retention => 20160);
    the parameter value is in minutes.
    Edited by: Anantha on Jan 15, 2009 12:12 PM
    Metalink notes:
    Space Management In Sysaux Tablespace with AWR in Use - 287679.1
    Usage and Storage Management of SYSAUX tablespace occupants SM/AWR, SM/ADVISOR, SM/OPTSTAT and SM/OTHER - 329984.1

Maybe you are looking for

  • SAP R/3 4.7 Migration from HP-UX to Windows

    Hello Everyone, I am doing migration of 4.7 system from HP -UX to windows.The export completed successfully but I am stuck during the import phase (Database upload(Post processing) .All the log files in sapinst directory shows the code page error as

  • Problems running MS Silverlight

    I can't get Microsoft Silverlight to run on my mid-2009 MacBook running OSX Lion 10.7.4, even after uninstalling, downloading and reinstalling Silverlight several times. Any suggestions. I need Silverlight to stream movies on Netflix.

  • Doubt regarding multiple criteria in order by clause

    Hi, I don't understand the effect of multiple elements inside the order by clause. I have the following example table: factor_x | factor_y | price ===================== 1 | 5 | 1000 2 | 4 | 6970 3 | 3 | 3688 4 | 2 | 9087 5 | 1 | 10000 ===============

  • Easiest way to open CS 5.5 files in CS 5?

    Does anyone happen to know if CS 5.5 users can save files back to CS 5? If so, how is that accomplished? Have their been any known issues?

  • How do you retrieve the USR_LOCK value?

    How do you retrieve the USR_LOCK value, it cant be mapped directly on the process task right? You writed custom JAVA code? Thanks in advance.