Awr and dba_feature_usage_statistics

Hi Gurus.
I found below important information about the license.
http://download-east.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHJJBGA
It says that to use AWR features(to access v$active_session_history, dba_hist_xxxxxxx, oracle_home/rdbms/admin/awr*.sql, etc...), we need to extra license, correct?
after I installed enterprise edition and set up EM( not grid ) for test, I have questions
1. I checked 'remove access' on the management pack access screen of EM's setup menu.
but still I can find all views(dba_hist_xxx, v$active_session_history, etc..) about AWR.
is it correct?
2. I ran a $ORACLE_HOME/rdbms/admin/awrrpt.sql script, but still I can find that the value of column 'Currently_Used' of the name 'Automatic Workload Repository' from the view 'dba_feature_usage_statistics' is still 'FALSE'.
is it correct?
thanks.
Edited by: Hangyo Jung on Sep 8, 2009 5:56 PM

Hangyo Jung wrote:
It says that to use AWR features(to access v$active_session_history, dba_hist_xxxxxxx, oracle_home/rdbms/admin/awr*.sql, etc...), we need to extra license, correct?Yes - ou need to license the diagnostics pack (only available for Enterprise Edition)
>
after I installed enterprise edition and set up EM( not grid ) for test, I have questions
1. I checked 'remove access' on the management pack access screen of EM's setup menu.
but still I can find all views(dba_hist_xxx, v$active_session_history, etc..) about AWR.
is it correct?Yes. It only stops the display in EM. Since some of these views are also used for other things internally, it does not remove them. It's up to you to NOT access the views.
>
2. I ran a $ORACLE_HOME/rdbms/admin/awrrpt.sql script, but still I can find that the value of column 'Currently_Used' of the name 'Automatic Workload Repository' from the view 'dba_feature_usage_statistics' is still 'FALSE'.
is it correct?My be different for different versions. Not sure - you may want to check on MOS

