Cannot generate AWR/ADDM reports in Oracle 10g

Hi,
We are running 10.2.0.3.0 and troublshooted the performance problem for some queries. But when tried to run AWR/ADDM reports from OEM and got the following messages:
Insufficient Data in Interval. For displaying data on this page, two historical snapshots are needed. Make sure that two snapshots are present in the target database instance. In addition modify the interval so that it is contained within two available snapshots
I checked the scheduled jobs in this DB,
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Oracle Label Security and Data Mining options
SQL> select JOB_NAME from dba_scheduler_jobs;
JOB_NAME
PURGE_LOG
FGR$AUTOPURGE_JOB
GATHER_STATS_JOB
AUTO_SPACE_ADVISOR_JOB
Has anyone anyidea why AWR/ADDM reports cannot be run? Thanks
Liz

Hi,
If you want you can execute snapshot at your required time as suggested by people.
However Oracle 10g by default take snap at every one hour.
To check
select snap_id, to_char(BEGIN_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') BEGIN_INTERVAL_TIME,
to_char(END_INTERVAL_TIME,'DD-MON-YYYY HH24:MI') END_INTERVAL_TIME
from dba_hist_snapshot
You can generate AWR Report by executing following SQL, Connect as SYS
SQL> @$ORACLE_HOME/rdbms/admin/awrrpt.sql
Input required details it asks, you can get AWR report in HTML or text format.
ADDM Report:
@$ORACLE_HOME/rdbms/admin/addmrpt.sql

Similar Messages

  • Error trying to generate addmrpt (ADDM Report) on Oracle 10.1.0.4

    Hello,
    When I launch $ORACLE_HOME/rdbms/admin/addmrpt.sql on my Fedora 3 Oracle 10g connected using sys as sysdba (or system), I get the following error :
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entrez une valeur pour begin_snap : 210
    Begin Snapshot Id specified: 210
    Entrez une valeur pour end_snap : 211
    End Snapshot Id specified: 211
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is addmrpt_1_210_211.txt. To use this name,
    press <return> to continue, otherwise enter an alternative.
    Entrez une valeur pour report_name :
    Using the report name addmrpt_1_210_211.txt
    Running the ADDM analysis on the specified pair of snapshots ...
    begin
    ERREUR a la ligne 1 :
    ORA-13711: Des statistiques de cle sont absentes de certains cliches dans la
    plage [210, 211].
    ORA-06512: a "SYS.PRVT_ADVISOR", ligne 1283
    ORA-06512: a "SYS.DBMS_ADVISOR", ligne 190
    ORA-06512: a ligne 27
    Generating the ADDM report for this analysis ...
    ERROR:
    ORA-14552: operation DDL, COMMIT ou ROLLBACK interdite dans une instruction DML
    ou une interrogation
    ORA-06512: a "SYS.PRVT_ADVISOR", ligne 1750
    ORA-13608: Le nom de tache ou d'objet NULL n'est pas valide.
    ORA-06512: a "SYS.DBMS_ADVISOR", ligne 569
    ORA-06512: a ligne 1
    Any help to solve this problem ?
    Oups, when I use awrrpt on the same snapshot, I get a correct report.
    Regards,
    Freddy

    Please refer to the patchnote.htm that is bundled with 10.1.0.4.0 patch set. Only you are aware of what type of database configuration you have. You will want to pay close attention to "7.2.1.3 Set the SHARED_POOL_SIZE and JAVA_POOL_SIZE Initialization Parameters" and "7.2.2 Upgrade the Release 10.1 Database".
    Basically, I believe you have missed these required steps after installing the 10.1.0.4.0 patch set from the OUI:
    (pasted from the patchnote.htm)
    13.     Enter the following SQL*Plus commands:
    14.     SQL> STARTUP UPGRADE
    15.     SQL> SPOOL patch.log
    16.     SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    17.     SQL> SPOOL OFF
    18.     
    19.     Review the patch.log file for errors and inspect the list of components that is displayed at the end of catpatch.sql script.
    This list provides the version and status of each SERVER component in the database.
    20.     If necessary, rerun the catpatch.sql script after correcting any problems.
    21.     Restart the database:
    22.     SQL> SHUTDOWN
    23.     SQL> STARTUP
    24.     
    25.     Run the utlrp.sql script to recompile all invalid PL/SQL packages now instead of when the packages are accessed for the first time. This step is optional but recommended.
    26.     SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql

  • User reports in Oracle 10g

    How difficult is it for non-technical users to generate their own ad hoc reports in Oracle 10g?

    If they are non-technical , then, somebody technical have to generate adhoc reports for them.

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • Migrating 9ids form & reports to Oracle 10g

    Hi,
    I want to migrate my all 9ids forms and reports to Oracle 10G. Is there any Migration tool to migrate more than one form or report at a time.
    Please let me know ASAP.
    Regards,
    Malay

    Hello,
    Migration tools:
    1. Oracle Forms Migration Assistant
    frmplsqlconv mode=batch/wizard module=modulename log=logname
    Can be executed in batch or wizard mode, and can convert more modules.
    2.WebUtil (last version is 1.0.6 and can be used for converting to forms 10g Release 1( 9.0.4) and Release 2 (10.1.2.0.2.)
    Check this links for more documentation:
    http://www.oracle.com/technology/products/forms/htdocs/upgrade/index.html
    http://www.oracle.com/technology/documentation/10g_forms.html
    daniela

  • Need to download a tool to make reports from Oracle 10g or Oracle 11R1

    Hello,
    need to download a tool to make reports from Oracle 10g or Oracle 11Release 1,      
    but not too well from where to download it, my system is 32 bits
    thanks

    All Oracle product downloads are available from http://download.oracle.com or http://edelivery.oracle.com
    Before going to the download site, you may want to review the available tools. Go to http://otn.oracle.com and check out the white papers and info under Products : Developer Tools

  • Calling report on oracle 10g forms

    hi to all,
    how can call oracle10g reports to oracle 10g forms? using a parameter..e.g: employee id.
    Please i need a sample code...
    note : report will not run on internet explorer.
    thanks.
    Edited by: baguhan on Jul 1, 2009 6:06 AM

    Hai Baguhan,
    Try this.
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
         DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REPORT_OBJ');
         ADD_PARAMETER(PL_ID, 'EMP_ID', TEXT_PARAMETER, <value to EMPID parameter>);
    --FOLLOWING PARAMETERS ARE MANDATORY PARAMETERS TO SET REPORT OBJECT
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, '<report_full_path>');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
              SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, <report_server_name>);
              Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
              Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH(<report_server_name>) + 2, LENGTH(Str_Report_Server_Job));
              Str_URL       := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=' || <report_server_name>;
              WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
              DESTROY_PARAMETER_LIST(PL_ID);
      END IF;
    END;And add a report object in the form. ( in the above code, its REPORT_OBJ ).
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Statspack, awr, addm reports

    Hi every one,
    what is the difference between statspack, awr, addm reports and how these report are going to analyze and how these reports are going to use in real time.
    please let me know.
    thank ypu!

    851707 wrote:
    Hi every one,
    what is the difference between statspack, awr, addm reports and how these report are going to analyze and how these reports are going to use in real time.
    The very major difference between Statspack and the other reports is that the former one is a free one and all the rest, require a licence before you can legally use them. For the usage of both the types of reports, please read the entire series for the same written by Jonathan Lewis on http://jonathanlewis.wordpress.com/statspack-examples/
    HTH
    Aman....

  • Automating AWR & ADDM Reports

    Just wanted to check, if anybody has done... Automatic Generation of AWR & ADDM report. I want send the report to all the dba's in the team every six hours... Is there a way to call through cron Job....Want to pass parameter last hours snapshot id and snapshot_id -6...
    Only if you have done...pl. answer otherwise ignore...
    Thanks

    select output from
    table(dbms_workload_repository.&fn_name( :dbid,
    inst_num,
    bid, :eid,
    rpt_options ));
    Figure out what you need from there. Wrap spool
    around it for your directory, mail it off when done.nice little script Steven.
    Niall Litchfield
    http://www.orawin.info/

  • Sql statement add an "N" literal wher reporting trough oracle 10g and lib eclipse

    <p>the same select created with crystal report 9 and oracle 8.04 with crystal report XI and oracle 10G have some difference. In the crystal report XI the statement contains an &#39;N&#39; literal that should not be there.</p><p>I have used the Service pack 1 of Business Object XI r2 on the server and here i haven&#39;t problem.</p><p>When I use the same report throught an applet with the CRXI library&#39;s I have the problem of "N" literal</p><p>I work with Eclipse, java, CRXI, and oracle10g</p>

    JRC/Crystal Report XI generated SQL automatically add an "N" literal in front of some values which can not even execute in the SQL*Plus.

  • Urgent: problem running reports in Oracle 10g application server

    Hi all,
    our problem is that we deployed a jsp report as Ear file in Oracle 10g application server in infrastructure node.deployment says successfull.when we try to run that report it says 401 unauthorised.while sending request we are passing the database username,password &sid is this correct or any configuration setting to be done to make it run.
    one morething normal jsp works fine.when we run reports jsp it gives the above mentioned 401 error.

    hello,
    when you deploy reports JSPs they still require the reports specific componentes (e.g. TLD file, classes, ...) etc be available. i doubt that's the case in your ear file.
    thanks,
    ph.

  • ADDM Report hang - oracle 11g

    Hi ,
    DB Version : 11.2.0.2.0 , Platform : AIX
    I have just noticed my ADDM report is hung for more than one month. It's status "RUNNING" in OEM always and never "COMPLETED".  Every day ADDM report starts as per schedule and it is RUNNING never "COMPLETED".
    Looks like it's hung.
    Please let me know where need to check. Nothing from alert log.
    Thanks in advance.

    Please look at the database alert log  and OEM log for more information.
    Check with Oracle support and see if you are not hitting any bug.
    We have 11.2.0.4 database but had a similar issue job showing Executing for long time and found a bug.
    Pradeep

  • When using dmstool cannot view ohs_Server metric table in Oracle 10g

    Hi,
    My application runs on Oracle 10g App server,
    when i tried this command dmstool -table -list
    The metric table ohs_server is not getting listed...
    I am sure that Oracle HTTP server is running, i confirmed this by using the command opmnctl status : which shows HTTP Server - alive
    also using dmstool -t opmn_process which shows Oracle HTTP server is running...
    Where i can get other metric table info like JVM, why i can't get the information about ohs_server
    Plz help me over this.
    Regards.,
    Deepak.C

    Hi.,
    Any Help to metric info for Oracle HTTP Server, it's not working still !!!
    Any config needs to be changed for Oracle HTTP Server to make the inforamation available ???

  • RME cannot generate a syslog report.

    Hi,
    I have an issue with rme 4.2 from LMS 3.1
    When I try to generate a syslog report this shows me nothing. I locate SyslogCollector.log file and I see sometnig wrong.
    SyslogCollector - [Thread: Thread-9] WARN , 28 Apr 2011 14:45:10,400, Unable to add monitor for cwkstmm2009
    SyslogCollector - [Thread: main] INFO , 09 May 2011 16:12:35,510, Logging System Initialized.
    SyslogCollector - [Thread: main] INFO , 09 May 2011 16:12:35,519, System Initialized.
    SyslogCollector - [Thread: main] WARN , 09 May 2011 16:12:40,948, Unable to resurrect connection to a subscriber.
    SyslogCollector - [Thread: main] INFO , 09 May 2011 16:12:41,027, Service started...
    SyslogCollector - [Thread: Thread-10] WARN , 09 May 2011 16:12:44,024, Unable to add monitor for cwkstmm2009
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:08:17,360, Logging System Initialized.
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:08:17,364, System Initialized.
    SyslogCollector - [Thread: main] WARN , 17 May 2011 11:08:23,433, Unable to get the filters for subscriber cwkstmm2009. Default value will be used.
    I modified Syslog.properties file to see DEBUG and this it the output
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,152, SCCleaner - About to fire close() on collector engine...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,153, SyslogCollectorEngine - Closing evaluators...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,153, FcssEvaluator - Closing LogReader...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,153, FcssEvaluator - Closing EmblemProcessor...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,154, FcssEvaluator - Releasing SyslogQueue...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,164, FcssEvaluator - Closed successfully...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,165, SyslogCollectorEngine - Closing filters...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,165, FcssFilter - Closing FilterProcessor Threads...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,165, FcssFilter - Closing Filter Store...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,166, FcssFilter - Closed successfully...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,166, SyslogCollectorEngine - Closing forwarders...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,166, FcssForwarder - Closing Forwarders...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,166, FcssForwarder - Releasing resources...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,167, FcssForwarder - Closed successfully.
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,167, SyslogCollectorEngine - Closing monitor...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,167, SyslogCollectorEngine - Closing monitor task...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,168, SyslogCollectorEngine - Closing recovery assistant...
    SyslogCollector - [Thread: Thread-3] DEBUG, 17 May 2011 11:41:54,168, SyslogCollectorEngine - Closed successfully.
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:42:05,837, Logging System Initialized.
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:42:05,840, System Initialized.
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:42:06,275, Subscriber list is empty!
    SyslogCollector - [Thread: main] INFO , 17 May 2011 11:42:10,863, Service started...
    I post the Syslog Collector Status image where it shows NOT REACHABLE.
    Can you help me, please.

    Hi,
    I have tha same problem while subscribing. it gives me the error "could not subscribe to the collector"
    Actually I want to generate Syslog and SNMP traps with Cisco lms 3.0
    please help me about the error and am i configuring the right thing for my goal ?  !!!!!
    Rizwan Haider Siddiqui.......
    [email protected]
    +92-33-44-2222-39

  • How Publish Reports in Oracle 10g Server Reports and Foms

    Hi All,
    i am new to Oracle Reports 10g.
    i know how to generate reports using report builder.
    But i dont know how to publish it in the Oracle App Server 10g Forms And Reports.
    Can somebody tell me.........
    how to run the app server forms and reports.
    how to publish a report in the App Server and make a request to that report.Also tell me where can i get complete info relating to reports 10g
    Kindly reply , asap....
    regards,
    John

    Start with the FAQ section:
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_deployment.htm

