Understanding the AWR report
Hello,
Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
Looking forward for reply/questions...
Thanks in Advance,
Sameer.
Hello,
Just to start off on the right path I would like you to know that I am a Java developer trying to understand the AWR report. To give a quick overview of my problem :
I have built a load test framework using JMeter and trying to send SOAP requests to my weblogic server. Each of these requests are getting converted multiple Insert, Update and Merge statements and getting executed on the Oracle 10g productions grade DB server. When I run the AWR report, under the "SQL ordered by Executions (Global)" I see statements that have run for 2 billion times. The JDBC connection to the database is configured to have a maximum of 40 connections and I do not see all of them being used up. The issue now is I am NOT generating that kind of load yet. I am creating around 15000 SOAP requests in an hour and I am expecting around 1million records to hit the database. The test runs fine for a couple of hours and then the server starts failing because the database is not responding back properly. When I run the statistics query on tables "gv$session s, gv$sqlarea t, gv$process p" to get the pending sessions in the database I have seen anywhere between 30 - 62 pending sessions with a activity time of more than 300 minutes.
I am sure I am not sending in 2 billion requests from the LoadTest env that I have developed but the AWR report says so. I want to know if there is a possible reason for this behavior. The stuck threads start occurring on the Weblogic server after 30 mins I start the test. Below is the exception I got on weblogic just in case it helps
2014-10-06 19:26:04,960[[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)']ERROR DAOUtil -- DAOUtil@SQLException > weblogic.jdbc.extensions.ConnectionDeadSQLException: weblogic.common.resourcepool.ResourceDeadException: Could not create pool connection. The DBMS driver exception was: Closed Connection
at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:249)
at weblogic.jdbc.pool.Driver.connect(Driver.java:160)
at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:642)
at weblogic.jdbc.jts.Driver.connect(Driver.java:124)
at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:338)
at com.bci.rms.ea.common.eautil.dao.DAOUtil.getConnectionFromDataSource(DAOUtil.java:222)
Looking forward for reply/questions...
Thanks in Advance,
Sameer.
Similar Messages
-
Question about Load Average in the AWR report
Hi,
I've some database in 11.2 RAC on AIX.
I was analyzing the root causes of eviction.
Looking AWR Report before the reboot I see:
DB1
Host CPU (CPUs: 6 Cores: 3 Sockets: )
~~~~~~~~ Load Average
Begin End %User %System %WIO %Idle
4.18 12.33 60.9 12.6 1.6 26.5
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 27.4
% of busy CPU for Instance: 37.3
%DB time waiting for CPU - Resource Mgr: 10.6
DB2
Host CPU (CPUs: 6 Cores: 3 Sockets: )
~~~~~~~~ Load Average
Begin End %User %System %WIO %Idle
3.77 13.93 60.7 12.5 1.6 26.7
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 6.9
% of busy CPU for Instance: 9.5
%DB time waiting for CPU - Resource Mgr: 0.0
Do you think these value ar high?
This is vmstats at the time of reboot:
DATA
RUN
BCK
AVM
FRE
PRE
PPI
PPO
PFR
PSR
PCY
FIN
FSY
FCS
CUS
CSY
CID
CWA
07/21/2013
00:08:17
31
0
7.400.345
579.923
0
81
0
0
0
0
3.292
187.010
19.560
84
16
0
0
07/21/2013
00:08:17
17
1
7.390.187
589.884
0
176
0
0
0
0
3.681
169.994
21.482
81
19
0
0
07/21/2013
00:08:17
27
1
7.402.121
577.816
0
115
0
0
0
0
3.150
157.210
18.503
84
16
0
0
07/21/2013
00:08:48
19
1
7.422.966
564.179
0
211
0
0
0
0
2.396
152.667
19.368
84
16
0
0
07/21/2013
00:08:48
19
1
7.427.693
559.268
0
162
0
0
0
0
2.990
154.733
19.843
85
15
0
0
07/21/2013
00:08:48
23
1
7.441.204
545.530
0
204
0
0
0
0
2.137
171.501
18.151
84
16
0
0
This is mpstat:
DATA
CPU
MIN
MAJ
MPC
INT
CS
ICS
RQ
MIG
LPA
SYSC
US
SY
WT
ID
PC
07/21/2013
00:08:48
0
12896
44
0
1279
3030
1362
2
367
100
27313
86
14
0
0
0.49
07/21/2013
00:08:48
1
11055
93
0
1123
3137
1315
1
222
100
31860
85
15
0
0
0.51
07/21/2013
00:08:48
2
5938
51
0
1465
3840
1294
2
532
100
29992
85
15
0
0
0.49
07/21/2013
00:08:48
3
6266
57
0
1247
3177
1046
2
511
100
22793
85
15
0
0
0.51
07/21/2013
00:08:48
4
2661
18
0
1729
4087
1707
4
264
100
24647
85
15
0
0
0.49
07/21/2013
00:08:48
5
4211
10
0
1395
2709
1101
2
209
100
21019
86
14
0
0
0.51
07/21/2013
00:08:49
0
9372
27
0
1150
2583
1219
0
245
100
47745
82
18
0
0
0.47
07/21/2013
00:08:49
1
11327
13
0
726
1803
794
1
130
100
25239
87
13
0
0
0.52
07/21/2013
00:08:49
2
8970
118
0
1459
4396
1517
0
602
100
24833
81
19
0
0
0.49
07/21/2013
00:08:49
3
7328
267
0
1329
4136
1273
2
586
100
25385
81
19
0
0
0.51
07/21/2013
00:08:49
4
8793
19
0
1133
2583
1036
1
235
100
24327
86
14
0
0
0.50
07/21/2013
00:08:49
5
8239
12
0
1309
2846
1165
1
277
100
18513
86
14
0
0
0.50
Thank youThank you Jonathan,
i'm looking ASH, 15 minutes before the crash.
I've 13% of buffer busy waits and 13% of cpu quantum
Avg Active
Event Event Class % Event Sessions
CPU + Wait for CPU CPU 59.09 0.15
buffer busy waits Concurrency 13.64 0.04
resmgr:cpu quantum Scheduler 13.64 0.04
The buffer busy waits was caused by an update of a table.
There are ETL jobs that runs every nigth.
Looking IO stats I notice a change in the use of the swap:
before the crash:
hdisk66 xfer: %tm_act bps tps bread bwrtn
1.0 8.2K 2.0 8.2K 0.0
read: rps avgserv minserv maxserv timeouts fails
2.0 6.7 3.8 9.6 0 0
write: wps avgserv minserv maxserv timeouts fails
0.0 0.0 0.0 0.0 0 0
queue: avgtime mintime maxtime avgwqsz avgsqsz sqfull
0.0 0.0 0.0 0.0 0.0 0.0
near the crash:
hdisk66 xfer: %tm_act bps tps bread bwrtn
71.0 241.7K 59.0 241.7K 0.0
read: rps avgserv minserv maxserv timeouts fails
59.0 12.1 0.2 183.5 0 0
write: wps avgserv minserv maxserv timeouts fails
0.0 0.0 0.0 0.0 0 0
queue: avgtime mintime maxtime avgwqsz avgsqsz sqfull
0.0 0.0 0.0 0.0 0.0 0.0 -
How understand the statspack report
Hi
My question is any special method or technique for reading statspack report.or how can i understand which parameter should be change(increase or decrease) and peformance moniter.
Thanks.If you have access to Metalink, refer to the following notes:
- Note:94224.1 FAQ- Statspack Complete Reference
- Note:228913.1 Systemwide Tuning using STATSPACK Reports -
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 -
Updating AUD$ consumes most of the time in AWR report.
Hi All,
It's really good to see, great people passing their help to folks like us and making our life easier. Going forward,I am investigating on of the performance issue and analyzing the AWR report. By looking AWR, I did find updating aud$ taking most of times in AWR report. Following are the information , I extracted from the database and AWR report. Please see, what can be done to take away the bottlenecks.
Version -- 11.1.0.6.0
OS -- HPUXX Itanium
Event Waits Time(s) (ms) time Wait Class
enq: BF - allocation contentio 9,007 6,893 765 45.5 Other
DB CPU 2,565 16.9
db file scattered read 555,031 2,428 4 16.0 User I/O
read by other session 288,910 1,428 5 9.4 User I/O
PX Deq Credit: Session Stats 22,650 231 10 1.5 Other
209fr01svbb5s
wait % DB
Event Waits Time(s) (ms) time Wait Class
db file scattered read 291,023 1,973 7 61.6 User I/O
DB CPU 890 27.8
read by other session 81,495 340 4 10.6 User I/O
log file sync 1,210 21 17 .6 Commit
db file sequential read 30,452 15 0 .5 User I/O
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
3,134 833 118 26.6 97.9 209fr01svbb5s
update sys.aud$ set action#=:2, returncode=:3, logoff$time=cast(SYS_EXTRACT_UTC(
systimestamp) as date), logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logo
ff$dead=:7, sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100
-------------------------- Plan from Cursor ---------------------------------------
SQL_ID 209fr01svbb5s, child number 0
update sys.aud$ set action#=:2, returncode=:3,
logoff$time=cast(SYS_EXTRACT_UTC(systimestamp) as date),
logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logoff$dead=:7,
sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100
Plan hash value: 1651467381
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | | | 2 (100)| |
| 1 | UPDATE | AUD$ | | | | |
|* 2 | TABLE ACCESS FULL| AUD$ | 1 | 139 | 2 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - filter(("ENTRYID"=1 AND "ACTION#"=100 AND "SESSIONID"=:1 AND
("SPARE2" IS NULL OR USERENV('ISDBA')='TRUE')))
++++ Last Anylzsed +++++
TABLE_NAME LAST_ANAL
AUD$ 08-NOV-07
++++++++ Table Size ++++++++++++++++++++++
SQL> select sum(bytes)/1024/1024 "Audit Size" from dba_segments where segment_name='AUD$';
Audit Size
2469RegardsBefore purging audit data I would suggest two things. First what is the time period for the report in question? If it is for a low usage period then the audit activity as a percentage of the overall load may be a bit distorted. It may also be worth checking to see what information the audit captured as you could have a contractual or legal obligation to capture the data.
Second and most import look to see what audit rules are in effect. By just removing a few unneeded rules such as auditing successful logins/logoffs or changing from by access to by session for specific objects you could potentially remove most of the activity being shown.
You may also want to check to see if a purge job has been set up. See dba_scheduler_jobs and Oracle proviced package: DBMS_AUDIT_MGMT.
HTH -- Mark D Powell -- -
Index mentioned in AWR Report does not exist in the database
Hi,
I have a situation where the index object mentioned in the AWR Report is not present in the database. The object has not been dropped, is not present in the recyclebin either. The object name is mentioned as PK1_IDX in the report. The object with the name PK_IDX is present in the database. Any ideas?
Thanks
CharlesXtreme wrote:
Hi,
Please let me add additional information.
The AWR Report section Segments by Physical Reads shows that a particular index object shown up in report as PK1_IDX has 72% of physical reads.
But the index object PK1_IDX is not present in the database
The index object with the name PK_IDX is present in the database.
SQL> select object_name,object_type,last_ddl_time from dba_objects where object_name like '%PK_IDX%';
OBJECT_NAME OBJECT_TYPE LAST_DDL_
PK_IDX 09-DEC-08
Does oracle create indexes at runtime with a names as PK1_IDX during execution?No, not a thing that I know of. As I said, can you trace the query ans see if its truly using that said index?
Aman.... -
User I/O and db file parallel read is high in AWR report
Hi,
We have one performance issue during a job execution.
From the awr report we have identified one query with a table having millions of records causing problems and then we had also fine tuned that query by changing it's code and by using the optmizer hints. It is being executed in plsql batches. After fine tuning, On the first batch execution(first 5000 records) the query is taking only 5 mins, but on the consecutive batches it is consuming more time( more than 30 mins).
From the awr report I got the statistics as
Release : 11.2.0.2.0
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 85.44 In-memory Sort %: 99.98
Library Hit %: 99.76 Soft Parse %: 99.15
Execute to Parse %: 88.91 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 87.32 % Non-Parse CPU: 98.65
The buffer hit % is good. On each batch execution it is taking different set of records.
Top 5 Timed Foreground Events
Event Waits Time(s) Avg wait (ms) % DB time Wait Class
db file parallel read 120,485 42,540 353 89.60 User I/O
DB CPU 3,794 7.99
db file sequential read 145,074 606 4 1.28 User I/O
db file scattered read 70,030 556 8 1.17 User I/O
direct path write temp 12,423 21 2 0.04 User I/O
So the I/O is our main concern since that query contains one table with millions of records.
Host CPU (CPUs: 24 Cores: 24 Sockets: 4)
Load Average Begin Load Average End %User %System %WIO %Idle
1.40 1.45 0.6 0.3 3.7 99.0
Load is also normal.
From the Time model statistics , sql execute elapsed time is 98.27% of db time and only 7.99% is that of DB CPU.
Memory Statistics
Begin End
Host Mem (MB): 64,318.0 64,318.0
SGA use (MB): 30,720.0 30,720.0
PGA use (MB): 488.2 497.1
% Host Mem used for SGA+PGA: 48.52 48.54
Both the size of sga_max_size and sga_target are 32,212,254,720(32gb) bytes and that of
pga_aggregate target is 629,145,600(600mb)
from this it is evident that the memory is still available(so increase in memory size is not an option).
The sql statistics for that query shows like that
Elapsed Time (s) Executions Elapsed Time per Exec (s) %Total %CPU %IO SQL Id SQL Text
44,950.03 55 817.27 94.67 6.99 94.72 79dgmrxh4kv74 SELECT /*+ index(cdr_data cdr_...
I can't understand whether the problem is in the database side or with the query?
If the problem is with the query, then how it has been executed in 5 mins for the first batch ?
(all the batches are having 5000 records each).
And how can we reduce the db file parallel read ?
Your valuable advice will be greatly appreciated.
Thanks in advance
Manoj Kumar N"db file parallel read" is likely to be associated with something like index prefetching.
See:
http://www.freelists.org/post/oracle-l/RE-Calculating-LIOs,11
http://aprakash.wordpress.com/2012/05/29/index-range-scan-and-db-file-scattered-read-as-session-wait-event/
http://jonathanlewis.wordpress.com/2006/12/15/index-operations/
Tune the SQL.
Review the execution plan.
Check whether the statistics are accurate.
Review whether the index hint (and others that we can't see) is appropriate. -
Hi All,
Not very much experienced in performance tunning that why need your help, i generate AWR report for different times what to check, i started with top 5 events and trying to understand the portion of the report. Can anyone help me to understand the same
In case if AWR requires for the 3 snap shot i will provide the sameHi,
If you have a performance issue on your system look for causes of that performance issue in the AWR. eg. compare the awr report for the period with bad performance with that of a one taken when performance was good. AWR taken during bad time would have "things" that weren't in the awr taken when performance was good or have "high values" for some "things". Start from that point and drill down.
If you don't have performance issues then confirm everything is running as it shoud be. Compare several awr reports and there shoulnd't me "anything" out of the ordinary.
You can start with
Instance Efficiency Percentages (Target 100%)
Top 5 Timed Foreground Events
Time Model Statistics
There are no hard and fast rules as to how you go about interpreting an awr. It depends on type of problem you have, your system, your applicaiton, time of day etc.
http://www.dba-oracle.com/t_rac_statspack_awr_report_tips.htm -
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 advanceHi;
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 -
Automation of AWR report.
Hi All,
I want to automate for awr report generating for every 30 min. For this I am creating a script which is not working properly. Script given below.
1. Declaring an variable
2. Giving value to the variable by running sql query
3. Executing dbms_workload_repository procedure.
Please help me proper steps.
SET SERVEROUTPUT ON
Declare
DBID_NUM NUMBER;
INST_NUMBER NUMBER;
MAX_SNAP_ID NUMBER;
MIN_SNAP_ID NUMBER;
DBID_NUM := select DBID into DBID_NUM from dba_hist_snapshot WHERE ROWNUM=1;
INS_NUMBER := select INSTANCE_NUMBER into INST_NUMBER from dba_hist_snapshot WHERE ROWNUM=1;
MAX_SNAP_ID := select MAX(SNAP_ID) into MAX_SNAP_ID from dba_hist_snapshot;
MIN_SNAP_ID =: select MAX(SNAP_ID)-1 into MIN_SNAP_ID from dba_hist_snapshot;
Begin
SELECT output FROM TABLE (dbms_workload_repository.awr_report_html(DBID_NUM,INST_NUMBER,MAX_SNAP_ID,MIN_SNAP_ID));
End;
/Hi,
I am trying to help, however it's hard because you haven't clarified your end goal. What time period do you need to generate the AWR report for? Generating an AWR report from the entire range of available snap_id's is utterly useless. It's like measuring your average body temperature from the moment of birth up to now.
How are you planning to generate it -- into a database table, into a file, to terminal output? You didn't mention that and it's impossible to deduce it from your script.
Most importantly, why do you need to produce all these AWR reports for each 30 mins? Every 30 days, I would understand, but every 30 mins?! Do you realize that if you want to look at some trends, it much easier to do that using AWR views directly, rather than trying to extract data from html codes? And if you want your performance history just in case -- why don't you increase your SYSAUX tablespace and AWR retention, so that you can go back and generate a retrospective AWR report when needed?
I wrote an anonymous to autogenerate an AWR report for the last snapshot and dump it to the screen, hope this helps:
declare
l_dbid number;
l_inst_id number;
l_last_snap_id number;
l_output clob;
begin
select dbid into l_dbid from v$database;
select instance_number into l_inst_id from v$instance;
select max(snap_id) into l_last_snap_id from dba_hist_snapshot;
for rec in (select * from table(dbms_workload_repository.awr_report_text(l_dbid,l_inst_id, l_last_snap_id - 1, l_last_snap_id))) loop
dbms_output.put_line(rec.output);
end loop;
end;
/Best regards,
Nikolay
P.S. You have 17 out of 21 questions unresolved. Has the forum been really this unhelpful for you? -
ADDM and AWR report interpretation
Hi,
I have some confusion regarding the understanding of ADDM and AWR report.
I have created AWR reports for various period. All report indicated that all Instance efficiency checklists at their high 90s.
I have also created ADDM report during the same intervals. ADDM reports suggesting a higher SGA value.
When I am trying to correlate the ADDM and AWR then the findings seems self contradictory. On one hand AWR reflecting high instance efficiency ratios and on the other ADDM suggesting for higher SGA value. Please help me to get a better idea regarding this.
There is one more confusion. Due to some product related compulsion we have to use CURSOR_SHARING=EXACT. But the AWR report reflects 98 against Soft Parse %. Though we are using high number of bind variable within our application. But due to the value of CURSOR_SHARING all queries should be hard parsed each time the literal change. As per my understanding there should be very less soft parsing, but the value reflects high Soft Parse.
Thanks in advance for your valuable time.
Regards,
Joy>
Just a little detail to add to Dom's comments.
If you are convinced that you have lots of code that should be doing hard parsing, but the "soft parse ratio" looks wrong, then take a look in the statspack/AWR section labelled "SQL ordered by Parse Calls". You may find that some trivial, harmless looking piece of SQL has suffered a huge number of parse calls - and if so they will almost certainly have been "soft" parse calls and could therefore be hiding your expected "hard" parse figures.
Critical point: if you look at a ratio, you've hidden the underlying scale of any potential problem.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
"Science is more than a body of knowledge; it is a way of thinking"
Carl Sagan -
Hello!
I use the Oracle EM GC 11 for monitoring of databases .
I need to form the AWR report for some of databases and send it once a day by e-mail automatically.
How to realize it?Hi,
I am trying to help, however it's hard because you haven't clarified your end goal. What time period do you need to generate the AWR report for? Generating an AWR report from the entire range of available snap_id's is utterly useless. It's like measuring your average body temperature from the moment of birth up to now.
How are you planning to generate it -- into a database table, into a file, to terminal output? You didn't mention that and it's impossible to deduce it from your script.
Most importantly, why do you need to produce all these AWR reports for each 30 mins? Every 30 days, I would understand, but every 30 mins?! Do you realize that if you want to look at some trends, it much easier to do that using AWR views directly, rather than trying to extract data from html codes? And if you want your performance history just in case -- why don't you increase your SYSAUX tablespace and AWR retention, so that you can go back and generate a retrospective AWR report when needed?
I wrote an anonymous to autogenerate an AWR report for the last snapshot and dump it to the screen, hope this helps:
declare
l_dbid number;
l_inst_id number;
l_last_snap_id number;
l_output clob;
begin
select dbid into l_dbid from v$database;
select instance_number into l_inst_id from v$instance;
select max(snap_id) into l_last_snap_id from dba_hist_snapshot;
for rec in (select * from table(dbms_workload_repository.awr_report_text(l_dbid,l_inst_id, l_last_snap_id - 1, l_last_snap_id))) loop
dbms_output.put_line(rec.output);
end loop;
end;
/Best regards,
Nikolay
P.S. You have 17 out of 21 questions unresolved. Has the forum been really this unhelpful for you? -
Error While Generating AWR reports
Hi All,
I am new to Oracle 10g. Whenever I try to run the AWR report using awrrpt.sql script I am getting below error messages. I am running this script as SYS user. Please help to generate the AWR reports. Thanks for the help in advance.
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_22128_22131.html. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name: awrrpt_test.html
Using the report name awrrpt_test.html
select output from table(dbms_workload_repository.awr_report_html( :dbid,
ERROR at line 1:
ORA-04063: package body "SYS.DBMS_SWRF_REPORT_INTERNAL" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SWRF_REPORT_INTERNAL"
ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 309
ORA-06512: at line 1
Regards,
NanaiahHi,
When i tried to compile below packages. It gave 'Warning: Package altered with compilation errors.' message for both.
DBMS_SWRF_REPORT_INTERNAL
DBMS_SWRF_INTERNAL
Again i came back to original position. Now again all 4 objects are in INVALID state. Please advice.
Regards -
Help me understand my Panic Report
My computer occasionally stops and flashes the 'you must restart your computer' screen.
It's happened sporadically over the last couple months (maybe every 2 weeks), and I don't understand the panic report (tried googling it…)
Anyone pinpoint the problem?
Thanks!
Interval Since Last Panic Report: 181662 sec
Panics Since Last Report: 1
Anonymous UUID: 6B668C16-D9EC-4794-A443-D5C54457A9D7
Thu Jan 22 09:35:48 2015
panic(cpu 2 caller 0xffffff80002c4794): Kernel trap at 0x0000000000000018, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000018, CR3: 0x000000000e1ae029, CR4: 0x00000000000206e0
RAX: 0xffffff801a60fa40, RBX: 0x0000000000000000, RCX: 0xffffff801fb1c300, RDX: 0xffffff801321e008
RSP: 0xffffff80f095b908, RBP: 0xffffff80f095ba40, RSI: 0x00ffffff801b175c, RDI: 0xffffff801a60fa40
R8: 0x0000000000000000, R9: 0xffffff801321e000, R10: 0xfffffe81ed454d58, R11: 0x0000000000117065
R12: 0xffffff80d2284000, R13: 0xffffff80d2284000, R14: 0x0000000000000000, R15: 0xffffff801321e000
RFL: 0x0000000000010282, RIP: 0x0000000000000018, CS: 0x0000000000000008, SS: 0x0000000000000010
CR2: 0x0000000000000018, Error code: 0x0000000000000010, Faulting CPU: 0x2
Backtrace (CPU 2), Frame : Return Address
0xffffff80f095b5b0 : 0xffffff8000220792
0xffffff80f095b630 : 0xffffff80002c4794
0xffffff80f095b7e0 : 0xffffff80002da55d
0xffffff80f095b800 : 0x18
0xffffff80f095ba40 : 0xffffff7f81e6d0e9
0xffffff80f095ba50 : 0xffffff7f81e43b11
0xffffff80f095ba60 : 0xffffff7f81e189f5
0xffffff80f095bab0 : 0xffffff7f81e18e91
0xffffff80f095baf0 : 0xffffff7f81e156d4
0xffffff80f095bb20 : 0xffffff7f81e15981
0xffffff80f095bb40 : 0xffffff7f81855062
0xffffff80f095bb60 : 0xffffff7f81855384
0xffffff80f095bb90 : 0xffffff7f81e344f1
0xffffff80f095bbc0 : 0xffffff7f81e179db
0xffffff80f095bc10 : 0xffffff7f81e35307
0xffffff80f095bc40 : 0xffffff7f81e74f4b
0xffffff80f095bc60 : 0xffffff7f81e32cea
0xffffff80f095bc80 : 0xffffff7f81e57540
0xffffff80f095bca0 : 0xffffff7f81e32d34
0xffffff80f095bcc0 : 0xffffff8000657c37
0xffffff80f095bce0 : 0xffffff800029c122
0xffffff80f095bd30 : 0xffffff80002230b5
0xffffff80f095bd60 : 0xffffff80002148a9
0xffffff80f095bdc0 : 0xffffff8000223223
0xffffff80f095bde0 : 0xffffff80002516f9
0xffffff80f095be20 : 0xffffff80002199ae
0xffffff80f095be70 : 0xffffff800021a1fd
0xffffff80f095beb0 : 0xffffff80002378f0
0xffffff80f095bef0 : 0xffffff8000544d49
0xffffff80f095bf40 : 0xffffff800054288e
0xffffff80f095bf50 : 0xffffff80005ce4cb
0xffffff80f095bfb0 : 0xffffff80002daea3
Kernel Extensions in backtrace:
com.apple.GeForce(7.3.2)[7E1D7726-416F-3716-ACCB-E1E276E35002]@0xffffff7f81e130 00->0xffffff7f81ed5fff
dependency: com.apple.NVDAResman(7.3.2)[97284661-2629-379E-B86B-D388618E8C30]@0xffffff7f808 d9000
dependency: com.apple.iokit.IONDRVSupport(2.3.4)[7C8672C4-8B0D-3CCF-A79A-23C62E90F895]@0xff ffff7f808c7000
dependency: com.apple.iokit.IOPCIFamily(2.7)[5C23D598-58B2-3204-BC03-BC3C0F00BD32]@0xffffff 7f8085f000
dependency: com.apple.iokit.IOGraphicsFamily(2.3.4)[D0A1F6BD-E66E-3DD8-9913-A3AB8746F422]@0 xffffff7f8088e000
com.apple.iokit.IOSurface(80.0.2)[97DB1E5E-922F-31BB-AD01-D2A8A298B9B0]@0xfffff f7f81851000->0xffffff7f81862fff
BSD process name corresponding to current thread: WebProcess
Mac OS version:
11G63b
Kernel version:
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
Kernel UUID: FF3BB088-60A4-349C-92EA-CA649C698CE5
System model name: MacBookPro6,2 (Mac-F22586C8)
System uptime in nanoseconds: 30856800894625
last loaded kext at 22653123387888: com.apple.driver.AppleUSBCDC 4.1.22 (addr 0xffffff7f8077e000, size 16384)
last unloaded kext at 22713908902195: com.apple.driver.AppleUSBCDC 4.1.22 (addr 0xffffff7f8077e000, size 12288)
loaded kexts:
com.sophos.kext.sav 9.2.0
org.pqrs.driver.KeyRemap4MacBook 7.8.0
com.sophos.nke.swi 9.2.0
com.paceap.kext.pacesupport.snowleopard 5.9
com.apple.filesystems.smbfs 1.7.2
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.59
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.0.8f17
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleMikeyDriver 2.2.5a5
com.apple.driver.AGPM 100.12.75
com.apple.driver.AppleHDA 2.2.5a5
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AudioIPCDriver 1.2.3
com.apple.driver.ApplePolicyControl 3.1.33
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleSMCPDRC 5.0.0d8
com.apple.GeForce 7.3.2
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.ACPI_SMC_PlatformPlugin 5.0.0d8
com.apple.driver.AppleMuxControl 3.1.33
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIntelHDGraphics 7.3.2
com.apple.driver.AppleIntelHDGraphicsFB 7.3.2
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleUSBTCButtons 227.6
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.8f17
com.apple.driver.AppleUSBTCKeyboard 227.6
com.apple.driver.AppleUSBCardReader 3.0.6
com.apple.driver.AppleIRController 312
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.2.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCISerialATAPI 2.0.3
com.apple.iokit.IOAHCIBlockStorage 2.1.0
com.apple.driver.AirPort.Brcm4331 561.7.22
com.apple.iokit.AppleBCM5701Ethernet 3.2.4b8
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleUSBHub 5.1.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleFWOHCI 4.9.0
com.apple.driver.AppleAHCIPort 2.3.1
com.apple.driver.AppleUSBEHCI 5.1.0
com.apple.driver.AppleACPIButtons 1.5
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.5
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 195.0.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1.4
com.apple.security.TMSafetyNet 8
com.apple.driver.AppleIntelCPUPowerManagement 195.0.0
com.apple.iokit.IOSurface 80.0.2
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.driver.DspFuncLib 2.2.5a5
com.apple.iokit.IOAudioFamily 1.8.6fc18
com.apple.kext.OSvKernDSPLib 1.3
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.nvidia.nv50hal 7.3.2
com.apple.driver.AppleHDAController 2.2.5a5
com.apple.iokit.IOHDAFamily 2.2.5a5
com.apple.driver.AppleSMC 3.1.3d10
com.apple.driver.IOPlatformPluginLegacy 5.0.0d8
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.1.33
com.apple.driver.IOPlatformPluginFamily 5.1.1d6
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.NVDAResman 7.3.2
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.kext.triggers 1.0
com.apple.driver.AppleUSBBluetoothHCIController 4.0.8f17
com.apple.iokit.IOBluetoothFamily 4.0.8f17
com.apple.driver.AppleUSBMultitouch 230.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.2.1
com.apple.iokit.IOUSBMassStorageClass 3.0.3
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.1.0
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.2.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.2.1
com.apple.iokit.IO80211Family 420.3
com.apple.iokit.IOEthernetAVBController 1.0.1b1
com.apple.iokit.IONetworkingFamily 2.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOFireWireFamily 4.4.8
com.apple.iokit.IOAHCIFamily 2.0.8
com.apple.iokit.IOUSBFamily 5.1.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 177.11
com.apple.kext.AppleMatch 1.0.0d1
com.apple.driver.DiskImages 331.7
com.apple.iokit.IOStorageFamily 1.7.2
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.5
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
Model: MacBookPro6,2, BootROM MBP61.0057.B0F, 2 processors, Intel Core i5, 2.53 GHz, 8 GB, SMC 1.58f17
Graphics: NVIDIA GeForce GT 330M, NVIDIA GeForce GT 330M, PCIe, 256 MB
Graphics: Intel HD Graphics, Intel HD Graphics, Built-In, 288 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x85F7, 0x483634353155373946373036364700000000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x93), Broadcom BCM43xx 1.0 (5.106.198.19.22)
Bluetooth: Version 4.0.8f17, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: TOSHIBA MK5055GSXF, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0xfd110000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: composite_device, 0x0763 (M-Audio), 0x1011, 0xfa140000 / 6
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa130000 / 5
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8218, 0xfa113000 / 9
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0xfa120000 / 3There is probably nothing wrong with the logic board. The panic was certainly not caused by the manufacturing defect common in that model.
Remove the Sophos product by following the instructions on this page. If you have a different version, the procedure may be different.
Back up all data before making any changes. -
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.
RegardsHI ,
Please check following link: Siva Oracle: How to generate AWR Report from OEM Grid
Thank you
Maybe you are looking for
-
How do I manually register FCS3?
Hi Folks, I've just installed FCS3, a brand new (unopened) copy I just purchased from an online retailer. When I installed and opened the program, it tried to register. When I filled out the form and clicked the "Register" button, a brief error messa
-
Hi After getting the below message i updated my cert but now have 3 of the same certs? Can i delete the expired cert????? There is no valid SMTP Transport Layer Security (TLS) certificate for the FQDN of SERVER.domainname.local. The existing certific
-
Can i make a favortie list
-
Smartlists not so smart?
Hello community. I am trying to utilize smartlists to do some pretty detailed sorting of my music. The kind of sorting I am interested in doing seems to be something that iTunes is made to do in the smartlists, but for some reason is not happening. I
-
I am expecting an openreach engineer to visit my home in a few weeks to upgrade my current broadband from ADSL to Fibre. I understand that the process involves changing the faceplate on the BT Master Socket and connecting a new modem to the new facep