Similar Messages

  • How to use awr and addm reports

    Hi,
    to use awr and addm reports does we should have separate license or oracle server software license is enough.
    which tool do we use to read this awr and addm reports in real time.
    please give your valuable suggestions.
    thank you!

    Seeing as you seem to want to continue the discussion on someone else's old thread rather than your own one
    AWR files in oracle
    If i don't then it is difficult to find the queries thata re related to my application as most of those are the sysqueries, i just need schema specific queries in the SQL ordered by Elapsed Time section. Perhaps you are using the wrong tool?
    A system-level report like AWR or ADDM is no use to you as it seems your application code is not significant at the system level.
    You might want to consider tracing the sessions from your application using client_id or module to identify sessions belonging to your application then possibly use TRCSESS and TKPROF.

  • Script to generate awr and e-mail to the user

    Hi ,
    Can someone help me with the script to generate AWR report and e-mail to customer on a daily basis?
    OS:AIX 6.1
    DB:11.2.0.2

    http://www.gokhanatil.com/2011/07/create-awr-and-addm-reports-and-send.html
    http://nadeemmohammed.wordpress.com/2011/10/27/generate-awr-reports-automatically-script/
    Generate Statspack report automatically once per day
    Your answer in above link(s), just read,understand and try to implement. If problem continue post here, we are here 24x7, but first show us yours efforts.
    Regards
    Girish Sharma

  • AWR and ADDM in general

    Hi,
    where can I find good easy material on net fro AWR and ADDM with examples and scenarios.
    Thanks
    rgds
    saaz

    Once you've run the ADDM report, I don't think you need any help deciphering it, it's pretty straight forward. The only question you need to ask is whether the recommendation is significant.
    For AWR interpretation, this is largely the same as Statspack. In addition to the links provided by others above, you may find this resource useful:
    [Connie Dialeris Green: Diagnosing Performance Bottlenecks using Statspack and The Oracle Performance Method|http://www.oracle.com/technology/deploy/performance/pdf/statspack_opm4.pdf]

  • Support for AWR and/or SR2???

    Will Aperture soon add support for AWR and/or SR2 files (generated by the Sony DSLR-A100)? What about Photoshop, for that matter?

    No, we have consolidated on the Apache XML/XSL stuff. You are free to use
    whatever other parser you would like however. The Sun XML pkg should work
    fine.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Boris Tabenkin" <[email protected]> wrote in message
    news:[email protected]..
    Are you still including the sun XML package, and if so which version?
    "Toby Allsopp" <[email protected]> wrote in message
    news:[email protected]..
    Hi, Craig.
    Craig Macha wrote:
    Our company typically does NOT use Open Source products. We can't
    risk
    not having support.
    I think you're a little confused about what "Open Source" means. Itdoesn't mean "unsupported." If you want support then you need to pay forit,
    just like any software. One of the advantages of open source software is
    that you aren't tied to a single vendor for your support - anyone with the
    appropriate skills can take the source code and
    provide support, as BEA have chosen to do in this case.
    Regards,
    Toby Allsopp.

  • Roles and Privileges for 10g AWR and ASH reports

    Are there specific roles and privileges are required for one to run AWR and ASH reports for users who don't have DBA roles? If so, I would like to know about them.

    I think sysdba privilege need to run AWR report.
    Also check, how privilege is granted to PERFSTAT user in $ORACLE_HOME/rdbms/admin/spcuser.sql, you might get some clue!!!
    Cheer,
    Virag

  • 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

  • Enable awr and tkprof for particular sid

    Hi all,
    how to enable awr and tkprof for particular sid.
    it is very urgent
    Thanks
    mano

    Trace a session.
    1)Logout all sessions from the database
    2)Login to application (ensure that only one session is available)
    3)sqlplus trace/trace@026
    4)check the sid and serial# of the session from v$session
    Use the following query
    SQL> select username,to_char(logon_time,'DD-MON-YYYY HH:MI:SS') from v$session where username='<db username>' order by logon_time;
    SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial#,TRUE);
    5)now execute the report/transaction.
    6)once the activity is over
    SQL>exec sys.dbms_system.set_sql_trace_in_session(sid,serial,FALSE);
    7)Now the trace file will be available in the udump folder of the database ip 10.44.0.26
    Userid/password: trace/trace
    The trace wil be available in /oracle/admin/orcl/udump
    8)To find the name of the trace file use the below query
    select spid from v$process where addr=(select paddr from v$session where sid=<enter the SID>);
    This will give the name of the file
    If you are not able to identify the trace file then please remove all files in udump before starting trace.
    9) ftp the trace fil to ur local pc and issue the tkprof command
    TKPROF <trace file (like D:\orcl_8853.trc)> D:\trace.txt explain=Oracle username/password (application user) sort=(prsela,exeela,fchela)
    This will give trace file in readable format(you need to have 10g client on your pc for tkprof to work)

  • 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

  • SQL Version Count in AWR and Child Cursor

    Hi,
    In 11.1.0.7, what is SQL Version count in AWR report? What does it mean? and how oracle does this version count? How do we define child cursor?
    Thanks

    Hi,
    when you issue a SQL statement, the database searches the library cache to find a cursor with matching SQL text. Then it can happen that even though the text matches, there are some other differences that prevent you from using existing cursor (e.g. different optimizer settings, different NLS settings, different permissions etc.). In such cases, a new child cursor is created. So basically child cursors are different versions of the same SQL statement.
    If you have SQL statements with thousands of versions, this could mean a problem for your shared pool (child cursors taking up lots of space and causing fragmentation), as well as a potential for performance problems due to plan instability (if the same SQL text is parsed to a new plan every time, sooner or later it will be a bad plan). That's why AWR report has this list.
    According to Oracle support, up to a couple of hundreds versions doesn't indicate a problem (cursor sharing mechanism isn't perfect), but when you have thousands or tens of thousands of versions, you should check your cursor sharing settings (first of all, CURSOR_SHARING parameter).
    Best regards,
    Nikolay

  • Anyone actually implement 10g AWR and ASM?

    in 9i and before, we use statspack to monitor performance. in 10g, it provides automatic workload repository. Does anyone use it and get rid of statspack?
    Moreover, anyone implement automatic storage management? such as create diskgroup dg1 normal redunduncy. Does it lower the performance?
    thanks

    hi
    i used both feature of 10g just for testing purpose on test database..
    yes these feature gives little bit effect on performance.
    asm instance also use 120m memory from ram.
    This is the not right time to use these feature in production database.
    and i don't think that 10g rel 1 is suitable for prod database.
    and in AWR it also provide information at OS level. like
    Operating System Statistics DB/Inst: TESTR/testr Snaps: 97-98
    Statistic Name Value
    AVG_BUSY_TICKS 3,391
    AVG_FS_IN_BYTES 26,542,080
    AVG_FS_OUT_BYTES 50,421,760
    AVG_IDLE_TICKS 354,372
    AVG_IN_BYTES 78,086,144
    AVG_IOWAIT_TICKS 7,790
    AVG_OUT_BYTES 68,083,712
    AVG_SYS_TICKS 980
    AVG_USER_TICKS 2,411
    BUSY_TICKS 3,391
    FS_IN_BYTES 26,542,080
    FS_OUT_BYTES 50,421,760
    IDLE_TICKS 354,372
    IN_BYTES 78,086,144
    IOWAIT_TICKS 7,790
    OS_CPU_WAIT_TIME 700
    OUT_BYTES 68,083,712
    RSRC_MGR_CPU_WAIT_TIME 0
    SYS_TICKS 980
    USER_TICKS 2,411
    and lots more...
    Thanks and Regards
    Kuljeet Pal Singh

  • Gather_table_stats and AWR

    Hi all,
    i would like to disable automatic gathering of table statistics with dbms_scheduler.disable(name => 'SYS.GATHER_STATS_JOB'), because we like to gather statistics every time immediatly after we batch load our tables in our data warehouse. Is it right that this job is also needed for AWR and that oracle will not save system statistics once per hour if i disable this job?
    Database version is 10gR2.
    Thanks,
    Robert

    user1367414 wrote:
    Hi all,
    i would like to disable automatic gathering of table statistics with dbms_scheduler.disable(name => 'SYS.GATHER_STATS_JOB'), because we like to gather statistics every time immediatly after we batch load our tables in our data warehouse. Is it right that this job is also needed for AWR and that oracle will not save system statistics once per hour if i disable this job?
    Database version is 10gR2.Robert,
    the recommended way to disable automatic statistics collection on the non-Oracle objects in 10g is:
    exec DBMS_STATS.SET_PARAM('AUTOSTATS_TARGET', 'ORACLE')
    This way the job still gets executed but collects only statistics on the dictionary / AWR / etc. (owned by Oracle) tables. If you disable the job completely, your dictionary statistics might get outdated, potentially leading to suboptimal dictionary performance.
    By the way:
    "Oracle Database 10g uses a scheduled job, GATHER_STATS_JOB, to collect AWR statistics."This is a bit misleading, the job's purpose is to collect object statistics, as already mentioned the AWR snapshots are controlled differently (and by default are taken every hour, not only during the maintenance windows).
    Another way you could handle your requirement would be to lock the statistics of the affected table or schemas by using DBMS_STATS.LOCK_TABLE/SCHEMA_STATS. This way these tables/schemas will be skipped by the default gathering job, and you need then to use the "FORCE=>true" parameter when gathering statistics individually. Note that there is one peculiarity with this approach: If you create/rebuild indexes on a table having the statistics locked, the default option "COMPUTE STATISTICS" of 10g doesn't apply any more, so it doesn't update the statistics of the index automatically in the dictionary, and there is unfortunately no "force" parameter available in the CREATE/ALTER INDEX command. You would need to either temporarily unlock the statistics or gather the index statistics separately (which means additional work for the database).
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/
    Edited by: Randolf Geist on Jan 18, 2009 12:17 PM
    Added note about lock statistics approach

  • 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

  • ASH and AWR related

    Hello,
    I have studied about AWR and ASH but i am not getting the clarity.
    Like ASH means it will collect information about all the active database sessions like database user,
    the module being run, SQL execution plans, wait events, CPU time used, and
    database objects being accessed.The MMNL background process is responsible for writing
    session data to memory. This should enable performance data to be collected
    with minimal overhead to the system
    AWR:-The Automatic Workload Repository (AWR) collects performance
    data automatically...
    Like performance data means it wll also collect info about sql exection plans and cpu time used and additionally about operating system statistics.
    What is the difference i am unable to understand...both will get the performance info about the database which will be used by ADDM to intimate us what should we do next thats it rite?
    KIndly tell me exact difference in simple words.
    Thanks,
    928714.

    Both are going to work automatically and without any special settings to be done . All what you need is license to use them though. The major difference is that AWR is a whole database level health check. So let's suppose you are doing a regular monitoring activity and want to have a report of the comparable time periods, you would be using AWR. This would help you to see that what's going on the overall level and using that you can decided what to do next(or db itself can suggest to you) .
    On the other hand, ASH as you said yourself, is a report of those sessions which are active and yet are waiting. So the situation to use it would be , for example, few users report to you that I am slow from the last 10 minutes. To find out the problem with the user, you wouldn't grab a whole database level, hourly long report i.e. AWR but a 10 minute report of ASH and would use it to find out what's going on. That would be a place where the entire db's report would be like using a hammer to kill an ant.
    HTH
    Aman....

  • Explain plan before and after ??

    is there a way to find out what sql plan was before and what sqlp plan is right now ?
    i know we can look at dba_hist_sql_plan but not sure how to put it all togeather...
    i am on 10.2.0.3
    i have a sql that running slow right now, i have the sql_id for it now...looks like its runing
    slow and last week it was fine...need to know what the explain plan was last week ??

    If you are lincenced to use AWR and history tables, you can do this
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_AWR('&SQL_ID')); ---to get the SQL execution plan as it was run from history
    For the current one, you know how to get it
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR('&SQL_ID'));
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY('&SQL_ID'));
    You can also query dba_hist_sql_plan and format the results.

