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

Similar Messages

  • 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

  • How to take a report for the assigned transaction and activity in a role

    Hi Colleagues,
    I want to take a report for the assigned transaction with activity for all roles, which are assigned to the users,
    Transaction list for a role i can able to take it from SUIM but not able to take the ACTVT for the role.
    Please suggest how to take this information.
    BR,
    Jai

    Hi Jaikumar from the post :
    I think you have reached the state of finding the USER to ROLE relationship
    Take the output to an excel,
    COPY just the roles column exactly in order do not rearrange , use AGR_1251 like other experts have mentioned
    insert the roles copied from you buffer and execute, the output will have multiple entries for each role take the output to an EXCEL again , make it unique and match the outputs between both the EXCELS.
    It will be a little tricky to do this, but I think you are proficient in MS EXCEL.
    This is one of the ways to do , there are many other ways to do it.

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

  • ABST2 - How to take the report for the previous fiscal year

    Hi,
    For FI-AA reconciliation, my scenario is this: The current fiscal year is 2009 and the system (server) date is 16-Apr-2009. My fiscal year period is: Mar-Apr. In ABST2, it does not accept Fiscal year. When I take the report, it displays for fiscal year 2009, which I don't want because I want it for the fiscal year 2008 to reconcile between FI and AA. The fiscal year 2008 is not yet closed in both FI and AA, so I want the report for 2008 only. But ABST2 always gives the report for the current fiscl year. Is there any way out to get the report for 2008?.
    Thanks,
    Kannan S

    This report is based on the actual values. In the past this report was used for EURO conversions to see if the values are in line. When not it was not possible to do the euro conversion.
    Normal it is a part from the fiscal year closing

  • 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 for period of 30 min

    All,
    It would be glad if anyone has any job that would take AWR Report for 30 min.
    Regards,
    ORA

    Thanks hawk,
    sorry for the confusion..
    Ok i shall modify my question...when i took the report manually the "Elapsed time" was for 1 min...(Everything was successful)
    How can i take the same for about 15-30 min.
    Regards,
    ORA

  • 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 :-)

  • 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

  • HT5429 How long after you report a problem does it take for the fix to be picked up in maps?

    How long after you report a problem does it take for the fix to be picked up in maps? The street I live on is misspelled. It's shown as one word, but it should be two words. Maps cannot find the address when it is spelled correctly, so I have it purposely misspelled it as one word in my contacts, which helps for the most part, however it still tries to place my home on an entirely different street all together. Fortunately this new random street is at least close to where I live. When I used to spell my street correctly with two words, maps would try to send me to the next town over. So it kind of works, as long as I misspell my street, and ignore the fact that it is showing where I live to be a couple of streets down from where I actually live. I live in Connecticut - not in the most populated of areas, but not in the middle of nowhere either. Amazingly enough Google Maps will correctly find my address whether it's spelled with one words or two words. Google Maps also shows my apartment complex, which Apple Maps does not. I really wish Apple would just do a quick pass of the area to fix these issues. I’ve reported the problem several times, months ago. How long will it take for there to be a fix? I keep trying to use the Apple ecosystem, but Google is clearly the better solution for me.

    Apple does not do the GIS data for maps. That comes from 3rd party vendors like Tom Tom. I have read it takes some time to update map data. The only thing you can do is report it.
    Not to belittle your complaint, but on my end it is Apple that is clearly better. When looking at my house in Google, the satellite photo is more than 4 years old, and the Apple one is much newer. I can tell because of the condition of my home and the neighbor's. They had an above ground pool which was removed 4 years ago and it shows on the Google Map. I had remodeling and roof work done to my home that started 3 years ago and Apple's satellite view showed this work done, which took over a year to complete. I live in the middle of a block in a rural town. Both Apple and Google split the block into 100 parts and put my home close to the beginning of the block instead of where it actually sits. I've reported it to both Google and Apple and no one has changed. Just one of those things. But, keep your chin up, it will get corrected eventually.

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

Maybe you are looking for