Generating ADDM report
Hi,
I am using Oracle Database 10.2.0.1 in Solaris 10 10/09 s10x_u8wos_08a X86. i am new to ADDM concept and i want to generate an ADDM report, so i ran the *@/opt/oracle/10.2.0/rdbms/admin/addmrpt.sql* script. It is asking to provide values for Specify the Begin and End Snapshot Ids. What does these value mean???
Regards,
007
007 wrote:
Hi,
I am using Oracle Database 10.2.0.1 in Solaris 10 10/09 s10x_u8wos_08a X86. i am new to ADDM concept and i want to generate an ADDM report, so i ran the *@/opt/oracle/10.2.0/rdbms/admin/addmrpt.sql* script. It is asking to provide values for Specify the Begin and End Snapshot Ids. What does these value mean???
Regards,
007These are the snapshot IDs which oracle took while take snapshot of your database(at particular time). Its the same snapshot ids which you specify in awr reports. But the only thing is ADDM will get the recommendations for you based on those snap IDs.
Have a look
http://www.oracle-base.com/articles/10g/AutomaticDatabaseDiagnosticMonitor10g.php
http://docs.oracle.com/cd/B28359_01/server.111/b28274/diag.htm#CHDGGFDC
how to run and find ADDM report
Similar Messages
-
Error in generating ADDM Report(Oracle 11g 64 bit EE on linux RHEL 5)
I collected .dmp file from production using awrextr.sql and imported in our development side using awrload.sql .
I am able to generate awr snapshots report out of it without any trouble.
But When I try to generate addm report using addmrpti.sql I am facing following error(Please see output pasted below)
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is addmrpt_1_7149_7156.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name:
Using the report name addmrpt_1_7149_7156.txt
Running the ADDM analysis on the specified pair of snapshots ...
begin
ERROR at line 1:
ORA-13711: Some snapshots in the range [7149, 7156] are missing key statistics.
ORA-06512: at "SYS.DBMS_ADVISOR", line 201
ORA-06512: at line 27
Generating the ADDM report for this analysis ...
ERROR:
ORA-13608: The specified name NULL is invalid.
ORA-06512: at "SYS.PRVT_ADVISOR", line 3122
ORA-06512: at "SYS.DBMS_ADVISOR", line 585
ORA-06512: at line 1
End of Report
Report written to addmrpt_1_7149_7156.txt
SQL>
Any clue or help will be really helpful for us.hello,
have a look at this'
ORA-13711:Some snapshots in the range [string, string] are missing key statistics.
Cause: Some AWR tables encountered errors while creating one or more
snapshots in the given range. The data present in one or more of these missing
tables is necessary to perform an ADDM analysis.
Action: Look in DBA_HIST_SNAP_ERROR to find what tables are missing in
the given snapshot range. Use the ERROR_NUMBER column in that view
together with the alert log to identify the reason for failure and take necessary action to
prevent such failures in the future. Try running ADDM on a different snapshot range
that does not include any incomplete snapshots.thanks and regards
VD
Edited by: Dixit on Aug 31, 2009 1:52 AM
Edited by: Dixit on Aug 31, 2009 1:53 AM -
How to generate addm report using grid
Hi,
how to generate addm report using grid, please provide any relevant doc/links etc.
Thanks in advance.how to generate addm report using grid, please provide any relevant doc/links etc.When you start with the wrong question, no matter how good an answer you get, it won't matter very much.
what is best way to divide board into 2 pieces using a hammer?
Edited by: sb92075 on Oct 25, 2010 7:22 AM -
I want to generate ADDM report for more than 3 days as it shows 3 days by default? How to change that setting if at all it is possible?
check
http://www.oracle-base.com/articles/10g/automatic-database-diagnostic-monitor-10g.php#dbms_advisor
From above link :
BEGIN
-- Create an ADDM task.
DBMS_ADVISOR.create_task (
advisor_name => 'ADDM',
task_name => '970_1032_AWR_SNAPSHOT',
task_desc => 'Advisor for snapshots 970 to 1032.');
-- Set the start and end snapshots.
DBMS_ADVISOR.set_task_parameter (
task_name => '970_1032_AWR_SNAPSHOT',
parameter => 'START_SNAPSHOT',
value => 970);
DBMS_ADVISOR.set_task_parameter (
task_name => '970_1032_AWR_SNAPSHOT',
parameter => 'END_SNAPSHOT',
value => 1032);
-- Execute the task.
DBMS_ADVISOR.execute_task(task_name => '970_1032_AWR_SNAPSHOT');
END;
-- Display the report.
SET LONG 100000
SET PAGESIZE 50000
SELECT DBMS_ADVISOR.get_task_report('970_1032_AWR_SNAPSHOT') AS report
FROM dual;
SET PAGESIZE 24 -
Hi,
I am trying to generate addm report in oracle 11g r2. while generating it is asking only begin and end snapshots and report. it is not asking report type. i want to generate html report but it is generating only text report. how can i generate addm report in html format.
thank you!it is not asking report type. i want to generate html report but it is generating only text report.It seems you are generating report using sqlplus, please refer guide for more info:
http://docs.oracle.com/cd/E11882_01/server.112/e16638/autostat.htm#i35176
IYou can also generate report using OEM/Database Control
HTH -
Unable to generate ADDM snapshot reports as the error_count is 1
Hi,
my db is on 10.1.0.2 windows 2003 server.
errors while generating ADDM snapshots, was schedule for every 15 minutes,
the error_count is 1 from dba_hist_snap, these errors are continous and generates a trace file on m000_no
*** ACTION NAME:(Auto-Flush Slave Action) 2007-10-26 11:15:46.171
*** MODULE NAME:(MMON_SLAVE) 2007-10-26 11:15:46.171
*** SERVICE NAME:(SYS$BACKGROUND) 2007-10-26 11:15:46.171
*** SESSION ID:(564.28596) 2007-10-26 11:15:46.171
*** KEWROCISTMTEXEC - encountered error: (ORA-00001: unique constraint (SYS.WRH$_SQLBIND_PK) violated
*** SQLSTR: total-len=701, dump-len=240,
STR={insert into wrh$_sqlbind (snap_id, dbid, instance_number, sql_id, child_number, name, position, dup_position, datatype, datatype_string, character_sid, precision, scale, max_length, was_captured, last_captured, value_string, v}
*** KEWRAFM1: Error=13509 encountered by kewrfteh;
any suggestions what should be done, i need an immediate solution to stop these errors happening, i am unable to generate a snapshot report .Rajesh,
your URLs are not viewable for most of the forum users, as they are in the Oracle Intranet. Better you use the internal help list for this question.
Regards
Rainer -
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,
FreddyPlease 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 -
ADDM report not being generated
I noticed that addm reports are not being generated from last 2 days. So I did the following:
SQL> exec dbms_workload_repository.create_snapshot;
BEGIN dbms_workload_repository.create_snapshot; END;
ERROR at line 1:
ORA-13516: AWR Operation failed: only a subset of SQL can be issued
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 10
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 33
ORA-06512: at line 1
I got above error. I am not sure what that means. I also ran below SQL:
SQL> select nam.ksppinm name, val.KSPPSTVL, nam.ksppdesc description
2 from x$ksppi nam, x$ksppsv val
3 where nam.indx = val.indx and
4 nam.ksppinm = '_awr_restrict_mode'
5 order by 1
6 ;
awrrestrict_mode
FALSE
AWR Restrict Mode
What could be the reason that the reports are not being generated anymoreCheck Note:308003.1 - AWR Snapshots Not Generating
-
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
LizHi,
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 -
Hi,
I have a small 'orcl' database on my local machine, and I did not perform heavy activity on it. Today and yesterday I performed just some simple queries, like:
SELECT COUNT(*)
FROM products p, (SELECT prod_id, AVG(unit_cost) ac FROM costs GROUP BY prod_id) c
WHERE p.prod_id = c.prod_id AND
p.prod_list_price < 1.15 * c.ac;
or
select * from products;
from the 'sh' schema. Today I run a ADDM report, and this is the result:
ADDM Report for Task 'TASK_557'
Analysis Period
AWR snapshot range from 490 to 494.
Time period starts at 17-JUL-13 11.00.34 PM
Time period ends at 18-JUL-13 05.31.00 PM
Analysis Target
Database 'ORCL' with DB ID 1346555844.
Database version 11.2.0.3.0.
ADDM performed an analysis of instance orcl, numbered 1 and hosted at ROGER.
Activity During the Analysis Period
Total database time was 499 seconds.
The average number of active sessions was .01.
Summary of Findings
Description
Active Sessions
Recommendations
Percent of Activity
1 I/O Throughput
.01 | 100
2
2 Hard Parse
0 | 29.47
0
3 Hard Parse Due to Sharing Criteria 0 | 8.89
1
4 Row Lock Waits
0 | 7.37
0
5 PL/SQL Compilation
0 | 4.04
1
6 Unusual "User I/O" Wait Event
0 | 4.02
1
7 Commits and Rollbacks
0 | 3.08
1
8 Shared Pool Latches
0 | 2.78
0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Findings and Recommendations
Finding 1: I/O Throughput
Impact is .01 active sessions, 100% of total activity.
The throughput of the I/O subsystem was significantly lower than expected.
Recommendation 1: Host Configuration
Estimated benefit is .01 active sessions, 100% of total activity.
Action
Consider increasing the throughput of the I/O subsystem. Oracle's
recommended solution is to stripe all data files using the SAME
methodology. You might also need to increase the number of disks for
better performance.
Rationale
During the analysis period, the average data files' I/O throughput was
1.4 K per second for reads and 1 K per second for writes. The average
response time for single block reads was 18 milliseconds.
Recommendation 2: Host Configuration
Estimated benefit is 0 active sessions, 17.55% of total activity.
Action
The performance of some data and temp files was significantly worse than
others. If striping all files using the SAME methodology is not
possible, consider striping these file over multiple disks.
Rationale
For file D:\ORACLE\APP\ORADATA\ORCL\SYSTEM01.DBF, the average response
time for single block reads was 168 milliseconds, and the total excess
I/O wait was 70 seconds.
Related Object
Database file
"D:\ORACLE\APP\ORADATA\ORCL\SYSTEM01.DBF"
Rationale
For file D:\ORACLE\APP\ORADATA\ORCL\SYSAUX01.DBF, the average response
time for single block reads was 16 milliseconds, and the total excess
I/O wait was 16 seconds.
Related Object
Database file
"D:\ORACLE\APP\ORADATA\ORCL\SYSAUX01.DBF"
Symptoms That Led to the Finding:
Wait class "User I/O" was consuming significant database time.
Impact is 0 active sessions, 30.87% of total activity.
Finding 2: Hard Parse
Impact is 0 active sessions, 29.47% of total activity.
Hard parsing of SQL statements was consuming significant database time.
Hard parsing SQL statements that encountered parse errors was not consuming
significant database time.
Hard parses due to literal usage and cursor invalidation were not consuming
significant database time.
The Oracle instance memory (SGA and PGA) was adequately sized.
No recommendations are available.
Finding 3: Hard Parse Due to Sharing Criteria
Impact is 0 active sessions, 8.89% of total activity.
SQL statements with the same text were not shared because of cursor
environment mismatch. This resulted in additional hard parses which were
consuming significant database time.
Common causes of environment mismatch are session NLS settings, SQL trace
settings and optimizer parameters.
Recommendation 1: Application Analysis
Estimated benefit is 0 active sessions, 8.89% of total activity.
Action
Look for top reason for cursor environment mismatch in
V$SQL_SHARED_CURSOR.
Symptoms That Led to the Finding:
Hard parsing of SQL statements was consuming significant database time.
Impact is 0 active sessions, 29.47% of total activity.
Finding 4: Row Lock Waits
Impact is 0 active sessions, 7.37% of total activity.
SQL statements were found waiting for row lock waits.
No recommendations are available.
Symptoms That Led to the Finding:
Wait class "Application" was consuming significant database time.
Impact is 0 active sessions, 7.78% of total activity.
Finding 5: PL/SQL Compilation
Impact is 0 active sessions, 4.04% of total activity.
PL/SQL compilation consumed significant database time.
Recommendation 1: Application Analysis
Estimated benefit is 0 active sessions, 4.04% of total activity.
Action
Investigate the appropriateness of PL/SQL compilation. PL/SQL
compilation can be caused by DDL on dependent objects.
Finding 6: Unusual "User I/O" Wait Event
Impact is 0 active sessions, 4.02% of total activity.
Wait event "Disk file operations I/O" in wait class "User I/O" was consuming
significant database time.
Recommendation 1: Application Analysis
Estimated benefit is 0 active sessions, 4.02% of total activity.
Action
Investigate the cause for high "Disk file operations I/O" waits. Refer
to Oracle's "Database Reference" for the description of this wait event.
Symptoms That Led to the Finding:
Wait class "User I/O" was consuming significant database time.
Impact is 0 active sessions, 30.87% of total activity.
Finding 7: Commits and Rollbacks
Impact is 0 active sessions, 3.08% of total activity.
Waits on event "log file sync" while performing COMMIT and ROLLBACK operations
were consuming significant database time.
Recommendation 1: Host Configuration
Estimated benefit is 0 active sessions, 3.08% of total activity.
Action
Investigate the possibility of improving the performance of I/O to the
online redo log files.
Rationale
The average size of writes to the online redo log files was 21 K and the
average time per write was 7 milliseconds.
Rationale
The total I/O throughput on redo log files was 0 K per second for reads
and 0.7 K per second for writes.
Rationale
The redo log I/O throughput was divided as follows: 0% by RMAN and
recovery, 100% by Log Writer, 0% by Archiver, 0% by Streams AQ and 0% by
all other activity.
Symptoms That Led to the Finding:
Wait class "Commit" was consuming significant database time.
Impact is 0 active sessions, 3.08% of total activity.
Finding 8: Shared Pool Latches
Impact is 0 active sessions, 2.78% of total activity.
Contention for latches related to the shared pool was consuming significant
database time.
Waits for "library cache load lock" amounted to 1% of database time.
Waits for "latch: shared pool" amounted to 1% of database time.
No recommendations are available.
Symptoms That Led to the Finding:
Wait class "Concurrency" was consuming significant database time.
Impact is 0 active sessions, 3.12% of total activity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Additional Information
Miscellaneous Information
Wait class "Configuration" was not consuming significant database time.
CPU was not a bottleneck for the instance.
Wait class "Network" was not consuming significant database time.
Session connect and disconnect calls were not consuming significant database
time.
The database's maintenance windows were active during 94% of the analysis
period.
Being a small local database, my question is: do I really need to do something? For example at Finding 5: PL/SQL Compilation, what I really need to do? Or ar Finding 1: I/O Throughput
Thanks.Hi,
Mainly in ADDM you can consider
Recommendation
Estimated benefit
You have generated the report for ~18 hr time interval.
for test/local you can ignore this. -
Multiple executions of a query found in the ADDM Report
Hi,
I generated an ADDM Report on my DB for the time when the DB performance was very slow. Below are some lines from it:
RECOMMENDATION 1: SQL Tuning, 15% benefit (28820 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"725bgkkhqs73v".
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
select column1,column2 from table1;
ACTION: Investigate the SQL statement with SQL_ID "725bgkkhqs73v" for
possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
select column1, column2 from table1;
RATIONALE: SQL statement with SQL_ID "725bgkkhqs73v" was executed 32 times and had an average elapsed time of 900 seconds.
Can anyone help me out with the reason behind these repeated executions of the SQL query thus resulting in a avg elapsed time of 15 mins. Also, I could see that some queries ran on the DB even for 145,445,335 times, however the total time elapsed for executing these queries was only 0.000048 seconds.
COuld it be because there was exclusive locks on those tables during the times there queries were getting executed or do I need to look at query tuning here? Kindly help.yeah. posting it here:
select column1,column2 from table1;
Plan hash value: 2688602638
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | | | 4 (100)| |
| 1 | HASH GROUP BY | | 1 | 77 | 4 (25)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID| column1 | 1 | 18 | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | 1 | 77 | 3 (0)| 00:00:01 |
| 4 | TABLE ACCESS FULL | column2 | 1 | 59 | 2 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | x_abc | 1605 | | 1 (0)| 00:00:01 |
SQL_ID 725bgkkhqs73v
select column1, column2 from table1;
Plan hash value: 2947532035
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | | | 4 (100)| |
| 1 | HASH GROUP BY | | 41 | 1476 | 4 (50)| 00:00:01 |
| 2 | TABLE ACCESS BY INDEX ROWID | column1 | 14 | 252 | 1 (0)| 00:00:01 |
| 3 | NESTED LOOPS | | 50 | 1800 | 2 (0)| 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID| column1 | 3 | 54 | 1 (0)| 00:00:01 |
| 5 | INDEX RANGE SCAN | X_abc| 1602 | | 1 (0)| 00:00:01 |
| 6 | INDEX RANGE SCAN | XAK_def| 14 | | 1 (0)| 00:00:01 |
Does this shed any light?
Thanks in advance for all your help! -
Query regarding the ADDM Report
Hi All,
My DB performance was quite slow during the last weekend because we had a major data load job and dbms_stats.gather_schema_stats jobs running simultaneously. So, we got an ADDM report generated for these 2 days and from that i could extract 2 things:
1. The performance was slow because the dbms_stats.gather_schema_stats job was running simultaneoulsy on it.
2. I could see that some of the SELECT queries on the tables in the schema got executed 145445335, 35, 30 and 20 times repeatedly on the DB. Now this leaves me shocked. Can anyone possibly explain the reason behind it? Was it because a gather_schema_stats was also running on the DB? But how would a select be affected by it? Would it be because it had a exclusive locks on those DB objects during the time it was running?
Kindly suggest.
Thanks in advance.Hi,
Thanks for your response.
No, i cannot see any of the terms like library cache locks and library cache pins with those SQL statements. The only things is see is:
RECOMMENDATION 1: SQL Tuning, 15% benefit (28820 seconds)
ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
"725bgkkhqs73v".
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
SELECT column1 from table1;
ACTION: Investigate the SQL statement with SQL_ID "725bgkkhqs73v" for
possible performance improvements.
RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
PLAN_HASH 2688602638
RATIONALE: SQL statement with SQL_ID "725bgkkhqs73v" was executed 32
times and had an average elapsed time of 900 seconds.
Also, my DB is 10.2.0.3.0 and OS is HP-UNX B.11.23. -
ADDM Report is not produced by SQL DEV 4.0 if logged in user does not have SYSDBA privilege
Hello -
In SQLDEV 4.0 (Early Adapter), I logged in as user with no SYSDBA privilege granted. But ADVISOR granted and execute on DBMS_ADDM granted and "select any dictionary" granted, etc.
Then i go to the menu View --> DBA --> Performance --> Automatic Database Diagnostic Monitor
Select ADDM report from the available choices.
Out of 3 menu options: Summary, Findings and ADDM Report, I can see the first two, but I am getting a grey screen for ADDM Report.
^^^^^^^^^^^^^^^^^^^^^
If i do exactly the same but login as SYSDBA, then ADDM Report can be produced and can be seen. So the issue is in the missing grants and privileges.
^^^^^^^^^^^^^^^^^^^^^^
The goal that we are pursuing in our shop is to empower developers to work with ADDM reports by having them login as non-SYSDBA user.
^^^^^^^^^^^^^^^^^^^^^^^^
Please advise what privilege should be granted to get this working for non-SYSDBA login
The same user can successfully execute $ORACLE_HOME/rdbms/admin/addmrpt.sql and produce file with complete ADDM report. But not able to get the ADDM from SQL DEV 4.0
Thank you,
vrThank you, Phil.
This worked for me in my quick test case.
Great help, as DBA group wants to allow NON-privileged users (like Developers and QA) to execute ADDM on demand.
Here is my observation for RAC database with two instances.
I have followed your instructions:
"Performance / Automatic Database Diagnostic Monitor -> Run ADDM"
Then
- Uncheck box "By Creating New Snapshot" (this box was checked by default)
- Provide new "Task Name" (let's say "vr1")
- Select "Start Snapshot" (this is where my first confusion is: each screen shot # is shown twice, may be because i have two instances of RAC)
- Select "End Snapshot" (the same way: each SNAP_ID is shown twice)
- and finally APPLY button is pressed
This creates 3 reports:
vr1
vr1$1 (for instance_id=1)
vr1$2 (for instance_id=2_
So, my question is: this expected and normal behavior of the tool?
What if my RAC database has 8 instances? Then I would generate 9 separate ADDM reports?
Is this correct observation?
Thank you,
vr -
ADDM Report is not produced if logged in user does not have SYSDBA privilege
Hello -
In SQLDEV 4.0 (Early Adapter), I logged in as user with no SYSDBA privilege granted. But ADVISOR granted and execute on DBMS_ADDM granted and "select any dictionary" granted, etc.
Then i go to the menu View --> DBA --> Performance --> Automatic Database Diagnostic Monitor
Select ADDM report from the available choices.
Out of 3 menu options: Summary, Findings and ADDM Report, I can see the first two, but I am getting a grey screen for ADDM Report.
^^^^^^^^^^^^^^^^^^^^^
If i do exactly the same but login as SYSDBA, then ADDM Report can be produced and can be seen. So the issue is in the missing grants and privileges.
^^^^^^^^^^^^^^^^^^^^^^
The goal that we are pursuing in our shop is to empower developers to work with ADDM reports by having them login as non-SYSDBA user.
^^^^^^^^^^^^^^^^^^^^^^^^
Please advise what privilege should be granted to get this working for non-SYSDBA login
Thank you,
vrThank you, Phil.
This worked for me in my quick test case.
Great help, as DBA group wants to allow NON-privileged users (like Developers and QA) to execute ADDM on demand.
Here is my observation for RAC database with two instances.
I have followed your instructions:
"Performance / Automatic Database Diagnostic Monitor -> Run ADDM"
Then
- Uncheck box "By Creating New Snapshot" (this box was checked by default)
- Provide new "Task Name" (let's say "vr1")
- Select "Start Snapshot" (this is where my first confusion is: each screen shot # is shown twice, may be because i have two instances of RAC)
- Select "End Snapshot" (the same way: each SNAP_ID is shown twice)
- and finally APPLY button is pressed
This creates 3 reports:
vr1
vr1$1 (for instance_id=1)
vr1$2 (for instance_id=2_
So, my question is: this expected and normal behavior of the tool?
What if my RAC database has 8 instances? Then I would generate 9 separate ADDM reports?
Is this correct observation?
Thank you,
vr -
Hi All,
can anybody please tell me ,where is ADDM report file generated(location in windows xp)????
Thanks in advance..Hi,
First log in to database trough sqlplus command prompt. You would be using is like following:
Enter user-name: sys as sysdba
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing opti
SQL> @?/rdbms/admin/addmrpt.sql ------------ this is script to generate addm.
One you run this you would be getting following.
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
1299593730 ORCL 1 orcl
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
Regards
Maybe you are looking for
-
I just got an OfficeJet Pro 8500a Plus, on the touchscreen i have to set-up (username and password) the wireless connection to my wireless SSID; and that confirms the connection ok. At that point i can print no problem, scan and fax. The problem aris
-
Trying to make an image of a Server but getting error message
I'm trying to make a disk image (.dmg) of an XServe. I boot the XServe off of an external drive, fire up disk utility and choose File>New>Disk Image from <server volume> Then I choose where I want the .dmg file to be created. It doesn't matter where
-
Dynamic Reports in java application
Hi, I want to create dynamic reports in an java standalone application, I have downloaded the Jfreereport <http://sourceforge.net/projects/jfreereport> I'm not sure, whether it could get data from a JDBC source. (or is there anyother solution to gene
-
HT1430 hi my iphone got locked and message appears iphone is diabled connect to itunnes?
hi i have a problem with iphone4s which got locked and cant open. message says iphone is disabled. conect to iTunes please help me resolve this issue and unlock my iphone rgds paul pereira dxb
-
OBIEE 11.1.1.7, Win 8, Admin tool not opening.
Dear Experts, I have recently installed OBIEE 11.1.1.7, on windows 8, 64bit, I3 processor and 6 GB ram configuration. Installation is successfull, i can login all console,em, answers etc. Only issue is Administration tool to manage to RPD is not open