WORKLOAD REPOSITORY
Hi Experts
taken the Report For WORKLOAD REPOSITORY
Cud anybody please mention the Importan Events in the Report which is Mandatarily Considered.
How to take the Benefit of this Report?
How to Study out the Report
please Suggest
Many thanks
you can use ADDM to analyze the report and get recommendations.
please read http://www.oracle-base.com/articles/10g/AutomaticDatabaseDiagnosticMonitor10g.php
or the same can be invoked through enterprise manager also.
Similar Messages
-
Problem Automatic Workload Repository after upgrage to 10.1.0.4.0
Hello everybody,
We upgraded last week a database 10g from release 10.1.0.3.0 to 10.1.0.4.0.
Since this upgrade, the AWR doesn't create any snapshot anymore but the process MMON is still living.
I tried to modify the interval of creation (reduce from 1H to 30min) of the snapshot using EM. When I execute the command I receive the following error statement:
Please correct the following error:ORA-13516: SWRF Operation failed: CATPROC not valid ORA-06512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 83 ORA-06512: at line 1
Should I re-execute some script(s) from .../RDBMS/ADMIN to fix it?
Thank a lot in advance for your support to solve this issue.Hopefully I could find a post on the Oracle Forum to fix my issue.
I did the following operations:
1) SHUTDOWN IMMEDIATE;
2) STARTUP UPGRADE;
3) SQLPLUS / AS SYSDBA
4) @<Oracle_home>/RDBMS/ADMIN/CATPATCH.SQL
5) When the script completed check that no errors occured.
6) SHUTDOWN IMMEDIATE
7) RESTART
After this the Automatic Workload Repository could execute normally the snapshots and I was able for exemple to modify the frequence of the snapshots creation.
I only don't understand why I had to execute this sql script to get in running. Should this script not be a part of execution of the upgrade 10.1.0.3.0 to 10.1.0.4.0 ? -
Performance tuning--- Automatic workload repository (AWR &ADDM)
hi all,
i am in need of some kind of demo or step-by-step procedure to implement Oracle 10G Automated workload repository and ADDM....................
atleast Point me metalink note should work fine .... actually i need real time implementation details .....
i will appreciate if any one can post their real time implementation experience/procedure ................ that would help me a lot !! i gotta do this in nxt 2 days...........
thanks in adv.This procedure appeared to be called by ADDM which will generate report based on AWR data. How did you "turn off" AWR? Is it from EM?
Here's more information about ADDM
http://www.oracle.com/technology/oramag/oracle/04-may/o34tech_talking.html
The problem is this shouldn't greatly impact your system performance. This is actually part Oracle so called self tuning effort. How did you determine it consumes a lot of memory? -
Server Manageability - Automatic Workload Repository
Hello,
is possible to clean an awr snapshots group, I have problems of space in the SYSAUX, any information would greatly help me.
thanks!
Miguel Cadenathanks..
Solaris 10 Sparc
Oracle 10.2.0.4 Enterprise Edition
V$SYSAUX_OCCUPANTS
SM/AWR Server Manageability - Automatic Workload Repository SYS *** MOVE PROCEDURE NOT APPLICABLE *** --> 4895232 --> SPACE USAGE KB.
SYSAUX 5.495,6 Mb Used.
The filesystem is already at the top and I need to free this space... removing some old snaps I get?
MAC -
Automatic Workload Repository Snapshots stopped ! How to restart
Hello,
On a 10.1 database when I try to create a ADDM report (Database: DBNAME > Advisor Central > Create ADDM Task ) I get a warning the following Warning :
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.
if I check the AWR snapshots (Database: DBNAME > Automatic Workload Repository > Snapshots
)I notice that I have no more snapshot since few days.
I have search how to start again the Automatic Workload Repository Snapshots, but I did not found how to do it.
Some body can help to restart the AWR snapshots.
Thanks in advance !!!
Best regards
Gaspard AmietHello Chandra,
Select snap_interval from dba_hist_wr_control; Return : +00 00:10:00.000000
Before It was to 1 hour and I change to 10 minutes.
statistics_level=TYPICAL, that is the default I think.
One more point, on this database the AWR snapshot work well before.
Best regards
Gaspard -
Hi,
I have tried to ask the same question for a couple of times but haven't received any answer. What is the process EMD_NOTIFICATION.QUEUE_READY? It was running even if I turned the Automatic Workload Repository (AWR) off. It consumes a lot of memory.
I really hope there is someone who can answer my question.
Thanks.
AndyThis procedure appeared to be called by ADDM which will generate report based on AWR data. How did you "turn off" AWR? Is it from EM?
Here's more information about ADDM
http://www.oracle.com/technology/oramag/oracle/04-may/o34tech_talking.html
The problem is this shouldn't greatly impact your system performance. This is actually part Oracle so called self tuning effort. How did you determine it consumes a lot of memory? -
WORKLOAD REPOSITORY report for
What fields are import to check in the WORKLOAD REPOSITORY report ?
1008032 wrote:
Dear
This is happen due to you are given the begin snap id and end snap id not between the shut down time .EX begin snap it at 12 am 1521 and you shut down at 12:30 am and you you give the 1:00 am snap id 1522 .That time system can not collect the statistics betwwn 1521 and 1522.
Or you should enable statistics_level parameter if it 11gr2 you should enable controlfile_management_pack _access='DIAGNOSTIC+TUNING'
issue not resolved please post your error..........
Thanks®ards
SS.vijaibabuI checked my statistics_level it shows value TYPICAL which I think is right.
SQL> sho parameter statistics_level
NAME TYPE VALUE
statistics_level string TYPICALAlso I given snap id which between single startup & shutdown still the problem is same sqlplus session get closed after asking for snal ids.
If error gets generated where it gets generated? -
Error while running awrrpt.sql for Automatic Workload Repository Report
Hi
I am trying to run awrrpt.sql.While running the query in sql*plus it ask me for file format then no of days
& then begin & end snapshot Id & then eventually the sql*plus session get closed . I am unable find
why sql*plus session getting closed automatically.Please tell me How to run awrrpt.sql to generate AWR reports. Please guide.1008032 wrote:
Dear
This is happen due to you are given the begin snap id and end snap id not between the shut down time .EX begin snap it at 12 am 1521 and you shut down at 12:30 am and you you give the 1:00 am snap id 1522 .That time system can not collect the statistics betwwn 1521 and 1522.
Or you should enable statistics_level parameter if it 11gr2 you should enable controlfile_management_pack _access='DIAGNOSTIC+TUNING'
issue not resolved please post your error..........
Thanks®ards
SS.vijaibabuI checked my statistics_level it shows value TYPICAL which I think is right.
SQL> sho parameter statistics_level
NAME TYPE VALUE
statistics_level string TYPICALAlso I given snap id which between single startup & shutdown still the problem is same sqlplus session get closed after asking for snal ids.
If error gets generated where it gets generated? -
Workload Repository Snapshot error
Hello,
Can any one have a better understanding of this error and let me know how to solve this and make it run properly?
1 BEGIN
2 FOR I IN 1..1000000
3 LOOP
4 INSERT INTO T101 VALUES('LARGE STRING');
5 END LOOP;
6* END;
SQL> /
BEGIN
ERROR at line 1:
ORA-01653: unable to extend table SYS.T101 by 8 in tablespace C101
ORA-06512: at line 4
Thanks a lot
AlainHello,
Yeah I added two datafiles to the tablespace as you may see bellow but it keep on giving the same error is that any thing else i can do? or the datafiles added are not enough?
1 BEGIN
2 FOR I IN 1..100000
3 LOOP
4 INSERT INTO T101 VALUES('LARGE STRING');
5 END LOOP;
6* END;
SQL> /
BEGIN
ERROR at line 1:
ORA-01653: unable to extend table SYS.T101 by 8 in tablespace C101
ORA-06512: at line 4
SQL> ALTER TABLESPACE C101
2 ADD DATAFILE '/u01/app/oracle/oradata/orcl/c101a.dbf'
3 SIZE 5M
4 /
Tablespace altered.
SQL> begin
2 for i in 1..1000000
3 loop
4 insert into t101 values('large string');
5 end loop;
6 end;
7 /
begin
ERROR at line 1:
ORA-01653: unable to extend table SYS.T101 by 128 in tablespace C101
ORA-06512: at line 4
SQL> ALTER TABLESPACE C101
2 ADD DATAFILE '/u01/app/oracle/oradata/orcl/c101b.dbf'
3 SIZE 5M
4 /
Tablespace altered.
SQL> begin
2 for i in 1..1000000
3 loop
4 insert into t101 values('large string');
5 end loop;
6 end;
7 /
begin
ERROR at line 1:
ORA-01653: unable to extend table SYS.T101 by 128 in tablespace C101
ORA-06512: at line 4 -
Server Manageability - Automatic Workload Repository increasing in size
I have noticed that the SYSAUX tablespace is increasing in size to a high level and would like some help in planning what to do about it.
I have changed the SNAP_INTERVAL to 2 hours in the meantime, it was set to the default 1 hour with 7 days of retention.
I have been monitoring the occupants of SYSAUX and SM/AWR is the one that is mostly increasing in size, it has gone from 225664Kb to 250496 in one day, which relates to a change of 18% down to 16% free so in approx 8 days it will be full.
Should I just add another datafile, or is a reduced interval/retention satisfactoryI have discovered that the table wwv_flow_data_load_bad_log is quite large but strangely (in TOAD) I can desc the table but if I try to select * from sys.wwv_flow_data_load_bad_log I get ORA_00942 table or view does not exist (logged in as sys)
I have search these forums, metalink and google but cannot find any mention of this table.
It seems to be a listing of ORA error messages
Can I safely delete rows from this table? How do I do that? -
Oracle 10G New Feature........Part 1
Dear all,
from last couple of days i was very busy with my oracle 10g box,so i think this is right time to
share some intresting feature on 10g and some internal stuff with all of you.
Have a look :-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Oracle 10g Memory and Storage Feature.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1.Automatic Memory Management.
2.Online Segment Shrink
3.Redolog Advisor, checkpointing
4.Multiple Temporary tablespace.
5.Automatic Workload Repository
6.Active Session History
7.Misc
a)Rename Tablespace
b)Bigfile tablespace
c)flushing buffer cache
8.ORACLE INTERNAL
a)undocumented parameter (_log_blocks_during_backup)
b)X$ view (x$messages view)
c)Internal Structure of Controlfile
1.Automatic memory management
================================
This feature reduce the overhead of oracle DBA.previously mostly time we need to set diff oracle SGA parameter for
better performance with the help of own experience,advice views and by monitoring the behaviour
of oracle database.
this was just time consuming activity.........
Now this feature makes easy life for oracle DBA.
Just set SGA_TARGET parameter and it automatically allocate memory to different SGA parameter.
it focus on DB_CACHE_SIZE
SHARED_POOL_SIZE
LARGE_POOL
JAVA_POOL
and automatically set it as
__db_cache_size
__shared_pool_size
__large_pool_size
__java_pool_size
check it in alert_log
MMAN(memory manager) process is new in 10g and this is responsible for sga tuning task.
it automatically increase and decrease the SGA parameters value as per the requirement.
Benefit:- Maximum utlization of available SGA memory.
2.Online Segment Shrink.
==========================
hmmmmm again a new feature by oracle to reduce the downtime.Now oracle mainly focus on availablity
thats why its always try to reduce the downtime by intrducing new feature.
in previous version ,reducing High water mark of table was possible by
Exp/imp
or
alter table move....cmd. but on these method tables was not available for normal use for long hrs if it has more data.
but in 10g with just few command we can reduce the HWmark of table.
this feature is available for ASSM tablespaces.
1.alter table emp enable row movement.
2.alter table emp shrink space.
the second cmd have two phases
first phase is to compact the segment and in this phase DML operations are allowed.
second phase(shrink phase)oracle shrink the HWM of table, DML operation will be blocked at that time for short duration.
So if want to shrink the HWM of table then we should use it with two diff command
first compact the segment and then shrink it on non-peak hrs.
alter table emp shrink space compact. (This cmd doesn't block the DML operation.)
and alter table emp shrink space. (This cmd should be on non-peak hrs.)
Benefit:- better full table scan.
3.Redolog Advisor and checkpointing
================================================================
now oracle will suggest the size of redo log file by V$INSTANCE_RECOVERY
SELECT OPTIMAL_LOGFILE_SIZE
FROM V$INSTANCE_RECOVERY
this value is influence with the value of FAST_START_MTTR_TARGET .
Checkpointing
Automatic checkpointing will be enable after setting FAST_START_MTTR_TARGET to non-zero value.
4.Multiple Temporary tablespace.
==================================
Now we can manage multiple temp tablespace under one group.
we can create a tablespace group implicitly when we include the TABLESPACE GROUP clause in the CREATE TEMPORARY TABLESPACE or ALTER TABLESPACE statement and the specified tablespace group does not currently exist.
For example, if group1 is not exists,then the following statements create this groups with new tablespace
CREATE TEMPORARY TABLESPACE temp1 TEMPFILE '/u02/oracle/data/temp01.dbf'
SIZE 50M
TABLESPACE GROUP group1;
--Add Existing temp tablespace into group by
alter tablespace temp2 tablespace group group1.
--we can also assign the temp tablespace group on database level as default temp tablespace.
ALTER DATABASE <db name> DEFAULT TEMPORARY TABLESPACE group1;
benefit:- Better I/O
One sql can use more then one temp tablespace
5.AWR(Automatic Workload Repository):-
================================== AWR is built in Repository and Central point of Oracle 10g.Oracle self managing activities
is fully dependent on AWR.by default after 1 hr, oracle capure all database uses information and store in AWR with the help of
MMON process.we called it Memory monitor process.and all these information are kept upto 7 days(default) and after that it automatically purge.
we can generate a AWR report by
SQL> @?/rdbms/admin/awrrpt
Just like statspack report but its a advance and diff version of statspack,it provide more information of Database as well as OS.
it show report in Html and Text format.
we can also take manually snapshot for AWR by
BEGIN
DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT ();
END;
**The STATISTICS_LEVEL initialization parameter must be set to the TYPICAL or ALL to enable the Automatic Workload Repository.
[oracle@RMSORA1 oracle]$ sqlplus / as sysdba
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Mar 17 10:37:22 2006
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?/rdbms/admin/awrrpt
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
4174002554 RMSORA 1 rmsora
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: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
* 4174002554 1 RMSORA rmsora RMSORA1
Using 4174002554 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.
Listing the last 3 days of Completed Snapshots
Snap
Instance DB Name Snap Id Snap Started Level
rmsora RMSORA 16186 16 Mar 2006 17:33 1
16187 16 Mar 2006 18:00 1
16206 17 Mar 2006 03:30 1
16207 17 Mar 2006 04:00 1
16208 17 Mar 2006 04:30 1
16209 17 Mar 2006 05:00 1
16210 17 Mar 2006 05:31 1
16211 17 Mar 2006 06:00 1
16212 17 Mar 2006 06:30 1
16213 17 Mar 2006 07:00 1
16214 17 Mar 2006 07:30 1
16215 17 Mar 2006 08:01 1
16216 17 Mar 2006 08:30 1
16217 17 Mar 2006 09:00 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 16216
Begin Snapshot Id specified: 16216
Enter value for end_snap: 16217
End Snapshot Id specified: 16217
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_16216_16217.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Benefit:- Now DBA have more free time to play games.....................:-)
Advance version of statspack
more DB and OS information with self managing capabilty
New Automatic alert and database advisor with the help of AWR.
6.Active Session History:-
==========================
V$active_session_history is view that contain the recent session history.
the memory for ASH is comes from SGA and it can't more then 5% of Shared pool.
So we can get latest and active session report from v$active_session_history view and also get histortical data of
of session from DBA_HIST_ACTIVE_SESS_HISTORY.
v$active_session_history include some imp column like:-
~SQL identifier of SQL statement
~Object number, file number, and block number
~Wait event identifier and parameters
~Session identifier and session serial number
~Module and action name
~Client identifier of the session
7.Misc:-
========
Rename Tablespace:-
=================
in 10g,we can even rename a tablespace by
alter tablespace <tb_name> rename to <tb_name_new>;
This command will update the controlfile,data dictionary and datafile header,but dbf filename will be same.
**we can't rename system and sysaux tablespace.
Bigfile tablespace:-
====================
Bigfile tablespace contain only one datafile.
A bigfile tablespace with 8K blocks can contain a 32 terabyte datafile.
Bigfile tablespaces are supported only for locally managed tablespaces with automatic segment-space management.
we can take the advantage of bigfile tablespace when we are using ASM or other logical volume with RAID.
without ASM or RAID ,it gives poor response.
syntax:-
CREATE BIGFILE TABLESPACE bigtbs
Flushing Buffer Cache:-
======================
This option is same as flushing the shared pool,but only available with 10g.
but i don't know, whats the use of this command in prod database......
anyway we can check and try it on test server for tuning n testing some query etc....
SQL> alter system flush buffer_cache;
System altered.
++++++++++++++++++
8.Oracle Internal
++++++++++++++++++
Here is some stuff that is not related with 10g but have some intresting things.
a)undocumented parameter "_log_blocks_during_backup"
++++++++++++++++++++++++
as we know that oracle has generate more redo logs during hotbackup mode because
oracle has to maintain the a complete copy of block into redolog due to split block.
we can also change this behaviour by setting this parameter to False.
If Oracle block size equals the operating system block size.thus reducing the amount of redo generated
during a hot backup.
WITHOUT ORACLE SUPPORT DON'T SET IT ON PROD DATABASE.THIS DOCUMENT IS JUST FOR INFORMATIONAL PURPOSE.
b)some X$ views (X$messages)
++++++++++++++++
if you are intresting in oracle internal architecture then x$ view is right place for getting some intresting things.
X$messages :-it show all the actions that a background process do.
select * from x$messages;
like:-
lock memory at startup MMAN
Memory Management MMAN
Handle sga_target resize MMAN
Reset advisory pool when advisory turned ON MMAN
Complete deferred initialization of components MMAN
lock memory timeout action MMAN
tune undo retention MMNL
MMNL Periodic MQL Selector MMNL
ASH Sampler (KEWA) MMNL
MMON SWRF Raw Metrics Capture MMNL
reload failed KSPD callbacks MMON
SGA memory tuning MMON
background recovery area alert action MMON
Flashback Marker MMON
tablespace alert monitor MMON
Open/close flashback thread RVWR
RVWR IO's RVWR
kfcl instance recovery SMON
c)Internal Structure of Controlfile
++++++++++++++++++++++++++++++++++++
The contents of the current controlfile can be dumped in text form.
Dump Level Dump Contains
1 only the file header
2 just the file header, the database info record, and checkpoint progress records
3 all record types, but just the earliest and latest records for circular reuse record types
4 as above, but includes the 4 most recent records for circular reuse record types
5+ as above, but the number of circular reuse records included doubles with each level
the session must be connected AS SYSDBA
alter session set events 'immediate trace name controlf level 5';
This dump show lots of intresting information.
it also show rman recordes if we used this controlfile in rman backup.
Thanks
Kuljeet Pal SinghYou can find each doc in html and pdf format on the Documentation Library<br>
You can too download all the documentation in html format to have all on your own computer here (445.8MB)<br>
<br>
Nicolas. -
ORA 04030 Out of process memory error
Dear experts,
I know there are multiple discussions around this error and I have been reading through most of them in the past one week or so, but looks like we are running out of options or are missing the color altogether. Ok, we are getting ORA-04030 - out of process memory while allocating....while one of our batch process runs in the night. It simply tries to insert/update to a table. Our installation is 11.2.0.1.0 with no RAC configuration and on 64-bit AIX having 6 cores, 12 CPUs and 16 GB memory.
We have checked the Workarea_Size_Policy is set to be as Auto so Oracle decides how much memory to allocate to PGA automatically on run-time based on the demand. And based on the AWR report it doesnt look like we are anywhere near the country having a PGA-deficit!! I am attaching the AWR report in a word document here for your reference.
Also attached below are the configurations and the ulimit values.
IKBTRN1> show parameter workarea;
NAME TYPE VALUE
workarea_size_policy string AUTO
oraipeikbtrn1:/home/oracle-> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 4194304
memory(kbytes) unlimited
coredump(blocks) unlimited
nofiles(descriptors) unlimited
threads(per process) unlimited
processes(per user) unlimited
Now, nothing seems to have contributed to the out of process memory issue from Oracle standpoint. I would be happy to be proved wrong here, if I am wrong.
So, whats going wrong here? A possible memory leak which we cannot zero down to, a OS memory limit or something else?
Seeking expert's advise on this, and also sincerely appreciate your time in looking at this.
Thanks.
P.S - I am pasting the whole AWR report since there is no 'upload file' option here that I can see.
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst num Startup Time Release RAC
IKBTRN1 54659199 IKBTRN1 1 06-Jun-11 02:06 11.2.0.1.0 NO
Host Name Platform CPUs Cores Sockets Memory (GB)
oraipeikbtrn1.******.com AIX-Based Systems (64-bit) 12 6 16.00
Snap Id Snap Time Sessions Cursors/Session
Begin Snap: 5952 26-Aug-11 03:00:48 34 2.0
End Snap: 5953 26-Aug-11 04:00:52 32 1.9
Elapsed: 60.07 (mins)
DB Time: 1.93 (mins)
Report Summary
Cache Sizes
Begin End
Buffer Cache: 1,056M 704M Std Block Size: 8K
Shared Pool Size: 3,456M 3,456M Log Buffer: 7,184K
Load Profile
Load Profile
Per Second Per Transaction Per Exec Per Call
DB Time(s): 0.0 2.0 0.02 0.02
DB CPU(s): 0.0 0.5 0.00 0.00
Redo size: 556.1 34,554.8
Logical reads: 151.4 9,407.6
Block changes: 1.9 119.8
Physical reads: 14.2 882.6
Physical writes: 9.5 590.4
User calls: 1.8 112.8
Parses: 1.5 93.7
Hard parses: 0.1 8.9
W/A MB processed: -0.1 -6.9
Logons: 0.0 1.6
Executes: 1.9 115.4
Rollbacks: 0.0 0.0
Transactions: 0.0
Instance Efficiency Percentages (Target 100%)
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 96.63 In-memory Sort %: 99.97
Library Hit %: 95.68 Soft Parse %: 90.49
Execute to Parse %: 18.74 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 57.23 % Non-Parse CPU: 86.28
Shared Pool Statistics
Begin End
Memory Usage %: 85.72 85.76
% SQL with executions>1: 93.91 96.66
% Memory for SQL w/exec>1: 89.07 87.04
Top 5 Timed Foreground Events
Event Waits Time(s) Avg wait (ms) % DB time Wait Class
DB CPU 29 24.66
db file scattered read 3,456 17 5 14.92 User I/O
db file sequential read 4,304 17 4 14.77 User I/O
direct path read temp 764 17 22 14.31 User I/O
direct path write temp 259 5 21 4.70 User I/O
Host CPU (CPUs: 12 Cores: 6 Sockets: )
Load Average Begin Load Average End %User %System %WIO %Idle
1.39 1.37 0.2 0.2 0.2 99.6
Instance CPU
%Total CPU %Busy CPU %DB time waiting for CPU (Resource Manager)
0.1 20.5 0.0
Memory Statistics
Begin End
Host Mem (MB): 16,384.0 16,384.0
SGA use (MB): 4,704.0 4,352.0
PGA use (MB): 196.1 188.4
% Host Mem used for SGA+PGA: 29.91 27.71
Main Report
• Report Summary
• Wait Events Statistics
• SQL Statistics
• Instance Activity Statistics
• IO Stats
• Buffer Pool Statistics
• Advisory Statistics
• Wait Statistics
• Undo Statistics
• Latch Statistics
• Segment Statistics
• Dictionary Cache Statistics
• Library Cache Statistics
• Memory Statistics
• Streams Statistics
• Resource Limit Statistics
• Shared Server Statistics
• init.ora Parameters
Back to Top
Wait Events Statistics
• Time Model Statistics
• Operating System Statistics
• Operating System Statistics - Detail
• Foreground Wait Class
• Foreground Wait Events
• Background Wait Events
• Wait Event Histogram
• Wait Event Histogram Detail (64 msec to 2 sec)
• Wait Event Histogram Detail (4 sec to 2 min)
• Wait Event Histogram Detail (4 min to 1 hr)
• Service Statistics
• Service Wait Class Stats
Back to Top
Time Model Statistics
• Total time in database user-calls (DB Time): 115.9s
• Statistics including the word "background" measure background process time, and so do not contribute to the DB time statistic
• Ordered by % or DB time desc, Statistic name
Statistic Name Time (s) % of DB Time
sql execute elapsed time 101.69 87.75
DB CPU 28.58 24.66
parse time elapsed 10.14 8.75
hard parse elapsed time 9.92 8.56
failed parse elapsed time 4.92 4.25
hard parse (sharing criteria) elapsed time 4.27 3.68
connection management call elapsed time 0.42 0.36
PL/SQL compilation elapsed time 0.34 0.30
PL/SQL execution elapsed time 0.18 0.15
sequence load elapsed time 0.00 0.00
repeated bind elapsed time 0.00 0.00
DB time 115.88
background elapsed time 86.01
background cpu time 5.06
Back to Wait Events Statistics
Back to Top
Operating System Statistics
• *TIME statistic values are diffed. All others display actual values. End Value is displayed if different
• ordered by statistic type (CPU Use, Virtual Memory, Hardware Config), Name
Statistic Value End Value
NUM_LCPUS 0
NUM_VCPUS 0
AVG_BUSY_TIME 1,260
AVG_IDLE_TIME 360,705
AVG_IOWAIT_TIME 534
AVG_SYS_TIME 483
AVG_USER_TIME 679
BUSY_TIME 16,405
IDLE_TIME 4,329,811
IOWAIT_TIME 7,284
SYS_TIME 7,092
USER_TIME 9,313
LOAD 1 1
OS_CPU_WAIT_TIME 503,900
PHYSICAL_MEMORY_BYTES 17,179,869,184
NUM_CPUS 12
NUM_CPU_CORES 6
GLOBAL_RECEIVE_SIZE_MAX 1,310,720
GLOBAL_SEND_SIZE_MAX 1,310,720
TCP_RECEIVE_SIZE_DEFAULT 16,384
TCP_RECEIVE_SIZE_MAX 9,223,372,036,854,775,807
TCP_RECEIVE_SIZE_MIN 4,096
TCP_SEND_SIZE_DEFAULT 16,384
TCP_SEND_SIZE_MAX 9,223,372,036,854,775,807
TCP_SEND_SIZE_MIN 4,096
Back to Wait Events Statistics
Back to Top
Operating System Statistics - Detail
Snap Time Load %busy %user %sys %idle %iowait
26-Aug 03:00:48 1.39
26-Aug 04:00:52 1.37 0.38 0.21 0.16 99.62 0.17
Back to Wait Events Statistics
Back to Top
Foreground Wait Class
• s - second, ms - millisecond - 1000th of a second
• ordered by wait time desc, waits desc
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
• Captured Time accounts for 78.2% of Total DB time 115.88 (s)
• Total FG Wait Time: 62.08 (s) DB CPU time: 28.58 (s)
Wait Class Waits %Time -outs Total Wait Time (s) Avg wait (ms) %DB time
User I/O 8,949 0 56 6 48.74
DB CPU 29 24.66
System I/O 1,916 0 3 1 2.18
Other 506 88 1 2 0.92
Configuration 2 50 1 500 0.86
Commit 37 0 1 18 0.56
Application 20 0 0 17 0.29
Network 4,792 0 0 0 0.01
Concurrency 1 0 0 0 0.00
Back to Wait Events Statistics
Back to Top
Foreground Wait Events
• s - second, ms - millisecond - 1000th of a second
• Only events with Total Wait Time (s) >= .001 are shown
• ordered by wait time desc, waits desc (idle events last)
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn % DB time
db file scattered read 3,456 0 17 5 59.59 14.92
db file sequential read 4,304 0 17 4 74.21 14.77
direct path read temp 764 0 17 22 13.17 14.31
direct path write temp 259 0 5 21 4.47 4.70
control file sequential read 1,916 0 3 1 33.03 2.18
ADR block file read 38 0 1 28 0.66 0.92
log buffer space 2 50 1 500 0.03 0.86
log file sync 37 0 1 18 0.64 0.56
enq: RO - fast object reuse 14 0 0 24 0.24 0.29
local write wait 44 0 0 1 0.76 0.03
SQL*Net message to client 4,772 0 0 0 82.28 0.01
Disk file operations I/O 110 0 0 0 1.90 0.00
ADR block file write 7 0 0 0 0.12 0.00
SQL*Net message from client 4,773 0 15,396 3226 82.29
Streams AQ: waiting for messages in the queue 720 100 3,600 5000 12.41
Back to Wait Events Statistics
Back to Top
Background Wait Events
• ordered by wait time desc, waits desc (idle events last)
• Only events with Total Wait Time (s) >= .001 are shown
• %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Event Waits %Time -outs Total Wait Time (s) Avg wait (ms) Waits /txn % bg time
control file sequential read 4,950 0 35 7 85.34 40.74
control file parallel write 1,262 0 31 25 21.76 36.46
log file parallel write 383 0 4 10 6.60 4.37
db file parallel write 627 0 2 3 10.81 2.36
change tracking file synchronous read 56 0 2 34 0.97 2.21
os thread startup 17 0 1 88 0.29 1.74
ADR block file read 135 0 1 7 2.33 1.04
change tracking file synchronous write 56 0 1 15 0.97 0.98
SGA: allocation forcing component growth 8 100 1 100 0.14 0.93
db file sequential read 112 0 1 6 1.93 0.75
process diagnostic dump 94 0 0 1 1.62 0.09
ADR block file write 92 0 0 1 1.59 0.07
LGWR wait for redo copy 11 0 0 1 0.19 0.01
log file sync 2 0 0 3 0.03 0.01
ADR file lock 92 22 0 0 1.59 0.01
Parameter File I/O 24 0 0 0 0.41 0.01
direct path write 6 0 0 1 0.10 0.00
Disk file operations I/O 54 0 0 0 0.93 0.00
rdbms ipc message 17,637 97 61,836 3506 304.09
Streams AQ: waiting for time management or cleanup tasks 5 60 11,053 2210602 0.09
DIAG idle wait 7,203 100 7,203 1000 124.19
PX Idle Wait 1,802 100 3,604 2000 31.07
pmon timer 1,212 99 3,603 2973 20.90
Space Manager: slave idle wait 726 99 3,603 4963 12.52
smon timer 12 100 3,600 300004 0.21
Streams AQ: qmn slave idle wait 128 0 3,583 27993 2.21
Streams AQ: qmn coordinator idle wait 256 50 3,583 13996 4.41
SQL*Net message from client 293 0 2 5 5.05
Back to Wait Events Statistics
Back to Top
Wait Event Histogram
• Units for Total Waits column: K is 1000, M is 1000000, G is 1000000000
• % of Waits: value of .0 indicates value was <.05%; value of null is truly 0
• % of Waits: column heading of <=1s is truly <1024ms, >1s is truly >=1024ms
• Ordered by Event (idle events last)
% of Waits
Event Total Waits <1ms <2ms <4ms <8ms <16ms <32ms <=1s >1s
ADR block file read 173 80.3 5.2 2.3 5.8 1.7 4.6
ADR block file write 99 96.0 3.0 1.0
ADR file lock 102 100.0
Disk file operations I/O 165 100.0
LGWR wait for redo copy 11 90.9 9.1
Parameter File I/O 24 100.0
SGA: allocation forcing component growth 8 100.0
SQL*Net break/reset to client 6 100.0
SQL*Net message to client 4992 100.0
SQL*Net more data from client 20 100.0
asynch descriptor resize 541 100.0
change tracking file synchronous read 56 83.9 1.8 14.3
change tracking file synchronous write 56 80.4 7.1 1.8 10.7
control file parallel write 1262 80.3 1.7 .6 .6 .8 1.3 14.7
control file sequential read 6866 94.1 .9 .7 .7 .3 .4 2.9
db file parallel write 628 94.3 2.1 1.0 .8 .3 .3 1.3
db file scattered read 3457 72.6 7.2 5.4 6.9 5.7 .5 1.6
db file sequential read 4525 78.7 2.7 1.8 9.6 5.3 .4 1.5
direct path read temp 764 40.2 18.6 9.4 6.2 11.0 5.8 8.9
direct path sync 1 100.0
direct path write 6 83.3 16.7
direct path write temp 259 .4 1.2 88.8 .4 9.3
enq: RO - fast object reuse 14 42.9 42.9 7.1 7.1
latch free 1 100.0
latch: cache buffers lru chain 2 100.0
latch: checkpoint queue latch 2 100.0
latch: messages 2 100.0
latch: object queue header operation 2 100.0
latch: redo allocation 1 100.0
latch: row cache objects 1 100.0
local write wait 44 100.0
log buffer space 2 50.0 50.0
log file parallel write 383 92.4 .8 1.0 5.7
log file sync 39 82.1 2.6 2.6 12.8
os thread startup 17 100.0
process diagnostic dump 94 34.0 63.8 2.1
reliable message 7 100.0
utl_file I/O 12 100.0
DIAG idle wait 7204 100.0
PX Idle Wait 1802 100.0
SQL*Net message from client 5067 87.1 6.6 1.0 .5 .5 .1 .5 3.7
Space Manager: slave idle wait 726 .6 99.4
Streams AQ: qmn coordinator idle wait 256 49.2 .8 50.0
Streams AQ: qmn slave idle wait 128 100.0
Streams AQ: waiting for messages in the queue 721 100.0
Streams AQ: waiting for time management or cleanup tasks 5 40.0 20.0 40.0
class slave wait 17 100.0
pmon timer 1212 .9 99.1
rdbms ipc message 17.6K 1.8 .4 .2 .2 .1 .1 21.0 76.2
smon timer 12 100.0
Back to Wait Events Statistics
Back to Top
I couldnt add the rest of the report here since it is telling me I have exceeded 30000 characters. If you want to see the full report, please email me at [email protected]Unless your database is strictly a DSS-type of database, your AWR report exposes loads of issues with it. And I think none of the time during the AWR window was spent on database. Look at the DB time (with all those multi cores) compared with the elapsed time of the AWR.
As you are on 11g, why not make use of MEMORY_TARGET (a single parameter to manage both SGA and PGA)? If you are already on it, ignore this as I can't see it anywhere. If not, get rid of SGA_TARGET and PGA_AGGREGATE_TARGET and replace it with a single MEMORY_TARGET parameter. However you may have a minimum threshold set for different SGA pools so that they won't shrink beyond that point.
Having said that, setting MEMORY_TARGET is not a guarantee to avoid ORA-4030. Just a single bad PL/SQL code could go and exploit the untunable part of your process memory and even go and blow up the physical memory. If you are using FORALL and BULK load, see if you can cut it down into few chunks rather than running as a single process.
What does your V$PGASTAT say? -
AWR Report - suggestions to improve performance.
Hi Folks,
Web application server version - 10.1.2.0.2
Database version - 10.1.0.4.0
OS version - AIX 5.3
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release Cluster Host
xxxx 3419432639 xxxx 1 10.1.0.4.0 NO hostname
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 16598 07-Jul-09 16:30:54 23 60.7
End Snap: 16599 07-Jul-09 17:30:46 36 94.1
Elapsed: 59.88 (mins)
DB Time: 44.99 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 1,536M Std Block Size: 8K
Shared Pool Size: 1,248M Log Buffer: 1,024K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 30,495.86 138,156.74
Logical reads: 1,735.49 7,862.39
Block changes: 197.66 895.45
Physical reads: 564.70 2,558.28
Physical writes: 54.64 247.52
User calls: 2.00 9.04
Parses: 14.32 64.87
Hard parses: 1.37 6.22
Sorts: 5.83 26.42
Logons: 0.12 0.54
Executes: 72.71 329.38
Transactions: 0.22
% Blocks changed per Read: 11.39 Recursive Call %: 99.64
Rollback per transaction %: 17.53 Rows per Sort: 5933.99
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 71.24 In-memory Sort %: 99.79
Library Hit %: 96.22 Soft Parse %: 90.41
Execute to Parse %: 80.31 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 21.82 % Non-Parse CPU: 96.80
Shared Pool Statistics Begin End
Memory Usage %: 13.13 27.55
% SQL with executions>1: 61.04 15.52
% Memory for SQL w/exec>1: 60.96 12.31
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) DB Time Wait Class
db file scattered read 135,977 1,204 44.62 User I/O
CPU time 547 20.26
db file sequential read 99,521 187 6.92 User I/O
log file parallel write 10,995 16 .59 System I/O
direct path write temp 7,225 13 .47 User I/O
Wait Events DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> s - second
-> cs - centisecond - 100th of a second
-> ms - millisecond - 1000th of a second
-> us - microsecond - 1000000th of a second
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
db file scattered read 135,977 0 1,204 9 171.5
db file sequential read 99,521 0 187 2 125.5
log file parallel write 10,995 0 16 1 13.9
direct path write temp 7,225 0 13 2 9.1
process startup 117 1 7 58 0.1
latch: library cache 306 0 5 15 0.4
direct path read temp 152,490 0 4 0 192.3
db file parallel write 342 0 4 11 0.4
log file sync 309 3 4 13 0.4
db file parallel read 359 0 3 8 0.5
latch: cache buffers lru ch 80 0 2 19 0.1
control file parallel write 1,325 0 1 1 1.7
latch: row cache objects 26 0 1 51 0.0
latch: cache buffers chains 138 138 1 9 0.2
log file switch completion 3 0 1 399 0.0
buffer busy waits 94 0 1 10 0.1
latch: shared pool 44 0 0 6 0.1
control file sequential rea 1,258 0 0 0 1.6
latch: object queue header 3 0 0 41 0.0
SQL*Net message to client 5,866 0 0 0 7.4
LGWR wait for redo copy 495 1 0 0 0.6
direct path read 58 0 0 1 0.1
latch: session allocation 6 0 0 6 0.0
latch: In memory undo latch 3 0 0 10 0.0
SQL*Net break/reset to clie 62 0 0 0 0.1
control file single write 40 0 0 1 0.1
latch: redo allocation 12 0 0 2 0.0
latch free 2 0 0 11 0.0
enq: TX - index contention 1 0 0 21 0.0
latch: messages 8 0 0 2 0.0
log file single write 2 0 0 4 0.0
direct path write 99 0 0 0 0.1
SQL*Net more data to client 237 0 0 0 0.3
log file sequential read 2 0 0 2 0.0
latch: library cache lock 1 0 0 3 0.0
latch: enqueue hash chains 3 0 0 0 0.0
SQL*Net more data from clie 2 0 0 0 0.0
SQL*Net message from client 5,855 0 23,607 4032 7.4
jobq slave wait 3,441 3,334 9,925 2884 4.3
Queue Monitor Wait 1,537 623 3,532 2298 1.9
Queue Monitor Slave Wait 503 0 3,532 7022 0.6
wakeup time manager 12 0 3,527 293898 0.0
virtual circuit status 120 120 3,512 29266 0.2
class slave wait 2 2 10 4883 0.0
Background Wait Events DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
log file parallel write 10,995 0 16 1 13.9
process startup 117 1 7 58 0.1
db file sequential read 1,255 0 4 3 1.6
db file parallel write 342 0 4 11 0.4
control file parallel write 1,329 0 1 1 1.7
db file scattered read 151 0 1 7 0.2
latch: cache buffers lru ch 32 0 0 15 0.0
latch: library cache 5 0 0 69 0.0
control file sequential rea 213 0 0 1 0.3
latch: cache buffers chains 2 2 0 34 0.0
LGWR wait for redo copy 495 1 0 0 0.6
control file single write 40 0 0 1 0.1
latch: redo allocation 12 0 0 2 0.0
latch: messages 8 0 0 2 0.0
latch: object queue header 2 0 0 8 0.0
log file single write 2 0 0 4 0.0
direct path write 25 0 0 0 0.0
buffer busy waits 1 0 0 7 0.0
latch: shared pool 2 0 0 2 0.0
log file sequential read 2 0 0 2 0.0
direct path read 22 0 0 0 0.0
rdbms ipc message 15,461 10,346 26,675 1725 19.5
Queue Monitor Wait 1,537 623 3,532 2298 1.9
Queue Monitor Slave Wait 503 0 3,532 7022 0.6
wakeup time manager 12 0 3,527 293898 0.0
smon timer 175 8 3,418 19530 0.2
Time Model Statistics DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by Time (seconds) desc
Time % Total
Statistic Name (seconds) DB Time
sql execute elapsed time 2,708.75 100.35
DB time 2,699.22 100.00
DB CPU 546.94 20.26
background elapsed time 113.64 4.21
parse time elapsed 90.88 3.37
hard parse elapsed time 59.03 2.19
PL/SQL execution elapsed time 56.46 2.09
Java execution elapsed time 8.99 .33
background cpu time 8.18 .30
PL/SQL compilation elapsed time 4.55 .17
connection management call elapsed time 1.08 .04
failed parse elapsed time .73 .03
hard parse (sharing criteria) elapsed time .70 .03
hard parse (bind mismatch) elapsed time .61 .02
sequence load elapsed time .41 .02
inbound PL/SQL rpc elapsed time .00 .00
failed parse (out of shared memory) elapsed t .00 .00
Operating System Statistics DB/Inst: xxxx/xxxx Snaps: 16598-16599
Statistic Name Value
AVG_BUSY_TICKS 771,364
AVG_IDLE_TICKS 346,024
AVG_IN_BYTES 3,812,632,576
AVG_IOWAIT_TICKS 38,470
AVG_OUT_BYTES 1,141,137,408
AVG_SYS_TICKS 2,786
AVG_USER_TICKS 13,588
BUSY_TICKS 3,085,837
IDLE_TICKS 1,384,395
IN_BYTES 15,250,530,304
IOWAIT_TICKS 154,103
OS_CPU_WAIT_TIME 70,200
OUT_BYTES 4,564,549,632
RSRC_MGR_CPU_WAIT_TIME 0
SYS_TICKS 11,439
USER_TICKS 54,613
Service Statistics DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by DB Time
Physical Logical
Service Name DB Time (s) DB CPU (s) Reads Reads
xxxx 2,032.9 519.7 1,804,948 5,709,611
SYS$USERS 666.3 27.2 219,320 501,732
SYS$BACKGROUND 0.0 0.0 4,565 28,708
xxxxXDB 0.0 0.0 0 0
Service Wait Class Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Wait Class info for services in the Service Statistics section.
-> Total Waits and Time Waited displayed for the following wait
classes: User I/O, Concurrency, Administrative, Network
-> Time Waited (Wt Time) in centisecond (100th of a second)
Service Name
User I/O User I/O Concurcy Concurcy Admin Admin Network Network
Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time Total Wts Wt Time
xxxx
374696 127922 0 0 0 0 3701 7
SYS$USERS
18820 12406 172 222 0 0 2129 0
SYS$BACKGROUND
2218 783 0 0 0 0 0 0
SQL ordered by Elapsed Time DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> % Total DB Time is the Elapsed Time of the SQL statement divided
into the Total Database Time multiplied by 100
<<<<<<<<<<<<<<<<<<<<<<<<<<<SQLs Deleted >>>>>>>>>>>>
SQL ordered by Sharable Memory DB/Inst: xxxx/xxxx Snaps: 16598-16599
No data exists for this section of the report.
SQL ordered by Version Count DB/Inst: xxxx/xxxx Snaps: 16598-16599
No data exists for this section of the report.
Instance Activity Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
Statistic Total per Second per Trans
CPU used by this session 53,470 14.9 67.4
CPU used when call started 51,928 14.5 65.5
CR blocks created 5,298 1.5 6.7
Cached Commit SCN referenced 192,226 53.5 242.4
Commit SCN cached 3,613 1.0 4.6
DB time 1,253,838 349.0 1,581.1
DBWR checkpoint buffers written 4,304 1.2 5.4
DBWR checkpoints 1 0.0 0.0
DBWR transaction table writes 59 0.0 0.1
DBWR undo block writes 5,557 1.6 7.0
IMU CR rollbacks 1 0.0 0.0
IMU Flushes 191 0.1 0.2
IMU Redo allocation size 860,820 239.6 1,085.5
IMU commits 381 0.1 0.5
IMU contention 5 0.0 0.0
IMU ktichg flush 1 0.0 0.0
IMU undo allocation size 1,839,872 512.1 2,320.1
SQL*Net roundtrips to/from clien 5,591 1.6 7.1
active txn count during cleanout 948 0.3 1.2
application wait time 4 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 10,366 2.9 13.1
buffer is not pinned count 2,387,595 664.6 3,010.8
buffer is pinned count 792,051 220.5 998.8
bytes received via SQL*Net from 333,467 92.8 420.5
bytes sent via SQL*Net to client 2,449,972 682.0 3,089.5
calls to get snapshot scn: kcmgs 319,869 89.0 403.4
calls to kcmgas 17,576 4.9 22.2
calls to kcmgcs 1,912 0.5 2.4
change write time 2,175 0.6 2.7
cleanout - number of ktugct call 4,589 1.3 5.8
cluster key scan block gets 579,340 161.3 730.6
cluster key scans 283,013 78.8 356.9
commit cleanout failures: block 1 0.0 0.0
commit cleanout failures: buffer 1 0.0 0.0
commit cleanout failures: callba 1 0.0 0.0
commit cleanout failures: cannot 5 0.0 0.0
commit cleanouts 25,713 7.2 32.4
commit cleanouts successfully co 25,705 7.2 32.4
commit txn count during cleanout 4,110 1.1 5.2
concurrency wait time 650 0.2 0.8
consistent changes 7,352 2.1 9.3
consistent gets 5,509,829 1,533.7 6,948.1
consistent gets - examination 1,061,141 295.4 1,338.1
consistent gets direct 39 0.0 0.1
consistent gets from cache 5,509,790 1,533.7 6,948.0
cursor authentications 310 0.1 0.4
data blocks consistent reads - u 6,747 1.9 8.5
db block changes 710,092 197.7 895.5
db block gets 725,044 201.8 914.3
db block gets direct 14,789 4.1 18.7
db block gets from cache 710,255 197.7 895.7
deferred (CURRENT) block cleanou 14,036 3.9 17.7
dirty buffers inspected 9,309 2.6 11.7
enqueue conversions 926 0.3 1.2
enqueue releases 92,643 25.8 116.8
enqueue requests 92,643 25.8 116.8
enqueue waits 1 0.0 0.0
execute count 261,199 72.7 329.4
Instance Activity Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
Statistic Total per Second per Trans
free buffer inspected 1,719,681 478.7 2,168.6
free buffer requested 1,804,893 502.4 2,276.0
heap block compress 1,617 0.5 2.0
hot buffers moved to head of LRU 295,841 82.4 373.1
immediate (CR) block cleanout ap 3,664 1.0 4.6
immediate (CURRENT) block cleano 6,108 1.7 7.7
index fast full scans (full) 533 0.2 0.7
index fetch by key 582,804 162.2 734.9
index scans kdiixs1 328,534 91.5 414.3
leaf node 90-10 splits 190 0.1 0.2
leaf node splits 353 0.1 0.5
logons cumulative 426 0.1 0.5
messages received 5,699 1.6 7.2
messages sent 5,699 1.6 7.2
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 4,088,134 1,137.9 5,155.3
opened cursors cumulative 46,867 13.1 59.1
parse count (failures) 27 0.0 0.0
parse count (hard) 4,933 1.4 6.2
parse count (total) 51,443 14.3 64.9
parse time cpu 1,748 0.5 2.2
parse time elapsed 8,012 2.2 10.1
physical read IO requests 390,490 108.7 492.4
physical reads 2,028,713 564.7 2,558.3
physical reads cache 1,793,229 499.2 2,261.3
physical reads cache prefetch 1,557,452 433.5 1,964.0
physical reads direct 235,484 65.6 297.0
physical reads direct (lob) 36 0.0 0.1
physical reads direct temporary 235,426 65.5 296.9
physical reads prefetch warmup 6,031 1.7 7.6
physical write IO requests 15,092 4.2 19.0
physical writes 196,287 54.6 247.5
physical writes direct 179,731 50.0 226.7
physical writes direct (lob) 39 0.0 0.1
physical writes direct temporary 179,664 50.0 226.6
physical writes from cache 16,556 4.6 20.9
physical writes non checkpoint 194,791 54.2 245.6
pinned buffers inspected 2 0.0 0.0
prefetch warmup blocks aged out 1,292 0.4 1.6
prefetched blocks aged out befor 293,795 81.8 370.5
process last non-idle time 1,954 0.5 2.5
recursive calls 1,997,982 556.1 2,519.5
recursive cpu usage 50,834 14.2 64.1
redo blocks written 224,755 62.6 283.4
redo buffer allocation retries 3 0.0 0.0
redo entries 357,063 99.4 450.3
redo log space requests 3 0.0 0.0
redo log space wait time 123 0.0 0.2
redo ordering marks 5,391 1.5 6.8
redo size 109,558,292 30,495.9 138,156.7
redo synch time 398 0.1 0.5
redo synch writes 300 0.1 0.4
redo wastage 1,486,252 413.7 1,874.2
redo write time 1,657 0.5 2.1
redo writer latching time 7 0.0 0.0
redo writes 5,499 1.5 6.9
rollback changes - undo records 5,688 1.6 7.2
rows fetched via callback 96,659 26.9 121.9
session connect time 0 0.0 0.0
session logical reads 6,234,873 1,735.5 7,862.4
Instance Activity Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
Statistic Total per Second per Trans
session pga memory 162,220,520 45,154.5 204,565.6
session pga memory max 341,641,032 95,096.7 430,821.0
session uga memory 790,286,168,264 219,978,374.3 #############
session uga memory max 267,584,080 74,482.8 337,432.6
shared hash latch upgrades - no 327,865 91.3 413.5
shared hash latch upgrades - wai 47 0.0 0.1
sorts (disk) 44 0.0 0.1
sorts (memory) 20,909 5.8 26.4
sorts (rows) 124,334,820 34,609.0 156,790.4
summed dirty queue length 10,849 3.0 13.7
switch current to new buffer 125 0.0 0.2
table fetch by rowid 362,785 101.0 457.5
table fetch continued row 1,811 0.5 2.3
table scan blocks gotten 2,989,662 832.2 3,770.1
table scan rows gotten 102,945,486 28,655.2 129,817.8
table scans (long tables) 65 0.0 0.1
table scans (short tables) 8,082 2.3 10.2
transaction rollbacks 72 0.0 0.1
undo change vector size 40,524,316 11,280.1 51,102.5
user I/O wait time 140,959 39.2 177.8
user calls 7,168 2.0 9.0
user commits 654 0.2 0.8
user rollbacks 139 0.0 0.2
workarea executions - onepass 30 0.0 0.0
workarea executions - optimal 13,486 3.8 17.0
write clones created in foregrou 6 0.0 0.0
-------------------------------------------------------------contd on next ...
Edited by: LazyDBA10g on Jul 8, 2009 4:50 AMInstance Activity Stats - Absolute Values DB/Inst: xxxx/xxxx Snaps: 1
-> Statistics with absolute values (should not be diffed)
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Begin Value End Value
opened cursors current 1,397 3,387
logons current 23 36
Instance Activity Stats - Thread Activity DB/Inst: xxxx/xxxx Snaps: 16
Statistic Total per Hour
log switches (derived) 1 1.00
Tablespace IO Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by IOs (Reads + Writes) desc
Tablespace
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
TEMP2
153,326 43 0.2 1.6 6,040 2 0 0.0
AA_DATA
115,909 32 5.8 7.6 217 0 0 0.0
AA_WEB
57,358 16 9.1 12.8 2,200 1 0 0.0
AA_INDEX
43,576 12 3.3 3.3 738 0 0 0.0
AA_WEB_IDX
11,475 3 2.9 1.1 6 0 0 0.0
SYSTEM
5,575 2 3.8 1.4 2,528 1 61 16.1
SYSAUX
3,017 1 5.3 1.4 2,401 1 5 0.0
UNDOTBS1
262 0 5.0 1.0 955 0 28 0.0
AA_LOB
36 0 13.6 5.5 3 0 0 0.0
USERS
3 0 33.3 1.0 3 0 0 0.0
EXAMPLE
1 0 40.0 1.0 1 0 0 0.0
File IO Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by Tablespace, File
Tablespace Filename
Av Av Av Av Buffer Av Buf
Reads Reads/s Rd(ms) Blks/Rd Writes Writes/s Waits Wt(ms)
EXAMPLE /AAA/oradata/xxxx/example01.dbf
1 0 40.0 1.0 1 0 0 0.0
SYSAUX /AAA/oradata/xxxx/sysaux01.dbf
3,017 1 5.3 1.4 2,401 1 5 0.0
SYSTEM /AAA/oradata/xxxx/system01.dbf
5,575 2 3.8 1.4 2,528 1 61 16.1
TEMP2 /AAA/oradata/xxxx/TEMP02.DBFf
153,324 43 0.2 1.6 6,040 2 0
TEMP2 /AAA/oradata/xxxx/TEMP03.DBF
2 0 5.0 1.0 0 0 0
UNDOTBS1 /AAA/oradata/xxxx/undotbs01.dbf
181 0 4.9 1.0 307 0 3 0.0
UNDOTBS1 /AAA/oradata/xxxx/undotbs02.dbf
70 0 5.6 1.0 157 0 20 0.0
UNDOTBS1 /AAA/oradata/xxxx/undotbs021.dbf
11 0 2.7 1.0 491 0 5 0.0
USERS /AAA/oradata/xxxx/users01.dbf
1 0 50.0 1.0 1 0 0 0.0
USERS /AAA/oradata/xxxx/users02.dbf
1 0 30.0 1.0 1 0 0 0.0
USERS /AAA/oradata/xxxx/users03.dbf
1 0 20.0 1.0 1 0 0 0.0
AA_DATA /AAA/oradata/xxxx/AA_DATA01.DBF
28,830 8 5.8 7.6 80 0 0 0.0
AA_DATA /AAA/oradata/xxxx/AA_DATA02.DBF
30,068 8 5.8 7.5 34 0 0 0.0
AA_DATA /AAA/oradata/xxxx/AA_DATA03.DBF
28,669 8 5.8 7.5 56 0 0 0.0
AA_DATA /AAA/oradata/xxxx/AA_DATA04.DBF
28,342 8 5.9 7.7 47 0 0 0.0
AA_INDEX /AAA/oradata/xxxx/AA_INDEX01.DBF
22,286 6 3.1 3.2 439 0 0 0.0
AA_INDEX /AAA/oradata/xxxx/AA_INDEX02.DBF
21,290 6 3.4 3.3 299 0 0 0.0
AA_LOB /AAA/oradata/xxxx/AA_LOB01.DBF
20 0 11.0 5.4 1 0 0 0.0
AA_LOB /AAA/oradata/xxxx/AA_LOB02.DBF
11 0 17.3 5.5 1 0 0 0.0
AA_LOB /AAA/oradata/xxxx/AA_LOB03.DBF
5 0 16.0 6.2 1 0 0 0.0
AA_WEB /AAA/oradata/xxxx/AA_WEB01.DBF
28,640 8 9.2 12.8 1,079 0 0 0.0
AA_WEB /AAA/oradata/xxxx/AA_WEB02.DBF
28,718 8 9.0 12.8 1,121 0 0 0.0
AA_WEB_IDX /AAA/oradata/xxxx/AA_WEB_IDX01.DBF
5,068 1 2.8 1.2 2 0 0 0.0
AA_WEB_IDX /AAA/oradata/xxxx/AA_WEB_IDX02.DBF
6,407 2 2.9 1.1 4 0 0 0.0
Buffer Pool Statistics DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Writ Buffer
Number of Pool Buffer Physical Physical Buff Comp Busy
P Buffers Hit% Gets Reads Writes Wait Wait Waits
D 190,848 71 6,220,953 1,793,255 16,556 0 0 94
Instance Recovery Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> B: Begin snapshot, E: End snapshot
Targt Estd Log File Log Ckpt Log Ckpt
MTTR MTTR Recovery Actual Target Size Timeout Interval
(s) (s) Estd IOs Redo Blks Redo Blks Redo Blks Redo Blks Redo Blks
B 0 8 155 955 5359 360000 5359
E 0 9 311 1177 4572 360000 4572
Buffer Pool Advisory DB/Inst: xxxx/xxxx Snap: 16599
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 144 .1 17,892 1.97 3,571,363
D 288 .2 35,784 1.62 2,936,281
D 432 .3 53,676 1.57 2,850,391
D 576 .4 71,568 1.44 2,616,052
D 720 .5 89,460 1.33 2,414,217
D 864 .6 107,352 1.15 2,091,986
D 1,008 .7 125,244 1.04 1,882,876
D 1,152 .8 143,136 1.02 1,857,287
D 1,296 .8 161,028 1.02 1,844,981
D 1,440 .9 178,920 1.01 1,830,107
D 1,536 1.0 190,848 1.00 1,816,003
D 1,584 1.0 196,812 0.98 1,785,023
D 1,728 1.1 214,704 0.93 1,688,213
D 1,872 1.2 232,596 0.89 1,613,261
D 2,016 1.3 250,488 0.88 1,594,176
D 2,160 1.4 268,380 0.87 1,584,933
D 2,304 1.5 286,272 0.87 1,582,965
D 2,448 1.6 304,164 0.86 1,569,802
D 2,592 1.7 322,056 0.86 1,569,169
D 2,736 1.8 339,948 0.86 1,568,758
D 2,880 1.9 357,840 0.86 1,568,194
PGA Aggr Summary DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
PGA Cache Hit % W/A MB Processed Extra W/A MB Read/Written
88.0 4,058 552
PGA Aggr Target Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> Auto PGA Target - actual workarea memory target
-> W/A PGA Used - amount of memory used for all Workareas (manual + auto)
-> %PGA W/A Mem - percentage of PGA memory allocated to workareas
-> %Auto W/A Mem - percentage of workarea memory controlled by Auto Mem Mgmt
-> %Man W/A Mem - percentage of workarea memory under manual control
%PGA %Auto %Man
PGA Aggr Auto PGA PGA Mem W/A PGA W/A W/A W/A Global Mem
Target(M) Target(M) Alloc(M) Used(M) Mem Mem Mem Bound(K)
B 500 432 57.5 0.0 .0 .0 .0 25,600
E 500 428 70.2 0.0 .0 .0 .0 25,600
PGA Aggr Target Histogram DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
2K 4K 11,726 11,726 0 0
64K 128K 256 256 0 0
128K 256K 206 206 0 0
256K 512K 583 583 0 0
512K 1024K 363 363 0 0
1M 2M 124 124 0 0
2M 4M 107 107 0 0
4M 8M 66 64 2 0
8M 16M 49 35 14 0
16M 32M 52 39 13 0
32M 64M 3 2 1 0
64M 128M 4 4 0 0
128M 256M 2 2 0 0
PGA Memory Advisory DB/Inst: xxxx/xxxx Snap: 16599
-> When using Auto Memory Mgmt, minimally choose a pga_aggregate_target value
where Estd PGA Overalloc Count is 0
Estd Extra Estd PGA Estd PGA
PGA Target Size W/A MB W/A MB Read/ Cache Overalloc
Est (MB) Factr Processed Written to Disk Hit % Count
63 0.1 4,098.7 2,609.3 61.0 0
125 0.3 4,098.7 1,521.6 73.0 0
250 0.5 4,098.7 1,354.7 75.0 0
375 0.8 4,098.7 1,109.3 79.0 0
500 1.0 4,098.7 373.4 92.0 0
600 1.2 4,098.7 71.6 98.0 0
700 1.4 4,098.7 41.6 99.0 0
800 1.6 4,098.7 41.6 99.0 0
900 1.8 4,098.7 0.0 100.0 0
1,000 2.0 4,098.7 0.0 100.0 0
1,500 3.0 4,098.7 0.0 100.0 0
2,000 4.0 4,098.7 0.0 100.0 0
3,000 6.0 4,098.7 0.0 100.0 0
4,000 8.0 4,098.7 0.0 100.0 0
Shared Pool Advisory DB/Inst: xxxx/xxxx Snap: 16599
-> SP: Shared Pool Est LC: Estimated Library Cache Factr: Factor
-> Note there is often a 1:Many correlation between a single logical object
in the Library Cache, and the physical number of memory objects associated
with it. Therefore comparing the number of Lib Cache objects (e.g. in
v$librarycache), with the number of Lib Cache Memory Objects is invalid.
Est LC Est LC Est LC Est LC
Shared SP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
224 .2 130 9,174 380 1.0 91 1.0 408,867
352 .3 171 12,647 381 1.0 90 1.0 409,226
480 .4 171 12,647 381 1.0 90 1.0 409,226
608 .5 171 12,647 381 1.0 90 1.0 409,226
736 .6 171 12,647 381 1.0 90 1.0 409,226
864 .7 171 12,647 381 1.0 90 1.0 409,226
992 .8 171 12,647 381 1.0 90 1.0 409,226
1,120 .9 171 12,647 381 1.0 90 1.0 409,226
1,248 1.0 171 12,647 381 1.0 90 1.0 409,226
1,376 1.1 171 12,647 381 1.0 90 1.0 409,226
1,504 1.2 171 12,647 381 1.0 90 1.0 409,226
1,632 1.3 171 12,647 381 1.0 90 1.0 409,226
1,760 1.4 171 12,647 381 1.0 90 1.0 409,226
1,888 1.5 171 12,647 381 1.0 90 1.0 409,226
2,016 1.6 171 12,647 381 1.0 90 1.0 409,226
2,144 1.7 171 12,647 381 1.0 90 1.0 409,226
2,272 1.8 171 12,647 381 1.0 90 1.0 409,226
2,400 1.9 171 12,647 381 1.0 90 1.0 409,226
2,528 2.0 171 12,647 381 1.0 90 1.0 409,226
Java Pool Advisory DB/Inst: xxxx/xxxx Snap: 16599
Est LC Est LC Est LC Est LC
Java JP Est LC Time Time Load Load Est LC
Pool Size Size Est LC Saved Saved Time Time Mem
Size(M) Factr (M) Mem Obj (s) Factr (s) Factr Obj Hits
32 .1 6 142 2 1.0 23 1.0 142
64 .3 6 142 2 1.0 23 1.0 142
96 .4 6 142 2 1.0 23 1.0 142
128 .5 6 142 2 1.0 23 1.0 142
160 .6 6 142 2 1.0 23 1.0 142
192 .8 6 142 2 1.0 23 1.0 142
224 .9 6 142 2 1.0 23 1.0 142
256 1.0 6 142 2 1.0 23 1.0 142
288 1.1 6 142 2 1.0 23 1.0 142
320 1.3 6 142 2 1.0 23 1.0 142
352 1.4 6 142 2 1.0 23 1.0 142
384 1.5 6 142 2 1.0 23 1.0 142
416 1.6 6 142 2 1.0 23 1.0 142
448 1.8 6 142 2 1.0 23 1.0 142
480 1.9 6 142 2 1.0 23 1.0 142
512 2.0 6 142 2 1.0 23 1.0 142
Buffer Wait Statistics DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by wait time desc, waits desc
Class Waits Total Wait Time (s) Avg Time (ms)
data block 66 1 15
undo block 25 0 0
undo header 3 0 0
Enqueue Activity DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Enqueue stats gathered prior to 10i should not be compared with 10i data
-> ordered by Wait Time desc, Waits desc
Enqueue Type (Request Reason)
Requests Succ Gets Failed Gets Waits Wt Time (s) Av Wt Time(ms)
TX-Transaction (index contention)
1 1 0 1 0 22.00
Undo Segment Summary DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> Undo segment block stats:
-> uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
-> eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Undo Num Max Qry Max Tx Snap OutOf uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy TooOld Space eS/eR/eU
1 5,497 6,716 2,708 4 0 0 0/0/0/0/0/0
Undo Segment Stats DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap OutOf uS/uR/uU/
End Time Blocks Trans Len (s) Concy TooOld Space eS/eR/eU
07-Jul 17:24 26 161 2,708 1 0 0 0/0/0/0/0/0
07-Jul 17:14 27 143 2,108 2 0 0 0/0/0/0/0/0
07-Jul 17:04 27 226 1,508 1 0 0 0/0/0/0/0/0
07-Jul 16:54 1,565 1,734 204 4 0 0 0/0/0/0/0/0
07-Jul 16:44 2,985 3,078 145 4 0 0 0/0/0/0/0/0
07-Jul 16:34 867 1,374 0 4 0 0 0/0/0/0/0/0
Latch Activity DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
-> "Pct Misses" for both should be very close to 0.0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Name Requests Miss /Miss (s) Requests Miss
Consistent RBA 5,501 0.0 0 0
FOB s.o list latch 523 0.0 0 0
In memory undo latch 4,267 0.1 1.0 0 728 1.2
JOX SGA heap latch 22 0.0 0 0
JS queue state obj latch 25,992 0.0 0 0
JS slv state obj latch 338 0.0 0 0
KTF sga enqueue 8 0.0 0 1,092 0.0
KWQMN job cache list lat 12 0.0 0 0
KWQP Prop Status 415 0.0 0 0
MQL Tracking Latch 0 0 72 0.0
Memory Management Latch 18,075 0.0 0 1,207 0.0
PL/SQL warning settings 1,607 0.0 0 0
SQL memory manager latch 1 0.0 0 1,206 0.0
SQL memory manager worka 127,457 0.0 0.0 0 0
SWRF Alerted Metric Elem 13,029 0.0 0 0
Shared B-Tree 2,523 0.0 0 0
active checkpoint queue 1,560 0.0 0 0
active service list 6,791 0.0 0 0
archive control 8 0.0 0 0
begin backup scn array 40 0.0 0 0
cache buffer handles 4,560 0.0 0 0
cache buffers chains 14,704,024 0.0 0.2 1 3,447,993 0.0
cache buffers lru chain 62,381 0.3 0.4 2 3,121,799 0.4
channel handle pool latc 759 0.0 0 0
channel operations paren 14,505 0.0 0 0
checkpoint queue latch 67,923 0.0 0 16,481 0.0
child cursor hash table 36,508 0.0 0 0
client/application info 16 0.0 0 0
compile environment latc 1,063 0.0 0 0
cursor bind value captur 125 0.0 0 384 1.0
dictionary lookup 107 0.0 0 0
dml lock allocation 52,017 0.1 0.0 0 0
dummy allocation 839 0.4 0.0 0 0
enqueue hash chains 186,347 0.0 0.1 0 0
enqueues 122,225 0.0 0.0 0 0
event group latch 230 0.0 0 0
file cache latch 153 0.0 0 0
global KZLD latch for me 110 0.0 0 0
hash table column usage 512 0.0 0 138,833 0.0
hash table modification 125 0.0 0 0
internal temp table obje 3 0.0 0 0
job workq parent latch 0 0 388 0.0
job_queue_processes para 172 0.0 0 0
ksuosstats global area 243 0.0 0 0
ktm global data 175 0.0 0 0
kwqbsn:qsga 2,523 0.0 0 0
lgwr LWN SCN 6,225 0.0 0 0
library cache 1,069,757 0.1 0.3 5 2,857 227.5
library cache load lock 10,002 0.0 0 0
library cache lock 277,733 0.0 0.0 0 0
library cache lock alloc 4,092 0.0 0 0
library cache pin 776,264 0.0 0.0 0 0
library cache pin alloca 4,018 0.0 0 0
list of block allocation 1,044 0.0 0 0
loader state object free 460 0.0 0 0
longop free list parent 1,357 0.0 0 19,547 0.0
message pool operations 334 0.0 0 0
messages 37,979 0.0 0.9 0 0
mostly latch-free SCN 6,237 0.0 0.0 0 0
multiblock read objects 351,202 0.0 0.0 0 0
Latch Activity DB/Inst: xxxx/xxxx Snaps: 16598-16599
-> "Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for
willing-to-wait latch get requests
-> "NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requestscontd..............
Edited by: LazyDBA10g on Jul 8, 2009 4:51 AM -
AWR Report - no data!!
Oracle Version: 11.1.0.7 64x
OS Version: Windows 2008 Server 64x
Hi There,
We're just trying to generate a awr report for one of our databases and the report is coming out with no data.
statistics_level parameter is set to "TYPICAL"; any idea to what's going on please?
Thanks
SQL>
SQL> @?/rdbms/admin/awrrpt.sql
Current Instance
~~~~~~~~~~~~~~~~
DB Id DB Name Inst Num Instance
1391811405 WEBTST 1 webtst
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: text
Type Specified: text
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DB Id Inst Num DB Name Instance Host
* 1391811405 1 WEBTST webtst WEBDBTST
Using 1391811405 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
Snap
Instance DB Name Snap Id Snap Started Level
webtst WEBTST 43973 12 May 2011 00:00 1
43974 12 May 2011 01:00 1
43975 12 May 2011 02:00 1
43976 12 May 2011 03:00 1
43977 12 May 2011 04:00 1
43978 12 May 2011 05:00 1
43979 12 May 2011 06:00 1
43980 12 May 2011 07:00 1
43981 12 May 2011 08:00 1
43982 12 May 2011 09:00 1
43983 12 May 2011 10:00 1
43984 12 May 2011 11:00 1
43985 12 May 2011 11:02 1
Specify the Begin and End Snapshot Ids
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Enter value for begin_snap: 43984
Begin Snapshot Id specified: 43984
Enter value for end_snap: 43985
End Snapshot Id specified: 43985
Specify the Report Name
~~~~~~~~~~~~~~~~~~~~~~~
The default report file name is awrrpt_1_43984_43985.txt. To use this name,
press <return> to continue, otherwise enter an alternative.
Enter value for report_name:
Using the report name awrrpt_1_43984_43985.txt
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: parse time elapsed
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: DB CPU
WARNING (-20016)
ORA-20016: Missing value for SGASTAT: free memory
WARNING (-20016)
ORA-20016: Missing value for SGASTAT: free memory
WARNING (-20009)
ORA-20009: Missing System Statistic logons current
WARNING (-20009)
ORA-20009: Missing System Statistic logons current
WARNING (-20009)
ORA-20009: Missing System Statistic opened cursors current
WARNING (-20009)
ORA-20009: Missing System Statistic opened cursors current
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: sql execute elapsed
WARNING (-20008)
ORA-20008: Missing Init.ora parameter undo_management
WARNING (-20008)
ORA-20008: Missing Init.ora parameter db_block_size
WARNING (-20016)
ORA-20016: Missing value for SGASTAT: log_buffer
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: DB time
WARNING (-20008)
ORA-20008: Missing Init.ora parameter timed_statistics
WARNING (-20008)
ORA-20008: Missing Init.ora parameter timed_statistics
WARNING (-20008)
ORA-20008: Missing Init.ora parameter statistics_level
WARNING (-20008)
ORA-20008: Missing Init.ora parameter statistics_level
WARNING (-20008)
ORA-20008: Missing Init.ora parameter sga_target
WARNING (-20008)
ORA-20008: Missing Init.ora parameter pga_aggregate_target
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: background cpu time
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: background elapsed
WARNING (-20023)
ORA-20023: Missing start and end values for time model stat: connection manageme
WARNING (-20016)
ORA-20016: Missing value for SGASTAT: buffer_cache
WARNING (-20016)
ORA-20016: Missing value for SGASTAT: buffer_cache
WARNING: Since the DB Time is less than one second, there was
minimal foreground activity in the snapshot period.
Some of the percentage values will be invalid.
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Startup Time Release RAC
WEBTST 1391811405 webtst 1 29-Apr-11 04:50 11.1.0.7.0 NO
Host Name Platform CPUs Cores Sockets Memory(GB)
WEBDBTST Microsoft Windows x86 64-bit .00
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 43984 12-May-11 11:00:01
End Snap: 43985 12-May-11 11:02:00
Elapsed: 1.98 (mins)
DB Time: 0.00 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache:MM Std Block Size:K
Shared Pool Size: 0M 0M Log Buffer:K
ORA-01403: no data found
Error encountered in Report Summary
Continuing to Report Sections
Time Model Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Operating System Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Operating System Statistics - DetailDB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Foreground Wait Class DB/Inst: WEBTST/webtst Snaps: 43984-43985
-> s - second, ms - millisecond - 1000th of a second
-> ordered by wait time desc, waits desc
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
-> Captured Time accounts for % of Total DB time .00 (s)
-> Total FG Wait Time: (s) DB CPU time: .00 (s)
Avg
%Time Total Wait wait
Wait Class Waits -outs Time (s) (ms) %DB time
DB CPU 0 100.0
Foreground Wait Events DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Background Wait Events DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Wait Event Histogram DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Service Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Service Wait Class Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Elapsed Time DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by CPU Time DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Gets DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Reads DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Executions DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Parse Calls DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Sharable Memory DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
SQL ordered by Version Count DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Instance Activity Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Instance Activity Stats - Absolute ValuesDB/Inst: WEBTST/webtst Snaps: 43984
No data exists for this section of the report.
Instance Activity Stats - Thread ActivityDB/Inst: WEBTST/webtst Snaps: 43984-
No data exists for this section of the report.
Tablespace IO Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
File IO Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Buffer Pool Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Instance Recovery Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Buffer Pool Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
PGA Aggr Summary DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
PGA Aggr Target Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
PGA Aggr Target Histogram DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
PGA Memory Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
Shared Pool Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
SGA Target Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
Streams Pool Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
Java Pool Advisory DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
Buffer Wait Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Enqueue Activity DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Undo Segment Summary DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Undo Segment Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Latch Activity DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Latch Sleep Breakdown DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Latch Miss Sources DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Mutex Sleep Summary DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Parent Latch Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Child Latch Statistics DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Segments by Row Lock Waits DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Segments by ITL Waits DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Segments by Buffer Busy Waits DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Dictionary Cache Stats DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Library Cache Activity DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Memory Dynamic Components DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Memory Resize Operations Summary DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Memory Resize Ops DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Process Memory Summary DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
sum
SGA breakdown difference DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Streams CPU/IO Usage DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Streams Capture DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Streams Apply DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Buffered Queues DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Buffered Subscribers DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Rule Set DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Persistent Queues DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Persistent Subscribers DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
Resource Limit Stats DB/Inst: WEBTST/webtst Snap: 43985
No data exists for this section of the report.
init.ora Parameters DB/Inst: WEBTST/webtst Snaps: 43984-43985
No data exists for this section of the report.
End of ReportSQL> show parameter statistics
NAME TYPE VALUE
optimizer_use_pending_statistics boolean FALSE
statistics_level string TYPICAL
timed_os_statistics integer 0
timed_statistics boolean TRUE
SQL>
SQL> SELECT statistics_name,
2 session_status,
3 system_status,
4 activation_level,
5 session_settable
6 FROM v$statistics_level
7 ORDER BY statistics_name;
STATISTICS_NAME SESSION_ SYSTEM_S ACTIVAT SES
Active Session History ENABLED ENABLED TYPICAL NO
Adaptive Thresholds Enabled ENABLED ENABLED TYPICAL NO
Automated Maintenance Tasks ENABLED ENABLED TYPICAL NO
Bind Data Capture ENABLED ENABLED TYPICAL NO
Buffer Cache Advice ENABLED ENABLED TYPICAL NO
Global Cache Statistics ENABLED ENABLED TYPICAL NO
Longops Statistics ENABLED ENABLED TYPICAL NO
MTTR Advice DISABLED DISABLED TYPICAL NO
Modification Monitoring ENABLED ENABLED TYPICAL NO
PGA Advice ENABLED ENABLED TYPICAL NO
Plan Execution Sampling ENABLED ENABLED TYPICAL YES
Plan Execution Statistics DISABLED DISABLED ALL YES
SQL Monitoring ENABLED ENABLED TYPICAL YES
Segment Level Statistics ENABLED ENABLED TYPICAL NO
Shared Pool Advice ENABLED ENABLED TYPICAL NO
Streams Pool Advice ENABLED ENABLED TYPICAL NO
Threshold-based Alerts ENABLED ENABLED TYPICAL NO
Time Model Events ENABLED ENABLED TYPICAL YES
Timed OS Statistics DISABLED DISABLED ALL YES
Timed Statistics ENABLED ENABLED TYPICAL YES
Ultrafast Latch Statistics ENABLED ENABLED TYPICAL NO
Undo Advisor, Alerts and Fast Ramp up ENABLED ENABLED TYPICAL NO
V$IOSTAT_* statistics ENABLED ENABLED TYPICAL NO
23 rows selected.
SQL>Thanks
Edited by: rsar001 on May 12, 2011 11:33 AM -
Need to take monthly report for SQL statements...Is there any possiblity?
Hi,
We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
But I want the list of statements on a monthly wise.
Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?If so, how do we do that?
Any report or Tcode with navigations.
Please help.
Regards,
Sudheer.Hi,
> We have a requirement to find out the list of expensive sql statements in our ECC 6.0 system.
nice.
> I am aware that we can see expensive sql statements which are being executed online in the TCode ST04 or DB02old.
expensive SQL in DB02, really?
> But I want the list of statements on a monthly wise.
> Is there any possibility to find out the list of expensive sql statements for the previous 3 to 4 months?
> If so, how do we do that?
Up to now there is no transaction available with such information. The databases partially offer solutions.
These are switched on by default of have to be setup before they could be used. So it depends on the
database and the database version which are you using.
On ORACLE 10g for example we have the AWR (Automatic Workload Repository) which should be switched on by default (depends again on the license). On ORACLE 9i statspack is available but has to be activated first.
On DB6 (latest database and SAP release) we have the so called performance warehouse.
On other databases there might be solutions too.
Besides that you can always built your own solution and grab the top 10 SQL statements from the SQL cache and
persist them in regular intervals. I have seen such solutions as well.
Kind regards,
Hermann
Maybe you are looking for
-
Edge Animate Animation Flickering in IE 11 only
Im using Adobe Edge Animate CC 2014.0.1. I've created a basic keyframe 20 or so png animation with one sound effect in it. All on the main timeline. When published both locally and and on our staging server the animation flickers but only in IE 11. I
-
Hi Guru's, I need an user exit to write the code to check for duplicate invoices in FB60. after entering the invoice number i should look that number in my custom table for duplication. Can you please tell me the user exit to write this code..? how c
-
Vendor Return Scenario and movement type
Hi , My Client is creating a third party Po for Netwok and Project System .(ie.vendor is Delivering material to Customer Directly ) . Now Some material is retrun back customer .and my client want to return this material to vendor . Sales Return Proc
-
Getting Struk in CI installation in Cluster system
Hi, i am installing CI in Host A. There i sruk in instance number screen. that error showing like "" SecStore files must be available on UNIX .Check if the global directory is mounted."" please anybody give the solution. i have installed ASCS and SCS
-
DTP error: "System error in program CL_RSR and form GET_COB_PRO-01-"
Hi Gurs, When I am lasting data in Production, from DSO to a Cube with DTP I get error In Extract from DataStore u201CSystem error in program CL_RSR and form GET_COB_PRO-01-u201C. The DSO is loaded from 0FI_GL_10. I do not get this problem in Develo