on the duration of the awr

Hi guys

In fact my production database is in the United States. So I asked the awr there report.

They sent me a report snapshot 1 week

But someone said that its useless, you should take a snapshot of 1 hour. This will help.

So I just want to confirm it is true.

I should adjust my database according to the CWA of 1 hour.

Thanks in advance

Yes it's true. Snapshot of 30 minutes or 1 hour will be useful. Actually take the CWA of problematic time when you got the slow response or to deal with any problem.

Go to this link, it will help you:

http://download.Oracle.com/docs/CD/B19306_01/server.102/b14211/AutoStat.htm#PFGRF02601

Change the default behavior and take pictures EVERY half hour:

BEGIN
() DBMS_WORKLOAD_REPOSITORY.modify_snapshot_settings
interval of-30 online); -Take the snapshot every 30 minutes
END;
/

-modify snapshot settings

BEGIN
DBMS_WORKLOAD_REPOSITORY. Modify_snapshot_settings (retention-online 1440,
dbid-online 1746103892);
END;
/

-Instant range reduction

BEGIN
DBMS_WORKLOAD_REPOSITORY. DROP_SNAPSHOT_RANGE (low_snap_id-online 53,
high_snap_id-online 60, dbid-online 1746103892).
END;
/

Concerning
Asif Kabir

-If helps to... mark the answer as correct/useful.

Tags: Database

