Diff b/w snapshot baselines and AWR reports

Hi All,
Can anyone tell what is the difference b/w snapshot baselines and AWR reports. I have gone through couple of articles and i feel both are same, however given different names.
Am I correct?
Thanks

AWR report is a report comparing the pair of snapshots and thus giving you the details of what has happened between that inerval!
The baselines is that "interesting time period" which you define telling to oracle and is used by oracle to compute the sql response tiime of your db with it in the subsequent timings. So both are completely different actually!
HTH
Aman....

Similar Messages

  • Is statspack and awr report are same?

    Hi
    All,
    Is statspack and awr report are same? and in which oracle version they are?
    Thanks,
    Vishal

    I wouldn't expect AWR or statspack to be able to generate snapshots or to run reports while the database is in restricted mode. I've never tested it, but I wouldn't expect it to work.
    Restricted mode is not normally used to allow normal users to test a database. Normally, if you're upgrading a production database, you have already validated that the upgrade works correctly by upgrading and testing the dev, test, and potentially staging databases. So when it comes to upgrading prod, you do the upgrade, verify that the upgrade scripts didn't throw any errors, and open up the database for users to do some quick validation. If there is some fear that users logging in would "mess up the database", that implies that you don't have enough confidence in the upgrade to even think about upgrading prod.
    Occasionally, you'll have a standby database that gets upgraded and opened up and a select number of users given information on how to connect to the new database. Those users would verify the new database and then some sort of switchover would take place to move everyone from the old system to the new one. That generally requires a lot more work, though, because you have to replicate data during the parallel production phase.
    Justin

  • 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

  • ADDM and AWR report interpretation

    Hi,
    I have some confusion regarding the understanding of ADDM and AWR report.
    I have created AWR reports for various period. All report indicated that all Instance efficiency checklists at their high 90s.
    I have also created ADDM report during the same intervals. ADDM reports suggesting a higher SGA value.
    When I am trying to correlate the ADDM and AWR then the findings seems self contradictory. On one hand AWR reflecting high instance efficiency ratios and on the other ADDM suggesting for higher SGA value. Please help me to get a better idea regarding this.
    There is one more confusion. Due to some product related compulsion we have to use CURSOR_SHARING=EXACT. But the AWR report reflects 98 against Soft Parse %. Though we are using high number of bind variable within our application. But due to the value of CURSOR_SHARING all queries should be hard parsed each time the literal change. As per my understanding there should be very less soft parsing, but the value reflects high Soft Parse.
    Thanks in advance for your valuable time.
    Regards,
    Joy

    >
    Just a little detail to add to Dom's comments.
    If you are convinced that you have lots of code that should be doing hard parsing, but the "soft parse ratio" looks wrong, then take a look in the statspack/AWR section labelled "SQL ordered by Parse Calls". You may find that some trivial, harmless looking piece of SQL has suffered a huge number of parse calls - and if so they will almost certainly have been "soft" parse calls and could therefore be hiding your expected "hard" parse figures.
    Critical point: if you look at a ratio, you've hidden the underlying scale of any potential problem.
    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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Can I have automatic e-mail setting for ADDM and AWR reports??

    Can I have Automatic e-mail settings for all my AWR and ADDM reports so I don;t have to run the reports all the time but they can be sent over to my mailbox and I can review them, if at all I can do that then can I bound them to a particular time frame where I can recieve only those reports durin the peak usage of my database.
    thanks

    Hi Rohan,
    Can I have Automatic e-mail settings for all my AWR and ADDM reports so I don;t have to run the reports all the time but they can be sent over to my mailbox and I can review them,You bet! I do it for all of my databases:
    1 - Use a cron (or preferably dbms_scheduler) to schedule the awrrpt.sql execution, directing the report to a fixed file location (e.g. /tmp).
    2 - As step 2 from the scheduled task, direct the report as input to sendmail:
    For Windows:
    http://www.dba-oracle.com/t_e_mail_interface_windows.htm
    For Linux:
    http://www.dba-oracle.com/t_email_mailing_messages_plsql.htm
    For complete details of job scheduling, see Dr. Hall's book "Oracle Job Scheduling":
    http://www.rampant-books.com/book_2005_1_scheduling.htm
    Hope this helps. . . .
    Donald K. Burleson
    Oracle Press author

  • Oracle 9.2.0.8 and AWR report?

    Does anyone know if 9.2.0.8 supports AWR?
    Thanks in advance!

    Thanks! I figured it may since I have also seen that it now support Automatic Memory Management, which was also introduced in 10g v1.
    Thanks

  • Run single, consolidated AWR report on 4 adjacent snapshots?

    We typically collect snapshots in 60 minute periods for our instances. Recently, a customer ran a test for 3.5 hours. I created an ADDM report spanning the 4 snapshots (useful). However, being able to generate an AWR report for the same 3.5 hour duration would add additional insight.
    Currently, I can generate 4 separate AWR reports, one for each hour. However, I'd like to be able to create a single, consolidated AWR report. This way, I don't have to manually sum useful numbers like Executions contained in 4 separate AWR reports for SQL ordered by Elapsed Time, etc.
    Can I create one, aggregated AWR report? Or is my only other option to revise the snapshot collection duration before the next scheduled load test occurs (e.g. to 3.5 hours for a 3.5 hour load test)? Would prefer not to have to do this. But is it the only available option to accomplish what I need?
    Thanks very much.

    Thanks Rob. I'm able to run an ADDM report for the 3.5 hour duration I need. No problem there. I want to run a consolidated "AWR report" on multiple snapshots, e.g:
    Performance > Snapshots > Click a snapshot ID > Click Report tab (by default you are on the Details tab).
    This AWR report gives a lot more information than an ADDM report.
    Can I select multiple snapshots for the AWR report? I'm already doing so with ADDM reports.
    The title for the "AWR" report I'm interested in is: "WORKLOAD REPOSITORY report for." It doesn't have ADDM findings in it because it's not making recommendations--just reporting a large amount of snapshot details.
    I'm guessing now that the answer is "no" to what I'm asking. Hope this makes sense.

  • 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

  • Updating AUD$ consumes most of the time in AWR report.

    Hi All,
    It's really good to see, great people passing their help to folks like us and making our life easier. Going forward,I am investigating on of the performance issue and analyzing the AWR report. By looking AWR, I did find updating aud$ taking most of times in AWR report. Following are the information , I extracted from the database and AWR report. Please see, what can be done to take away the bottlenecks.
    Version --  11.1.0.6.0
    OS      --  HPUXX Itanium
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    enq: BF - allocation contentio        9,007       6,893    765   45.5 Other
    DB CPU                                            2,565          16.9
    db file scattered read              555,031       2,428      4   16.0 User I/O
    read by other session               288,910       1,428      5    9.4 User I/O
    PX Deq Credit: Session Stats         22,650         231     10    1.5 Other
    209fr01svbb5s
                                                              wait   % DB
    Event                                 Waits     Time(s)   (ms)   time Wait Class
    db file scattered read              291,023       1,973      7   61.6 User I/O
    DB CPU                                              890          27.8
    read by other session                81,495         340      4   10.6 User I/O
    log file sync                         1,210          21     17     .6 Commit
    db file sequential read              30,452          15      0     .5 User I/O
      Elapsed      CPU                  Elap per  % Total
      Time (s)   Time (s)  Executions   Exec (s)  DB Time    SQL Id
         3,134        833          118       26.6    97.9 209fr01svbb5s
    update sys.aud$ set action#=:2, returncode=:3, logoff$time=cast(SYS_EXTRACT_UTC(
    systimestamp) as date), logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logo
    ff$dead=:7, sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100     
    -------------------------- Plan from Cursor ---------------------------------------
    SQL_ID  209fr01svbb5s, child number 0
    update sys.aud$ set action#=:2, returncode=:3,
    logoff$time=cast(SYS_EXTRACT_UTC(systimestamp) as date),
    logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logoff$dead=:7,
    sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100
    Plan hash value: 1651467381
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | UPDATE STATEMENT   |      |       |       |     2 (100)|          |
    |   1 |  UPDATE            | AUD$ |       |       |            |          |
    |*  2 |   TABLE ACCESS FULL| AUD$ |     1 |   139 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter(("ENTRYID"=1 AND "ACTION#"=100 AND "SESSIONID"=:1 AND
                  ("SPARE2" IS NULL OR USERENV('ISDBA')='TRUE')))
    ++++ Last Anylzsed +++++
    TABLE_NAME                     LAST_ANAL
    AUD$                           08-NOV-07
    ++++++++ Table Size ++++++++++++++++++++++
    SQL> select sum(bytes)/1024/1024 "Audit Size" from dba_segments where segment_name='AUD$';
    Audit Size
          2469Regards

    Before purging audit data I would suggest two things. First what is the time period for the report in question? If it is for a low usage period then the audit activity as a percentage of the overall load may be a bit distorted. It may also be worth checking to see what information the audit captured as you could have a contractual or legal obligation to capture the data.
    Second and most import look to see what audit rules are in effect. By just removing a few unneeded rules such as auditing successful logins/logoffs or changing from by access to by session for specific objects you could potentially remove most of the activity being shown.
    You may also want to check to see if a purge job has been set up. See dba_scheduler_jobs and Oracle proviced package: DBMS_AUDIT_MGMT.
    HTH -- Mark D Powell --

  • How can I have a collective AWR report for RAC database in 10gR2 and 11gR1?

    Plz correct me here
    awrrpt.sql takes the snapshot at the instance level and incase we have 5 instances we have to take 5 awr reports for a particular period.correct???
    If above is true ,any wayout to collect a single collective AWR report for RAC database which includes information on all the instances in Oracle 10g R2 or 11gR1 ?
    Thanks in advance
    Gagan

    I have never come across a way for this. though I can n't say it is not there.
    But I guess it may not be feasible too becuase as we know the current AWR report contains data which is specific for one instance.
    Various hit ratios, top events, instance effeciency reports.... what not ..
    It would be really nice to see something is a new format where it lists values from each instance in a single report.. I guess such a thing Does not exiist as of now.

  • Running awr report between start of load testing and end of load testing

    Hi,
    How i can get awr report between 2 intervals(snap before the load testing and snap after the load testing)
    supoose load testing will happening for 1 hours and 30 minute and i need to get awr report how i can get this since i know interval between snapshots 60 minutes by default .
    is it accomplished by manually inputs appreciated.
    Thanks
    Prakash

    You change the interval to the increment you wish.
    http://www.morganslibrary.org/reference/dbms_wrkld_repos.html
    DBMS_WORKLOAD_REPOSITORY.MODIFY_SNAPSHOT_SETTINGS.

  • CPU TIME and DB CPU events under TOP 5 TIMED FOREGROUND EVENTS section in AWR report

    Is there any difference between "CPU TIME" event and "DB CPU" event when shown in AWR report under section "TOP 5 TIMED FOREGROUND EVENTS"?
    As per my understanding of both these terms they indicate the same thing. But then if it is so then why have different names?
    I searched around but the only relevant discussion that I found was as under, which didn't really cleared the doubt.
    https://forums.oracle.com/message/2571255#2571255

    In the article that you have mentioned - Jonathan Lewis gives you a very clear explanation. CPU Time is updated at the end of a query. DB CPU is updated every few seconds.
    So the CPU Time may be less than DB CPU if there is a long running query that did not complete during the snapshot that you are reporting for. Conversly CPU Time may be larger than DB CPU if there is a long running query that spanned multiple snapshots but completed in the snapshot that you are reporting for.

  • Privilege to create AWR and Statspack report to normal user

    Hello,
    I want to give right to one of the database user to create STATSPACK report in one database (no license there) and and to generate AWR report in other (licensed diagnostic+tuning pack).
    Is there any privilege which I can give to create these reports only. I mean on a safe side ...
    @?/rdbms/admin/spreport privilege to generate STATSPACK
    @?/rdbms/admin/awrrpt privilege to generate AWR report.
    Thanks a lot.
    Best Regards

    Hi,
    Check the grants again, seems you missed some grant. check the test here
    SQL> create user test identified by test;
    User created.
    SQL> grant create session to test;
    Grant succeeded.
    SQL>
    SQL> GRANT SELECT ON SYS.V_$DATABASE TO TEST;
    GRANT SELECT ON SYS.V_$INSTANCE TO TEST;
    GRANT EXECUTE ON SYS.DBMS_WORKLOAD_REPOSITORY TO TEST;
    GRANT SELECT ON SYS.DBA_HIST_DATABASE_INSTANCE TO TEST;
    GRANT SELECT ON SYS.DBA_HIST_SNAPSHOT TO TEST;
    GRANT ADVISOR TO TEST;
    Grant succeeded.
    SQL>
    Grant succeeded.
    SQL>
    Grant succeeded.
    SQL>
    Grant succeeded.
    SQL>
    Grant succeeded.
    SQL>
    Grant succeeded.
    SQL>
    SQL> conn test/test
    Connected.
    SQL> @?/rdbms/admin/awrrpt.sql
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance
    1667776968 DDTEST              1 ddtest
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: html
    Type Specified:  html
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       DB Id     Inst Num DB Name      Instance     Host
    * 1667776968        1 DDTEST       ddtest       vnode
    Using 1667776968 for database Id
    Using          1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed.  Pressing <return> without
    specifying a number lists all completed snapshots.
    Enter value for num_days: 1
    Listing the last day's Completed Snapshots
    for statspack user you can check the script spcreate.sql for details
    HTH

  • Configure/view AWR and ADDM reports

    our production server 11.1.0.7 (db) is running on redhat 5.3.
    how i can configure/view AWR and ADDM reports for this from my local machine
    please reply

    the AWR snapshots in 10g are automatically taken after every 1 hour by default , am i right ?
    YES
    some reference.
    http://www.oracle-base.com/articles/10g/AutomaticWorkloadRepository10g.php

  • User I/O and db file parallel read is high in AWR report

    Hi,
    We have one performance issue during a job execution.
    From the awr report we have identified one query with a table having millions of records causing problems and then we had also fine tuned that query by changing it's code and by using the optmizer hints. It is being executed in plsql batches. After fine tuning, On the first batch execution(first 5000 records) the query is taking only 5 mins, but on the consecutive batches it is consuming more time( more than 30 mins).
    From the awr report I got the statistics as
    Release : 11.2.0.2.0
    Instance Efficiency Percentages (Target 100%)
    Buffer Nowait %: 100.00 Redo NoWait %: 100.00
    Buffer Hit %: 85.44 In-memory Sort %: 99.98
    Library Hit %: 99.76 Soft Parse %: 99.15
    Execute to Parse %: 88.91 Latch Hit %: 100.00
    Parse CPU to Parse Elapsd %: 87.32 % Non-Parse CPU: 98.65
    The buffer hit % is good. On each batch execution it is taking different set of records.
    Top 5 Timed Foreground Events
    Event Waits Time(s) Avg wait (ms) % DB time Wait Class
    db file parallel read 120,485 42,540 353 89.60 User I/O
    DB CPU 3,794 7.99
    db file sequential read 145,074 606 4 1.28 User I/O
    db file scattered read 70,030 556 8 1.17 User I/O
    direct path write temp 12,423 21 2 0.04 User I/O
    So the I/O is our main concern since that query contains one table with millions of records.
    Host CPU (CPUs: 24 Cores: 24 Sockets: 4)
    Load Average Begin Load Average End %User %System %WIO %Idle
    1.40 1.45 0.6 0.3 3.7 99.0
    Load is also normal.
    From the Time model statistics , sql execute elapsed time is 98.27% of db time and only 7.99% is that of DB CPU.
    Memory Statistics
    Begin End
    Host Mem (MB): 64,318.0 64,318.0
    SGA use (MB): 30,720.0 30,720.0
    PGA use (MB): 488.2 497.1
    % Host Mem used for SGA+PGA: 48.52 48.54
    Both the size of sga_max_size and sga_target are 32,212,254,720(32gb) bytes and that of
    pga_aggregate target is 629,145,600(600mb)
    from this it is evident that the memory is still available(so increase in memory size is not an option).
    The sql statistics for that query shows like that
    Elapsed Time (s) Executions Elapsed Time per Exec (s) %Total %CPU %IO SQL Id SQL Text
    44,950.03 55 817.27 94.67 6.99 94.72 79dgmrxh4kv74 SELECT /*+ index(cdr_data cdr_...
    I can't understand whether the problem is in the database side or with the query?
    If the problem is with the query, then how it has been executed in 5 mins for the first batch ?
    (all the batches are having 5000 records each).
    And how can we reduce the db file parallel read ?
    Your valuable advice will be greatly appreciated.
    Thanks in advance
    Manoj Kumar N

    "db file parallel read" is likely to be associated with something like index prefetching.
    See:
    http://www.freelists.org/post/oracle-l/RE-Calculating-LIOs,11
    http://aprakash.wordpress.com/2012/05/29/index-range-scan-and-db-file-scattered-read-as-session-wait-event/
    http://jonathanlewis.wordpress.com/2006/12/15/index-operations/
    Tune the SQL.
    Review the execution plan.
    Check whether the statistics are accurate.
    Review whether the index hint (and others that we can't see) is appropriate.

Maybe you are looking for

  • Issue: Sending material master using ALE-IDOC.

    Hi all, I am sending the material master data from one server to another.All the fields getting transported along with creator(field ERNAM) of the material.When viewed from WE05 the field is having the same data as original creator of the material in

  • Billing documento to CO-PA

    Hello gurus, I want to allocate to CO-PA the sales order billing document (VF02). I have customized KE4I and the P&L account is cost element type 11. when i create the billing document the profitability analysis object is derivated but no profitabili

  • .cfm pages won't display on CF10 on Windows server 2008

    I have a new VPS setup that has CF10 running on a Windows 2008 box.  My site is setup in IIS and I can navigate to any root folder in browser.  That's because the root folder(s) recognizes index.cfm as a default page.  However, any time I click a lin

  • WinXP - Adobe Reader XI issues

    Since installation of this update  (32-bit) I cannot see pictures in emails, open links, or open PDF files.  Receive a "X" where photos are embedded in emails. and the reader shows a grey screen when trying to open PF files either from the web or fro

  • Adobe digital e reader

    downloaded ok.. test book dowloads ok ..try to download public library e book--error message "could not open urllinc.acsm  not supported file or damaged""guttenberg downloads ok  any advice on this?..billmak31...