Maybe you are looking for

  • DTP does not fetch all records from Source, fetches only records in First Data Package.

    Fellas, I have a scenario in my BW system, where I pull data from a source using a Direct Access DTP. (Does not extract from PSA, extracts from Source) The Source is a table from the Oracle DB and using a datasource and a Direct Access DTP, I pull da

  • Closing sales order containing cancelled item

    Hello, This is the scenario.  You create a sales order containing 3 items and add the order.  One of the items then gets cancelled (in item master data).  You then try and close or cancel the order.  A red line error message is displayed saying 'Item

  • What is the best way to migrate mail from OSX 10.4.11 (Tiger) to OSX 10.7 (Lion)

    Greetings, Does anyone have experience migrating mail boxes from OSX 10.4 to OSX 10.7? I have an old 1.5 Ghz PowerPC G4 laptop with a lot of email (about 8 years worth). I just purchased a new Mac Mini with OSX 10.7 Lion and I'd like to migrate 2 gro

  • Error on "CREATE MATERIALIZED VIEW"

    I tried to create this materialized view: CREATE MATERIALIZED VIEW mv_cost_est BUILD IMMEDIATE REFRESH complete START WITH to_date(sysdate,'dd/mm/yyyy hh24:mi:ss') NEXT sysdate + 60/86400 disable QUERY REWRITE AS SELECT efm_contratti.contratto_id, ef

  • Can't browse some older backups via Time Machine interface

    Problem started after updating to Yosemite.  I am running 10.10.1.  I can find all my backups, going back to 2010 in fact, when browsing my external FW800 hard drive directly in the Finder.  But if I click the menubar icon and choose "Enter Time Mach