Maybe you are looking for

  • How to restore the Main Drive from Time Machine after replacement

    I have a Late 2008 PowerBook Pro. I have a 2TB external drive for Time Machine. I replaced the main drive with a 1 TB drive and thought that i could restore from the Time Machine. I have another external drive that has an earlier OS on it. It lets me

  • How can I transfer content which I downloaded off the internet from my ipod to my library

    ... I bought C418's minecraft volume alpha for 4 dollars, and backed up my ipod for the sole reason of trying to get it onto my itunes library. APPARENTLY, itunes only backs up purchased content. The album disappeared completely from my ipod! I'm beg

  • Apple TV vs. Netflix streaming

    Can anyone explain why I can watch Netflix movies instantly (including HD) but I have to wait as long as five hours for an Apple TV rental movie to download? Both services use the same network. I have no interest in waiting so long and will never ren

  • How to pull site created in portal

    Hi, I'm just getting into azure as I have a project to demo and wanted something quick and easy to host on. I was being guided through the azure portal and it plainly has New -> Website -> From Gallery. I figured I'd look there and saw the usual ASP.

  • Scrolling data in a region

    Hi, Is there any way to have true scrolling of the data output of a region? Using region header footer div tags isn't really scrolling the data itself, just the first set. I still have to use the pagination options (which don't include scrolling). I'