Similar Questions

  • How to generate the AWR compare period report comparing No. continues period

    Hi guys,.

    I take a photo based CWA at all hours for a week.

    Now, I would compare the snapshots collected during the day (between 08:00 and 04:00) for snapshots collected during the night (between 18:00 to 06:00) for not only one day, but throughout the week.

    I just want to ask you how can I generate an AWR report compare with these pictures?

    Do I have to use some template base AWR special or something?

    Eric.Zhou wrote:
    For 7 days, I take 2 basic lines every day, the first inlcude reference performance data collected from 08:00 to 17:00. The second category includes data from 18:00 to 06:00. So I will be having 14 lines at the end of the week. See below:

    Reference collected during the day: day_baseline_1, day_baseline_2, day_baseline_3, day_baseline_4, day_baseline_5, day_baseline_6, day_baseline_7
    Line base gathered during the night, night_baseline_1, night_baseline_2, night_baseline_3, night_baseline_4, night_baseline_5, night_baseline_6, night_baseline_7

    I like to summarise the data collected in the "day_baseline_7 day_baseline_1" then compare it to the data that were "night_baseline_1 at night_baseline_7".

    A step in this direction will be to export the AWR (there is a script awrextr.sql that can help with this) and then would drop snapshots for the baselines during the day. You can then generate a report covering the week of nights. Import the AWR (there is the script for this, too), drop the night base lines and generate a report for the week of days. You will have to compare them by hand, but you all week in each report.
    Everything good?

  • NPL of multiple execution for the awr sql_id

    Hi Experts,

    NPL of multiple execution for the AWR sql_id,

    I followed questions

    1. What plan using opimizer tcurrently?
    2. make sure optimizer to choose good plans


    SQL > select * from table (dbms_xplan.display_awr ('fb0p0xv370vmb'));

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    SQL_ID fb0p0xv370vmb
    --------------------

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Hash value of plan: 417907468

    ---------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |
    ---------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 63353 (100) |
    | 1. UPDATE |
    | 2. SORT ORDER BY | 17133. 2978K | 3136K | 63353 (1) | 00:14:47 |
    | 3. HASH JOIN RIGHT SEMI | 17133. 2978K | 62933 (1) | 00:14:42 |
    | 4. COLLECTION ITERATOR PICKLER FETCH | |
    | 5. HASH JOIN RIGHT SEMI | 68530 | 11 M | 62897 (1) | 00:14:41 |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 6. VIEW | VW_NSO_1 | 5000 | 35000 | 33087 (1) | 00:07:44 |
    | 7. COUNTY STOPKEY |
    | 8. VIEW | 127K | 868K | 33087 (1) | 00:07:44 |
    | 9. GROUP SORT BY STOPKEY | 127K | 2233K | 46 M | 33087 (1) | 00:07:44 |
    | 10. TABLE ACCESS FULL | ASYNCH_REQUEST | 1741K | 29 M | 29795 (1) | 00:06:58 |
    | 11. TABLE ACCESS FULL | ASYNCH_REQUEST | 1741K | 280 M | 29801 (1) | 00:06:58 |
    ---------------------------------------------------------------------------------------------------------------

    SQL_ID fb0p0xv370vmb
    --------------------
    SELECT ASYNCH_REQUEST_ID, REQUEST_STATUS, REQUEST_TYPE, REQUEST_DATA, PRIORITY, SUBMIT_BY, SUBMIT_DATE.

    Hash value of plan: 2912273206

    --------------------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 45078 (100) |
    | 1. UPDATE |
    | 2. SORT ORDER BY | 1323. 257K | 45078 (1) | 00:10:32 |
    | 3. TABLE ACCESS BY INDEX ROWID | ASYNCH_REQUEST | 1. 190. 3 (0) | 00:00:01 |
    | 4. NESTED LOOPS | 1323. 257K | 45077 (1) | 00:10:32 |
    | 5. THE CARTESIAN MERGE JOIN. 5000 | 45000 | 30069 (1) | 00:07:01 |
    | 6. UNIQUE FATE |
    | 7. COLLECTION ITERATOR PICKLER FETCH | |
    | 8. KIND OF BUFFER. 5000 | 35000 | 30034 (1) | 00:07:01 |
    | 9. VIEW | VW_NSO_1 | 5000 | 35000 | 30033 (1) | 00:07:01 |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 10. UNIQUE FATE | 5000 | 35000 |
    | 11. COUNTY STOPKEY |
    | 12. VIEW | 81330 | 555K | 30033 (1) | 00:07:01 |
    | 13. GROUP SORT BY STOPKEY | 81330 | 1 429 K | 2384K | 30033 (1) | 00:07:01 |
    | 14. TABLE ACCESS FULL | ASYNCH_REQUEST | 86092 | 1513K | 29731 (1) | 00:06:57 |
    | 15. INDEX RANGE SCAN | ASYNCH_REQUEST_SUB_IDX | 1 | | | 1 (0) | 00:00:01 |
    --------------------------------------------------------------------------------------------------------------------------

    Hash value of plan: 3618200564

    --------------------------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 59630 (100) |
    | 1. UPDATE |
    | 2. SORT ORDER BY | 4474 | 777K | 59630 (1) | 00:13:55 |
    | 3. HASH JOIN RIGHT SEMI | 4474 | 777K | 59629 (1) | 00:13:55 |
    | 4. VIEW | VW_NSO_1 | 5000 | 35000 | 30450 (1) | 00:07:07 |
    | 5. COUNTY STOPKEY |
    | 6. VIEW | 79526 | 543K | 30450 (1) | 00:07:07 |
    | 7. GROUP SORT BY STOPKEY | 79526 | 1397K | 7824K | 30450 (1) | 00:07:07 |
    | 8. TABLE ACCESS FULL | ASYNCH_REQUEST | 284K | 5003K | 29804 (1) | 00:06:58 |
    | 9. TABLE ACCESS BY INDEX ROWID | ASYNCH_REQUEST | 71156 | 11 M | 29141 (1) | 00:06:48 |

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    | 10. NESTED LOOPS | 71156 | 11 M | 29177 (1) | 00:06:49 |
    | 11. UNIQUE FATE |
    | 12. COLLECTION ITERATOR PICKLER FETCH | |
    | 13. INDEX RANGE SCAN | ASYNCH_REQUEST_EFFECTIVE_IDX | 327K | | 392 (1) | 00:00:06 |
    --------------------------------------------------------------------------------------------------------------------------------

    Thank you
    -Raj

    Published by: tt0008 on August 22, 2012 20:34

    Hello

    (1) you can see what plan has been used lately by running this query:

    select begin_interval_time, plan_hash_value
    from dba_hist_sqlstat st,
            dba_hist_snapshot sn
    where st.snap_id = sn.snap_id
    and sql_id = 'fb0p0xv370vmb'
    order by begin_interval_time desc;
    

    However, there is no guarantee that the next time you run this query, the latest plan will be chosen.
    Periodically, the plan is regenerated (for example when new statistics are collected, is the structure of a table referenced in)
    the query is changed etc.), and you can get 4 plans, or even a new function of many factors
    (statistics, bind variable values, the optimizer, NLS etc settings settings.)

    (2) this question is too large for the answer to fit into a thread, there are books written on the subject. The short answer is:
    If you know which of the 4 plans is right for you, then you can use a stored outline to lock in (it seems that you are not on 11g so SQL Profiler are not an option for you).
    Or you can try to find out why the optimizer generates different plans and address the underlying issue (the most common reason is to bind peeking - but to say
    course, we need to know more, starting with the text of your query).

    Best regards
    Nikolai

  • Section of the AWR report

    Hi all


    Please explain after section of the awr in details report
    Top 5 timed events in foreground

    Event waits Time (s) waiting (ms) % DB class average response time wait
    DB CPU 26 453 61.14
    DB file sequential read 5 066 221 1 6 084 14.06 user I/O
    ENQ: TX - line 71 1 542 21725 3.56 Application lock conflict
    db file scattered read 279 112 1 148 4 2.65 user IO
    Log file sync 394 955 1 109 3 2.56 commit
    Host CPU (processors: 2 hearts: 2: 2)

    Average load Begin load average end user % WIO %System% Idle
    0.05 0.37 7.0 4.1 3.7 88.9
    Instance of CPU

    % Total % CPU busy % DB time CPU waiting for CPU (Resource Manager)
    11.1 99.7 0.0
    Memory statistics

    Begin End
    Host Mem (MB): 12,281.8 12 281,8
    Use of LMS (MB): 2,048.0 2 048,0
    Use of PGA (Mo): 177.1 321,9
    Host % Mem used for SGA + PGA: 18,12 18.12

    Hi Arun,

    I don't think that this figure is very useful - is not to tell you what SQL (user or recursive, what happens the 22 percent of the time, etc.).

    So far, you seem to forward the wrong way. You are looking for in your CWA to find a problem. It's like a medical doctor looking at test results to see if a patient has a headache. You ask the patient on the headache and then you look in its test of possible clues as to what is the cause.

    Same thing with AWR. Ask your users what's troubling them. So look AWR and try to see explanations for it.

    Best regards
    Nikolai

  • The AWR report.

    I received a task to read the AWR report, what do I really see in the AWR report? The report I got is 11Hours where they have a lot of data migrations. I know how to take AWR report, but I'm not really sure. What I find in report AWR to ensure that the database performs well during the migration.
    select * from v$version
    BANNER                                                                           -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production     PL/SQL Release 11.2.0.2.0 - Production                                           CORE     11.2.0.2.0     Production                                                         TNS for HPUX: Version 11.2.0.2.0 - Production                                    NLSRTL Version 11.2.0.2.0 - Production                                          

    An AWR report has a ton of information - covering how read all sections (and then how to answer) would mean at least a book.

    Level the most basic, however, you want to probably take a look at the events of top 5 waiting to see that the database is waiting, the time of database is average time spent vs in the header to see how busy the database, and the various statements of Top SQL by x to see the SQL statements are represented the majority of the database is waiting to see what statements could be tuned to improve performance.

    Justin

  • Default location of the AWR report in windows?

    Can someone please tell me the default location of the AWR report for Oracle 10 g for Windows?

    In the current directory, you are when it is connected to the database to generate the report.

    Nicolas.

  • Physical location of the AWR snapshots

    Hello

    Oracle - 10.2.0.4 version
    OS - Windows

    Can someone tell me where the AWR snapshots reside on OS (FULL PATH)?

    Deccan charger says:
    Hello

    Oracle - 10.2.0.4 version
    OS - Windows

    Can someone tell me where the AWR snapshots reside on OS (FULL PATH)?

    SYSAUX tablespace.

    Aman...

  • Load data to the warehouse of the AWR problem

    Hello!

    I started to use warehouse AWR and especially database loaded successfully.

    But a few DB, there is problem, here is the output of 'Instant download now' job:

    SQL > SQL > SQL > BEGIN dbsnmp.mgmt_caw_extract.run_job_now; END;

    *

    ERROR on line 1:

    ORA-20137: NO NEWS EXTRACT SNAPSHOTS

    ORA-06512: at «DBSNMP.» MGMT_CAW_EXTRACT', line 528

    ORA-06512: at line 1

    Someone at - it experience with similar problems?

    Problem solved. things to check:

    -parameter job_queue_processes > 0, scheduller work MGMT_CAW_EXTRACT must run every 3 hours.

    -CAW_EXTRACT directory must exist and point to the directory in the directory agent 12 c.

    Dbsnmo.mgmt_caw_extract.run_extract of procedure can be executed manually first, after that this download job runs successfully.

  • How to activate the keys to generate and view the AWR reports Developer SQL

    Version: 4.0.3.16

    Build: HAND - 16.84

    S/n > (sid) > Performance > AWR report viewer

    I am able to select the start and end ID, but the following buttons are disabled:

    • Entries Toggel
    • Generate the report
    • Save to file
    • Open in browser

    What needs to be done to enable these buttons?

    Hello

    After entering start Id and the Id of the end, the button "report" will be activated, and then after that the report generated (by clicking the report generate) rest buttons button is activated. As shown in the image below.

    Hope it will be useful.

    Kind regards

    Sanjaya

  • questions about the awr report & sqlt

    Hi guys,.

    DB version: 10.2.0.5

    Need your advice.

    For my AWR report, I put the 30-day retention period. From my understanding, the information in awr report are taken from several views of dba_hist *.

    Points of view takes only those albums n intenstive SQL Statistics on resources?

    I ask this because I have a doubt. Let's say that on 18/03/2014, I detected a long SQL with sql id xxx.

    Using SQLT (such method), I can only see the historical performance of Plan (delta) for this particular SQLs 16/03, 17/03, 18/03.

    In this case, we can say that the SQLs shot only 3 days for the last 30 days? Or it can also mean that the particular SQL was not classfified at the top of the page resource n intensive 18/02 to 15/03 SQLs (probably use a better plan - for example: plan a different value)?

    Thank you

    That is right.

    Concerning

    Jonathan Lews

  • By comparing the AWR & ADDM

    Hi all

    11.2.0.1

    AIX 6.1 5L

    I took the State of using ADDM and AWR performance over the same period of wink to my database.

    And here's the result:

    ADDM

    https://app.box.com/s/okm6ikhm8e3ia366i7yk

    AWR

    https://app.box.com/s/qocw6cuo2yrhkpmwz2ey

    Why is that ADDM report say that the database has no activity while AWR says the database is busy?

    Please help in the analyses.

    Thank you very much


    zxy

    Hello

    I think that, when the CPU work less, then a minute earlier, busy is not word, I would choose. You have four processors so more than 60 minutes, I'll study reports a little longer.

    Best regards

    Thomas

    PS: 1 hour and no switch Journal of archivle, this is not an optimal configuration.

  • The AWR reports specific to the instance or scale the database?

    I could not find references to documentation which clearly indicates an AWR report generated in a RAC database instance if the specific instance or it contains all instances of database RAC (aggregated) information. Can someone tell me please to resources which should clarify this point.

    Env: 10.2.0.4

    Published by: user589121 on September 29, 2009 12:15

    Hope this helps:
    [Automatic repository of the workload in Oracle RAC environments | http://download.oracle.com/docs/cd/E11882_01/rac.112/e10718/monitor.htm#i1009926]

    -André

  • Calendar of the AWR

    Hello world

    I want to program AWR, but it seems this setting just supported Oracle interval, I just want to 09:30, 11:30, 14:30, 16:30 the day, while it will save SYSAUX tablespace.
    I use cron job or shedule statspack on Oracle 9i dbms_jobs.
    Thank you
    Simon Lai

    I want to program AWR, but it seems this setting just supported Oracle interval, I just put 09:30, 11:30, 14:30, 16:30 day

    As far as I KNOW, this can be done only by planning the CWA in these times specified using DBMS_SCHEDULER.

    The interval set how many times dbms_workload_repository.modify_snapshot_settings defines snapshots are captured automatically.

    Anand

  • How to find the total number of queries from the awr report

    Hi all

    Is it possible to find on the total number of queries fired on the database of an AWR report.

    No, it means that there are 26,459,500 executions and captured SQLs accounts 93.9% of total executions, i.e. the 24 845 execs 470.5.

  • I can't the arguments passed to the AWR Design environment?

    From a script Visual Basic can I get a list of command line arguments that were used to start Office from microwave or VSS?

    The command line arguments passed to the application at startup are accessed through the collection of application arguments MWOffice.Arguments . Each whitespace delimited command line argument is available as an argument object in the collection. The Argument.Value property contains the value of this argument. For example, the following script displays a list of the arguments passed to the application in the debug output window.

Maybe you are looking for