Job workq parent latch
After running the STATSPACK report on my 9.2 database, the latch activity section lists an unusually high nowait latch miss percentage (35%). What does this latch do? What can I do to prevent the misses from occurring?
Any info would be greatly appreciated.
Re: job workq parent latch
latch
A simple, low-level serialization mechanism to protect >shared data structures
in the System Global Area.
Joel Pรยรยฉrez
http://www.oracle.com/technology/experts
Thanks for the response. I know what a latch is. I was asking what this particular latch does. Which structure is it 'latched' to? If I knew more details about this latch (job workq parent), I might be able to fix the problem.
Similar Messages
-
Channel operations parent latch in statspack report
Hi,
Can anybody help me to know what exactly the latch "Channel operations parent latch" which is displayed in statspack report.
Regards
ManojThe Checkpoint Queue latch protects internal structures which are utilized during checkpoints. The Channel Operations Parent atch controls operations on internal messaging structures in the SGA.
-
STATSPACK. What to look for ?
my users have been complaining that the application is very slow. What do i need to look for in this report.
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
XXXX 629101424 XXXX 1 9.2.0.6.0 NO scheduprod-s
ol
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 4527 12-Mar-07 15:02:05 81 231.9
End Snap: 4531 12-Mar-07 15:42:01 81 234.1
Elapsed: 39.93 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 304M Std Block Size: 8K
Shared Pool Size: 608M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 3,891.02 2,878.32
Logical reads: 865.79 640.45
Block changes: 22.12 16.36
Physical reads: 13.86 10.25
Physical writes: 0.61 0.45
User calls: 231.43 171.20
Parses: 48.95 36.21
Hard parses: 8.44 6.25
Sorts: 4.25 3.14
Logons: 0.15 0.11
Executes: 51.42 38.04
Transactions: 1.35
% Blocks changed per Read: 2.55 Recursive Call %: 17.42
Rollback per transaction %: 2.53 Rows per Sort: 55.75
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.13 In-memory Sort %: 100.00
Library Hit %: 91.94 Soft Parse %: 82.75
Execute to Parse %: 4.81 Latch Hit %: 99.97
Parse CPU to Parse Elapsd %: 98.26 % Non-Parse CPU: 50.19
Shared Pool Statistics Begin End
Memory Usage %: 97.40 97.69
% SQL with executions>1: 18.64 31.84
% Memory for SQL w/exec>1: 17.60 31.65
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 342 50.98
log file parallel write 7,798 138 20.59
log file sync 3,587 128 19.03
db file parallel write 193 29 4.39
control file parallel write 790 21 3.20
^LWait Events for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> 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
log file parallel write 7,798 0 138 18 2.4
log file sync 3,587 0 128 36 1.1
db file parallel write 193 0 29 153 0.1
control file parallel write 790 0 21 27 0.2
SQL*Net more data to client 111,847 0 6 0 34.5
db file sequential read 432 0 2 5 0.1
db file scattered read 2,419 0 1 0 0.7
latch free 698 0 1 1 0.2
process startup 14 0 1 47 0.0
direct path read (lob) 14,912 0 1 0 4.6
SQL*Net break/reset to clien 920 0 0 0 0.3
control file sequential read 822 0 0 0 0.3
SQL*Net message from client 454,457 0 35,768 79 140.3
virtual circuit status 40,421 81 4,724 117 12.5
wakeup time manager 79 79 2,248 28461 0.0
jobq slave wait 264 252 765 2897 0.1
SQL*Net message to client 454,457 0 1 0 140.3
SQL*Net more data from clien 328 0 0 0 0.1
^LBackground Wait Events for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> 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 7,798 0 138 18 2.4
db file parallel write 193 0 29 153 0.1
control file parallel write 790 0 21 27 0.2
process startup 2 0 0 35 0.0
control file sequential read 556 0 0 0 0.2
rdbms ipc reply 3 0 0 1 0.0
latch free 2 0 0 0 0.0
rdbms ipc message 6,444 2,366 13,269 2059 2.0
smon timer 8 8 2,344 ###### 0.0
pmon timer 834 834 2,339 2804 0.3
^LInstance Activity Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
Statistic Total per Second per Trans
CPU used by this session 34,169 14.3 10.6
CPU used when call started 33,176 13.9 10.2
CR blocks created 83 0.0 0.0
DBWR buffers scanned 0 0.0 0.0
DBWR checkpoint buffers written 1,459 0.6 0.5
DBWR checkpoints 0 0.0 0.0
DBWR free buffers found 0 0.0 0.0
DBWR lru scans 0 0.0 0.0
DBWR make free requests 0 0.0 0.0
DBWR revisited being-written buff 0 0.0 0.0
DBWR summed scan depth 0 0.0 0.0
DBWR transaction table writes 13 0.0 0.0
DBWR undo block writes 787 0.3 0.2
PX local messages recv'd 0 0.0 0.0
PX local messages sent 0 0.0 0.0
SQL*Net roundtrips to/from client 492,393 205.5 152.0
SQL*Net roundtrips to/from dblink 0 0.0 0.0
active txn count during cleanout 100 0.0 0.0
background checkpoints completed 0 0.0 0.0
background checkpoints started 0 0.0 0.0
background timeouts 2,898 1.2 0.9
branch node splits 0 0.0 0.0
buffer is not pinned count 1,617,141 674.9 499.3
buffer is pinned count 3,219,198 1,343.6 993.9
bytes received via SQL*Net from c 48,664,626 20,310.8 15,024.6
bytes received via SQL*Net from d 0 0.0 0.0
bytes sent via SQL*Net to client 380,182,385 158,673.8 117,376.5
bytes sent via SQL*Net to dblink 0 0.0 0.0
calls to get snapshot scn: kcmgss 370,472 154.6 114.4
calls to kcmgas 5,800 2.4 1.8
calls to kcmgcs 319 0.1 0.1
change write time 91 0.0 0.0
cleanout - number of ktugct calls 178 0.1 0.1
cleanouts and rollbacks - consist 0 0.0 0.0
cleanouts only - consistent read 15 0.0 0.0
cluster key scan block gets 88,031 36.7 27.2
cluster key scans 44,560 18.6 13.8
commit cleanout failures: block l 0 0.0 0.0
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callbac 0 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 16,509 6.9 5.1
commit cleanouts successfully com 16,509 6.9 5.1
commit txn count during cleanout 140 0.1 0.0
consistent changes 162 0.1 0.1
consistent gets 2,042,196 852.3 630.5
consistent gets - examination 578,365 241.4 178.6
cursor authentications 7,954 3.3 2.5
data blocks consistent reads - un 162 0.1 0.1
db block changes 52,993 22.1 16.4
db block gets 47,334 19.8 14.6
deferred (CURRENT) block cleanout 4,180 1.7 1.3
dirty buffers inspected 0 0.0 0.0
enqueue conversions 117 0.1 0.0
enqueue releases 32,269 13.5 10.0
enqueue requests 32,270 13.5 10.0
^LInstance Activity Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
Statistic Total per Second per Trans
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 123,202 51.4 38.0
free buffer inspected 0 0.0 0.0
free buffer requested 19,766 8.3 6.1
hot buffers moved to head of LRU 23 0.0 0.0
immediate (CR) block cleanout app 15 0.0 0.0
immediate (CURRENT) block cleanou 5,664 2.4 1.8
index fast full scans (full) 6 0.0 0.0
index fetch by key 214,924 89.7 66.4
index scans kdiixs1 554,891 231.6 171.3
leaf node 90-10 splits 9 0.0 0.0
leaf node splits 61 0.0 0.0
logons cumulative 362 0.2 0.1
messages received 3,953 1.7 1.2
messages sent 3,953 1.7 1.2
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 894,670 373.4 276.2
opened cursors cumulative 116,168 48.5 35.9
parse count (failures) 9 0.0 0.0
parse count (hard) 20,231 8.4 6.3
parse count (total) 117,273 49.0 36.2
parse time cpu 17,018 7.1 5.3
parse time elapsed 17,319 7.2 5.4
physical reads 33,199 13.9 10.3
physical reads direct 0 0.0 0.0
physical reads direct (lob) 15,100 6.3 4.7
physical writes 1,459 0.6 0.5
physical writes direct 0 0.0 0.0
physical writes direct (lob) 0 0.0 0.0
physical writes non checkpoint 496 0.2 0.2
pinned buffers inspected 0 0.0 0.0
prefetch clients - default 0 0.0 0.0
prefetched blocks 15,247 6.4 4.7
prefetched blocks aged out before 0 0.0 0.0
process last non-idle time 2,396 1.0 0.7
recursive calls 116,941 48.8 36.1
recursive cpu usage 1,523 0.6 0.5
redo blocks written 20,871 8.7 6.4
redo buffer allocation retries 0 0.0 0.0
redo entries 29,618 12.4 9.1
redo log space requests 0 0.0 0.0
redo log space wait time 0 0.0 0.0
redo ordering marks 0 0.0 0.0
redo size 9,322,888 3,891.0 2,878.3
redo synch time 13,084 5.5 4.0
redo synch writes 3,587 1.5 1.1
redo wastage 1,028,916 429.4 317.7
redo write time 14,064 5.9 4.3
redo writer latching time 0 0.0 0.0
redo writes 3,899 1.6 1.2
rollback changes - undo records a 422 0.2 0.1
rollbacks only - consistent read 162 0.1 0.1
rows fetched via callback 350,472 146.3 108.2
session connect time 0 0.0 0.0
session logical reads 2,074,430 865.8 640.5
^LInstance Activity Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
Statistic Total per Second per Trans
session pga memory 14,446,752 6,029.5 4,460.3
session pga memory max 24,898,104 10,391.5 7,687.0
session uga memory 17,184,593,312 7,172,200.9 5,305,524.3
session uga memory max 28,405,696 11,855.5 8,769.9
shared hash latch upgrades - no w 546,341 228.0 168.7
shared hash latch upgrades - wait 1 0.0 0.0
sorts (disk) 0 0.0 0.0
sorts (memory) 10,174 4.3 3.1
sorts (rows) 567,241 236.7 175.1
summed dirty queue length 0 0.0 0.0
switch current to new buffer 1,334 0.6 0.4
table fetch by rowid 1,958,222 817.3 604.6
table fetch continued row 1,912 0.8 0.6
table scan blocks gotten 143,317 59.8 44.3
table scan rows gotten 7,318,367 3,054.4 2,259.5
table scans (long tables) 15 0.0 0.0
table scans (short tables) 2,029 0.9 0.6
transaction rollbacks 421 0.2 0.1
user calls 554,503 231.4 171.2
user commits 3,157 1.3 1.0
user rollbacks 82 0.0 0.0
workarea executions - multipass 0 0.0 0.0
workarea executions - onepass 0 0.0 0.0
workarea executions - optimal 14,430 6.0 4.5
write clones created in backgroun 0 0.0 0.0
write clones created in foregroun 1 0.0 0.0
^LTablespace IO Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->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)
USERS
17,588 7 0.1 1.9 69 0 0 0.0
UNDOTBLSPCE
0 0 0.0 802 0 0 0.0
PERFSTAT
136 0 14.2 1.0 315 0 0 0.0
SCHEDWIN_INDX
20 0 10.5 1.0 164 0 0 0.0
INDX
14 0 11.4 1.0 96 0 0 0.0
SYSTEM
0 0 0.0 13 0 0 0.0
File IO Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->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)
INDX /opt/u01/oradata/XXXX/dbf/indx01.dbf
14 0 11.4 1.0 96 0 0
PERFSTAT /opt/u01/oradata/XXXX/dbf/perfstat01.dbf
136 0 14.2 1.0 315 0 0
SCHEDWIN_INDX /opt/u01/oradata/XXXX/dbf/schedwin_indx01.dbf
10 0 12.0 1.0 94 0 0
/opt/u02/oradata/XXXX/dbf/schedwin_indx02.dbf
10 0 9.0 1.0 70 0 0
SYSTEM /opt/u01/oradata/XXXX/dbf/system01.dbf
0 0 13 0 0
UNDOTBLSPCE /opt/u01/oradata/XXXX/dbf/undotblspce01.dbf
0 0 802 0 0
USERS /opt/u01/oradata/XXXX/dbf/users01.dbf
11,608 5 0.1 1.4 43 0 0
/opt/u02/oradata/XXXX/dbf/users02.dbf
2,369 1 0.5 3.4 14 0 0
/opt/u03/oradata/XXXX/dbf/users03.dbf
3,611 2 0.2 2.4 12 0 0
^LBuffer Pool Statistics for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 37,715 99.1 2,073,831 18,097 1,459 0 0 0
Instance Recovery Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> 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 160 34 1278 19692 19707 110592 19707
E 160 30 1056 17051 16555 110592 16555
Buffer Pool Advisory for DB: XXXX Instance: XXXX End Snap: 4531
-> Only rows with estimated physical reads >0 are displayed
-> ordered by Block Size, Buffers For Estimate (default block size first)
Size for Size Buffers for Est Physical Estimated
P Estimate (M) Factr Estimate Read Factor Physical Reads
D 32 .1 3,970 2.53 37,533,655
D 64 .2 7,940 2.07 30,675,635
D 96 .3 11,910 1.81 26,843,986
D 128 .4 15,880 1.67 24,744,049
D 160 .5 19,850 1.61 23,889,520
D 192 .6 23,820 1.57 23,290,550
D 224 .7 27,790 1.36 20,129,947
D 256 .8 31,760 1.16 17,216,468
D 288 .9 35,730 1.05 15,577,531
D 304 1.0 37,715 1.00 14,849,589
D 320 1.1 39,700 0.96 14,224,396
D 352 1.2 43,670 0.89 13,166,810
D 384 1.3 47,640 0.85 12,628,194
D 416 1.4 51,610 0.84 12,417,548
D 448 1.5 55,580 0.82 12,242,048
D 480 1.6 59,550 0.82 12,197,717
D 512 1.7 63,520 0.82 12,148,615
D 544 1.8 67,490 0.81 12,085,500
D 576 1.9 71,460 0.81 12,032,229
D 608 2.0 75,430 0.81 11,972,157
D 640 2.1 79,400 0.80 11,902,712
^LPGA Aggr Target Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> 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 Cache Hit % W/A MB Processed Extra W/A MB Read/Written
100.0 219 0
%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 245 200 40.2 0.3 .7 11.8 88.2 12,544
E 245 200 40.8 0.3 .7 11.8 88.2 12,544
PGA Aggr Target Histogram for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 14,257 14,257 0 0
16K 32K 124 124 0 0
32K 64K 62 62 0 0
64K 128K 14 14 0 0
128K 256K 8 8 0 0
256K 512K 5 5 0 0
512K 1024K 4 4 0 0
1M 2M 32 32 0 0
2M 4M 2 2 0 0
4M 8M 2 2 0 0
PGA Memory Advisory for DB: XXXX Instance: XXXX End Snap: 4531
-> 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
31 0.1 70,206.2 6,260.3 92.0 5
61 0.3 70,206.2 4,168.3 94.0 0
123 0.5 70,206.2 3,168.1 96.0 0
184 0.8 70,206.2 2,757.2 96.0 0
245 1.0 70,206.2 1,869.3 97.0 0
294 1.2 70,206.2 1,125.7 98.0 0
343 1.4 70,206.2 1,002.5 99.0 0
392 1.6 70,206.2 930.4 99.0 0
441 1.8 70,206.2 888.9 99.0 0
490 2.0 70,206.2 888.9 99.0 0
735 3.0 70,206.2 635.4 99.0 0
980 4.0 70,206.2 428.8 99.0 0
1,470 6.0 70,206.2 377.1 99.0 0
1,960 8.0 70,206.2 204.8 100.0 0
^LRollback Segment Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 13.0 0.00 0 0 0 0
1 856.0 0.00 224,282 0 0 0
2 965.0 0.00 473,740 1 0 0
3 1,304.0 0.00 565,018 1 0 1
4 859.0 0.00 258,906 1 0 0
11 886.0 0.00 345,162 0 0 0
12 1,332.0 0.00 546,236 1 0 0
13 841.0 0.00 229,950 1 0 0
14 797.0 0.00 215,582 0 0 0
15 1,252.0 0.00 349,772 2 1 1
16 850.0 0.00 222,894 1 0 0
^LRollback Segment Storage for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 22,142,976 11,545,361 100,786,176
2 4,317,184 680,223 51,503,104
3 4,317,184 684,561 142,729,216
4 3,268,608 685,593 50,454,528
11 11,657,216 3,215,066 167,895,040
12 4,317,184 726,453 13,754,368
13 4,317,184 667,922 27,385,856
14 4,317,184 738,701 49,405,952
15 9,560,064 642,634 84,008,960
16 5,365,760 694,846 15,851,520
^LUndo Segment Summary for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> 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 Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
13 754 8,780,184 149 1 0 0 0/0/0/0/0/0
Undo Segment Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
12-Mar 15:38 166 ######## 68 1 0 0 0/0/0/0/0/0
12-Mar 15:28 204 ######## 3 1 0 0 0/0/0/0/0/0
12-Mar 15:18 214 ######## 3 1 0 0 0/0/0/0/0/0
12-Mar 15:08 170 ######## 149 1 0 0 0/0/0/0/0/0
^LLatch Activity for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->"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 Requests Miss /Miss (s) Requests Miss
Consistent RBA 3,899 0.0 0 0
FOB s.o list latch 113 0.0 0 0
SQL memory manager latch 4 0.0 0 790 0.0
SQL memory manager worka 66,516 0.0 0 0
active checkpoint queue 980 0.0 0 0
archive control 89 0.0 0 0
archive process latch 48 0.0 0 0
cache buffer handles 392 0.0 0 0
cache buffers chains 3,696,307 0.0 0.0 0 34,306 0.0
cache buffers lru chain 21,217 0.0 0.0 0 21,384 0.0
channel handle pool latc 106 0.0 0 0
channel operations paren 1,773 0.0 0 0
checkpoint queue latch 48,252 0.0 0 1,219 0.0
child cursor hash table 144,268 0.0 0.0 0 0
dml lock allocation 10,464 0.0 0 0
dummy allocation 724 0.0 0 0
enqueue hash chains 64,677 0.0 0.0 0 0
enqueues 77,340 0.0 0.2 0 0
event group latch 52 0.0 0 0
global tx hash mapping 21 0.0 0 0
hash table column usage 126 0.0 0 491,356 0.0
job workq parent latch 0 0 8 0.0
job_queue_processes para 43 0.0 0 0
kmcptab latch 79 0.0 0 0
kmcpvec latch 0 0 79 0.0
ktm global data 8 0.0 0 0
kwqit: protect wakeup ti 79 0.0 0 0
lgwr LWN SCN 4,217 0.0 0.0 0 0
library cache 1,798,405 0.3 0.0 0 47,204 0.9
library cache load lock 2,480 0.0 0 0
library cache pin 879,035 0.0 0.0 0 0
library cache pin alloca 603,279 0.0 0.0 0 0
list of block allocation 381 0.0 0 0
loader state object free 27,796 0.0 0 0
messages 18,381 0.0 0.0 0 0
mostly latch-free SCN 4,220 0.1 0.0 0 0
multiblock read objects 5,328 0.0 0 0
ncodef allocation latch 40 0.0 0 0
post/wait queue 5,523 0.0 0 3,587 0.0
process allocation 52 0.0 0 52 0.0
process group creation 106 0.0 0 0
redo allocation 37,748 0.0 0 0
redo copy 0 0 29,635 0.0
redo writing 14,340 0.0 0 0
row cache enqueue latch 11,874,838 0.0 0.0 0 0
row cache objects 11,876,412 0.0 0.0 0 81 0.0
sequence cache 1,113 0.0 0 0
session allocation 117,333 0.0 0.0 0 0
session idle bit 1,141,301 0.0 0.0 0 0
session switching 40 0.0 0 0
^LLatch Activity for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->"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 Requests Miss /Miss (s) Requests Miss
session timer 834 0.0 0 0
shared pool 1,804,311 0.2 0.1 1 0
sim partition latch 0 0 8 0.0
simulator hash latch 110,923 0.0 0 0
simulator lru latch 71 0.0 0 1,975 0.0
sort extent pool 48 0.0 0 0
spilled msgs queues list 79 0.0 0 0
transaction allocation 15,341 0.0 0 0
transaction branch alloc 61 0.0 0 0
undo global data 14,952 0.0 0 0
user lock 1,400 0.0 0 0
virtual circuit buffers 413,970 0.0 0.0 0 0
virtual circuit queues 187,775 0.0 0.0 0 0
virtual circuits 80,454 0.0 0 0
^LLatch Sleep breakdown for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
library cache 1,798,405 4,608 221 4390/215/3/0
/0
shared pool 1,804,311 3,662 477 3196/455/11/
0/0
enqueues 77,340 5 1 4/1/0/0/0
^LLatch Miss Sources for DB: XXXX Instance: XXXX Snaps: 4527 -4531
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
enqueues ksqgel: create enqueue 0 1 1
library cache kgllkdl: child: cleanup 0 14 45
library cache kglupc: child 0 9 37
library cache kglic 0 7 4
library cache kglpin: child: heap proces 0 7 2
library cache kglhdgc: child: 0 5 10
library cache kglpndl: child: after proc 0 5 2
library cache kglobpn: child: 0 3 9
library cache kglpndl: child: before pro 0 3 9
library cache kgldti: 2child 0 2 0
library cache kglpnc: child 0 2 53
library cache kglhdgn: child: 0 1 30
shared pool kghalo 0 302 127
shared pool kghfrunp: alloc: wait 0 124 0
shared pool kghfrunp: clatch: nowait 0 89 0
shared pool kghfrunp: clatch: wait 0 74 10
shared pool kghupr1 0 47 339
shared pool kghalp 0 4 4
^LDictionary Cache Stats for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_histogram_defs 2,118,905 0.0 0 0 2,547
dc_object_ids 3,216,369 0.0 0 0 701
dc_objects 22,189 0.2 0 0 456
dc_profiles 349 0.0 0 0 1
dc_rollback_segments 350 0.0 0 0 22
dc_segments 505,804 0.0 0 0 1,085
dc_sequences 18 0.0 0 18 2
dc_tablespaces 30,016 0.0 0 0 12
dc_user_grants 969 0.0 0 0 22
dc_usernames 21,334 0.0 0 0 7
dc_users 19,245 0.0 0 0 23
Library Cache Activity for DB: XXXX Instance: XXXX Snaps: 4527 -4531
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 64 0.0 64 0.0 0 0
CLUSTER 340 0.6 348 1.1 0 0
INDEX 237 0.0 237 0.0 0 0
SQL AREA 116,941 6.6 391,824 10.0 11,529 2
TABLE/PROCEDURE 47,075 0.2 108,992 1.0 732 0
TRIGGER 746 1.5 746 1.5 0 0
^LShared Pool Advisory for DB: XXXX Instance: XXXX End Snap: 4531
-> 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
Estd
Shared Pool SP Estd Estd Estd Lib LC Time
Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
352 .6 375 15,062 574,744 1.0 97,562,016
416 .7 439 17,218 576,603 1.0 97,833,828
480 .8 503 19,153 578,104 1.0 98,135,338
544 .9 566 21,093 579,653 1.0 98,617,796
608 1.0 619 22,788 581,195 1.0 99,127,166
672 1.1 681 30,538 583,092 1.0 99,741,869
736 1.2 735 34,290 587,030 1.0 100,967,607
800 1.3 798 38,022 594,101 1.0 103,269,753
864 1.4 858 42,002 602,185 1.0 106,482,793
928 1.5 922 44,110 606,329 1.0 108,314,799
992 1.6 985 48,321 608,336 1.0 109,245,477
1,056 1.7 1,049 50,582 609,325 1.0 109,697,087
1,120 1.8 1,113 53,649 610,059 1.0 110,009,531
1,184 1.9 1,177 60,950 610,680 1.1 110,251,066
1,248 2.1 1,248 65,824 611,135 1.1 110,424,882
^LSGA Memory Summary for DB: XXXX Instance: XXXX Snaps: 4527 -4531
SGA regions Size in Bytes
Database Buffers 318,767,104
Fixed Size 732,784
Redo Buffers 811,008
Variable Size 771,751,936
sum 1,092,062,832
SGA breakdown difference for DB: XXXX Instance: XXXX Snaps: 4527 -4531
Pool Name Begin value End value % Diff
java free memory 33,554,432 33,554,432 0.00
large free memory 64,089,912 63,913,256 -0.28
large session heap 3,018,952 3,195,608 5.85
shared 1M buffer 2,098,176 2,098,176 0.00
shared Checkpoint queue 513,280 513,280 0.00
shared FileOpenBlock 1,191,104 1,191,104 0.00
shared KGK heap 7,000 7,000 0.00
shared KGLS heap 2,993,944 3,009,616 0.52
shared KQR L PO 1,312,072 1,322,312 0.78
shared KQR L SO 156,688 156,688 0.00
shared KQR M PO 2,065,256 2,065,256 0.00
shared KQR M SO 86,616 86,616 0.00
shared KQR S SO 8,216 8,216 0.00
shared KQR X PO 2,576 2,576 0.00
shared KSXR pending messages que 853,952 853,952 0.00
shared KSXR receive buffers 1,034,000 1,034,000 0.00
shared MTTR advisory 74,672 74,672 0.00
shared PL/SQL DIANA 616,680 616,880 0.03
shared PL/SQL MPCODE 764,312 611,264 -20.02
shared PLS non-lib hp 2,088 2,088 0.00
shared PX subheap 24,336 24,336 0.00
shared XDB Schema Cac 5,927,720 5,927,720 0.00
shared dictionary cache 3,229,952 3,229,952 0.00
shared errors 384 384 0.00
shared event statistics per sess 1,923,040 1,923,040 0.00
shared fixed allocation callback 472 472 0.00
shared free memory 17,476,144 15,506,552 -11.27
shared joxs heap init 4,240 4,240 0.00
shared library cache 68,887,280 65,624,984 -4.74
shared message pool freequeue 771,984 771,984 0.00
shared miscellaneous 49,162,528 49,205,880 0.09
shared parameters 55,784 35,760 -35.90
shared sim memory hea 328,304 328,304 0.00
shared sql area 509,408,184 514,745,136 1.05
shared subheap 100,040 100,040 0.00
shared table definiti 5,104 3,648 -28.53
shared trigger defini 544 544 0.00
shared trigger inform 1,800 1,800 0.00
shared trigger source 168 168 0.00
buffer_cache 318,767,104 318,767,104 0.00
fixed_sga 732,784 732,784 0.00
log_buffer 787,456 787,456 0.00
^Linit.ora Parameters for DB: XXXX Instance: XXXX Snaps: 4527 -4531
End value
Parameter Name Begin value (if different)
aq_tm_processes 1
background_dump_dest /opt/oracle/admin/XXXX/bdump
compatible 9.2.0.0.0
control_files /opt/u01/oradata/XXXX/ctl/cont
core_dump_dest /opt/oracle/admin/XXXX/cdump
db_block_size 8192
db_cache_size 318767104
db_domain
db_file_multiblock_read_count 8
db_name XXXX
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 160
hash_join_enabled TRUE
instance_name XXXX
java_pool_size 33554432
job_queue_processes 10
large_pool_size 67108864
log_archive_start TRUE
open_cursors 300
oracle_trace_enable TRUE
pga_aggregate_target 256901120
processes 150
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
shared_pool_size 637534208
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
trace_enabled FALSE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBLSPCE
user_dump_dest /opt/oracle/admin/XXXX/udump
End of Report
Message was edited by:
pinjamStart from low hang fruite.
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
log file parallel write 7,798 0 138 18 2.4
db file parallel write 193 0 29 153 0.1
control file parallel write 790 0 21 27 0.2
process startup 2 0 0 35 0.0
control file sequential read 556 0 0 0 0.2
rdbms ipc reply 3 0 0 1 0.0
latch free 2 0 0 0 0.0
rdbms ipc message 6,444 2,366 13,269 2059 2.0
smon timer 8 8 2,344 ###### 0.0
pmon timer 834 834 2,339 2804 0.3
-------------------------------------------------------------Since you have numours logfile and control file related top wait events. Consider move them to a fast disk or seperate them from other datafiles if you haven't done so.
Also there's part of your statspack missing, like Top SQL -
Need suggestion on STATSPACK report
Problem:
Application running Very slow that too not consistent.
i am unable to find out where the problem persists.
I have given necessary details and attached Statspack report with this mail.
Need help very urgently...
Database Info.
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
System Information:
Item Value
OS Name Microsoft Windows 2000 Advanced Server
Version 5.0.2195 Service Pack 3 Build 2195
OS Manufacturer Microsoft Corporation
System Name NHOUSE
System Manufacturer HP
System Model ProLiant DL380 G3
System Type X86-based PC
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Processor x86 Family 15 Model 2 Stepping 7 GenuineIntel ~2384 Mhz
Windows Directory C:\WINNT
System Directory C:\WINNT\System32
Total Physical Memory 1,572,372 KB
Available Physical Memory 865,600 KB
Total Virtual Memory 5,086,520 KB
Available Virtual Memory 3,755,652 KB
Page File Space 3,514,148 KB
Page File C:\pagefile.sys
Other Info:
Shared Server Mode
No. of Instance Running : 1(ST011)
No. of Application running for this instance : 1 (Softtrack)
Database Type : OLTP (Order Entry System with report generations)
No of users : 2(Object Schema and AccessSchema)
File Placement :
All FIles placed in single disk since lack of disks.
StatsPack report:
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
ST011 1063661848 st011 1 9.2.0.1.0 NO NHOUSE
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 41 07-Aug-03 09:37:30 15 4.3
End Snap: 62 08-Aug-03 04:00:04 15 3.8
Elapsed: 1,102.57 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 136M Std Block Size: 8K
Shared Pool Size: 168M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 445.51 1,374.71
Logical reads: 870.05 2,684.69
Block changes: 2.11 6.51
Physical reads: 15.05 46.44
Physical writes: 4.02 12.42
User calls: 16.13 49.78
Parses: 5.49 16.93
Hard parses: 0.89 2.76
Sorts: 1.36 4.21
Logons: 0.00 0.01
Executes: 5.84 18.02
Transactions: 0.32
% Blocks changed per Read: 0.24 Recursive Call %: 57.93
Rollback per transaction %: 50.19 Rows per Sort: 148.29
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.01 In-memory Sort %: 99.59
Library Hit %: 93.31 Soft Parse %: 83.72
Execute to Parse %: 6.04 Latch Hit %: 99.99
Parse CPU to Parse Elapsd %: 97.75 % Non-Parse CPU: 86.83
Shared Pool Statistics Begin End
Memory Usage %: 18.19 92.77
% SQL with executions>1: 47.57 41.10
% Memory for SQL w/exec>1: 44.60 42.30
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 1,025 46.80
control file parallel write 21,433 558 25.48
SQL*Net more data to client 495,625 181 8.27
log file parallel write 12,335 102 4.64
log file sync 10,697 89 4.06
Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> 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
control file parallel write 21,433 0 558 26 1.0
SQL*Net more data to client 495,625 0 181 0 23.1
log file parallel write 12,335 12,030 102 8 0.6
log file sync 10,697 1 89 8 0.5
db file scattered read 75,969 0 81 1 3.5
direct path read 210,093 0 66 0 9.8
db file parallel write 2,480 1,240 51 21 0.1
db file sequential read 19,775 0 21 1 0.9
control file sequential read 17,629 0 6 0 0.8
direct path write 774 0 5 7 0.0
enqueue 9 0 2 231 0.0
SQL*Net break/reset to clien 2,552 0 1 1 0.1
log file sequential read 30 0 1 21 0.0
db file single write 32 0 0 11 0.0
switch logfile command 2 0 0 144 0.0
control file single write 5 0 0 29 0.0
log file single write 2 0 0 12 0.0
LGWR wait for redo copy 78 1 0 0 0.0
latch free 7 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 9 0 0 0 0.0
reliable message 3 0 0 0 0.0
undo segment extension 9 9 0 0 0.0
SQL*Net message from client 1,067,763 0 116,054 109 49.8
virtual circuit status 1,005,679 1,028 68,949 69 46.9
jobq slave wait 786 753 2,403 3057 0.0
SQL*Net more data from clien 5,972 0 4 1 0.3
SQL*Net message to client 1,067,776 0 3 0 49.8
Background Wait Events for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file parallel write 21,376 0 556 26 1.0
log file parallel write 12,335 12,030 102 8 0.6
db file parallel write 2,480 1,240 51 21 0.1
control file sequential read 13,975 0 3 0 0.7
db file scattered read 220 0 1 3 0.0
log file sequential read 30 0 1 21 0.0
db file sequential read 231 0 1 2 0.0
direct path write 8 0 0 7 0.0
log file single write 2 0 0 12 0.0
direct path read 8 0 0 3 0.0
LGWR wait for redo copy 78 1 0 0 0.0
log file sync 1 0 0 11 0.0
rdbms ipc reply 42 0 0 0 0.0
async disk IO 13 0 0 0 0.0
buffer busy waits 4 0 0 0 0.0
rdbms ipc message 89,265 77,930 400,950 4492 4.2
smon timer 225 210 67,257 ###### 0.0
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
3,329,463 78 42,685.4 5.8 33.84 40.89 2765271770
select distinct s1.prospectna, s1.praddr1, s1.praddr2, s1.praddr
3, s1.prcity, s1.prstate from (select distinct a.oanno as uoanno
, decode(a.oanno,NUll,b.oandt,a.oandt) as uoandt, ltrim(rtrim(up
per(prospectna))) prospectna, decode(praddr1,null,' ',ltrim(rtri
m(upper(praddr1)))) as praddr1, decode(praddr2,null,' ',ltrim(rt
2,150,915 78 27,575.8 3.7 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
967,504 387 2,500.0 1.7 3.25 3.32 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
869,555 24 36,231.5 1.5 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
821,376 24 34,224.0 1.4 8.73 11.09 1011529824
select distinct ltrim(rtrim(upper(prospectna))) prospectna, deco
de(praddr1,null,' ',ltrim(rtrim(upper(praddr1)))) pr1, decode(pr
addr2,null,' ',ltrim(rtrim(upper(praddr2)))) pr2, decode(pradd
r3,null,' ',ltrim(rtrim(upper(praddr3)))) pr3, decode(prcity,nul
l ,' ', ltrim(rtrim(upper(prcity)))) prcity, decode(prstate,nul
774,701 30 25,823.4 1.3 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
761,959 30 25,398.6 1.3 7.63 8.27 1655857706
select distinct ltrim(rtrim(upper(prospectna))) prospectna,ltrim
(rtrim(upper(praddr1))) praddr1,ltrim(rtrim(upper(praddr2))) pra
ddr2,ltrim(rtrim(upper(praddr3))) praddr3,ltrim(rtrim(upper(prci
ty))) prcity,ltrim(rtrim(upper(prstate))) prstate from softdb.
oandetails a, softdb.oanudetails b, softdb.enquiryform, softdb.
650,627 21 30,982.2 1.1 6.92 7.12 4059808258
SQL ordered by Gets for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Buffer Gets Threshold: 10000
-> Note that resources reported for PL/SQL includes the resources used by
all SQL statements called within the PL/SQL code. As individual SQL
statements are also reported, it is possible and valid for the summed
total % to exceed 100
CPU Elapsd
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
Module: SQL*Plus
INSERT into stats$sqltext ( hash_value
, text_subset , piece
, sql_text , address , comman
d_type , last_snap_id )
select st1.hash_value , ss.text_subset
397,508 159 2,500.1 0.7 1.64 1.57 1524142529
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
289,960 144,980 2.0 0.5 10.75 9.52 2091761008
select condition from cdef$ where rowid=:1
287,552 9 31,950.2 0.5 0.00 13.58 2301846564
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate;
broken BOOLEAN := FALSE; BEGIN statspack.snap; :mydate := next_d
ate; IF broken THEN :b := 1; ELSE :b := 0; END IF; END;
115,275 169 682.1 0.2 0.81 0.89 1682770808
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
95,008 38 2,500.2 0.2 0.39 0.36 3969207777
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
85,527 1 85,527.0 0.1 3.14 4.49 2005338978
BEGIN :RET_VAL := DBMS_METADATA.FETCH_CLOB(:HANDLE);
END;
85,314 1 85,314.0 0.1 3.13 4.30 3633453749
SELECT VALUE(KU$) XMLSCHEMA_T FROM SYS.KU$_XMLSCHEMA_VIEW KU$ WH
ERE KU$.OWNER_NAME='SOFTDB'
55,861 1 55,861.0 0.1 0.66 1.51 2026512687
select s1.* from (select a.oanno as uoanno, decode(a.oanno,NUll,
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
37,620 78 482.3 3.8 34.70 231.25 1951422680
select s1.* from (select distinct a.oanno as uoanno, decode(a.oa
nno,Null,b.roanno,a.roanno) as uroanno, decode(a.oanno,NUll,b.oa
ndt,a.oandt) as uoandt, decode(a.oanno,NUll,b.pono,a.pono) as up
ono, decode(a.oanno,Null,b.podt,a.podt) as upodt, decode(a.oanno
,Null,upper(b.npsloffice),upper(a.npsloffice)) as npsl, decode(a
10,262 21 488.7 1.0 7.86 20.17 1017492279
Module: SQL*Plus
INSERT into stats$sql_summary ( snap_id
, dbid , instance_number , text_subset
, sharable_mem , sorts , modu
le , loaded_versions , fetches
, executions , loads , invalidations
10,249 22 465.9 1.0 7.70 20.12 2734029811
Module: SQL*Plus
INSERT into stats$sql_statistics ( snap_id
, dbid , instance_number , total_
sql , total_sql_mem , single_use_sql
, single_use_sql_mem ) select :
b3 , :b2 , :b1 , count(1)
6,164 24 256.8 0.6 11.56 54.15 569094110
select workorderno, workorddt, a.oanno as uoanno, decode(b.oanno
,Null,a.oandt, b.oandt) as uoandt, decode(b.oanno,Null,a.roanno,
b.roanno) as uroanno, decode(b.oanno,Null,a.pono,b.pono) as up
ono,decode(b.oanno,null,a.podt,b.podt) as upodt, decode(b.oanno
,Null,upper(a.npsloffice),upper(b.npsloffice)) as npsl,decode(b.
3,625 30 120.8 0.4 10.50 26.76 2315633148
select a.oanno as uoanno,a.roanno as uroanno,a.oandt as uoandt,
a.pono as upono,a.podt as upodt,upper(a.npsloffice) as npsl,dec
ode(d.delicity,null,'NOT AVAILABLE',UPPER(d.delicity)) as dely,
ltrim(rtrim(upper(prospectna))) prospectna, decode(praddr1,null
,' ',ltrim(rtrim(upper(praddr1)))) as pr1, decode(praddr2,null,'
3,582 7 511.7 0.4 0.17 1.10 2255532526
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN00
23120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and r
egndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Au
g-2003' and qtnno='00CHEN0023120'
3,110 8 388.8 0.3 1.39 17.41 2559037884
select a.itemdesc, a.mcslno, a.oanno, a.oandt, a.itemsrlno from
softdb.keytab a, softdb.oanups b where a.oanno = b.oanno(+) and
a.oandt = b.oandt(+) and a.itemsrlno = b.itemsrlno(+) and b.oann
o is null union select a.itemdesc, a.mcslno, a.oanno, a.oandt, a
.itemsrlno from softdb.keytab a, softdb.oanups b where a.oanno
2,359 7 337.0 0.2 0.14 0.44 2169388924
delete from softdb.commdeliaddr where regndt='07-Aug-2003' and r
egnno='00CHEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0
SQL ordered by Reads for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
023120' and commid not in (select commid from softdb.commdeliite
ms where regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtn
dt='07-Aug-2003' and qtnno='00CHEN0023120')
1,963 7 280.4 0.2 0.27 2.61 3352066490
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00CHEN0
023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120') and
regndt='07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-A
ug-2003' and qtnno='00CHEN0023120'
1,547 2 773.5 0.2 0.08 0.31 2526194774
delete from softdb.oanlevy where oanno not in (select oanno fro
m softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB0
023121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and
regndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-A
ug-2003' and qtnno='00MUMB0023121'
1,404 2 702.0 0.1 0.11 0.23 3517028935
select softdb.oanaddr.*, softdb.oanaddr.ROWID from softdb.oanadd
r where delflg='N' and commid is null
1,298 2 649.0 0.1 0.09 0.27 2203325864
delete from softdb.oanaddr where oanno not in (select oanno from
softdb.oanitem where regndt='07-Aug-2003' and regnno='00MUMB00
23121' and qtndt='07-Aug-2003' and qtnno='00MUMB0023121') and r
egndt='07-Aug-2003' and regnno='00MUMB0023121' and qtndt='07-Au
g-2003' and qtnno='00MUMB0023121'
1,261 6 210.2 0.1 0.05 0.15 576637004
delete from softdb.ordterms where commid is not null and regndt=
'07-Aug-2003' and regnno='00CHEN0023120' and qtndt='07-Aug-2003'
and qtnno='00CHEN0023120' and commid not in (select commid from
softdb.commdeliitems where regndt='07-Aug-2003' and regnno='00C
HEN0023120' and qtndt='07-Aug-2003' and qtnno='00CHEN0023120')
1,244 6 207.3 0.1 0.06 0.15 563121091
select softdb.ordterms.*, softdb.ordterms.ROWID from softdb.or
dterms where delflg='N' and regndt ='07-Aug-2003' and regnno='
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
144,980 144,980 1.0 0.00 0.00 2091761008
select condition from cdef$ where rowid=:1
23,545 0 0.0 0.00 0.00 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
16,526 16,519 1.0 0.00 0.00 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
10,812 0 0.0 0.00 0.00 4031175624
alter session set isolation_level = read committed
8,449 13 0.0 0.00 0.00 2963598673
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= n
ext_date) and (next_date < :2)) or ((last_date is null) and
(next_date < :3))) and (field1 = :4 or (field1 = 0 and 'Y' = :5)
) and (this_date is null) order by next_date, job
8,437 8,437 1.0 0.00 0.00 2964743345
select count(*) from sys.job$ where (next_date > sysdate) and (n
ext_date < (sysdate+5/86400))
4,152 4,152 1.0 0.00 0.00 3879177167
select :V00001 from dual
2,703 45,951 17.0 0.00 0.00 1947239399
Module: VPXDBA
/* OracleOEM */ select value from v$parameter where name in ('d
b_block_buffers','buffer_pool_keep','db_block_lru_latches','buff
er_pool_recycle', 'log_buffer','cursor_space_for_time','open_cur
sors','shared_pool_size', 'shared_pool_reserved_size','session_c
ached_cursors','parallel_min_servers', 'parallel_max_servers','s
2,533 628,184 248.0 0.00 0.00 71821313
Module: VPXDBA
/* OracleOEM */ select value from v$sysstat order by statistic#
2,532 2,532 1.0 0.00 0.00 3077298272
Module: VPXDBA
/* OracleOEM */ select sum(decode(name,'free memory',bytes)), su
m(bytes) from v$sgastat where pool='shared pool'
2,504 2,504 1.0 0.00 0.00 1818901441
Module: VPXDBA
/* OracleOEM */ select sum(decode(status,'ACTIVE',1,0)),sum(deco
de(status,'INACTIVE',1,0))from v$session
2,492 62,998 25.3 0.01 0.01 2080871317
Module: VPXDBA
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
/* OracleOEM */ select event,time_waited,total_waits, total_tim
eouts from v$system_event where event not in ('PX Idle Wait','p
mon timer','smon timer','rdbms ipc message', 'parallel dequeue w
ait', 'parallel query dequeue','virtual circuit', 'SQL*Net
message from client','SQL*Net message to client', 'SQL*Ne
2,389 37 0.0 0.00 0.00 4266807470
Module: VPXDBA
/* OracleOEM */ select event, count(*) from v$session_wait where
wait_time = 0 and event not in ('PX Idle Wait','pmon timer','s
mon timer','rdbms ipc message', 'parallel dequeue wait', 'parall
el query dequeue','virtual circuit', 'SQL*Net message from clien
t','SQL*Net message to client','SQL*Net more data to client', 'S
2,196 2,196 1.0 0.00 0.00 1903595484
Module: VPXDBA
/* OracleOEM */ select sum(pins), sum(pinhits), sum(reloads) fro
m v$librarycache
2,196 24,493 11.2 0.00 0.00 2352784315
Module: VPXDBA
/* OracleOEM */ SELECT s.sid, s.serial#, s.fixed_table_sequence,
s.status,NVL(s.username,bg.name), cpu.value tot_cpu, physio.va
lue phys_reads,parse.value hard_parse, mem.value pga,logio.v
alue log_reads FROM v$session s, v$bgprocess bg, (SELE
CT sid,value FROM v$sesstat WHERE statistic# = :1) cpu, (SEL
2,046 3,716 1.8 0.00 0.00 360204161
SELECT BUCKET, ENDPTHASH, ENDPTVAL, UTL_RAW.CAST_TO_
RAW(ENDPTVAL) ENDPTVAL_RAW FROM SYS.EXU8HSTU WHERE
POBJID = :1 AND INTCOL = :2 ORDER BY BUCKET
1,507 0 0.0 0.00 0.00 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 0 0.0 0.00 0.00 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
956 897 0.9 0.00 -0.00 2591785020
select obj#,type#,ctime,mtime,stime,status,dataobj#,flags,oid$,
spare1, spare2 from obj$ where owner#=:1 and name=:2 and namespa
ce=:3 and(remoteowner=:4 or remoteowner is null and :4 is null)a
nd(linkname=:5 or linkname is null and :5 is null)and(subname=:6
or subname is null and :6 is null)
939 1,479 1.6 0.00 0.00 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 1,055 1.1 0.00 0.00 4049165760
select order#,columns,types from access$ where d_obj#=:1
SQL ordered by Executions for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
807 45,999 57.0 0.00 0.00 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
550 204 0.4 0.00 0.00 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
144,980 144,980 39.95 2091761008
select condition from cdef$ where rowid=:1
23,545 23,545 6.49 1981921526
update object_usage set flags=flags+1 where obj#=:1 and bitand(f
lags, 1)=0
10,812 10,812 2.98 4031175624
alter session set isolation_level = read committed
4,152 4,152 1.14 3879177167
select :V00001 from dual
2,379 4 0.66 1635934014
insert into sys.col_usage$ values ( :objn, :coln, decode(bit
and(:flag,1),0,0,1), decode(bitand(:flag,2),0,0,1), decode(b
itand(:flag,4),0,0,1), decode(bitand(:flag,8),0,0,1), decode
(bitand(:flag,16),0,0,1), decode(bitand(:flag,32),0,0,1), :t
ime)
2,336 16,526 0.64 3016965513
update sys.col_usage$ set equality_preds = equality_preds
+ decode(bitand(:flag,1),0,0,1), equijoin_preds = equijoi
n_preds + decode(bitand(:flag,2),0,0,1), nonequijoin_preds
= nonequijoin_preds + decode(bitand(:flag,4),0,0,1), range_pre
ds = range_preds + decode(bitand(:flag,8),0,0,1),
1,655 0 0.46 3877138136
SELECT softdb.logpslipitem.*, softdb.logpslipitem.ROWID FROM sof
tdb.logpslipitem
1,507 1,507 0.42 1930352736
select softdb.oanitem.*, softdb.oanitem.ROWID from softdb.oanite
m where delflg='N' and oandt='' and oanno=0 order by itemsrlno
1,507 1,507 0.42 3801509667
select softdb.oanudetails.*, softdb.oanudetails.ROWID from softd
b.oanudetails where delflg='N' and oandt='' and oanno=0
1,357 0 0.37 2921321908
SELECT softdb.keytab.*, softdb.keytab.ROWID FROM softdb.keytab
1,175 0 0.32 126022112
SELECT softdb.logpslip.*, softdb.logpslip.ROWID FROM softdb.logp
slip
1,175 0 0.32 3554166107
select * from softdb.logpslipitem
1,175 0 0.32 3928397926
select * from softdb.logpslip
939 939 0.26 1819073277
select owner#,name,namespace,remoteowner,linkname,p_timestamp,p_
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
obj#, d_owner#, nvl(property,0),subname from dependency$,obj$ wh
ere d_obj#=:1 and p_obj#=obj#(+) order by order#
939 939 0.26 4049165760
select order#,columns,types from access$ where d_obj#=:1
807 807 0.22 2705315382
select length(invcode), softdb.blocnmanager.ROWID from softdb.bl
ocnmanager
718 359 0.20 3882939652
INSERT INTO "SOFTDB"."MULTIUSER" ("REGNNO","PROCESSNAME","USRNAM
E","INSTLOCATION","MCNAME","IPADDR","REGNDT") VALUES (:V00001,:V
00002,:V00003,:V00004,:V00005,:V00006,:V00007)
650 325 0.18 3046100812
UPDATE "SOFTDB"."GENCOMMID" SET "GNO"=:V00001,"GDT"=:V00002 WHER
E "GNO"=:V00003 AND "GDT"=:V00004 AND "ROWID"=:V00005
550 550 0.15 2197684639
BEGIN SYS.DBMS_DESCRIBE.DESCRIBE_PROCEDURE(:object_name,:res1,:r
es2,:overload,:position,:level,:argument,:datatype,:default,:in_
out,:length,:precision,:scale,:radix,:spare); END;
510 510 0.14 3187596784
select rownum as srlno,softdb.keytab.itemdesc as item,1 as sets,
qty from (select itemsrlno,itemdesc,1 as qty,oanno,oandt from s
oftdb.oanups where delflg='N' and oandt='' and oanno=0 union se
lect itemsrlno,itemdesc,deliqty/delisets as qty, oanno,oandt fr
om softdb.oanbat where delflg='N' and oandt='' and oanno=0 and i
443 443 0.12 1781254858
DELETE multiuser where floor((((((sysdate-recentrytime)*24*60*60
)/3600)*3600)/60)*60) >='180'
443 443 0.12 3292238282
Select softdb.multiuser.*, softdb.multiuser.ROWID from softdb.mu
ltiuser
422 422 0.12 1919856422
select invcode, softdb.blocnmanager.ROWID from softdb.blocnmanag
er
390 195 0.11 2471695061
UPDATE "SOFTDB"."CUST_MAST" SET "CUST_LST_NO"=:V00001,"CUST_CST_
NO"=:V00002 WHERE "CUST_LST_NO" IS NULL AND "CUST_CST_NO" IS NUL
L AND "ROWID"=:V00003
387 387 0.11 620898497
select * from (select null table_catalog, idx.table_owner table_
schema, idx.table_name table_name, null index_catalog, idx.owner
index_schema, idx.index_name index_name, null primary_key, deco
de(idx.uniqueness, 'UNIQUE', 65535, 0) unique_, decode(idx.index
type, 'CLUSTER', 65535, 0) clustered, null type, null fillfact
SQL ordered by Parse Calls for DB: ST011 Instance: st011 Snaps: 41 -62
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
387 387 0.11 1647834759
select * from (select null table_catalog, ac.owner table_schema,
ac.table_name table_name, acc.column_name column_name, null col
umn_guid, null column_propid, acc.position ordinal, ac.constrain
t_name pk_name from all_constraints ac, all_cons_columns acc whe
re ac.owner=acc.owner and ac.constraint_type='P' and ac.constrai
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
CPU used by this session 102,453 1.6 4.8
CPU used when call started 102,366 1.6 4.8
CR blocks created 30 0.0 0.0
DBWR buffers scanned 1,184 0.0 0.1
DBWR checkpoint buffers written 7,748 0.1 0.4
DBWR checkpoints 9 0.0 0.0
DBWR free buffers found 1,184 0.0 0.1
DBWR lru scans 1 0.0 0.0
DBWR make free requests 1 0.0 0.0
DBWR summed scan depth 1,184 0.0 0.1
DBWR transaction table writes 295 0.0 0.0
DBWR undo block writes 1,681 0.0 0.1
SQL*Net roundtrips to/from client 1,979,199 29.9 92.3
active txn count during cleanout 682 0.0 0.0
background checkpoints completed 1 0.0 0.0
background checkpoints started 1 0.0 0.0
background timeouts 74,152 1.1 3.5
buffer is not pinned count 45,599,192 689.3 2,126.9
buffer is pinned count 55,241,935 835.1 2,576.7
bytes received via SQL*Net from c 140,543,392 2,124.5 6,555.5
bytes sent via SQL*Net to client 16,971,012,142 256,538.0 791,595.3
calls to get snapshot scn: kcmgss 706,463 10.7 33.0
calls to kcmgas 20,519 0.3 1.0
calls to kcmgcs 591 0.0 0.0
change write time 175 0.0 0.0
cleanout - number of ktugct calls 866 0.0 0.0
cleanouts and rollbacks - consist 16 0.0 0.0
cleanouts only - consistent read 123 0.0 0.0
cluster key scan block gets 266,789 4.0 12.4
cluster key scans 104,922 1.6 4.9
commit cleanout failures: callbac 5 0.0 0.0
commit cleanouts 28,117 0.4 1.3
commit cleanouts successfully com 28,112 0.4 1.3
commit txn count during cleanout 458 0.0 0.0
consistent changes 295 0.0 0.0
consistent gets 57,426,682 868.1 2,678.6
consistent gets - examination 2,489,520 37.6 116.1
cursor authentications 27,054 0.4 1.3
data blocks consistent reads - un 283 0.0 0.0
db block changes 139,574 2.1 6.5
db block gets 130,344 2.0 6.1
deferred (CURRENT) block cleanout 17,394 0.3 0.8
dirty buffers inspected 3 0.0 0.0
enqueue conversions 583 0.0 0.0
enqueue releases 112,816 1.7 5.3
enqueue requests 112,817 1.7 5.3
enqueue waits 9 0.0 0.0
execute count 386,246 5.8 18.0
free buffer inspected 3 0.0 0.0
free buffer requested 578,165 8.7 27.0
hot buffers moved to head of LRU 3,435 0.1 0.2
immediate (CR) block cleanout app 139 0.0 0.0
immediate (CURRENT) block cleanou 3,076 0.1 0.1
index fast full scans (full) 602 0.0 0.0
index fetch by key 1,311,085 19.8 61.2
index scans kdiixs1 26,311,841 397.7 1,227.3
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
leaf node 90-10 splits 28 0.0 0.0
leaf node splits 272 0.0 0.0
logons cumulative 181 0.0 0.0
messages received 12,637 0.2 0.6
messages sent 12,637 0.2 0.6
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 28,721,411 434.2 1,339.7
opened cursors cumulative 327,186 5.0 15.3
parse count (failures) 6,872 0.1 0.3
parse count (hard) 59,067 0.9 2.8
parse count (total) 362,907 5.5 16.9
parse time cpu 13,489 0.2 0.6
parse time elapsed 13,800 0.2 0.6
physical reads 995,675 15.1 46.4
physical reads direct 426,595 6.5 19.9
physical writes 266,178 4.0 12.4
physical writes direct 258,427 3.9 12.1
physical writes non checkpoint 261,972 4.0 12.2
prefetched blocks 473,387 7.2 22.1
process last non-idle time 124,048,980,297 1,875,154.6 5,786,136.5
recovery blocks read 0 0.0 0.0
recursive calls 1,469,320 22.2 68.5
recursive cpu usage 5,757 0.1 0.3
redo blocks written 66,895 1.0 3.1
redo entries 73,459 1.1 3.4
redo size 29,472,392 445.5 1,374.7
redo synch time 8,922 0.1 0.4
redo synch writes 10,687 0.2 0.5
redo wastage 3,617,376 54.7 168.7
redo write time 9,727 0.2 0.5
redo writer latching time 3 0.0 0.0
redo writes 12,337 0.2 0.6
rollback changes - undo records a 22 0.0 0.0
rollbacks only - consistent read 19 0.0 0.0
rows fetched via callback 1,127,456 17.0 52.6
session connect time 124,048,980,297 1,875,154.6 5,786,136.5
session logical reads 57,557,026 870.1 2,684.7
session pga memory 428,308 6.5 20.0
session pga memory max 63,116 1.0 2.9
session uga memory 4,296,889,276 64,952.8 200,424.0
session uga memory max 123,298,368 1,863.8 5,751.1
shared hash latch upgrades - no w 26,310,630 397.7 1,227.2
sorts (disk) 367 0.0 0.0
sorts (memory) 89,870 1.4 4.2
sorts (rows) 13,381,553 202.3 624.2
summed dirty queue length 3 0.0 0.0
switch current to new buffer 6,910 0.1 0.3
table fetch by rowid 32,481,075 491.0 1,515.1
table fetch continued row 13,074 0.2 0.6
table scan blocks gotten 8,213,616 124.2 383.1
table scan rows gotten 303,670,060 4,590.4 14,164.4
table scans (long tables) 2,799 0.0 0.1
table scans (short tables) 76,890 1.2 3.6
transaction rollbacks 11 0.0 0.0
user calls 1,067,154 16.1 49.8
user commits 10,678 0.2 0.5
Instance Activity Stats for DB: ST011 Instance: st011 Snaps: 41 -62
Statistic Total per Second per Trans
user rollbacks 10,761 0.2 0.5
workarea executions - onepass 803 0.0 0.0
workarea executions - optimal 126,987 1.9 5.9
write clones created in foregroun 2 0.0 0.0
Tablespace IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->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)
TEMP
397,017 6 0.8 1.1 199,016 3 0 0.0
SOFTDB
91,699 1 1.0 6.1 1,823 0 0 0.0
USERS
450 0 5.3 1.0 2,524 0 0 0.0
SYSTEM
2,438 0 2.9 1.3 239 0 0 0.0
INDX
1,095 0 4.4 1.5 1,153 0 0 0.0
UNDOTBS1
3 0 13.3 1.0 2,017 0 8 0.0
XDB
74 0 4.9 1.1 1 0 0 0.0
DRSYS
3 0 6.7 1.0 1 0 0 0.0
TOOLS
3 0 6.7 1.0 1 0 0 0.0
File IO Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->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)
DRSYS E:\ORACLE\ORADATA\ST011\DRSYS01.DBF
3 0 6.7 1.0 1 0 0
INDX E:\ORACLE\ORADATA\ST011\INDX01.DBF
1,095 0 4.4 1.5 1,153 0 0
SOFTDB E:\ORACLE\ORADATA\ST011\SOFTDB01.DBF
91,699 1 1.0 6.1 1,823 0 0
SYSTEM E:\ORACLE\ORADATA\ST011\SYSTEM01.DBF
2,438 0 2.9 1.3 239 0 0
TEMP E:\ORACLE\ORADATA\ST011\TEMP01.DBF
397,017 6 0.8 1.1 199,016 3 0
TOOLS E:\ORACLE\ORADATA\ST011\TOOLS01.DBF
3 0 6.7 1.0 1 0 0
UNDOTBS1 E:\ORACLE\ORADATA\ST011\UNDOTBS01.DBF
3 0 13.3 1.0 2,017 0 8 0.0
USERS E:\ORACLE\ORADATA\ST011\USERS01.DBF
450 0 5.3 1.0 2,524 0 0
XDB E:\ORACLE\ORADATA\ST011\XDB01.DBF
74 0 4.9 1.1 1 0 0
Buffer Pool Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 17,017 99.5 110,003,087 569,129 7,751 0 0 8
Instance Recovery Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> 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 34 14 193 771 341 184320 341
E 34 14 141 727 20 184320 20
Buffer Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> 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 16 .1 2,002 152.10 87,449,432
D 32 .2 4,004 87.09 50,071,540
D 48 .4 6,006 55.08 31,668,480
D 64 .5 8,008 36.93 21,232,658
D 80 .6 10,010 16.08 9,246,410
D 96 .7 12,012 6.32 3,635,060
D 112 .8 14,014 2.48 1,423,893
D 128 .9 16,016 1.09 627,130
D 136 1.0 17,017 1.00 574,935
D 144 1.1 18,018 0.96 552,001
D 160 1.2 20,020 0.91 525,903
D 176 1.3 22,022 0.90 518,390
D 192 1.4 24,024 0.90 518,390
D 208 1.5 26,026 0.90 518,390
D 224 1.6 28,028 0.90 518,390
D 240 1.8 30,030 0.90 518,390
D 256 1.9 32,032 0.90 518,390
D 272 2.0 34,034 0.90 518,390
D 288 2.1 36,036 0.90 518,390
D 304 2.2 38,038 0.90 518,390
D 320 2.4 40,040 0.90 518,390
Buffer wait Statistics for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
undo header 9 0 0
PGA Aggr Target Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> B: Begin snap E: End snap (rows dentified with B or E contain data
which is absolute i.e. not diffed over the interval)
-> PGA cache hit % - percentage of W/A (WorkArea) data processed only in-memory
-> 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 Cache Hit % W/A MB Processed Extra W/A MB Read/Written
72.5 6,444 2,443
%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 104 80 17.8 0.0 .0 .0 .0 5,324
E 104 81 18.5 0.0 .0 .0 .0 5,324
PGA Aggr Target Histogram for DB: ST011 Instance: st011 Snaps: 41 -62
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 119,925 119,925 0 0
16K 32K 1,796 1,796 0 0
32K 64K 147 147 0 0
64K 128K 1,167 1,167 0 0
128K 256K 562 562 0 0
256K 512K 647 615 32 0
512K 1024K 2,770 2,412 358 0
1M 2M 588 256 332 0
2M 4M 70 10 60 0
4M 8M 36 20 16 0
16M 32M 4 0 4 0
1G 2G 1 0 1 0
PGA Memory Advisory for DB: ST011 Instance: st011 End Snap: 62
-> 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
13 0.1 1,552.2 362.1 81.0 27
26 0.3 1,552.2 85.5 95.0 0
52 0.5 1,552.2 74.5 95.0 0
78 0.8 1,552.2 74.5 95.0 0
104 1.0 1,552.2 55.1 97.0 0
125 1.2 1,552.2 0.0 100.0 0
146 1.4 1,552.2 0.0 100.0 0
166 1.6 1,552.2 0.0 100.0 0
187 1.8 1,552.2 0.0 100.0 0
208 2.0 1,552.2 0.0 100.0 0
312 3.0 1,552.2 0.0 100.0 0
416 4.0 1,552.2 0.0 100.0 0
624 6.0 1,552.2 0.0 100.0 0
832 8.0 1,552.2 0.0 100.0 0
Enqueue activity for DB: ST011 Instance: st011 Snaps: 41 -62
-> Enqueue stats gathered prior to 9i should not be compared with 9i data
-> ordered by Wait Time desc, Waits desc
Avg Wt Wait
Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
TC 40 40 0 8 254.13 2
PE 184 184 0 1 47.00 0
Rollback Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 246.0 0.00 0 0 0 0
1 2,947.0 0.00 1,268,846 4 1 1
2 3,520.0 0.00 1,003,166 18 3 6
3 3,511.0 0.00 973,498 18 1 3
4 2,662.0 0.00 1,010,600 4 0 1
5 3,941.0 0.03 1,042,464 20 3 8
6 3,474.0 0.00 1,106,576 21 1 6
7 2,546.0 0.00 756,036 15 3 4
8 3,943.0 0.00 1,112,166 22 3 11
9 3,368.0 0.00 832,596 14 2 4
10 3,039.0 0.20 971,780 20 3 14
Rollback Segment Storage for DB: ST011 Instance: st011 Snaps: 41 -62
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 1,171,456 191,840 2,220,032
2 385,024 78,348 516,096
3 450,560 112,391 450,560
4 2,220,032 101,425 2,220,032
5 778,240 134,380 843,776
6 647,168 78,286 647,168
7 319,488 86,191 581,632
8 516,096 90,060 778,240
9 516,096 49,626 516,096
10 450,560 132,513 647,168
Undo Segment Summary for DB: ST011 Instance: st011 Snaps: 41 -62
-> 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 Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 1,555 551,825 1,575 2 0 0 0/0/15/0/0/0
Undo Segment Stats for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
08-Aug 03:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 03:03 31 13,744 0 1 0 0 0/0/0/0/0/0
08-Aug 02:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 02:03 31 13,717 0 1 0 0 0/0/0/0/0/0
08-Aug 01:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 01:03 29 13,690 1 1 0 0 0/0/0/0/0/0
08-Aug 00:53 0 0 0 0 0 0 0/0/0/0/0/0
08-Aug 00:03 41 13,665 1 1 0 0 0/0/0/0/0/0
07-Aug 23:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 23:03 25 13,634 1 2 0 0 0/0/0/0/0/0
07-Aug 22:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 22:03 29 13,611 0 2 0 0 0/0/0/0/0/0
07-Aug 21:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 21:43 1 13,595 0 1 0 0 0/0/8/0/0/0
07-Aug 21:33 1 13,591 0 1 0 0 0/0/0/0/0/0
07-Aug 21:23 7 13,544 9 1 0 0 0/0/0/0/0/0
07-Aug 21:13 1 13,448 12 1 0 0 0/0/0/0/0/0
07-Aug 21:03 35 13,348 1 1 0 0 0/0/0/0/0/0
07-Aug 20:53 7 13,212 9 1 0 0 0/0/0/0/0/0
07-Aug 20:43 9 12,967 13 1 0 0 0/0/0/0/0/0
07-Aug 20:33 4 12,785 3 1 0 0 0/0/0/0/0/0
07-Aug 20:23 4 12,717 3 1 0 0 0/0/0/0/0/0
07-Aug 20:13 7 12,607 9 1 0 0 0/0/0/0/0/0
07-Aug 20:03 49 12,472 8 2 0 0 0/0/0/0/0/0
07-Aug 19:53 0 0 0 0 0 0 0/0/0/0/0/0
07-Aug 19:43 10 12,425 2 1 0 0 0/0/0/0/0/0
07-Aug 19:33 14 12,263 30 1 0 0 0/0/0/0/0/0
07-Aug 19:23 25 12,046 4 1 0 0 0/0/0/0/0/0
07-Aug 19:13 52 11,686 2 1 0 0 0/0/0/0/0/0
07-Aug 19:03 71 11,077 7 1 0 0 0/0/0/0/0/0
07-Aug 18:53 41 10,558 4 1 0 0 0/0/0/0/0/0
07-Aug 18:43 17 9,996 12 1 0 0 0/0/0/0/0/0
07-Aug 18:33 6 9,744 30 1 0 0 0/0/0/0/0/0
07-Aug 18:23 9 9,548 2 1 0 0 0/0/0/0/0/0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"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 Requests Miss /Miss (s) Requests Miss
Consistent RBA 12,338 0.0 0 0
FAL request queue 2 0.0 0 0
FAL subheap alocation 0 0 2 0.0
FIB s.o chain latch 72 0.0 0 0
FOB s.o list latch 388 0.0 0 0
JOX SGA heap latch 3,415 0.0 0 3,013 0.0
NLS data objects 3 0.0 0 0
QMT 1 0.0 0 0
SQL memory manager latch 21 0.0 0 21,360 0.0
SQL memory manager worka 1,455,705 0.0 0 0
Token Manager 0 0 2 0.0
active checkpoint queue 22,780 0.0 0 2 0.0
alert log latch 4 0.0 0 2 0.0
archive control 2,189 0.0 0 0
archive process latch 1,299 0.2 0.0 0 0
begin backup scn array 8 0.0 0 0
cache buffer handles 339,925 0.0 0 0
cache buffers chains 113,609,670 0.0 0.0 0 1,095,458 0.0
cache buffers lru chain 2,057,063 0.0 0 13,776 0.0
channel handle pool latc 194 0.0 0 0
channel operations paren 43,420 0.0 0 0
checkpoint queue latch 1,094,874 0.0 0.0 0 7,196 0.0
child cursor hash table 543,267 0.0 0 0
dml lock allocation 99,677 0.0 0 0
dummy allocation 362 2.8 0.0 0 0
enqueue hash chains 226,227 0.0 0 0
enqueues 235,237 0.0 0.0 0 0
event group latch 95 0.0 0 0
file number translation 699,304 0.0 0.0 0 0
hash table column usage 2,980 0.0 0 779,274 0.0
hash table modification 5 0.0 0 2 0.0
job workq parent latch 0 0 26 7.7
job_queue_processes para 745 0.0 0 2 0.0
kmcptab latch 1,788 0.0 0 0
kmcpvec latch 0 0 1,788 0.0
ksfv messages 0 0 4 0.0
ktm global data 260 0.0 0 0
lgwr LWN SCN 29,530 0.0 0 0
library cache 7,579,771 0.0 0.0 0 112,898 0.1
library cache load lock 5,302 0.0 0 0
library cache pin 3,098,174 0.0 0.0 0 0
library cache pin alloca 2,124,257 0.0 0.0 0 0
list of block allocation 321 0.0 0 0
loader state object free 1,186 0.0 0 0
longop free list parent 9 0.0 0 9 0.0
message pool operations 9 0.0 0 0
messages 209,721 0.2 0.0 0 0
mostly latch-free SCN 29,532 0.0 0.0 0 0
multiblock read objects 181,050 0.0 0 2 0.0
name-service namespace o 0 0 2 0.0
Latch Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"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 Requests Miss /Miss (s) Requests Miss
ncodef allocation latch 1,065 0.0 0 0
object stats modificatio 357 0.0 0 2 0.0
post/wait queue 24,713 0.0 0 10,698 0.0
process allocation 95 0.0 0 95 0.0
process group creation 189 0.0 0 0
qm_init_sga 1 0.0 0 0
redo allocation 115,339 0.0 0.0 0 0
redo copy 0 0 73,511 0.1
redo writing 92,285 0.0 0 0
resumable state object 351 0.0 0 0
row cache enqueue latch 3,995,948 0.0 0.0 0 0
row cache objects 4,004,202 0.0 0 696 0.0
sequence cache 430 0.0 0 0
session allocation 292,885 0.0 0.0 0 0
session idle bit 2,269,446 0.0 0.0 0 0
session switching 1,065 0.0 0 0
session timer 22,218 0.0 0 0
shared java pool 860 0.0 0 0
shared pool 4,913,350 0.0 0.0 0 0
sim partition latch 0 0 110 0.0
simulator hash latch 4,433,428 0.0 0 0
simulator lru latch 43,829 0.0 0 33,464 0.0
sort extent pool 6,608 0.0 0 0
temp lob duration state 2 0.0 0 0
trace latch 13 0.0 0 0
transaction allocation 931,196 0.0 0 0
transaction branch alloc 1,065 0.0 0 0
undo global data 57,750 0.0 0.0 0 0
user lock 551 0.0 0 0
vecio buf des 0 0 2 0.0
virtual circuit buffers 10,648,289 0.2 0.0 0 0
virtual circuit queues 5,140,393 0.0 0.0 0 0
virtual circuits 1,824,349 0.0 0.0 0 0
Latch Sleep breakdown for DB: ST011 Instance: st011 Snaps: 41 -62
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
virtual circuit buffers 10,648,289 19,024 3 19021/3/0/0/
0
shared pool 4,913,350 181 3 178/3/0/0/0
cache buffers chains 113,609,670 63 1 0/0/0/0/0
Latch Miss Sources for DB: ST011 Instance: st011 Snaps: 41 -62
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbgtcr: kslbegin excl 0 1 0
shared pool kghalo 0 3 3
virtual circuits kmcfms 0 1 1
virtual circuits kmcgms: if not shared serv 0 1 0
virtual circuits kmcmbf 0 1 1
Dictionary Cache Stats for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low (< 2% in most cases)
->"Cache Usage" is the number of cache entries being used
->"Pct SGA" is the ratio of usage to allocated size for that cache
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_files 3,248 0.2 0 0 8
dc_global_oids 12,826 1.0 0 0 135
dc_histogram_defs 1,214,659 0.1 0 0 2,451
dc_object_ids 325,383 0.2 0 0 793
dc_objects 72,357 1.9 0 2 1,504
dc_profiles 125 0.0 0 0 1
dc_qmc_cache_entries 1 100.0 0 0 1
dc_rollback_segments 4,967 0.0 0 0 12
dc_segments 168,507 0.4 0 0 760
dc_sequences 8 37.5 0 8 2
dc_tablespace_quotas 5 40.0 0 5 2
dc_tablespaces 56,795 0.0 0 0 9
dc_user_grants 1,393 1.1 0 0 22
dc_usernames 70,029 0.0 0 0 15
dc_users 71,699 0.0 0 0 25
Library Cache Activity for DB: ST011 Instance: st011 Snaps: 41 -62
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 225 16.4 226 18.6 3 0
CLUSTER 1,272 0.3 1,008 0.8 0 0
JAVA DATA 2 100.0 9 44.4 0 0
SQL AREA 368,746 14.6 1,388,192 8.3 5,561 1
TABLE/PROCEDURE 114,852 1.3 375,552 0.9 494 0
TRIGGER 1,082 1.0 1,082 1.4 4 0
Shared Pool Advisory for DB: ST011 Instance: st011 End Snap: 62
-> 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
Estd
Shared Pool SP Estd Estd Estd Lib LC Time
Size for Size Lib Cache Lib Cache Cache Time Saved Estd Lib Cache
Estim (M) Factr Size (M) Mem Obj Saved (s) Factr Mem Obj Hits
96 .6 96 20,704 1,595 1.0 896,845
120 .7 119 25,821 1,596 1.0 898,184
144 .9 142 30,844 1,596 1.0 899,133
168 1.0 165 35,862 1,597 1.0 900,259
192 1.1 188 41,079 1,598 1.0 901,912
216 1.3 215 47,275 1,598 1.0 902,360
240 1.4 238 52,517 1,598 1.0 903,089
264 1.6 261 58,043 1,598 1.0 903,310
288 1.7 284 63,632 1,598 1.0 903,711
312 1.9 307 69,230 1,598 1.0 904,029
336 2.0 338 76,368 1,598 1.0 904,158
SGA Memory Summary for DB: ST011 Instance: st011 Snaps: 41 -62
SGA regions Size in Bytes
Database Buffers 142,606,336
Fixed Size 454,356
Redo Buffers 667,648
Variable Size 486,539,264
sum 630,267,604
SGA breakdown difference for DB: ST011 Instance: st011 Snaps: 41 -62
Pool Name Begin value End value % Diff
java free memory 33,554,432 30,031,872 -10.50
large free memory 24,861,188 24,957,400 0.39
large session heap 304,636 208,424 -31.58
shared 1M buffer 2,098,176 2,098,176 0.00
shared FileOpenBlock 695,504 695,504 0.00
shared KGK heap 3,756 3,756 0.00
shared KGLS heap 1,652,428 2,590,108 56.75
shared KQR M PO 861,220 2,452,776 184.80
shared KQR S PO 77,148 239,708 210.71
shared KQR S SO 1,792 5,632 214.29
shared KSXR pending messages que 841,036 841,036 0.00
shared KSXR receive buffers 1,033,000 1,033,000 0.00
shared MTTR advisory 25,400 29,636 16.68
shared PL/SQL DIANA 625,620 951,760 52.13
shared PL/SQL MPCODE 358,152 902,912 152.10
shared PLS non-lib hp 2,068 2,068 0.00
shared dictionary cache 1,610,880 1,610,880 0.00
shared errors 25,144 46,460 84.78
shared event statistics per sess 1,718,360 1,718,360 0.00
shared fixed allocation callback 220 220 0.00
shared free memory 157,840,156 13,956,720 -91.16
shared joxs heap init 4,220 4,220 0.00
shared kgl simulator 694,520 9,560,380 #######
shared library cache 4,829,312 39,226,604 712.26
shared message pool freequeue 834,752 834,752 0.00
shared miscellaneous 5,094,676 7,076,492 38.90
shared parameters 5,220 32,976 531.72
shared sessions 410,720 410,720 0.00
shared sim memory hea 93,176 93,176 0.00
shared sql area 9,864,252 100,764,460 921.51
shared table definiti 2,040 5,920 190.20
shared trigger defini 1,888 2,208 16.95
shared trigger inform 1,108 1,324 19.49
shared trigger source 160 1,168 630.00
buffer_cache 142,606,336 142,606,336 0.00
fixed_sga 454,356 454,356 0.00
log_buffer 656,384 656,384 0.00
init.ora Parameters for DB: ST011 Instance: st011 Snaps: 41 -62
End value
Parameter Name Begin value (if different)
background_dump_dest E:\oracle\admin\ST011\bdump
compatible 9.2.0.1.0
control_files E:\oracle\oradata\ST011\control01
core_dump_dest E:\oracle\admin\ST011\cdump
db_block_size 8192
db_cache_size 142606336
db_domain
db_file_multiblock_read_count 16 8
db_name ST011
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 300
hash_join_enabled TRUE
instance_name ST011
java_pool_size 33554432
job_queue_processes 0 5
large_pool_size 25165824
log_archive_dest_1 LOCATION=E:\oracle\oradata\ST011\
log_archive_format %t_%s.dbf
log_archive_start TRUE
open_cursors 300
pga_aggregate_target 109051904
processes 150
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
sga_max_size 630267604
shared_pool_size 176160768
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest E:\oracle\admin\ST011\udump
End of ReportFrederic's right... you're summing up too many statspacks ..
Can't see anything specific apart from the fact that Statspack itself is showing up in the top statements.
First : define 'Slow' . What is your goal for 'Ok' ?
Start thinking about sql_trace, tkprof and 10046 traces -
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 -
What are the best solutions for data warehouse configuration in 10gR2
I need help on solutions to be provided to my Client for upgrading the data warehouse.
Current Configuration: Oracle database 9.2.0.8. This database contains the data warehouse and one more data mart on the same host.Sizes are respectively 6 Terabyte(retention policy of 3 years+current year) and 1 Terabyte. The ETL tool and BO Reporting tools are also hosted on the same host. This current configuration is really performing poor.
Client cannot go for a major architectural or configuration changes to its existing environment now due to some constraints.
However, they have agreed to separate out the databases on separate hosts from the ETL tools and BO objects. Also we are planning to upgrade the database to 10gR2 to attain stability, better performance and overcome current headaches.
We cannot upgrade the database to 11g as the BO is at a version 6.5 which isn't compatible with Oracle 11g. And Client cannot afford to upgrade anything else other than the database.
So, my role is very vital in providing a perfect solution towards better performance and take a successful migration of Oracle Database from one host to another (similar platform and OS) in addition to upgrade.
I have till now thought of the following:
Move the Oracle database and data mart to separate host.
The host will be the same platform, that is, HP Superdome with HP-UX 32-bit OS (we cannot change to 64-bit as ETL tool doesn't support)
Install new Oracle database 10g on the new host and move the data to it.
Exploring all new features of 10gR2 to help data warehouse, that is, SQL MODEL Clause introduction, Parallel processing, Partitioning, Data Pump, SPA to study pre and post migrations.
Also thinking of RAC to provide more better solution as our main motive is to show a tremendous performance enhancement.
I need all your help to prepare a good road map for my assignment. Please suggest.
Thanks,
TapanSGA=27.5 GB and PGA=50 MB
Also I am pasting part of STATSPACK Report, eliminating the snaps of DB bounce. Please suggest the scope of improvement in this case.
STATSPACK report for
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 582946 11-Mar-13 20:02:16 46 12.8
End Snap: 583036 12-Mar-13 18:24:24 60 118.9
Elapsed: 1,342.13 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 21,296M Std Block Size: 16K
Shared Pool Size: 6,144M Log Buffer: 16,384K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 1,343,739.01 139,883.39
Logical reads: 100,102.54 10,420.69
Block changes: 3,757.42 391.15
Physical reads: 6,670.84 694.44
Physical writes: 874.34 91.02
User calls: 1,986.04 206.75
Parses: 247.87 25.80
Hard parses: 5.82 0.61
Sorts: 1,566.76 163.10
Logons: 10.99 1.14
Executes: 1,309.79 136.35
Transactions: 9.61
% Blocks changed per Read: 3.75 Recursive Call %: 43.34
Rollback per transaction %: 3.49 Rows per Sort: 190.61
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.90 Redo NoWait %: 100.00
Buffer Hit %: 96.97 In-memory Sort %: 100.00
Library Hit %: 99.27 Soft Parse %: 97.65
Execute to Parse %: 81.08 Latch Hit %: 99.58
Parse CPU to Parse Elapsd %: 3.85 % Non-Parse CPU: 99.34
Shared Pool Statistics Begin End
Memory Usage %: 7.11 50.37
% SQL with executions>1: 62.31 46.46
% Memory for SQL w/exec>1: 26.75 13.47
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 492,062 43.66
db file sequential read 157,418,414 343,549 30.49
library cache pin 92,339 66,759 5.92
PX qref latch 63,635 43,845 3.89
db file scattered read 2,506,806 41,677 3.70
Background Wait Events for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
log file sequential read 176,386 0 3,793 22 0.2
log file parallel write 2,685,833 0 1,813 1 3.5
db file parallel write 239,166 0 1,350 6 0.3
control file parallel write 33,432 0 79 2 0.0
LGWR wait for redo copy 478,120 536 75 0 0.6
rdbms ipc reply 10,027 0 47 5 0.0
control file sequential read 32,414 0 40 1 0.0
db file scattered read 4,101 0 30 7 0.0
db file sequential read 13,946 0 29 2 0.0
direct path read 203,694 0 14 0 0.3
log buffer space 363 0 13 37 0.0
latch free 3,766 0 9 2 0.0
direct path write 80,491 0 6 0 0.1
async disk IO 351,955 0 4 0 0.5
enqueue 28 0 1 21 0.0
buffer busy waits 1,281 0 1 0 0.0
log file single write 172 0 0 1 0.0
rdbms ipc message 10,563,204 251,286 992,837 94 13.7
pmon timer 34,751 34,736 78,600 2262 0.0
smon timer 7,462 113 76,463 10247 0.0
Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
Statistic Total per Second per Trans
CPU used by this session 49,206,154 611.0 63.6
CPU used when call started 49,435,735 613.9 63.9
CR blocks created 6,740,777 83.7 8.7
Cached Commit SCN referenced 423,253,503 5,256.0 547.2
Commit SCN cached 19,165 0.2 0.0
DBWR buffers scanned 48,276,489 599.5 62.4
DBWR checkpoint buffers written 6,959,752 86.4 9.0
DBWR checkpoints 454 0.0 0.0
DBWR free buffers found 44,817,183 556.5 57.9
DBWR lru scans 137,149 1.7 0.2
DBWR make free requests 162,528 2.0 0.2
DBWR revisited being-written buff 4,220 0.1 0.0
DBWR summed scan depth 48,276,489 599.5 62.4
DBWR transaction table writes 5,036 0.1 0.0
DBWR undo block writes 2,989,436 37.1 3.9
DDL statements parallelized 3,723 0.1 0.0
DFO trees parallelized 4,157 0.1 0.0
DML statements parallelized 3 0.0 0.0
OS Block input operations 29,850 0.4 0.0
OS Block output operations 1,591 0.0 0.0
OS Characters read/written 182,109,814,791 2,261,447.1 235,416.9
OS Integral unshared data size ################## 242,463,432.4 ############
OS Involuntary context switches 188,257,786 2,337.8 243.4
OS Maximum resident set size 43,518,730,619 540,417.4 56,257.5
OS Page reclaims 159,430,953 1,979.8 206.1
OS Signals received 5,260,938 65.3 6.8
OS Socket messages received 79,438,383 986.5 102.7
OS Socket messages sent 93,064,176 1,155.7 120.3
OS System time used 10,936,430 135.8 14.1
OS User time used 132,043,884 1,639.7 170.7
OS Voluntary context switches 746,207,739 9,266.4 964.6
PX local messages recv'd 55,120,663 684.5 71.3
PX local messages sent 55,120,817 684.5 71.3
Parallel operations downgraded 1 3 0.0 0.0
Parallel operations not downgrade 4,154 0.1 0.0
SQL*Net roundtrips to/from client 155,422,335 1,930.0 200.9
SQL*Net roundtrips to/from dblink 18 0.0 0.0
active txn count during cleanout 16,529,551 205.3 21.4
background checkpoints completed 43 0.0 0.0
background checkpoints started 43 0.0 0.0
background timeouts 280,202 3.5 0.4
branch node splits 4,428 0.1 0.0
buffer is not pinned count 6,382,440,322 79,257.4 8,250.7
buffer is pinned count 9,675,661,370 120,152.8 12,507.9
bytes received via SQL*Net from c 67,384,496,376 836,783.4 87,109.3
bytes received via SQL*Net from d 6,142 0.1 0.0
bytes sent via SQL*Net to client 50,240,643,657 623,890.4 64,947.1
bytes sent via SQL*Net to dblink 3,701 0.1 0.0
calls to get snapshot scn: kcmgss 145,385,064 1,805.4 187.9
calls to kcmgas 36,816,132 457.2 47.6
calls to kcmgcs 3,514,770 43.7 4.5
change write time 369,373 4.6 0.5
cleanout - number of ktugct calls 20,954,488 260.2 27.1
cleanouts and rollbacks - consist 6,357,174 78.9 8.2
cleanouts only - consistent read 10,078,802 125.2 13.0
cluster key scan block gets 69,403,565 861.9 89.7
Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
Statistic Total per Second per Trans
cluster key scans 41,311,211 513.0 53.4
commit cleanout failures: block l 413,776 5.1 0.5
commit cleanout failures: buffer 414 0.0 0.0
commit cleanout failures: callbac 41,194 0.5 0.1
commit cleanout failures: cannot 174,382 2.2 0.2
commit cleanouts 11,469,056 142.4 14.8
commit cleanouts successfully com 10,839,290 134.6 14.0
commit txn count during cleanout 17,155,424 213.0 22.2
consistent changes 145,418,277 1,805.8 188.0
consistent gets 8,043,252,188 99,881.4 10,397.7
consistent gets - examination 3,180,028,047 39,489.7 4,110.9
current blocks converted for CR 9 0.0 0.0
cursor authentications 14,926 0.2 0.0
data blocks consistent reads - un 143,706,500 1,784.6 185.8
db block changes 302,577,666 3,757.4 391.2
db block gets 336,562,217 4,179.4 435.1
deferred (CURRENT) block cleanout 2,912,793 36.2 3.8
dirty buffers inspected 627,174 7.8 0.8
enqueue conversions 1,296,337 16.1 1.7
enqueue releases 13,053,200 162.1 16.9
enqueue requests 13,239,092 164.4 17.1
enqueue timeouts 185,878 2.3 0.2
enqueue waits 114,120 1.4 0.2
exchange deadlocks 7,390 0.1 0.0
execute count 105,475,101 1,309.8 136.4
free buffer inspected 1,604,407 19.9 2.1
free buffer requested 258,126,047 3,205.4 333.7
hot buffers moved to head of LRU 22,793,576 283.1 29.5
immediate (CR) block cleanout app 16,436,010 204.1 21.3
immediate (CURRENT) block cleanou 2,860,013 35.5 3.7
index fast full scans (direct rea 12,375 0.2 0.0
index fast full scans (full) 3,733 0.1 0.0
index fast full scans (rowid rang 192,148 2.4 0.3
index fetch by key 1,321,024,486 16,404.5 1,707.7
index scans kdiixs1 406,165,684 5,043.8 525.1
leaf node 90-10 splits 50,373 0.6 0.1
leaf node splits 697,235 8.7 0.9
logons cumulative 884,756 11.0 1.1
messages received 3,276,719 40.7 4.2
messages sent 3,257,171 40.5 4.2
no buffer to keep pinned count 569 0.0 0.0
no work - consistent read gets 4,406,092,172 54,715.0 5,695.8
opened cursors cumulative 20,527,704 254.9 26.5
parse count (failures) 267,088 3.3 0.4
parse count (hard) 468,996 5.8 0.6
parse count (total) 19,960,548 247.9 25.8
parse time cpu 323,024 4.0 0.4
parse time elapsed 8,393,422 104.2 10.9
physical reads 537,189,332 6,670.8 694.4
physical reads direct 292,545,140 3,632.8 378.2
physical writes 70,409,002 874.3 91.0
physical writes direct 59,248,394 735.8 76.6
physical writes non checkpoint 69,103,391 858.1 89.3
pinned buffers inspected 11,893 0.2 0.0
prefetched blocks 95,892,161 1,190.8 124.0
prefetched blocks aged out before 1,495,883 18.6 1.9
Instance Activity Stats for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
Statistic Total per Second per Trans
process last non-idle time ################## ############## ############
queries parallelized 417 0.0 0.0
recursive calls 122,323,299 1,519.0 158.1
recursive cpu usage 3,144,533 39.1 4.1
redo blocks written 180,881,558 2,246.2 233.8
redo buffer allocation retries 5,400 0.1 0.0
redo entries 164,728,513 2,045.6 213.0
redo log space requests 1,006 0.0 0.0
redo log space wait time 2,230 0.0 0.0
redo ordering marks 2,563 0.0 0.0
redo size 108,208,614,904 1,343,739.0 139,883.4
redo synch time 558,520 6.9 0.7
redo synch writes 2,343,824 29.1 3.0
redo wastage 1,126,585,600 13,990.0 1,456.4
redo write time 718,655 8.9 0.9
redo writer latching time 7,763 0.1 0.0
redo writes 2,685,833 33.4 3.5
rollback changes - undo records a 522,742 6.5 0.7
rollbacks only - consistent read 335,177 4.2 0.4
rows fetched via callback 1,100,990,382 13,672.1 1,423.3
session connect time ################## ############## ############
session cursor cache count 1,061 0.0 0.0
session cursor cache hits 1,687,796 21.0 2.2
session logical reads 8,061,057,193 100,102.5 10,420.7
session pga memory 1,573,228,913,832 19,536,421.0 2,033,743.8
session pga memory max 1,841,357,626,496 22,866,054.4 2,380,359.0
session uga memory 1,074,114,630,336 13,338,399.4 1,388,529.0
session uga memory max 386,645,043,296 4,801,374.0 499,823.6
shared hash latch upgrades - no w 410,360,146 5,095.9 530.5
sorts (disk) 2,657 0.0 0.0
sorts (memory) 126,165,625 1,566.7 163.1
sorts (rows) 24,048,783,304 298,638.8 31,088.3
summed dirty queue length 5,438,201 67.5 7.0
switch current to new buffer 1,302,798 16.2 1.7
table fetch by rowid 6,201,503,534 77,010.5 8,016.8
table fetch continued row 26,649,697 330.9 34.5
table scan blocks gotten 1,864,435,032 23,152.6 2,410.2
table scan rows gotten 43,639,997,280 541,923.3 56,414.3
table scans (cache partitions) 26,112 0.3 0.0
table scans (direct read) 246,243 3.1 0.3
table scans (long tables) 340,200 4.2 0.4
table scans (rowid ranges) 359,617 4.5 0.5
table scans (short tables) 9,111,559 113.2 11.8
transaction rollbacks 4,819 0.1 0.0
transaction tables consistent rea 824 0.0 0.0
transaction tables consistent rea 1,386,848 17.2 1.8
user calls 159,931,913 1,986.0 206.8
user commits 746,543 9.3 1.0
user rollbacks 27,020 0.3 0.0
write clones created in backgroun 7 0.0 0.0
write clones created in foregroun 4,350 0.1 0.0
Buffer Pool Statistics for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 774,144 95.6############ 233,869,082 10,089,734 0 0########
K 504,000 99.9############ 3,260,227 1,070,338 0 0 65,898
R 63,504 96.2 196,079,539 7,511,863 535 0 0 0
Buffer wait Statistics for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
data block 7,791,121 14,676 2
file header block 587 101 172
undo header 151,617 71 0
segment header 299,312 58 0
1st level bmb 45,235 7 0
bitmap index block 392 1 3
undo block 4,250 1 0
2nd level bmb 14 0 0
system undo header 2 0 0
3rd level bmb 1 0 0
Latch Activity for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
->"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 Requests Miss /Miss (s) Requests Miss
Consistent RBA 2,686,230 0.0 0.2 0 0
FAL request queue 86 0.0 0 0
FAL subheap alocation 0 0 2 0.0
FIB s.o chain latch 1,089 0.0 0 0
FOB s.o list latch 4,589,986 0.5 0.0 2 0
NLS data objects 1 0.0 0 0
SQL memory manager worka 5,963 0.0 0 0
Token Manager 0 0 2 0.0
active checkpoint queue 719,439 0.3 0.1 0 1 0.0
alert log latch 184 0.0 0 2 0.0
archive control 4,365 0.0 0 0
archive process latch 1,808 0.6 0.6 0 0
begin backup scn array 3,387,572 0.0 0.0 0 0
cache buffer handles 1,577,222 0.2 0.0 0 0
cache buffers chains ############## 0.5 0.0 430 354,357,972 0.3
cache buffers lru chain 17,153,023 0.1 0.0 1 385,505,654 0.5
cas latch 538,804,153 0.3 0.0 7 0
channel handle pool latc 1,776,950 0.5 0.0 0 0
channel operations paren 2,901,371 0.3 0.0 0 0
checkpoint queue latch 99,329,722 0.0 0.0 0 11,153,369 0.1
child cursor hash table 3,927,427 0.0 0.0 0 0
commit callback allocati 8,739 0.0 0 0
dictionary lookup 7,980 0.0 0 0
dml lock allocation 6,767,990 0.1 0.0 0 0
dummy allocation 1,898,183 0.2 0.1 0 0
enqueue hash chains 27,741,348 0.1 0.1 4 0
enqueues 17,450,161 0.3 0.1 6 0
error message lists 132,828 2.6 0.2 1 0
event group latch 884,066 0.0 0.7 0 0
event range base latch 1 0.0 0 0
file number translation 34 38.2 0.9 0 0
global tx hash mapping 577,859 0.0 0 0
hash table column usage 4,062 0.0 0 8,757,234 0.0
hash table modification 16 0.0 0 2 0.0
i/o slave adaptor 0 0 2 0.0
job workq parent latch 4 100.0 0.3 0 494 8.7
job_queue_processes para 1,950 0.0 0 2 0.0
ksfv messages 0 0 4 0.0
ktm global data 8,219 0.0 0 0
lgwr LWN SCN 2,687,862 0.0 0.0 0 0
library cache 310,882,781 0.9 0.0 34 104,759 4.0
library cache load lock 30,369 0.0 0.3 0 0
library cache pin 153,821,358 0.1 0.0 2 0
library cache pin alloca 126,316,296 0.1 0.0 4 0
list of block allocation 2,730,808 0.3 0.0 0 0
loader state object free 566,036 0.1 0.0 0 0
longop free list parent 197,368 0.0 0 8,390 0.0
message pool operations 14,424 0.0 0.0 0 0
messages 25,931,764 0.1 0.0 1 0
mostly latch-free SCN 40,124,948 0.3 0.0 5 0
Latch Sleep breakdown for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
cache buffers chains ############## 74,770,083 1,062,119 73803903/884
159/71439/10
582/0
redo allocation 170,107,983 3,441,055 149,631 3292872/1467
48/1426/9/0
library cache 310,882,781 2,831,747 89,240 2754499/6780
6/7405/2037/
0
shared pool 158,471,190 1,755,922 55,268 1704342/4836
9/2826/385/0
cas latch 538,804,153 1,553,992 6,927 1547125/6808
/58/1/0
row cache objects 161,142,207 1,176,998 27,658 1154070/1952
0/2560/848/0
process queue reference 1,893,917,184 1,119,215 106,454 78758/4351/1
36/0/0
Library Cache Activity for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 3,137,721 0.0 3,137,722 0.0 0 0
CLUSTER 6,741 0.1 4,420 0.2 0 0
INDEX 353,708 0.8 361,065 1.2 0 0
SQL AREA 17,052,073 0.3 54,615,678 0.9 410,682 19,628
TABLE/PROCEDURE 3,521,884 0.2 12,922,737 0.1 619 0
TRIGGER 1,975,977 0.0 1,975,977 0.0 1 0
SGA Memory Summary for DB: P7IN1 Instance: P7IN1 Snaps: 582946 -583036
SGA regions Size in Bytes
Database Buffers 22,330,474,496
Fixed Size 779,288
Redo Buffers 17,051,648
Variable Size 7,180,648,448
sum 29,528,953,880 -
Statspack interpreting help - buffer busy waits
Hi,
I've got statspack report from 9.2.0.8 DB, cpu_count = 12 , there is 'buffer busy waits' in top 5 .
Is there a problem ?
DB Name DB Id Instance Inst Num Release Cluster Host
XXXX 138180125 XXXX 1 9.2.0.8.0 NO X1
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 35980 14-Jul-10 01:00:02 17 8.8
End Snap: 35984 14-Jul-10 05:00:01 17 8.8
Elapsed: 239.98 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 3,072M Std Block Size: 8K
Shared Pool Size: 512M Log Buffer: 4,096K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 317,746.23 4,498.59
Logical reads: 11,150.77 157.87
Block changes: 2,134.89 30.23
Physical reads: 466.05 6.60
Physical writes: 133.62 1.89
User calls: 82.42 1.17
Parses: 67.92 0.96
Hard parses: 0.02 0.00
Sorts: 106.77 1.51
Logons: 0.03 0.00
Executes: 516.58 7.31
Transactions: 70.63
% Blocks changed per Read: 19.15 Recursive Call %: 95.00
Rollback per transaction %: 0.00 Rows per Sort: 4.34
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.03 Redo NoWait %: 100.00
Buffer Hit %: 95.91 In-memory Sort %: 100.00
Library Hit %: 100.00 Soft Parse %: 99.98
Execute to Parse %: 86.85 Latch Hit %: 99.65
Parse CPU to Parse Elapsd %: 7.82 % Non-Parse CPU: 99.91
Shared Pool Statistics Begin End
Memory Usage %: 43.53 43.92
% SQL with executions>1: 64.89 70.00
% Memory for SQL w/exec>1: 55.95 61.64
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
SQL*Net message from dblink 797,760 44,575 41.69
PL/SQL lock timer 1,207 34,992 32.73
db file sequential read 3,297,249 17,047 15.94
buffer busy waits 1,558,995 3,987 3.73
CPU time 3,204 3.00
Statistic Total per Second per Trans
enqueue timeouts 299 0.0 0.0
enqueue waits 425 0.0 0.0
exchange deadlocks 41 0.0 0.0
execute count 7,438,297 516.6 7.3
failed probes on index block recl 13 0.0 0.0
free buffer inspected 107,385 7.5 0.1
free buffer requested 7,344,870 510.1 7.2
hot buffers moved to head of LRU 2,332,802 162.0 2.3
immediate (CR) block cleanout app 356,492 24.8 0.4
immediate (CURRENT) block cleanou 1,751,731 121.7 1.7
index crx upgrade (found) 7 0.0 0.0
index crx upgrade (positioned) 25,604 1.8 0.0
index fast full scans (full) 888 0.1 0.0
index fetch by key 6,008,269 417.3 5.9
index scans kdiixs1 2,343,163 162.7 2.3
leaf node 90-10 splits 330 0.0 0.0
leaf node splits 13,681 1.0 0.0
logons cumulative 447 0.0 0.0
messages received 2,760,503 191.7 2.7
messages sent 2,760,503 191.7 2.7
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 89,143,249 6,190.9 87.7
opened cursors cumulative 978,462 68.0 1.0
parse count (failures) 0 0.0 0.0
parse count (hard) 243 0.0 0.0
parse count (total) 977,939 67.9 1.0
parse time cpu 276 0.0 0.0
parse time elapsed 3,531 0.3 0.0
physical reads 6,710,684 466.1 6.6
physical reads direct 140,520 9.8 0.1
physical writes 1,924,011 133.6 1.9
physical writes direct 149,434 10.4 0.2
physical writes non checkpoint 1,160,293 80.6 1.1
pinned buffers inspected 88,165 6.1 0.1
prefetched blocks 2,965,135 205.9 2.9
prefetched blocks aged out before 1,485 0.1 0.0
process last non-idle time 14,401 1.0 0.0
recovery blocks read 0 0.0 0.0
recursive calls 22,566,381 1,567.2 22.2
recursive cpu usage 314,662 21.9 0.3
redo blocks written 9,712,190 674.5 9.6
redo buffer allocation retries 483 0.0 0.0
redo entries 17,147,344 1,190.9 16.9
redo log space requests 760 0.1 0.0
redo log space wait time 1,255 0.1 0.0
redo ordering marks 21 0.0 0.0
redo size 4,575,228,028 317,746.2 4,498.6
redo synch time 73,190 5.1 0.1
redo synch writes 333,440 23.2 0.3
redo wastage 240,517,096 16,703.7 236.5
redo write time 136,628 9.5 0.1
redo writer latching time 56 0.0 0.0
redo writes 865,653 60.1 0.9
rollback changes - undo records a 60,510 4.2 0.1
rows fetched via callback 3,948,006 274.2 3.9
session connect time 0 0.0 0.0
Statistic Total per Second per Trans
session logical reads 160,559,938 11,150.8 157.9
session pga memory 223,020,424 15,488.6 219.3
session pga memory max 841,058,240 58,410.9 827.0
session uga memory 682,912,005,944 47,427,738.5 671,472.1
session uga memory max 505,627,192 35,115.4 497.2
shared hash latch upgrades - no w 1,661,152 115.4 1.6
shared hash latch upgrades - wait 101 0.0 0.0
sorts (disk) 2 0.0 0.0
sorts (memory) 1,537,403 106.8 1.5
sorts (rows) 6,669,072 463.2 6.6
summed dirty queue length 71,613 5.0 0.1
switch current to new buffer 80,971 5.6 0.1
table fetch by rowid 79,047,167 5,489.8 77.7
table fetch continued row 5,013,545 348.2 4.9
table scan blocks gotten 10,328,271 717.3 10.2
table scan rows gotten 381,848,913 26,519.1 375.5
table scans (long tables) 82 0.0 0.0
table scans (short tables) 1,117,114 77.6 1.1
transaction rollbacks 32,437 2.3 0.0
transaction tables consistent rea 39 0.0 0.0
transaction tables consistent rea 82,904 5.8 0.1
user calls 1,186,828 82.4 1.2
user commits 1,017,037 70.6 1.0
user rollbacks 0 0.0 0.0
workarea executions - onepass 7 0.0 0.0
workarea executions - optimal 2,291,005 159.1 2.3
write clones created in backgroun 3 0.0 0.0
write clones created in foregroun 711 0.1 0.0
Class Waits Time (s) Time (ms)
data block 1,549,301 4,015 3
segment header 253 1 2
undo block 2,574 0 0
undo header 2,209 0 0
extent map 2 0 5
Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
TX 1,749,961 1,749,961 0 202 6.47 1
HW 20,789 20,789 0 223 .40 0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
Consistent RBA 866,126 0.0 0.0 0 0
FIB s.o chain latch 594 0.0 0 0
FOB s.o list latch 2,891 0.0 0.0 0 0
SQL memory manager latch 4 0.0 0 4,793 0.0
SQL memory manager worka 3,266,221 0.0 0.0 0 0
active checkpoint queue 1,905,423 0.5 0.0 0 0
archive control 28 0.0 0 0
cache buffer handles 12,070 0.0 0 0
cache buffers chains 387,508,854 0.6 0.0 134 11,212,815 0.1
cache buffers lru chain 1,946,036 0.0 0.0 0 14,681,284 0.2
channel handle pool latc 668 0.0 0 0
channel operations paren 12,460 0.0 0.0 0 0
checkpoint queue latch 209,244,852 0.0 0.0 0 1,775,314 0.0
child cursor hash table 3,240 0.7 0.0 0 0
commit callback allocati 16 0.0 0 0
dictionary lookup 13 0.0 0 0
dml lock allocation 5,900,238 0.3 0.0 0 0
dummy allocation 894 0.2 0.0 0 0
enqueue hash chains 19,444,854 0.1 0.0 0 0
enqueues 9,380,299 0.7 0.0 0 0
event group latch 288 0.0 0 0
event range base latch 3 0.0 0 0
global tx hash mapping 4,988,645 0.0 0.0 0 0
hash table column usage 82 0.0 0 1,783 0.0
job workq parent latch 1 100.0 0.0 0 242 15.3
job_queue_processes para 287 0.0 0 0
ktm global data 265 0.0 0 0
lgwr LWN SCN 868,053 0.1 0.0 0 0
library cache 29,540,874 0.1 0.0 0 37 0.0
library cache load lock 102 0.0 0 0
library cache pin 24,145,848 0.0 0.0 0 0
library cache pin alloca 3,988,997 0.0 0.0 0 0
list of block allocation 363,684 0.0 0.0 0 0
loader state object free 912 0.0 0 0
longop free list parent 479 0.0 0 60 1.7
message pool operations 100 1.0 0.0 0 0
messages 8,036,523 0.3 0.0 0 0
mostly latch-free SCN 878,016 1.0 0.0 0 0
multiblock read objects 922,048 0.1 0.0 0 0
ncodef allocation latch 230 0.0 0 0
object stats modificatio 2,100 0.0 0 0
post/wait queue 709,603 0.0 0.0 0 334,338 0.0
process allocation 576 0.0 0 288 0.0
process group creation 576 0.2 0.0 0 0
redo allocation 18,881,467 0.7 0.0 0 0
redo copy 0 0 17,155,579 0.1
redo writing 4,513,716 0.2 0.0 0 0
resumable state object 48 0.0 0 0
row cache enqueue latch 3,556,148 0.1 0.0 0 0
row cache objects 6,671,783 0.1 0.0 0 0
Pct Avg Wait Pct
Get Get Slps Time NoWait NoWait
Latch Requests Miss /Miss (s) Requests Miss
sequence cache 1,533,482 0.0 0.0 0 0
session allocation 15,194,281 0.1 0.0 0 0
session idle bit 3,005,477 0.0 0.0 0 0
session switching 230 0.0 0 0
session timer 4,825 0.0 0 0
shared pool 2,114,153 0.0 0.0 0 0
sim partition latch 0 0 10,243 0.6
simulator hash latch 8,460,492 0.0 0.0 0 0
simulator lru latch 223,868 0.0 0.3 0 470,589 0.1
sort extent pool 1,823 0.5 0.0 0 0
temporary table state ob 16 0.0 0 0
transaction allocation 533,964 0.0 0 0
transaction branch alloc 1,259,723 0.1 0.0 0 0
undo global data 17,460,173 0.0 0.0 0 14,976 0.0
user lock 906 0.1 0.0 0 0
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
cache buffers chains 387,508,854 2,447,832 12,701 2435135/1269
3/4/0/0
redo allocation 18,881,467 131,460 343 131118/341/1
/0/0
enqueues 9,380,299 62,436 122 62314/122/0/
0/0
library cache 29,540,874 38,344 80 38264/80/0/0
/0
messages 8,036,523 25,266 28 25238/28/0/0
/0
dml lock allocation 5,900,238 19,220 25 19195/25/0/0
/0
enqueue hash chains 19,444,854 10,510 27 10483/27/0/0
/0
active checkpoint queue la 1,905,423 9,896 36 9860/36/0/0/
0
library cache pin 24,145,848 8,451 17 8434/17/0/0/
0
mostly latch-free SCN 878,016 8,423 17 8406/17/0/0/
0
session allocation 15,194,281 8,290 33 8257/33/0/0/
0
redo writing 4,513,716 7,235 13 7222/13/0/0/
0
undo global data 17,460,173 4,113 8 4105/8/0/0/0
row cache objects 6,671,783 3,680 4 3676/4/0/0/0
row cache enqueue latch 3,556,148 2,015 1 2014/1/0/0/0
checkpoint queue latch 209,244,852 1,756 6 1750/6/0/0/0
transaction branch allocat 1,259,723 1,236 7 1229/7/0/0/0
shared pool 2,114,153 808 2 806/2/0/0/0
library cache pin allocati 3,988,997 649 1 648/1/0/0/0
cache buffers lru chain 1,946,036 588 13 575/13/0/0/0
multiblock read objects 922,048 469 8 461/8/0/0/0
sequence cache 1,533,482 333 1 332/1/0/0/0
session idle bit 3,005,477 97 1 96/1/0/0/0
Consistent RBA 866,126 55 1 54/1/0/0/0
simulator lru latch 223,868 33 9 24/9/0/0/0
post/wait queue 709,603 27 1 26/1/0/0/0
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
active checkpoint queue kcbbacq: scan active check 0 36 36
cache buffers chains kcbgtcr: kslbegin excl 0 10,706 10,084
cache buffers chains kcbrls: kslbegin 0 937 1,577
cache buffers chains kcbzwb 0 371 388
cache buffers chains kcbgtcr: fast path 0 223 174
cache buffers chains kcbgcur: kslbegin 0 86 114
cache buffers chains kcbget: pin buffer 0 57 47
cache buffers chains kcbzib: finish free bufs 0 54 27
cache buffers chains kcbchg: kslbegin: bufs not 0 52 89
cache buffers chains kcbnlc 0 46 37
cache buffers chains kcbzgb: scan from tail. no 0 42 0
cache buffers chains kcbzib: multi-block read: 0 25 0
cache buffers chains kcbget: exchange rls 0 12 3
cache buffers chains kcbchg: kslbegin: call CR 0 12 80
cache buffers chains kcbget: exchange 0 10 8
cache buffers chains kcbnew 0 9 0
cache buffers chains kcbcge 0 1 0
cache buffers chains kcbgtcr 0 1 0
cache buffers chains kcbbxsv 0 1 16
cache buffers chains kcbkzs 0 1 3
cache buffers chains kcbbic2 0 1 2
cache buffers chains kcbbic1 0 1 5
cache buffers lru chain kcbzgb: multiple sets nowa 10,344 10 0
cache buffers lru chain kcbbiop: lru scan 112 3 0
checkpoint queue latch kcbklbc: Link buffer into 0 6 0
dml lock allocation ktaiam 0 15 16
dml lock allocation ktaidm 0 10 9
enqueue hash chains ksqgtl3 0 17 11
enqueue hash chains ksqrcl 0 9 15
enqueue hash chains ksqcnl 0 1 1
enqueues ksqdel 0 60 50
enqueues ksqgel: create enqueue 0 60 56
enqueues ksqies 0 2 16
lgwr LWN SCN kcs023 0 9 0
library cache kglpnc: child 0 29 29
library cache kglupc: child 0 25 22
library cache kgllkdl: child: cleanup 0 11 2
library cache kglpndl: child: before pro 0 5 4
library cache kglhdgn: child: 0 3 13
library cache kglhdgc: child: 0 2 1
library cache kglpndl: child: after proc 0 2 0
library cache kgldte: child 0 0 1 2
library cache kglpin: child: heap proces 0 1 0
library cache kglobpn: child: 0 1 5
library cache pin kglpndl 0 6 1
library cache pin kglpnc: child 0 6 8
library cache pin kglupc 0 5 4
library cache pin alloca kglpnal 0 1 1
messages ksarcv 0 12 5
messages ksarcv: after wait 0 8 19
messages ksaamb: after wakeup 0 8 4
mostly latch-free SCN kcslcu3 0 8 17
mostly latch-free SCN kcsnew_scn_rba 0 1 0
Latch Name Where Misses Sleeps Sleeps
multiblock read objects kcbzib: mbr get 0 4 4
multiblock read objects kcbzib: normal mbr free 0 4 4
post/wait queue ksliwat:add:nowait 0 1 0
redo allocation kcrfwr 0 322 248
redo allocation kcrfwi: more space 0 14 88
redo allocation kcrfwi: before write 0 7 7
redo writing kcrfwcr 0 9 12
redo writing kcrfwint: rba scn pair 0 2 0
redo writing kcrfwint: after write 0 2 6
row cache enqueue latch kqreqa 0 1 1
row cache objects kqrpre: find obj 0 3 1
row cache objects kqrpfl: not dirty 0 1 1
sequence cache kdnss 0 1 1
session allocation ksuprc 0 14 5
session allocation ksudlc 0 10 7
session allocation ksucri 0 6 14
session allocation ksuxds: not user session 0 3 7
session idle bit ksupuc: clear busy 0 1 0
shared pool kghalo 0 1 0
shared pool kghupr1 0 1 2
simulator lru latch kcbs_simulate: simulate se 0 8 9
simulator lru latch kcbs_lookup_setid 0 1 0
transaction branch alloc ktcbba 0 4 2
transaction branch alloc ktcbod 0 2 3
transaction branch alloc ksupuc 0 1 2
undo global data ktudba: KSLBEGIN 0 8 7
Top 5 Logical Reads per Segment for DB: XXXXX Instance: XXXXX Snaps: 35980
-> End Segment Logical Reads Threshold: 10000
Subobject Obj. Logical
Owner Tablespace Object Name Name Type Reads %Total
xxxxxxxx XXXXXDATA TAB1TABLE TABLE 39,838,592 37.65
Top 5 Physical Reads per Segment for DB: XXXXX Instance: XXXXX Snaps: 3598
-> End Segment Physical Reads Threshold: 1000
Subobject Obj. Physical
Owner Tablespace Object Name Name Type Reads %Total
xxxxxxxx XXXXXDATA TAB1TABLE TABLE 3,568,038 58.64
Top 5 Buf. Busy Waits per Segment for DB: XXXXX Instance: XXXXX Snaps: 359
-> End Segment Buffer Busy Waits Threshold: 100
Buffer
Subobject Obj. Busy
Owner Tablespace Object Name Name Type Waits %Total
xxxxxxxx XXXXXDATA TAB1TABLE 1,421,043 91.65
xxxxxxxx XXXXXDATA IDX_SOMEIDX INDEX 62,638 4.04
xxxxxxxx XXXXXTABLE TABLE 26,914 1.74
----------So, for me It looks like :
TAB1TABLE is buffer busy deliver but there are no inserts reported for that table,
I've checked that TAB1TABLE tablespace is NO ASSM and extent management is local with uniform size 1M .
So this is not obvious free list problem . Kind of strange for me .
Any ideas greatly appreciated :).
Regards.
Greguser10388717 wrote:
Hi,
I've got statspack report from 9.2.0.8 DB, cpu_count = 12 , there is 'buffer busy waits' in top 5 .
Is there a problem ?
DB Name DB Id Instance Inst Num Release Cluster Host
XXXX 138180125 XXXX 1 9.2.0.8.0 NO X1
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 35980 14-Jul-10 01:00:02 17 8.8
End Snap: 35984 14-Jul-10 05:00:01 17 8.8
Elapsed: 239.98 (mins)
----------So, for me It looks like :
TAB1TABLE is buffer busy deliver but there are no inserts reported for that table,
I've checked that TAB1TABLE tablespace is NO ASSM and extent management is local with uniform size 1M .
So this is not obvious free list problem . Kind of strange for me .
Any ideas greatly appreciated :).We can't tell if you have a problem - only you (or your users) can know.
But you've shown us a statspack snapshot covering 4 hours and in that time you've reported about 30 hours of database time (sum foreground "in-database" waits and CPU), with a fairly small number of sessions which (allowing for background sessions) means most of your foreground sessions seem to be working pretty much non-stop for the entire period. I could take a guess and say that you would like some of the work that they're doing completed sooner.
The largest fraction of your time goes into waiting for messages from db link, with an average time of 55ms - maybe you have a network problem, maybe you have a query that has a bad choice of execution path that is doing lots of unnecessary trips to the remote db, maybe the queries that get to the remote db could be made much more efficient. (Look for 'sql ordered by executions' in a statspack from the remote db for clues).
pl/sql lock timer is the next big chunk of time - but this is deliberately coded waits in pl/sql (dbms_lock.sleep) maybe that's supposed to be happening, but you could check the logic to see if some "slow" processes are actually coded to sleep much longer than necessary.
Your db file sequential reads (single block reads) are, on average taking 5.5 ms - which is reasonable, so you have to ask if the number (and we know which table a lot of them are hitting) is reasonable. This brings us to your buffer busy waits: these can be caused by updates and deletes as well as inserts, but in 9i they are also caused by "read by other session" - so the buffer busy wait may simple be one session waiting for another session to complete a db file sequential read.
I'd look at your "SQL ordered by Reads" to see if you have some inefficient execution plans (or poorly defined indexes) that result in large amounts of the critical table being constantly re-read. It's possible that you can eliminate redundant visits to this table and reduce your I/O, BBW, and CPU in one shot.
Regards
Jonathan Lewis -
Hello,
The system we use is a kind of OLTP thing.
platform - linux
version - 10.2
here, in the statspack everything seems okay to me except the logical reads.(if not tell)
the problems is, the cpu grows gradually and reaches 100.
i need the cpu to be steady.
can somebody tell what is happening here?
STATSPACK report for
Database DB Id Instance Inst Num Startup Time Release RAC
~~~~~~~~ ----------- ------------ -------- --------------- ----------- ---
2386172435 apple22a 1 11-Aug-09 23:14 10.2.0.1.0 NO
Host Name: xxxxxxxxx Num CPUs: 4 Phys Memory (MB): 2
~~~~
Snapshot Snap Id Snap Time Sessions Curs/Sess Comment
~~~~~~~~ ---------- ------------------ -------- --------- -------------------
Begin Snap: 1747 11-Aug-09 23:23:46 96 7.6
End Snap: 1752 11-Aug-09 23:34:00 218 12.5
Elapsed: 10.23 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 2,864M Std Block Size: 8K
Shared Pool Size: 656M Log Buffer: 29,855K
Load Profile Per Second Per Transaction
~~~~~~~~~~~~ --------------- ---------------
Redo size: 8,051,891.15 5,042.02
Logical reads: 289,821.64 181.48
Block changes: 49,889.55 31.24
Physical reads: 197.76 0.12
Physical writes: 717.84 0.45
User calls: 1,908.82 1.20
Parses: 962.84 0.60
Hard parses: 0.25 0.00
Sorts: 591.85 0.37
Logons: 0.35 0.00
Executes: 25,757.48 16.13
Transactions: 1,596.96
% Blocks changed per Read: 17.21 Recursive Call %: 94.11
Rollback per transaction %: 26.58 Rows per Sort: 628.58
Instance Efficiency Percentages
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.97 Redo NoWait %: 100.00
Buffer Hit %: 99.93 In-memory Sort %: 100.00
Library Hit %: 100.01 Soft Parse %: 99.97
Execute to Parse %: 96.26 Latch Hit %: 99.78
Parse CPU to Parse Elapsd %: 91.30 % Non-Parse CPU: 99.31
Shared Pool Statistics Begin End
Memory Usage %: 47.56 49.99
% SQL with executions>1: 60.62 73.55
% Memory for SQL w/exec>1: 77.58 84.79
Top 5 Timed Events Avg %Total
~~~~~~~~~~~~~~~~~~ wait Call
Event Waits Time (s) (ms) Time
CPU time 1,362 31.6
log file sync 16,960 1,264 75 29.4
PL/SQL lock timer 10 586 58606 13.6
buffer busy waits 57,444 388 7 9.0
enq: TX - row lock contention 12,036 298 25 6.9
Host CPU (CPUs: 4)
~~~~~~~~ Load Average
Begin End User System Idle WIO WCPU
0.20 10.74 53.82 9.51 36.67
Note: There is a 8% discrepancy between the OS Stat total CPU time and
the total CPU time estimated by Statspack
OS Stat CPU time: 2261(s) (BUSY_TIME + IDLE_TIME)
Statspack CPU time: 2456(s) (Elapsed time * num CPUs in end snap)
Instance CPU
~~~~~~~~~~~~
% of total CPU for Instance: 63.51
% of busy CPU for Instance: 100.30
%DB time waiting for CPU - Resource Mgr:
Memory Statistics Begin End
~~~~~~~~~~~~~~~~~ ------------ ------------
Host Mem (MB): 1.9 .0
SGA use (MB): 3,584.0 3,584.0
PGA use (MB): 164.2 258.5
% Host Mem used for SGA+PGA: 194875.2 8987233.1
Avg
%Time Total Wait wait Waits
Event Waits -outs Time (s) (ms) /txn
log file sync 16,960 4 1,264 75 0.0
PL/SQL lock timer 10 100 586 58606 0.0
buffer busy waits 57,444 0 388 7 0.1
enq: TX - row lock contention 12,036 0 298 25 0.0
log file parallel write 11,870 0 163 14 0.0
db file sequential read 21,324 0 95 4 0.0
log file sequential read 3,963 0 47 12 0.0
db file scattered read 22,614 0 29 1 0.0
log file switch completion 102 17 28 272 0.0
latch: cache buffers chains 5,829 0 11 2 0.0
Log archive I/O 4,346 0 9 2 0.0
enq: TX - index contention 1,153 0 7 6 0.0
latch free 1,483 0 4 3 0.0
control file parallel write 328 0 4 11 0.0
control file sequential read 1,593 0 2 1 0.0
latch: enqueue hash chains 337 0 2 6 0.0
buffer deadlock 1,091 99 2 2 0.0
Segments by Logical Reads DB/Inst: apple22A/apple22a Snaps: 1747-1752
-> End Segment Logical Reads Threshold: 10000
-> Pct Total shows % of logical reads for each top segment compared with total
logical reads for all segments captured by the Snapshot
Subobject Obj. Logical Pct
Owner Tablespace Object Name Name Type Reads Total
TPCCDB TPCCDB NEW_ORDER TABLE 89,638,240 51.4
TPCCDB TPCCDB PK_STOCK INDEX 22,913,776 13.1
TPCCDB TPCCDB PK_ORDER_LINE INDEX 14,941,264 8.6
TPCCDB TPCCDB PK_O_ORDER INDEX 10,503,040 6.0
TPCCDB TPCCDB ORDER_LINE TABLE 6,368,896 3.7
Segments by Physical Reads DB/Inst: apple22A/apple22a Snaps: 1747-1752
-> End Segment Physical Reads Threshold: 1000
Subobject Obj. Physical Pct
Owner Tablespace Object Name Name Type Reads Total
TPCCDB TPCCDB NEW_ORDER TABLE 49 12.2
TPCCDB TPCCDB WAREHOUSE TABLE 49 12.2
TPCCDB TPCCDB DISTRICT TABLE 49 12.2
TPCCDB TPCCDB INDEX_NO_D_ID INDEX 49 12.2
TPCCDB TPCCDB PK_NEW_ORDER INDEX 49 12.2
SQL Memory Statistics DB/Inst: apple22A/apple22a Snaps: 1747-1752
Begin End % Diff
Avg Cursor Size (KB): 65.12 67.79 3.95
Cursor to Parent ratio: 1.03 1.02 -.08
Total Cursors: 560 620 9.68
Total Parents: 546 605 9.75
init.ora Parameters DB/Inst: apple22A/apple22a Snaps: 1747-1752
End value
Parameter Name Begin value (if different)
aq_tm_processes 1
audit_file_dest /rdbms/oracle/apple22i/64/admin/o
background_dump_dest /rdbms/oracle/apple22i/64/admin/o
commit_write BATCH,NOWAIT
compatible 10.2.0.1.0
control_files /rdbms/oracle/apple22i/64/oradata
core_dump_dest /rdbms/oracle/apple22i/64/admin/o
cursor_sharing EXACT
db_block_size 8192
db_domain yyyyyyy
db_file_multiblock_read_count 16
db_name apple22a
db_recovery_file_dest /rdbms/oracle/apple22i/64/flash_r
db_recovery_file_dest_size 2147483648
dispatchers (PROTOCOL=TCP) (SERVICE=apple22aX
dml_locks 30028
global_names TRUE
job_queue_processes 10
log_archive_dest_1 LOCATION=/perf0/Archivelog_10g_ch
log_archive_format arch_%t_%s_%r.dbf
log_buffer 30571520
open_cursors 300
pga_aggregate_target 524288000
processes 2000
remote_login_passwordfile EXCLUSIVE
sessions 2205
sga_max_size 3758096384
sga_target 3758096384
transactions 7507
undo_management AUTO
undo_tablespace UNDOTBS1
user_dump_dest /rdbms/oracle/apple22i/64/admin/o
-------------------------------------------------------------Process Memory Summary Stats DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> B: Begin snap E: End snap
-> All rows below contain absolute values (i.e. not diffed over the interval)
-> Max Alloc is Maximum PGA Allocation size at snapshot time
Hist Max Alloc is the Historical Max Allocation for still-connected processes
-> Num Procs or Allocs: For Begin/End snapshot lines, it is the number of
processes. For Category lines, it is the number of allocations
-> ordered by Begin/End snapshot, Alloc (MB) desc
Hist Num
Avg Std Dev Max Max Procs
Alloc Used Freeabl Alloc Alloc Alloc Alloc or
Category (MB) (MB) (MB) (MB) (MB) (MB) (MB) Allocs
B -------- 192.0 95.1 8.8 2.0 6.4 51 55 97
Other 179.0 1.8 6.3 50 54 97
Freeable 8.8 .0 .8 .6 2 11
PL/SQL 2.7 1.4 .0 .0 0 0 95
SQL 2.0 1.0 .0 .0 0 2 58
E -------- 311.2 166.7 11.3 1.4 4.3 52 55 220
Other 284.0 1.3 4.1 49 52 220
Freeable 11.4 .0 1.0 1.0 3 11
PL/SQL 10.0 5.4 .0 .0 0 0 218
SQL 5.8 2.8 .0 .0 0 2 208
Top Process Memory (by component) DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> ordered by Begin/End snapshot, Alloc (MB) desc
Alloc Used Freeabl Max Hist Max
PId Category (MB) (MB) (MB) Alloc (MB) Alloc (MB)
B 5 DBW0 -------- 51.3 22.5 1.0 51.3 54.8
Other 50.3 50.3 53.8
Freeable 1.0 .0 1.0
PL/SQL .0 .0 .0 .0
6 LGWR -------- 24.7 11.7 .1 24.7 25.5
Other 24.5 24.5 25.4
Freeable .1 .0 .1
PL/SQL .0 .0 .0 .0
16 ARC0 -------- 21.9 10.3 .0 21.9 21.9
Other 21.9 21.9 21.9
PL/SQL .0 .0 .0 .0
17 ARC1 -------- 21.9 10.3 .0 21.9 21.9
Other 21.9 21.9 21.9
PL/SQL .0 .0 .0 .0
54 TNS V1-V3 --- 4.4 1.3 1.7 4.4 4.4
Other 2.6 2.6 2.6
Freeable 1.7 .0 1.7
SQL .2 .1 .2 2.3
PL/SQL .0 .0 .0 .0
11 MMON -------- 3.5 1.6 1.3 3.5 3.6
Other 2.1 2.1 2.1
Freeable 1.3 .0 1.3
SQL .1 .0 .1 1.1
PL/SQL .0 .0 .0 .1
8 SMON -------- 2.8 .7 1.9 2.8 2.8
Freeable 1.9 .0 1.9
Other .8 .8 .8
SQL .1 .0 .1 .6
PL/SQL .0 .0 .0 .0
10 CJQ0 -------- 1.6 .6 .8 1.6 1.7
Freeable .8 .0 .8
Other .7 .7 .7
SQL .1 .0 .1 .6
PL/SQL .0 .0 .0 .0
20 q000 -------- 1.6 .7 .2 1.6 1.6
Other 1.3 1.3 1.3
Freeable .2 .0 .2
SQL .1 .1 .1 .5
PL/SQL .0 .0 .0 .0
24 ------------ 1.6 .6 .3 1.6 1.6
Other 1.2 1.2 1.2
Freeable .3 .0 .3
SQL .1 .0 .1 .6
PL/SQL .1 .0 .1 .1
7 CKPT -------- 1.4 .4 .8 1.4 2.3
Freeable .8 .0 .8
Other .6 .6 1.4
SQL .0 .0 .0 .1
PL/SQL .0 .0 .0 .0
9 RECO -------- 1.2 .5 .6 1.2 1.2
Freeable .6 .0 .6
Other .5 .5 .5
SQL .1 .1 .1 .5
Top Process Memory (by component) DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> ordered by Begin/End snapshot, Alloc (MB) desc
Alloc Used Freeabl Max Hist Max
PId Category (MB) (MB) (MB) Alloc (MB) Alloc (MB)
B 9 PL/SQL .0 .0 .0 .0
21 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .0 .0 .0 .0
SQL .0 .0 .0 .2
31 ------------ 1.1 .6 .1 1.1 1.1
Other .9 .9 .9
SQL .1 .0 .1 .2
Freeable .1 .0 .1
PL/SQL .1 .0 .1 .1
E 5 DBW0 -------- 52.4 23.4 3.3 52.4 54.8
Other 49.2 49.2 51.5
Freeable 3.3 .0 3.3
PL/SQL .0 .0 .0 .0
6 LGWR -------- 24.7 11.7 .1 24.7 25.5
Other 24.5 24.5 25.4
Freeable .1 .0 .1
PL/SQL .0 .0 .0 .0
16 ARC0 -------- 21.9 10.3 .0 21.9 21.9
Other 21.9 21.9 21.9
PL/SQL .0 .0 .0 .0
17 ARC1 -------- 21.9 10.3 .0 21.9 21.9
Other 21.9 21.9 21.9
PL/SQL .0 .0 .0 .0
54 TNS V1-V3 --- 4.6 1.3 1.9 4.6 4.6
Other 2.4 2.4 2.4
Freeable 2.1 .0 2.1
SQL .1 .1 .1 2.5
PL/SQL .0 .0 .0 .0
11 MMON -------- 3.5 1.6 1.3 3.5 3.6
Other 2.1 2.1 2.1
Freeable 1.3 .0 1.3
SQL .1 .0 .1 1.1
PL/SQL .0 .0 .0 .1
8 SMON -------- 2.8 .7 1.8 2.8 2.8
Freeable 1.8 .0 1.8
Other 1.0 1.0 1.0
SQL .1 .0 .1 .6
PL/SQL .0 .0 .0 .0
10 CJQ0 -------- 1.6 .6 .8 1.6 1.7
Freeable .8 .0 .8
Other .7 .7 .7
SQL .1 .0 .1 .6
PL/SQL .0 .0 .0 .0
20 q000 -------- 1.6 .7 .2 1.6 1.6
Other 1.3 1.3 1.3
Freeable .2 .0 .2
SQL .1 .1 .1 .5
PL/SQL .0 .0 .0 .0
24 ------------ 1.6 .6 .6 1.6 1.6
Other .9 .9 .9
Freeable .6 .0 .6
SQL .1 .0 .1 .6
Top Process Memory (by component) DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> ordered by Begin/End snapshot, Alloc (MB) desc
Alloc Used Freeabl Max Hist Max
PId Category (MB) (MB) (MB) Alloc (MB) Alloc (MB)
E 24 PL/SQL .1 .0 .1 .1
7 CKPT -------- 1.5 .4 .7 1.5 2.3
Other .8 .8 1.5
Freeable .7 .0 .7
SQL .0 .0 .0 .1
PL/SQL .0 .0 .0 .0
9 RECO -------- 1.2 .5 .6 1.2 1.2
Freeable .6 .0 .6
Other .5 .5 .5
SQL .1 .1 .1 .5
PL/SQL .0 .0 .0 .0
219 ------------ 1.2 .5 .0 1.2 1.2
Other 1.1 1.1 1.1
PL/SQL .0 .0 .0 .0
SQL .0 .0 .0 .2
21 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .0 .0 .0 .0
SQL .0 .0 .0 .2
31 ------------ 1.1 .6 .1 1.1 1.1
Other .9 .9 .9
SQL .1 .0 .1 .2
Freeable .1 .0 .1
PL/SQL .1 .0 .1 .1
205 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .1 .0 .1 .1
SQL .0 .0 .0 .1
27 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .1 .0 .1 .1
SQL .0 .0 .0 .1
158 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .1 .0 .1 .1
SQL .0 .0 .0 .1
172 ------------ 1.1 .5 .0 1.1 1.1
Other 1.0 1.0 1.0
PL/SQL .1 .0 .1 .1
SQL .0 .0 .0 .1
Enqueue activity DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> only enqueues with waits are shown
-> Enqueue stats gathered prior to 10g should not be compared with 10g 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 (row lock contention)
106,475 106,474 0 106,341 20,273 190.64
TX-Transaction (index contention)
44,355 44,355 0 44,319 2,784 62.81
TX-Transaction (allocate ITL entry)
184 184 0 182 9 46.81
HW-Segment High Water Mark
1,975 1,975 0 70 5 66.29
FB-Format Block
2,164 2,164 0 50 3 54.60
TX-Transaction
394,649 394,668 0 30 0 4.33
Undo Segment Summary DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> Min/Max TR (mins) - Min and Max Tuned Retention (minutes)
-> STO - Snapshot Too Old count, OOS - Out Of Space count
-> Undo segment block stats:
uS - unexpired Stolen, uR - unexpired Released, uU - unexpired reUsed
eS - expired Stolen, eR - expired Released, eU - expired reUsed
Undo Num Undo Number of Max Qry Max Tx Min/Max STO/ uS/uR/uU/
TS# Blocks (K) Transactions Len (s) Concy TR (mins) OOS eS/eR/eU
1 117.7 322,423 49 73 15/15 0/0 0/0/0/0/0/0
Undo Segment Stats DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> Most recent 35 Undostat rows, ordered by End Time desc
Num Undo Number of Max Qry Max Tx Tun Ret STO/ uS/uR/uU/
End Time Blocks Transactions Len (s) Concy (mins) OOS eS/eR/eU
17-Aug 03:40 117,733 322,423 49 73 15 0/0 0/0/0/0/0/0
Latch Activity DB/Inst: apple22A/apple22a Snaps: 2147-2151
->"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 Requests Miss /Miss (s) Requests Miss
Consistent RBA 3,517 0.0 0 0
FAL request queue 11 0.0 0 0
FAL subheap alocation 11 0.0 0 0
FIB s.o chain latch 20 0.0 0 0
FOB s.o list latch 361 0.0 0 0
JS mem alloc latch 2 0.0 0 0
JS queue access latch 2 0.0 0 0
JS queue state obj latch 3,706 0.0 0 0
JS slv state obj latch 16 0.0 0 0
KGX 0 0 353,668 6.5
KMG MMAN ready and start 636 0.0 0 0
KMG resize request state 27 33.3 1.0 0 0
KTF sga latch 2 0.0 0 165 0.0
KWQP Prop Status 4 0.0 0 0
MQL Tracking Latch 0 0 11 0.0
Memory Management Latch 660 0.2 0.0 0 624 0.0
OS process 294 0.0 0 0
OS process allocation 507 0.0 0 0
OS process: request allo 333 0.0 0 0
PL/SQL warning settings 270,940 0.3 0.0 0 0
SGA IO buffer pool latch 2,654 0.0 0 5,801 0.0
SQL memory manager latch 4 0.0 0 158 0.0
SQL memory manager worka 11,158 0.0 0 0
Shared B-Tree 29 0.0 0 0
active checkpoint queue 8,205 0.0 0 0
active service list 2,335 0.0 0.0 0 174 0.0
archive control 13 0.0 0 0
archive process latch 171 0.0 0 0
buffer pool 139 0.0 0 0
cache buffer handles 46,062 0.1 0.0 0 0
cache buffers chains 457,192,374 0.2 0.0 1082 3,785,637 0.6
cache buffers lru chain 447,547 0.5 0.3 8 90,454,746 2.6
cache table scan latch 0 0 11,447 0.0
cas latch 100 0.0 0 0
channel handle pool latc 333 0.0 0 0
channel operations paren 8,286 0.0 0 0
checkpoint queue latch 199,380 0.0 0.0 0 386,367 0.0
client/application info 1,208 0.0 0 0
compile environment latc 791,470 0.0 0.1 1 0
dml lock allocation 3,552,580 0.5 0.1 117 0
dummy allocation 336 0.3 0.0 0 0
enqueue hash chains 5,288,101 0.3 0.1 45 23,479 0.4
enqueues 1,120,394 0.1 0.1 2 0
event group latch 239 0.0 0 0
file cache latch 2,388 0.0 0 0
global KZLD latch for me 236 0.0 0 0
hash table column usage 0 0 4,564 0.0
hash table modification 30 0.0 0 0
job workq parent latch 0 0 4 0.0
job_queue_processes para 11 0.0 0 0
Latch Activity DB/Inst: apple22A/apple22a Snaps: 2147-2151
->"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 Requests Miss /Miss (s) Requests Miss
kks stats 302 0.0 0 0
ksuosstats global area 58 0.0 0 0
ktm global data 270 0.0 0 0
kwqbsn:qsga 29 0.0 0 0
lgwr LWN SCN 3,520 0.0 0 0
library cache 19,899,407 0.4 0.0 199 16,683 ######
library cache load lock 1,030 0.0 0 63 0.0
library cache lock 17,688 0.2 0.0 0 0
library cache lock alloc 990 0.0 0 0
library cache pin 19,007,237 0.2 0.0 35 1,074 0.0
library cache pin alloca 681 0.0 0 0
list of block allocation 1,042 0.1 1.0 0 0
longop free list parent 8 0.0 0 16 12.5
messages 38,525 0.0 0.0 0 0
mostly latch-free SCN 2,543,316 0.1 0.0 0 0
multiblock read objects 30,207 0.0 1.0 0 0
ncodef allocation latch 8 0.0 0 0
object queue header heap 10 0.0 0 1,365 0.0
object queue header oper 1,198,162 0.1 0.1 0 0
object stats modificatio 832 0.0 0 0
parallel query alloc buf 64 0.0 0 0
parameter table allocati 116 1.7 0.5 0 0
post/wait queue 28,580 0.4 0.0 0 8,842 0.0
process allocation 333 0.0 0 239 0.0
process group creation 333 0.0 0 0
qmn state object latch 1 0.0 0 0
qmn task queue latch 124 0.0 0 0
redo allocation 22,668 2.0 0.2 1 9,366,319 0.5
redo copy 13 76.9 1.3 0 9,367,099 0.4
redo on-disk SCN 11,212 0.0 0 0
redo writing 23,270 0.0 0.0 0 0
resmgr group change latc 244 0.0 0 0
resmgr:actses active lis 347 0.0 0 0
resmgr:actses change gro 238 0.0 0 0
resmgr:free threads list 335 0.3 0.0 0 0
resmgr:schema config 12 0.0 0 0
rm cas latch 1,038 0.0 0 0
row cache objects 464,390 0.0 0.0 0 0
rules engine rule set st 400 0.0 0 0
sequence cache 752 0.0 0 0
session allocation 1,627,067 0.2 0.0 1 0
session idle bit 1,875,662 0.0 0.0 0 0
session state list latch 486 0.0 0 0
session switching 8 0.0 0 0
session timer 174 0.0 0 0
shared pool 58,091 0.3 0.3 1 0
simulator hash latch 32,009,012 0.0 0.0 0 0
simulator lru latch 20,996,297 4.9 0.0 1243 15,131 0.2
slave class 1 0.0 0 0
slave class create 3 0.0 0 0
Latch Activity DB/Inst: apple22A/apple22a Snaps: 2147-2151
->"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 Requests Miss /Miss (s) Requests Miss
sort extent pool 100 0.0 0 0
threshold alerts latch 29 0.0 0 0
transaction allocation 965 0.0 0 0
transaction branch alloc 8 0.0 0 0
undo global data 24,845,984 0.2 0.0 20 0
user lock 658 4.4 0.9 1 0
Latch Sleep breakdown DB/Inst: apple22A/apple22a Snaps: 2147-2151
-> ordered by misses desc
Get Spin
Latch Name Requests Misses Sleeps Gets
simulator lru latch 20,996,297 1,020,829 20,140 1,003,339
cache buffers chains 457,192,374 1,016,828 24,247 994,418
library cache 19,899,407 86,387 3,201 83,529
undo global data 24,845,984 42,072 497 41,638
library cache pin 19,007,237 36,024 619 35,469
dml lock allocation 3,552,580 17,725 1,223 16,696
enqueue hash chains 5,288,101 14,754 1,086 13,773
simulator hash latch 32,009,012 7,219 54 7,171
session allocation 1,627,067 2,489 117 2,385
cache buffers lru chain 447,547 2,278 583 1,792
mostly latch-free SCN 2,543,316 1,814 14 1,802
enqueues 1,120,394 1,253 89 1,172
object queue header operat 1,198,162 1,010 52 965
PL/SQL warning settings 270,940 682 5 677
redo allocation 22,668 448 71 389
session idle bit 1,875,662 387 8 380
compile environment latch 791,470 176 12 165
shared pool 58,091 171 48 127
checkpoint queue latch 199,380 33 1 32
user lock 658 29 25 5
redo copy 13 10 13 0
KMG resize request state o 27 9 9 0
parameter table allocation 116 2 1 1
multiblock read objects 30,207 1 1 0
list of block allocation 1,042 1 1 0
-------------------------------------------------------------Edited by: praveenkumaar on Aug 18, 2009 4:07 AM -
Too much redo log files...
Hi,
I have a very light application in Oracle 9.2.0.7 in Linux-32bits that is generating 400 logfiles a day. I canยดt find why those logs are being generated!
The only thing relevant in that application is a big table that serves only for insert command (1000 per hour) for audit reasons. But this table was created with NOLOGGING option.
Redo Size: 4 groups of 40 Mb each.
The insert statement uses a sequence to generate a unique key. Is this sequence causing my big logfile generation?
Thanks,
Paulo.Here is the statspack:
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
DB 378381468 DB 1 9.2.0.7.0 NO host
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 12 28-Jun-07 11:05:11 26 1,198.7
End Snap: 13 28-Jun-07 12:05:24 29 1,077.2
Elapsed: 60.22 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 512M Std Block Size: 8K
Shared Pool Size: 512M Log Buffer: 5,120K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 281,252.38 2,073.48
Logical reads: 73,113.76 539.02
Block changes: 3,133.29 23.10
Physical reads: 3.24 0.02
Physical writes: 21.39 0.16
User calls: 26.12 0.19
Parses: 145.64 1.07
Hard parses: 0.81 0.01
Sorts: 138.33 1.02
Logons: 0.69 0.01
Executes: 443.27 3.27
Transactions: 135.64
% Blocks changed per Read: 4.29 Recursive Call %: 98.97
Rollback per transaction %: 0.13 Rows per Sort: 17.26
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 99.99 Redo NoWait %: 100.00
Buffer Hit %: 100.00 In-memory Sort %: 99.99
Library Hit %: 99.66 Soft Parse %: 99.44
Execute to Parse %: 67.14 Latch Hit %: 99.93
Parse CPU to Parse Elapsd %: 55.03 % Non-Parse CPU: 99.22
Shared Pool Statistics Begin End
Memory Usage %: 91.06 91.23
% SQL with executions>1: 44.54 39.78
% Memory for SQL w/exec>1: 43.09 33.89
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
CPU time 3,577 84.73
log file parallel write 854,726 359 8.51
row cache lock 56,780 104 2.47
process startup 172 91 2.16
SQL*Net message from dblink 5,001 22 .53
Wait Events for DB: DB Instance: DB Snaps: 12 -13
-> 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
log file parallel write 854,726 0 359 0 1.7
row cache lock 56,780 0 104 2 0.1
process startup 172 4 91 530 0.0
SQL*Net message from dblink 5,001 0 22 4 0.0
log file sync 3,015 3 19 6 0.0
enqueue 471 1 9 20 0.0
buffer busy waits 20,290 0 8 0 0.0
db file sequential read 3,853 0 6 2 0.0
SQL*Net more data from dblin 88,584 0 5 0 0.2
control file parallel write 1,704 0 5 3 0.0
latch free 1,404 748 4 3 0.0
single-task message 134 0 4 27 0.0
LGWR wait for redo copy 8,230 1 2 0 0.0
log file switch completion 60 0 2 32 0.0
log file sequential read 1,333 0 2 1 0.0
control file sequential read 4,530 0 1 0 0.0
db file scattered read 246 0 0 1 0.0
SQL*Net more data to client 7,292 0 0 0 0.0
SQL*Net break/reset to clien 72 0 0 1 0.0
db file parallel write 4,568 0 0 0 0.0
log file single write 62 0 0 0 0.0
async disk IO 3,410 0 0 0 0.0
SQL*Net message to dblink 5,001 0 0 0 0.0
direct path read (lob) 84 0 0 0 0.0
direct path read 318 0 0 0 0.0
direct path write 312 0 0 0 0.0
buffer deadlock 115 115 0 0 0.0
SQL*Net message from client 86,475 0 27,758 321 0.2
jobq slave wait 4,594 4,532 13,455 2929 0.0
SQL*Net more data from clien 602 0 1 2 0.0
SQL*Net message to client 86,481 0 0 0 0.2
Background Wait Events for DB: DB Instance: DB Snaps: 12 -13
-> 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 854,744 0 359 0 1.7
control file parallel write 1,704 0 5 3 0.0
LGWR wait for redo copy 8,230 1 2 0 0.0
log file sequential read 1,333 0 2 1 0.0
control file sequential read 1,849 0 1 1 0.0
db file parallel write 4,567 0 0 0 0.0
latch free 74 0 0 0 0.0
rdbms ipc reply 65 0 0 0 0.0
log file single write 62 0 0 0 0.0
async disk IO 3,410 0 0 0 0.0
db file sequential read 1 0 0 8 0.0
buffer busy waits 5 0 0 0 0.0
direct path read 248 0 0 0 0.0
direct path write 248 0 0 0 0.0
rdbms ipc message 868,357 6,776 30,095 35 1.8
pmon timer 1,204 1,204 3,529 2931 0.0
smon timer 154 0 3,514 22816 0.0
Instance Activity Stats for DB: DB Instance: DB Snaps: 12 -13
Statistic Total per Second per Trans
active txn count during cleanout 2,844 0.8 0.0
background checkpoints completed 31 0.0 0.0
background checkpoints started 31 0.0 0.0
background timeouts 7,956 2.2 0.0
branch node splits 15 0.0 0.0
buffer is not pinned count 324,721,116 89,875.8 662.6
buffer is pinned count 308,901,876 85,497.3 630.3
bytes received via SQL*Net from c 8,048,130 2,227.6 16.4
bytes received via SQL*Net from d 181,575,342 50,256.1 370.5
bytes sent via SQL*Net to client 33,964,494 9,400.6 69.3
bytes sent via SQL*Net to dblink 933,170 258.3 1.9
calls to get snapshot scn: kcmgss 9,900,434 2,740.2 20.2
calls to kcmgas 985,222 272.7 2.0
calls to kcmgcs 11,669 3.2 0.0
change write time 9,910 2.7 0.0
cleanout - number of ktugct calls 18,903 5.2 0.0
cleanouts and rollbacks - consist 33 0.0 0.0
cleanouts only - consistent read 932 0.3 0.0
cluster key scan block gets 289,955 80.3 0.6
cluster key scans 101,840 28.2 0.2
commit cleanout failures: block l 0 0.0 0.0
commit cleanout failures: buffer 113 0.0 0.0
commit cleanout failures: callbac 96 0.0 0.0
commit cleanout failures: cannot 3,095 0.9 0.0
commit cleanouts 1,966,376 544.3 4.0
commit cleanouts successfully com 1,963,072 543.3 4.0
commit txn count during cleanout 309,283 85.6 0.6
consistent changes 5,245,452 1,451.8 10.7
consistent gets 242,967,989 67,248.3 495.8
consistent gets - examination 135,768,580 37,577.8 277.0
CPU used by this session 357,659 99.0 0.7
CPU used when call started 344,951 95.5 0.7
CR blocks created 768 0.2 0.0
current blocks converted for CR 0 0.0 0.0
cursor authentications 886 0.3 0.0
data blocks consistent reads - un 1,760 0.5 0.0
db block changes 11,320,580 3,133.3 23.1
db block gets 21,192,200 5,865.5 43.2
DBWR buffers scanned 0 0.0 0.0
DBWR checkpoint buffers written 69,649 19.3 0.1
DBWR checkpoints 31 0.0 0.0
DBWR free buffers found 0 0.0 0.0
DBWR lru scans 0 0.0 0.0
DBWR make free requests 0 0.0 0.0
DBWR revisited being-written buff 0 0.0 0.0
DBWR summed scan depth 0 0.0 0.0
DBWR transaction table writes 2,070 0.6 0.0
DBWR undo block writes 44,323 12.3 0.1
deferred (CURRENT) block cleanout 745,333 206.3 1.5
dirty buffers inspected 1 0.0 0.0
enqueue conversions 8,193 2.3 0.0
enqueue deadlocks 1 0.0 0.0
enqueue releases 2,002,960 554.4 4.1
enqueue requests 2,002,963 554.4 4.1
enqueue timeouts 3 0.0 0.0
enqueue waits 451 0.1 0.0
Instance Activity Stats for DB: DB Instance: DB Snaps: 12 -13
Statistic Total per Second per Trans
exchange deadlocks 115 0.0 0.0
execute count 1,601,528 443.3 3.3
free buffer inspected 30 0.0 0.0
free buffer requested 1,196,628 331.2 2.4
hot buffers moved to head of LRU 26,707 7.4 0.1
immediate (CR) block cleanout app 965 0.3 0.0
immediate (CURRENT) block cleanou 10,817 3.0 0.0
index fast full scans (full) 0 0.0 0.0
index fetch by key 131,028,270 36,265.8 267.4
index scans kdiixs1 17,868,907 4,945.7 36.5
leaf node splits 4,528 1.3 0.0
leaf node 90-10 splits 3,017 0.8 0.0
logons cumulative 2,499 0.7 0.0
messages received 859,631 237.9 1.8
messages sent 859,631 237.9 1.8
no buffer to keep pinned count 21,253 5.9 0.0
no work - consistent read gets 87,667,752 24,264.5 178.9
opened cursors cumulative 528,984 146.4 1.1
OS Involuntary context switches 0 0.0 0.0
OS Page faults 0 0.0 0.0
OS Page reclaims 0 0.0 0.0
OS System time used 0 0.0 0.0
OS User time used 0 0.0 0.0
OS Voluntary context switches 0 0.0 0.0
parse count (failures) 7 0.0 0.0
parse count (hard) 2,928 0.8 0.0
parse count (total) 526,209 145.6 1.1
parse time cpu 2,778 0.8 0.0
parse time elapsed 5,048 1.4 0.0
physical reads 11,690 3.2 0.0
physical reads direct 6,698 1.9 0.0
physical reads direct (lob) 102 0.0 0.0
physical writes 77,270 21.4 0.2
physical writes direct 7,620 2.1 0.0
physical writes direct (lob) 0 0.0 0.0
physical writes non checkpoint 33,360 9.2 0.1
pinned buffers inspected 0 0.0 0.0
prefetched blocks 799 0.2 0.0
prefetched blocks aged out before 0 0.0 0.0
process last non-idle time 3,630 1.0 0.0
recursive calls 9,053,277 2,505.8 18.5
recursive cpu usage 255,973 70.9 0.5
redo blocks written 2,572,625 712.1 5.3
redo buffer allocation retries 50 0.0 0.0
redo entries 3,074,994 851.1 6.3
redo log space requests 60 0.0 0.0
redo log space wait time 193 0.1 0.0
redo ordering marks 0 0.0 0.0
redo size 1,016,164,852 281,252.4 2,073.5
redo synch time 1,956 0.5 0.0
redo synch writes 5,317 1.5 0.0
redo wastage 259,689,040 71,876.3 529.9
redo write time 37,488 10.4 0.1
redo writer latching time 242 0.1 0.0
redo writes 854,744 236.6 1.7
rollback changes - undo records a 1,098 0.3 0.0
Instance Activity Stats for DB: DB Instance: DB Snaps: 12 -13
Statistic Total per Second per Trans
rollbacks only - consistent read 747 0.2 0.0
rows fetched via callback 117,908,375 32,634.5 240.6
session connect time 0 0.0 0.0
session cursor cache count 16 0.0 0.0
session cursor cache hits 484,372 134.1 1.0
session logical reads 264,160,020 73,113.8 539.0
session pga memory 16,473,320 4,559.5 33.6
session pga memory max 16,914,080 4,681.5 34.5
session uga memory 17,216,514,728 4,765,157.7 35,130.3
session uga memory max 1,865,036,296 516,201.6 3,805.6
shared hash latch upgrades - no w 17,251,803 4,774.9 35.2
shared hash latch upgrades - wait 24,671 6.8 0.1
sorts (disk) 32 0.0 0.0
sorts (memory) 499,747 138.3 1.0
sorts (rows) 8,626,333 2,387.6 17.6
SQL*Net roundtrips to/from client 80,069 22.2 0.2
SQL*Net roundtrips to/from dblink 5,001 1.4 0.0
summed dirty queue length 0 0.0 0.0
switch current to new buffer 1 0.0 0.0
table fetch by rowid 238,882,317 66,117.4 487.4
table fetch continued row 4,436,670 1,228.0 9.1
table scan blocks gotten 5,066,302 1,402.2 10.3
table scan rows gotten 134,679,712 37,276.4 274.8
table scans (direct read) 0 0.0 0.0
table scans (long tables) 447 0.1 0.0
table scans (short tables) 152,382 42.2 0.3
transaction rollbacks 530 0.2 0.0
transaction tables consistent rea 0 0.0 0.0
transaction tables consistent rea 0 0.0 0.0
user calls 94,382 26.1 0.2
user commits 489,423 135.5 1.0
user rollbacks 653 0.2 0.0
write clones created in backgroun 11 0.0 0.0
write clones created in foregroun 878 0.2 0.0
Tablespace IO Stats for DB: DB Instance: DB Snaps: 12 -13
->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)
T1_UNDO
31 0 0.0 1.0 46,535 13 344 0.4
T1
31 0 0.0 1.0 13,754 4 3,657 0.4
T2
3,308 1 0.8 1.1 2,973 1 0 0.0
T3
31 0 0.0 1.0 5,710 2 16,240 0.4
T4
555 0 4.0 1.0 600 0 0 0.0
SYSTEM
429 0 3.9 2.5 280 0 49 0.2
TEMP
134 0 0.4 48.1 238 0 0 0.0
T1_16K
31 0 0.0 1.0 31 0 0 0.0
T2_16K
31 0 0.0 1.0 31 0 0 0.0
Buffer Pool Statistics for DB: DB Instance: DB Snaps: 12 -13
-> Standard block size Pools D: default, K: keep, R: recycle
-> Default Pools for other block sizes: 2k, 4k, 8k, 16k, 32k
Free Write Buffer
Number of Cache Buffer Physical Physical Buffer Complete Busy
P Buffers Hit % Gets Reads Writes Waits Waits Waits
D 49,625 100.0 263,975,320 4,909 69,666 0 0 20,290
16k 7,056 100.0 30 0 0 0 0 0
Instance Recovery Stats for DB: DB Instance: DB Snaps: 12 -13
-> 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 0 10518 10000 73728 186265 10000
E 0 0 13189 10000 73728 219498 10000
Buffer Pool Advisory for DB: DB Instance: DB End Snap: 13
-> 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 32 .1 3,970 205.60 4,726,309,734
D 64 .2 7,940 111.86 2,571,419,284
D 96 .2 11,910 59.99 1,379,092,849
D 128 .3 15,880 32.24 741,224,090
D 160 .4 19,850 16.05 369,050,333
D 192 .5 23,820 1.28 29,352,221
D 224 .6 27,790 1.05 24,077,507
D 256 .6 31,760 1.03 23,723,389
D 288 .7 35,730 1.02 23,518,434
D 320 .8 39,700 1.01 23,328,106
D 352 .9 43,670 1.01 23,193,257
D 384 1.0 47,640 1.00 23,064,957
D 400 1.0 49,625 1.00 22,987,576
D 416 1.0 51,610 1.00 22,927,325
D 448 1.1 55,580 0.99 22,824,032
D 480 1.2 59,550 0.99 22,713,509
D 512 1.3 63,520 0.99 22,649,147
D 544 1.4 67,490 0.98 22,605,489
D 576 1.4 71,460 0.98 22,525,897
D 608 1.5 75,430 0.97 22,407,418
D 640 1.6 79,400 0.96 22,022,381
16k 16 .1 1,008 1.00 139,218,299
16k 32 .3 2,016 1.00 139,211,699
16k 48 .4 3,024 1.00 139,207,678
16k 64 .6 4,032 1.00 139,202,581
16k 80 .7 5,040 1.00 139,198,339
16k 96 .9 6,048 1.00 139,193,448
16k 112 1.0 7,056 1.00 139,188,446
16k 128 1.1 8,064 1.00 139,183,808
16k 144 1.3 9,072 1.00 139,179,598
16k 160 1.4 10,080 1.00 139,175,656
16k 176 1.6 11,088 1.00 139,170,607
16k 192 1.7 12,096 1.00 139,166,491
16k 208 1.9 13,104 1.00 139,162,487
16k 224 2.0 14,112 1.00 139,158,197
16k 240 2.1 15,120 1.00 139,153,797
16k 256 2.3 16,128 1.00 139,149,365
16k 272 2.4 17,136 1.00 139,144,252
16k 288 2.6 18,144 1.00 139,140,121
16k 304 2.7 19,152 1.00 139,135,435
16k 320 2.9 20,160 1.00 139,130,845
Buffer wait Statistics for DB: DB Instance: DB Snaps: 12 -13
-> ordered by wait time desc, waits desc
Tot Wait Avg
Class Waits Time (s) Time (ms)
data block 19,912 8 0
undo header 343 0 0
segment header 34 0 0
undo block 1 0 0
Enqueue activity for DB: DB Instance: DB Snaps: 12 -13
-> Enqueue stats gathered prior to 9i should not be compared with 9i data
-> ordered by Wait Time desc, Waits desc
Avg Wt Wait
Eq Requests Succ Gets Failed Gets Waits Time (ms) Time (s)
TM 981,781 981,773 0 7 1,365.43 10
TX 983,944 983,906 0 412 .59 0
HW 4,645 4,645 0 32 .09 0
Rollback Segment Stats for DB: DB Instance: DB Snaps: 12 -13
->A high value for "Pct Waits" suggests more rollback segments may be required
->RBS stats may not be accurate between begin and end snaps when using Auto Undo
managment, as RBS may be dynamically created and dropped as needed
Trans Table Pct Undo Bytes
RBS No Gets Waits Written Wraps Shrinks Extends
0 155.0 0.00 0 0 0 0
1 202,561.0 0.00 31,178,710 40 2 3
2 191,044.0 0.00 30,067,156 23 2 6
3 195,891.0 0.00 30,470,548 39 1 3
4 203,928.0 0.00 31,822,638 38 2 5
5 196,386.0 0.00 -4,264,350,168 38 1 3
6 204,125.0 0.00 32,081,200 24 1 7
7 192,169.0 0.00 33,732,012 45 3 6
8 195,819.0 0.00 30,503,550 40 2 2
9 202,905.0 0.00 31,595,438 40 2 4
10 195,796.0 0.00 30,566,652 29 4 9
Rollback Segment Storage for DB: DB Instance: DB Snaps: 12 -13
->Optimal Size should be larger than Avg Active
RBS No Segment Size Avg Active Optimal Size Maximum Size
0 385,024 0 385,024
1 12,705,792 944,176 2,213,732,352
2 11,657,216 1,548,937 2,214,715,392
3 13,754,368 832,465 243,392,512
4 13,754,368 946,902 235,069,440
5 12,705,792 964,352 2,195,374,080
6 20,045,824 1,232,438 2,416,041,984
7 12,705,792 977,490 3,822,182,400
8 10,608,640 875,068 243,392,512
9 11,657,216 878,119 243,392,512
10 18,997,248 1,034,104 2,281,889,792
Undo Segment Summary for DB: DB Instance: DB Snaps: 12 -13
-> 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 Snapshot Out of uS/uR/uU/
TS# Blocks Trans Len (s) Concurcy Too Old Space eS/eR/eU
1 44,441 ########## 47 2 0 0 0/0/0/0/0/0
Undo Segment Stats for DB: DB Instance: DB Snaps: 12 -13
-> ordered by Time desc
Undo Num Max Qry Max Tx Snap Out of uS/uR/uU/
End Time Blocks Trans Len (s) Concy Too Old Space eS/eR/eU
28-Jun 11:56 7,111 ######## 47 1 0 0 0/0/0/0/0/0
28-Jun 11:46 10,782 ######## 18 2 0 0 0/0/0/0/0/0
28-Jun 11:36 6,170 ######## 42 1 0 0 0/0/0/0/0/0
28-Jun 11:26 4,966 ######## 13 1 0 0 0/0/0/0/0/0
28-Jun 11:16 6,602 ######## 40 1 0 0 0/0/0/0/0/0
28-Jun 11:06 8,810 ######## 10 1 0 0 0/0/0/0/0/0
Latch Activity for DB: DB Instance: DB Snaps: 12 -13
->"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 Requests Miss /Miss (s) Requests Miss
active checkpoint queue 9,585 0.0 0.0 0 0
alert log latch 158 0.0 0 0
archive control 220 0.0 0 0
archive process latch 220 0.5 1.0 0 0
cache buffer handles 264,718 0.0 0.0 0 0
cache buffers chains 416,051,175 0.0 0.0 4 401,018 0.0
cache buffers lru chain 1,285,963 0.0 0.0 0 1,206,550 0.0
channel handle pool latc 4,927 0.0 0 0
channel operations paren 10,788 0.0 0 0
checkpoint queue latch 528,319 0.0 0.0 0 69,506 0.0
child cursor hash table 35,371 0.0 0 0
Consistent RBA 854,833 0.0 0.0 0 0
dml lock allocation 1,963,007 0.9 0.0 0 0
dummy allocation 4,995 0.0 0 0
enqueue hash chains 4,014,593 0.5 0.0 0 0
enqueues 94,666 0.0 0.0 0 0
event group latch 2,340 0.0 0 0
FAL request queue 72 0.0 0 0
FIB s.o chain latch 310 0.0 0 0
FOB s.o list latch 6,769 0.0 0 0
global tx hash mapping 10,388 0.0 0 0
hash table column usage 16 0.0 0 479 0.0
job workq parent latch 0 0 316 0.0
job_queue_processes para 116 0.0 0 0
ktm global data 200 0.0 0 0
lgwr LWN SCN 855,008 0.0 0.0 0 0
library cache 5,836,900 0.4 0.0 0 8,926 0.6
library cache load lock 468 0.0 0 0
library cache pin 3,510,695 0.0 0.0 0 0
library cache pin alloca 1,402,523 0.0 0.0 0 0
list of block allocation 6,115 0.0 0 0
loader state object free 620 0.0 0 0
message pool operations 262 0.0 0 0
messages 2,664,950 0.4 0.0 0 0
mostly latch-free SCN 856,000 0.1 0.0 0 0
multiblock read objects 3,184 0.0 0 0
ncodef allocation latch 57 0.0 0 0
object stats modificatio 8 0.0 0 0
post/wait queue 6,183 0.0 0 3,082 0.0
process allocation 4,677 0.0 0 2,340 0.0
process group creation 4,677 0.0 0 0
redo allocation 4,784,936 0.5 0.0 0 0
redo copy 0 0 3,081,261 0.3
redo writing 2,576,299 0.0 0.2 0 0
row cache enqueue latch 3,017,144 0.0 0.0 0 0
row cache objects 5,049,552 0.8 0.0 0 92 0.0
sequence cache 984,824 0.0 0.1 0 0
session allocation 110,417 0.0 0.0 0 0
session idle bit 205,319 0.0 0 0
session switching 57 0.0 0 0
Latch Activity for DB: DB Instance: DB Snaps: 12 -13
->"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 Requests Miss /Miss (s) Requests Miss
session timer 1,204 0.0 0 0
shared pool 2,409,725 0.1 0.1 0 0
simulator hash latch 7,439,429 0.0 0.0 0 0
simulator lru latch 202 0.0 0 128,961 0.2
sort extent pool 1,053 0.0 0 0
SQL memory manager worka 67 0.0 0 0
temp lob duration state 187 0.0 0 0
transaction allocation 7,290 0.0 0 0
transaction branch alloc 5,668 0.0 0 0
undo global data 3,002,808 0.4 0.0 0 0
user lock 8,642 0.0 0 0
Latch Sleep breakdown for DB: DB Instance: DB Snaps: 12 -13
-> ordered by misses desc
Get Spin &
Latch Name Requests Misses Sleeps Sleeps 1->4
cache buffers chains 416,051,175 197,296 750 196776/298/2
15/7/0
row cache objects 5,049,552 42,368 38 42330/38/0/0
/0
redo allocation 4,784,936 24,766 77 24697/61/8/0
/0
library cache 5,836,900 23,477 276 23207/264/6/
0/0
enqueue hash chains 4,014,593 21,061 26 21035/26/0/0
/0
dml lock allocation 1,963,007 17,887 16 17872/14/1/0
/0
undo global data 3,002,808 12,350 8 12342/8/0/0/
0
messages 2,664,950 10,131 5 10126/5/0/0/
0
shared pool 2,409,725 1,362 189 1175/185/2/0
/0
row cache enqueue latch 3,017,144 470 7 463/7/0/0/0
mostly latch-free SCN 856,000 434 1 433/1/0/0/0
library cache pin 3,510,695 345 4 341/4/0/0/0
sequence cache 984,824 53 4 49/4/0/0/0
library cache pin allocati 1,402,523 35 1 34/1/0/0/0
redo writing 2,576,299 5 1 4/1/0/0/0
archive process latch 220 1 1 0/1/0/0/0
Latch Miss Sources for DB: DB Instance: DB Snaps: 12 -13
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
archive process latch kcrrpa 0 1 0
cache buffers chains kcbgtcr: fast path 0 346 188
cache buffers chains kcbgtcr: kslbegin excl 0 163 239
cache buffers chains kcbrls: kslbegin 0 86 170
cache buffers chains kcbget: pin buffer 0 53 49
cache buffers chains kcbgcur: kslbegin 0 44 20
cache buffers chains kcbnlc 0 38 22
cache buffers chains kcbget: exchange 0 8 16
cache buffers chains kcbchg: kslbegin: call CR 0 3 21
cache buffers chains kcbget: exchange rls 0 3 2
cache buffers chains kcbnew 0 3 0
cache buffers chains kcbbxsv 0 2 0
cache buffers chains kcbchg: kslbegin: bufs not 0 1 23
dml lock allocation ktaiam 0 13 1
dml lock allocation ktaidm 0 3 15
enqueue hash chains ksqgtl3 0 22 2
enqueue hash chains ksqrcl 0 4 24
library cache kglic 0 55 4
library cache kglhdgn: child: 0 42 86
library cache kglobpn: child: 0 26 32
library cache kglpndl: child: after proc 0 14 0
library cache kglpndl: child: before pro 0 13 73
library cache kglpin: child: heap proces 0 12 29
library cache kgllkdl: child: cleanup 0 11 4
library cache kglupc: child 0 4 7
library cache kgldti: 2child 0 2 4
library cache kglpnp: child 0 1 4
library cache pin kglpnal: child: alloc spac 0 3 3
library cache pin kglpndl 0 1 1
library cache pin alloca kglpnal 0 1 0
messages ksaamb: after wakeup 0 3 2
messages ksarcv 0 2 2
mostly latch-free SCN kcslcu3 0 1 1
redo allocation kcrfwr 0 74 8
redo allocation kcrfwi: more space 0 -
ORACLE DB getting slower until reboot
Hi,
I'm running oracle db 10g on Linux. After a while (few days) system becomes slower and slower like 10 x times .... but after reboot of the mashine, becomes
normal again.
Can anyone give me any hints where to look for the problem ? There are 12 clients connectiong to the mashine on daily basis through the Win .NET application ... doing basic stuff , reading, writting, deleting ....
Any hints please ?
KrisHi,
Below is my AWR report .... I can look but don't know what to look for ....
===========================================================
WORKLOAD REPOSITORY report for
DB Name DB Id Instance Inst Num Release Cluster Host
PRESCLIP 1523704616 presclip 1 10.1.0.3.0 NO tornado
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 4510 17-??? -08 10:00:02 22 5.0
End Snap: 4513 17-??? -08 13:00:35 24 5.8
Elapsed: 180.55 (mins)
DB Time: 183.63 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 448M Std Block Size: 8K
Shared Pool Size: 528M Log Buffer: 512K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 8,071.06 320,263.85
Logical reads: 60,721.48 2,409,460.40
Block changes: 51.10 2,027.58
Physical reads: 28.61 1,135.10
Physical writes: 4.68 185.86
User calls: 56.94 2,259.28
Parses: 25.76 1,022.00
Hard parses: 0.81 32.15
Sorts: 0.87 34.34
Logons: 0.01 0.54
Executes: 26.20 1,039.80
Transactions: 0.03
% Blocks changed per Read: 0.08 Recursive Call %: 72.15
Rollback per transaction %: 9.89 Rows per Sort: 113.65
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 99.99
Buffer Hit %: 100.05 In-memory Sort %: 100.00
Library Hit %: 98.08 Soft Parse %: 96.85
Execute to Parse %: 1.71 Latch Hit %: 99.97
Parse CPU to Parse Elapsd %: 5.70 % Non-Parse CPU: 98.35
Shared Pool Statistics Begin End
Memory Usage %: 90.92 91.52
% SQL with executions>1: 99.27 87.56
% Memory for SQL w/exec>1: 98.23 88.97
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) DB Time Wait Class
CPU time 3,128 28.39
latch: cache buffers chains 142,296 1,794 16.28 Concurrency
latch: library cache 13,804 1,498 13.60 Concurrency
log file parallel write 97,140 1,254 11.38 System I/O
log file sync 94,602 1,214 11.02 Commit
Wait Events DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
latch: cache buffers chains 142,296 142,296 1,794 13 521.2
latch: library cache 13,804 0 1,498 109 50.6
log file parallel write 97,140 0 1,254 13 355.8
log file sync 94,602 25 1,214 13 346.5
latch: shared pool 2,220 0 323 146 8.1
control file parallel write 4,492 0 306 68 16.5
latch free 2,134 12 107 50 7.8
SQL*Net break/reset to clie 96,766 0 53 1 354.5
db file sequential read 214 0 7 31 0.8
library cache pin 3 1 6 2106 0.0
log file switch completion 20 0 5 258 0.1
control file single write 348 0 5 14 1.3
class slave wait 1 1 5 5000 0.0
control file sequential rea 2,291 0 4 2 8.4
log buffer space 19 1 3 183 0.1
SQL*Net message to client 541,548 0 3 0 1,983.7
direct path read 309,510 0 2 0 1,133.7
rdbms ipc reply 97 0 1 14 0.4
process startup 9 0 1 142 0.0
LGWR wait for redo copy 171 27 1 4 0.6
SQL*Net more data from clie 5,767 0 1 0 21.1
latch: row cache objects 18 0 1 31 0.1
buffer busy waits 27 0 0 18 0.1
db file scattered read 18 0 0 22 0.1
log file single write 24 0 0 15 0.1
SQL*Net more data to client 10,224 0 0 0 37.5
latch: cache buffers lru ch 44 0 0 5 0.2
log file sequential read 24 0 0 2 0.1
db file parallel write 3,286 0 0 0 12.0
latch: session allocation 1 0 0 18 0.0
latch: redo writing 1 0 0 18 0.0
latch: library cache pin 2 0 0 8 0.0
latch: redo allocation 9 0 0 1 0.0
undo segment extension 151 151 0 0 0.6
direct path write 73 0 0 0 0.3
SQL*Net message from client 541,546 0 103,106 190 1,983.7
virtual circuit status 361 361 10,535 29182 1.3
Queue Monitor Wait 352 352 10,510 29857 1.3
wakeup time manager 36 0 10,300 286098 0.1
jobq slave wait 75 74 224 2987 0.3
Background Wait Events DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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 97,141 0 1,254 13 355.8
control file parallel write 4,495 0 306 68 16.5
latch: library cache 459 0 86 186 1.7
latch: shared pool 49 0 36 736 0.2
control file single write 349 0 5 14 1.3
control file sequential rea 2,163 0 4 2 7.9
rdbms ipc reply 97 0 1 14 0.4
process startup 9 0 1 142 0.0
latch: cache buffers chains 39 39 1 20 0.1
LGWR wait for redo copy 171 27 1 4 0.6
log file single write 24 0 0 15 0.1
buffer busy waits 18 0 0 18 0.1
latch free 3 0 0 48 0.0
log buffer space 1 0 0 139 0.0
log file sequential read 24 0 0 2 0.1
db file parallel write 3,287 0 0 0 12.0
latch: cache buffers lru ch 4 0 0 5 0.0
latch: redo writing 1 0 0 18 0.0
latch: redo allocation 9 0 0 1 0.0
direct path read 55 0 0 0 0.2
direct path write 55 0 0 0 0.2
rdbms ipc message 212,090 29,529 79,375 374 776.9
Queue Monitor Wait 352 352 10,510 29857 1.3
wakeup time manager 36 0 10,300 286098 0.1
smon timer 80 7 10,206 127577 0.3
Time Model Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> ordered by Time (seconds) desc
Time % Total
Statistic Name (seconds) DB Time
DB time 11,018.09 100.00
sql execute elapsed time 8,222.45 74.63
background elapsed time 3,392.24 30.79
DB CPU 3,128.31 28.39
parse time elapsed 1,259.35 11.43
hard parse elapsed time 684.68 6.21
sequence load elapsed time 135.62 1.23
background cpu time 36.63 .33
hard parse (sharing criteria) elapsed time 34.10 .31
Java execution elapsed time 32.37 .29
hard parse (bind mismatch) elapsed time 30.55 .28
connection management call elapsed time 20.41 .19
PL/SQL execution elapsed time 8.73 .08
PL/SQL compilation elapsed time .95 .01
failed parse elapsed time .01 .00
failed parse (out of shared memory) elapsed t .00 .00
inbound PL/SQL rpc elapsed time .00 .00
Operating System Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Statistic Name Value
AVG_BUSY_TICKS 180,481
AVG_IDLE_TICKS 715,162
AVG_IN_BYTES 0
AVG_NICE_TICKS 31
AVG_OUT_BYTES 0
AVG_SYS_TICKS 17,431
AVG_USER_TICKS 163,018
BUSY_TICKS 360,961
IDLE_TICKS 1,430,323
IN_BYTES 0
NICE_TICKS 63
OUT_BYTES 0
RSRC_MGR_CPU_WAIT_TIME 0
SYS_TICKS 34,862
USER_TICKS 326,036
Service Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> ordered by DB Time
Physical Logical
Service Name DB Time (s) DB CPU (s) Reads Reads
SYS$USERS 11,018.2 3,128.3 309,775 ##########
SYS$BACKGROUND 0.0 0.0 108 90,504
presclip.pressclip.si 0.0 0.0 0 0
presclipXDB 0.0 0.0 0 0
Service Wait Class Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
SYS$USERS
######### 722 155001 315449 0 0 559051 367
SYS$BACKGROUND
614421 169 1120 14235 0 0 3 0
SQL ordered by Elapsed Time DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
Elapsed CPU Elap per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
324 34 48,347 0.0 2.9 8vjk5pma3nkjm
Module: ReportQueueService.exe
SELECT "MS_REPORTQUEUE_DISPATCH_SEQ".NEXTVAL FROM DUAL
134 2 7 19.1 1.2 6mfnp8h90f9gm
Module: php-cgi.exe
SELECT count(*) "X" FROM MS_ARTICLE A , MS_MEDIA M, MS_ARTICLE_SHOW S, MS_ARTICL
E_GENRE G, MS_ARTICLE_AUTHOR AA ,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT_A
RTICLE RA, MS_REPORT R,(SELECT MAX(ID) "ID",ID_SUBCLIPPING from MS_REPORT WHERE
( ID_SUBCLIPPING='ABANKA' OR ID_SUBCLIPPING='ARGOLINA' OR ID_SUBCLIPPING='ELEK
86 15 48,374 0.0 0.8 4m7m0t6fjcs5x
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=
:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
71 1 1 70.5 0.6 gkxar2vy1wy2y
Module: Reporter.exe
SELECT TITLE,SUBTITLE,AUTHOR,ART_DATE,MEDIA_CODE,FULLTEXT,ID,STARTTIME,ON_PAGE,C
OORDINATES,COOR_TEXT,THUMBS_NR FROM MS_ARTICLE WHERE (ART_DATE > TO_DATE(:param1
,'dd.MM.yyyy') AND (MEDIA_COUNTRY = :param2 AND ((MEDIA_GROUP = :param3
OR MEDIA_GROUP = :param4 OR MEDIA_GROUP = :param5 OR MEDIA_CODE = :p
67 9 48,344 0.0 0.6 2skwhauh2cwky
select o.name, u.name from obj$ o, user$ u where o.obj# = :1 and o.owner# = u.u
ser#
57 12 1 56.5 0.5 dfksmtvu1m42z
Module: Reporter.exe
SELECT TITLE,SUBTITLE,AUTHOR,ART_DATE,MEDIA_CODE,FULLTEXT,ID,STARTTIME,ON_PAGE,C
OORDINATES,COOR_TEXT,THUMBS_NR FROM MS_ARTICLE WHERE (ART_DATE > TO_DATE(:param1
,'dd.MM.yyyy') AND MEDIA_COUNTRY = :param2 AND ( ( INSTR(CHAR_15, :param
3,1,1)>0 AND INSTR(CHAR_8, :param4,1,1)>0 ) OR ( INSTR(CHAR_14, :param5,1
54 0 2,163 0.0 0.5 803b7z0t84sq7
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= next_date) and (n
ext_date < :2)) or ((last_date is null) and (next_date < :3))) and (field1 =
:4 or (field1 = 0 and 'Y' = :5)) and (this_date is null) order by next_date, jo
b
52 0 1 51.6 0.5 0466bt39shky3
Module: php-cgi.exe
SELECT M.DESCRIPTION "NAME", O.X FROM MS_MEDIA_TYPE M,(SELECT A.MEDIA_TYPE, COUN
T(A.ID) "X" FROM MS_ARTICLE A,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT_ARTI
CLE RA, MS_REPORT R,(SELECT ID,ID_SUBCLIPPING from MS_REPORT R WHERE ( ID_SUBCLI
PPING='PETROL' ) ) O WHERE ( R.ID_SUBCLIPPING='PETROL' ) AND R.ID = RA.ID_REPO
51 1 2 25.5 0.5 7capkpyw2kpwm
Module: php-cgi.exe
SELECT M.NAME, O.X FROM MS_MEDIA M,(SELECT A.MEDIA_CODE, COUNT(A.ID) "X" FROM MS
ARTICLE A,(SELECT DISTINCT RA.IDARTICLE FROM MS_REPORT_ARTICLE RA, MS_REPORT R
,(SELECT ID,ID_SUBCLIPPING from MS_REPORT R WHERE ( ID_SUBCLIPPING='PETROL' ) )
O WHERE ( R.ID_SUBCLIPPING='PETROL' ) AND R.ID = RA.ID_REPORT AND (O.ID =R.ID
39 0 3 12.9 0.3 00pmrvsjpawc8
DECLARE job BINARY_INTEGER := :job; next_date DATE := :mydate; broken BOOLEAN :
= FALSE; BEGIN wksys.wk_job.invoke(1,1); :mydate := next_date; IF broken THEN :b
:= 1; ELSE :b := 0; END IF; END;
SQL ordered by CPU Time DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
CPU Elapsed CPU per % Total
Time (s) Time (s) Executions Exec (s) DB Time SQL Id
34 324 48,347 0.00 2.9 8vjk5pma3nkjm
Module: ReportQueueService.exe
SELECT "MS_REPORTQUEUE_DISPATCH_SEQ".NEXTVAL FROM DUAL
15 86 48,374 0.00 0.8 4m7m0t6fjcs5x
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=
:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
14 15 48,344 0.00 0.1 7gtztzv329wg0
select c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and
cd.enabled = :1 and c.owner# = u.user#
12 57 1 11.99 0.5 dfksmtvu1m42z
Module: Reporter.exe
SELECT TITLE,SUBTITLE,AUTHOR,ART_DATE,MEDIA_CODE,FULLTEXT,ID,STARTTIME,ON_PAGE,C
OORDINATES,COOR_TEXT,THUMBS_NR FROM MS_ARTICLE WHERE (ART_DATE > TO_DATE(:param1
,'dd.MM.yyyy') AND MEDIA_COUNTRY = :param2 AND ( ( INSTR(CHAR_15, :param
3,1,1)>0 AND INSTR(CHAR_8, :param4,1,1)>0 ) OR ( INSTR(CHAR_14, :param5,1
9 67 48,344 0.00 0.6 2skwhauh2cwky
select o.name, u.name from obj$ o, user$ u where o.obj# = :1 and o.owner# = u.u
ser#
6 24 257 0.02 0.2 221wsaadu72tx
Module: Reporter.exe
SELECT SC.NAME,ID_SUBCLIPPING,QUEUE_TIME,DISPATCH_TIME,REPORT_MODE,REPORT_DATA,R
D.DESCRIPTION, ROWNR,QUEUE_DATE,STATUS,DAYS,DATE_FROM,DATE_TO,ID,TEMPLATE,TEMPLA
TE_EMAIL,ARTICLE_PER_REPORT,DISPATCH_TOTAL,DISPATCH_SEND,DISPATCH_ERROR,RD.AUTOF
ILTER,SC.OWNER,SC.PAYER FROM MS_REPORTQUEUE_DISPATCH RD, MS_SUBCLIPPING SC, (SEL
4 7 233 0.02 0.1 3bymg61j293n0
Module: ControlCenter.exe
SELECT SC.NAME,ID_SUBCLIPPING,QUEUE_TIME,DISPATCH_TIME,REPORT_MODE,REPORT_DATA,R
D.DESCRIPTION, ROWNR,QUEUE_DATE,STATUS,DAYS,DATE_FROM,DATE_TO,ID,RD.TEMPLATE,RD.
TEMPLATE_EMAIL,RD.ARTICLE_PER_REPORT,DISPATCH_TOTAL,DISPATCH_SEND,DISPATCH_ERROR
,RD.AUTOFILTER FROM MS_REPORTQUEUE_DISPATCH RD, MS_SUBCLIPPING SC WHERE ID_SUBCL
3 9 15 0.18 0.1 fvswq0pbaxu7w
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=16800 AND
A.AUTHOR_CODE3 = AA.CODE
3 9 15 0.18 0.1 3hn8hkmtcywnd
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=16800 AND
A.AUTHOR_CODE2 = AA.CODE
3 8 15 0.17 0.1 1twph8wy3cajf
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A, MS_ARTICLE_CATEGORY AA WHERE ID=16800 A
ND A.CATEGORY = AA.CODE
2 134 7 0.33 1.2 6mfnp8h90f9gm
Module: php-cgi.exe
SELECT count(*) "X" FROM MS_ARTICLE A , MS_MEDIA M, MS_ARTICLE_SHOW S, MS_ARTICL
E_GENRE G, MS_ARTICLE_AUTHOR AA ,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT_A
RTICLE RA, MS_REPORT R,(SELECT MAX(ID) "ID",ID_SUBCLIPPING from MS_REPORT WHERE
( ID_SUBCLIPPING='ABANKA' OR ID_SUBCLIPPING='ARGOLINA' OR ID_SUBCLIPPING='ELEK
SQL ordered by Gets DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Resources reported for PL/SQL code includes the resources used by all SQL
statements called by the code.
-> Total Buffer Gets: 657,782,688
-> Captured SQL accounts for 3.2% of Total Buffer Gets
Gets CPU Elapsed
Buffer Gets Executions per Exec %Total Time (s) Time (s) SQL Id
592,740 15 39,516.0 0.1 2.57 8.24 1twph8wy3cajf
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A, MS_ARTICLE_CATEGORY AA WHERE ID=16800 A
ND A.CATEGORY = AA.CODE
592,710 15 39,514.0 0.1 2.64 8.59 fvswq0pbaxu7w
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=16800 AND
A.AUTHOR_CODE3 = AA.CODE
592,710 15 39,514.0 0.1 2.63 8.88 3hn8hkmtcywnd
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=16800 AND
A.AUTHOR_CODE2 = AA.CODE
474,192 12 39,516.0 0.1 1.32 1.49 cpvuvvd0kf6rf
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A, MS_ARTICLE_CATEGORY AA WHERE ID=16424 A
ND A.CATEGORY = AA.CODE
474,192 12 39,516.0 0.1 1.36 1.80 2qn8hm2p6xrzf
Module: Reporter.vshost.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A, MS_ARTICLE_CATEGORY AA WHERE ID=12585 A
ND A.CATEGORY = AA.CODE
474,192 12 39,516.0 0.1 2.30 7.06 7vng73t6dkp9a
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A, MS_ARTICLE_CATEGORY AA WHERE ID=17112 A
ND A.CATEGORY = AA.CODE
474,168 12 39,514.0 0.1 1.33 1.42 1t38kgwh9u4wk
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=16424 AND
A.AUTHOR_CODE3 = AA.CODE
474,168 12 39,514.0 0.1 2.33 6.79 1x7k691cdnrwc
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=17112 AND
A.AUTHOR_CODE2 = AA.CODE
474,168 12 39,514.0 0.1 1.40 1.66 3bzy3n6ptkaqj
Module: Reporter.vshost.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=12585 AND
A.AUTHOR_CODE2 = AA.CODE
474,168 12 39,514.0 0.1 2.32 7.02 8b8du3dad2c8x
Module: Reporter.exe
SELECT AA.DESCRIPTION FROM MS_ARTICLE A,MS_ARTICLE_AUTHOR AA WHERE ID=17112 AND
A.AUTHOR_CODE3 = AA.CODE
SQL ordered by Reads DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Total Disk Reads: 309,883
-> Captured SQL accounts for 0.0% of Total Disk Reads
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
34 7 4.9 0.0 2.33 133.83 6mfnp8h90f9gm
Module: php-cgi.exe
SELECT count(*) "X" FROM MS_ARTICLE A , MS_MEDIA M, MS_ARTICLE_SHOW S, MS_ARTICL
E_GENRE G, MS_ARTICLE_AUTHOR AA ,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT_A
RTICLE RA, MS_REPORT R,(SELECT MAX(ID) "ID",ID_SUBCLIPPING from MS_REPORT WHERE
( ID_SUBCLIPPING='ABANKA' OR ID_SUBCLIPPING='ARGOLINA' OR ID_SUBCLIPPING='ELEK
12 3 4.0 0.0 0.04 1.34 cx6p7nrvbnb9u
SELECT count(*) over () as total_count, endsn.event_id, nvl(xe.keh_id, 0)
, nvl(ash.cnt, 0), evtname.event_name, nvl(xc.class#, 0), e
vtname.wait_class_id, nvl(xc.keh_id, 0), (endsn.total_waits - nvl(startsn
.total_waits, 0)) as total_waits_diff, (endsn.total_timeouts - nvl
9 6 1.5 0.0 0.12 6.16 3c8vn62zcwxd9
INSERT INTO wrh$_sqltext (sql_id, dbid, sql_text,
command_type, snap_id, ref_count) SELECT /*+ ordered use_nl(s1
) index(s1) */ sie.sqlid_kewrsie, :dbid, s1.sql_fulltext,
s1.command_type, :lah_snap_id, 0 ref_count FROM x$kewrsqlidtab sie, v$sql
5 9 0.6 0.0 0.11 9.95 60d4pz6szvf0v
Module: TOAD 9.0.1.8
Select cols.column_id, cols.column_name as Name, nullable,
data_type as Type,
decode(data_type, 'CHAR', char_length,
'VARCHAR', char_length
'VARCHAR2', char_length,
'NCHAR', char_l
ength,
'NVARCHAR', char_length,
'NVARCHAR2
3 1 3.0 0.0 0.23 0.81 f1ycdhwd4mq59
Module: php-cgi.exe
SELECT M.DESCRIPTION "NAME", O.X FROM MS_MEDIA_TYPE M,(SELECT A.MEDIA_TYPE, COUN
T(A.ID) "X" FROM MS_ARTICLE A,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT_ARTI
CLE RA, MS_REPORT R,(SELECT ID,ID_SUBCLIPPING from MS_REPORT R WHERE ( ID_SUBCLI
PPING='KONKURENCAABANKA' ) ) O WHERE ( R.ID_SUBCLIPPING='KONKURENCAABANKA' ) A
3 1 3.0 0.0 0.59 2.34 1uyb85bntztw5
Module: Reporter.exe
SELECT TITLE,SUBTITLE,AUTHOR,ART_DATE,MEDIA_CODE,FULLTEXT,ID,STARTTIME,ON_PAGE,C
OORDINATES,COOR_TEXT,THUMBS_NR FROM MS_ARTICLE WHERE (ART_DATE > TO_DATE(:param1
,'dd.MM.yyyy') AND MEDIA_COUNTRY = :param2 AND ( INSTR(CHAR_1, :param3,1,
1)>0 OR INSTR(CHAR_10, :param4,1,1)>0 OR INSTR(CHAR_10, :param5,1,1)>0
3 1 3.0 0.0 0.15 0.39 2hyd2cx2k89ms
Module: php-cgi.exe
SELECT M.DESCRIPTION "NAME", O.X FROM MS_ARTICLE_AUTHOR M,(SELECT A.AUTHOR_CODE,
COUNT(A.ID) "X" FROM MS_ARTICLE A,(SELECT DISTINCT RA.ID_ARTICLE FROM MS_REPORT
ARTICLE RA, MSREPORT R,(SELECT ID,ID_SUBCLIPPING from MS_REPORT R WHERE ( ID_S
UBCLIPPING='KONKURENCAABANKA' ) ) O WHERE ( R.ID_SUBCLIPPING='KONKURENCAABANKA
3 7 0.4 0.0 1.09 2.89 2r6xk5h5qvwct
Module: php-cgi.exe
SELECT * FROM ( SELECT C.*,rownum rnum from (SELECT TO_CHAR(ART_DATE,'DD.MM.YY
YY') "DATUM", M.NAME "MEDIA_CODE", S.DESCRIPTION "SHOW", G.DESCRIPTION "GENRE",
DURATION,TOTAL_UNITS, TITLE, SUMMARY, AA.DESCRIPTION "AUTHOR_CODE",ID FROM MS
ARTICLE A , MSMEDIA M, MS_ARTICLE_SHOW S, MS_ARTICLE_GENRE G, MS_ARTICLE_AUTHO
3 1 3.0 0.0 0.16 1.54 4mntfva3ftsv3
Module: php-cgi.exe
SELECT M.NAME, O.X FROM MS_MEDIA M,(SELECT A.MEDIA_CODE, COUNT(A.ID) "X" FROM MS
ARTICLE A,(SELECT DISTINCT RA.IDARTICLE FROM MS_REPORT_ARTICLE RA, MS_REPORT R
,(SELECT ID,ID_SUBCLIPPING from MS_REPORT R WHERE ( ID_SUBCLIPPING='KONKURENCAAB
ANKA' ) ) O WHERE ( R.ID_SUBCLIPPING='KONKURENCAABANKA' ) AND R.ID = RA.ID_REP
SQL ordered by Reads DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Total Disk Reads: 309,883
-> Captured SQL accounts for 0.0% of Total Disk Reads
Reads CPU Elapsed
Physical Reads Executions per Exec %Total Time (s) Time (s) SQL Id
3 15 0.2 0.0 0.01 0.34 70th7d08hqjf7
SELECT B.TYPE FROM SYS.WRI$_ADV_TASKS A, SYS.WRI$_ADV_DEFINITIONS B WHERE A.ADVI
SOR_ID = B.ID AND A.ID = :B1
SQL ordered by Executions DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Total Executions: 283,866
-> Captured SQL accounts for 72.7% of Total Executions
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) SQL Id
48,374 48,374 1.0 0.00 0.00 4m7m0t6fjcs5x
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=
:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
48,347 48,347 1.0 0.00 0.01 8vjk5pma3nkjm
Module: ReportQueueService.exe
SELECT "MS_REPORTQUEUE_DISPATCH_SEQ".NEXTVAL FROM DUAL
48,344 48,344 1.0 0.00 0.00 2skwhauh2cwky
select o.name, u.name from obj$ o, user$ u where o.obj# = :1 and o.owner# = u.u
ser#
48,344 0 0.0 0.00 0.00 7gtztzv329wg0
select c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and
cd.enabled = :1 and c.owner# = u.user#
2,163 3 0.0 0.00 0.03 803b7z0t84sq7
select job, nvl2(last_date, 1, 0) from sys.job$ where (((:1 <= next_date) and (n
ext_date < :2)) or ((last_date is null) and (next_date < :3))) and (field1 =
:4 or (field1 = 0 and 'Y' = :5)) and (this_date is null) order by next_date, jo
b
2,160 2,160 1.0 0.00 0.01 g2wr3u7s1gtf3
select count(*) from sys.job$ where (next_date > sysdate) and (next_date < (sysd
ate+5/86400))
1,738 1,738 1.0 0.00 0.00 f3w0gf816s7mj
Module: php-cgi.exe
SELECT CHAR_1 ,CHAR_2 ,CHAR_3 ,CHAR_4 ,CHAR_5 ,CHAR_6 ,CHAR_7 ,CHAR_8 ,CHAR_9 ,C
HAR_10,CHAR_11,CHAR_12,CHAR_13,CHAR_14,CHAR_15,CHAR_16,CHAR_17,CHAR_18,CHAR_19,C
HAR_20,CHAR_21,CHAR_22,CHAR_23,CHAR_24,CHAR_25,CHAR_26,CHAR_27,CHAR_28,CHAR_29,C
HAR_30,CHAR_31,CHAR_32,CHAR_33,CHAR_34,CHAR_35,CHAR_36,CHAR_37,CHAR_38,CHAR_39,C
765 4,029 5.3 0.00 0.00 0h6b2sajwb74n
select privilege#,level from sysauth$ connect by grantee#=prior privilege# and p
rivilege#>0 start with grantee#=:1 and privilege#>0
450 450 1.0 0.00 0.00 3arp7ypsf7gru
Module: Reporter.exe
SELECT TYPE,PUBLISH_TYPE,NAME FROM MS_MEDIA WHERE CODE='VECER'
438 435 1.0 0.00 0.00 3c1kubcdjnppq
update sys.col_usage$ set equality_preds = equality_preds + decode(bitan
d(:flag,1),0,0,1), equijoin_preds = equijoin_preds + decode(bitand(:flag
,2),0,0,1), nonequijoin_preds = nonequijoin_preds + decode(bitand(:flag,4),0,0
,1), range_preds = range_preds + decode(bitand(:flag,8),0,0,1),
SQL ordered by Parse Calls DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Total Parse Calls: 279,007
-> Captured SQL accounts for 72.4% of Total Parse Calls
% Total
Parse Calls Executions Parses SQL Id
48,374 48,374 17.34 4m7m0t6fjcs5x
update seq$ set increment$=:2,minvalue=:3,maxvalue=:4,cycle#=:5,order$=:6,cache=
:7,highwater=:8,audit$=:9,flags=:10 where obj#=:1
48,347 48,347 17.33 8vjk5pma3nkjm
Module: ReportQueueService.exe
SELECT "MS_REPORTQUEUE_DISPATCH_SEQ".NEXTVAL FROM DUAL
48,344 48,344 17.33 2skwhauh2cwky
select o.name, u.name from obj$ o, user$ u where o.obj# = :1 and o.owner# = u.u
ser#
48,344 48,344 17.33 7gtztzv329wg0
select c.name, u.name from con$ c, cdef$ cd, user$ u where c.con# = cd.con# and
cd.enabled = :1 and c.owner# = u.user#
1,738 1,738 0.62 f3w0gf816s7mj
Module: php-cgi.exe
SELECT CHAR_1 ,CHAR_2 ,CHAR_3 ,CHAR_4 ,CHAR_5 ,CHAR_6 ,CHAR_7 ,CHAR_8 ,CHAR_9 ,C
HAR_10,CHAR_11,CHAR_12,CHAR_13,CHAR_14,CHAR_15,CHAR_16,CHAR_17,CHAR_18,CHAR_19,C
HAR_20,CHAR_21,CHAR_22,CHAR_23,CHAR_24,CHAR_25,CHAR_26,CHAR_27,CHAR_28,CHAR_29,C
HAR_30,CHAR_31,CHAR_32,CHAR_33,CHAR_34,CHAR_35,CHAR_36,CHAR_37,CHAR_38,CHAR_39,C
765 765 0.27 0h6b2sajwb74n
select privilege#,level from sysauth$ connect by grantee#=prior privilege# and p
rivilege#>0 start with grantee#=:1 and privilege#>0
450 450 0.16 3arp7ypsf7gru
Module: Reporter.exe
SELECT TYPE,PUBLISH_TYPE,NAME FROM MS_MEDIA WHERE CODE='VECER'
303 303 0.11 g00cj285jmgsw
update sys.mon_mods$ set inserts = inserts + :ins, updates = updates + :upd, del
etes = deletes + :del, flags = (decode(bitand(flags, :flag), :flag, flags, flags
+ :flag)), drop_segments = drop_segments + :dropseg, timestamp = :time where ob
j# = :objn
303 303 0.11 350f5yrnnmshs
lock table sys.mon_mods$ in exclusive mode nowait
263 263 0.09 7k11t6vfbad3z
Module: Reporter.exe
SELECT TYPE,PUBLISH_TYPE,NAME FROM MS_MEDIA WHERE CODE='FINANCE'
SQL ordered by Sharable Memory DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
SQL ordered by Version Count DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Instance Activity Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Statistic Total per Second per Trans
active txn count during cleanout 314 0.0 1.2
application wait time 5,338 0.5 19.6
background checkpoints completed 11 0.0 0.0
background checkpoints started 12 0.0 0.0
background timeouts 30,043 2.8 110.1
branch node splits 0 0.0 0.0
buffer is not pinned count 113,729,539 10,498.6 416,591.7
buffer is pinned count 233,007 21.5 853.5
bytes received via SQL*Net from 126,352,561 11,663.9 462,829.9
bytes sent via SQL*Net to client 331,740,626 30,623.8 1,215,167.1
Cached Commit SCN referenced 57 0.0 0.2
calls to get snapshot scn: kcmgs 8,354,353 771.2 30,602.0
calls to kcmgas 110,109 10.2 403.3
calls to kcmgcs 606 0.1 2.2
change write time 1,203 0.1 4.4
cleanout - number of ktugct call 324 0.0 1.2
cleanouts and rollbacks - consis 25 0.0 0.1
cleanouts only - consistent read 4 0.0 0.0
cluster key scan block gets 62,128 5.7 227.6
cluster key scans 49,051 4.5 179.7
commit cleanout failures: buffer 0 0.0 0.0
commit cleanout failures: callba 3 0.0 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 51,067 4.7 187.1
commit cleanouts successfully co 51,064 4.7 187.1
Commit SCN cached 2 0.0 0.0
commit txn count during cleanout 97 0.0 0.4
concurrency wait time 329,626 30.4 1,207.4
consistent changes 109 0.0 0.4
consistent gets 656,978,539 60,647.3 2,406,514.8
consistent gets - examination 712,859 65.8 2,611.2
consistent gets direct 309,561 28.6 1,133.9
consistent gets from cache 656,668,978 60,618.7 2,405,380.9
CPU used by this session 316,638 29.2 1,159.9
CPU used when call started 316,638 29.2 1,159.9
CR blocks created 111 0.0 0.4
cursor authentications 6,546 0.6 24.0
data blocks consistent reads - u 108 0.0 0.4
db block changes 553,529 51.1 2,027.6
db block gets 804,149 74.2 2,945.6
db block gets direct 38 0.0 0.1
db block gets from cache 804,111 74.2 2,945.5
DB time 1,147,447 105.9 4,203.1
DBWR checkpoint buffers written 50,646 4.7 185.5
DBWR checkpoints 12 0.0 0.0
DBWR object drop buffers written 0 0.0 0.0
DBWR revisited being-written buf 0 0.0 0.0
DBWR thread checkpoint buffers w 0 0.0 0.0
DBWR transaction table writes 91 0.0 0.3
DBWR undo block writes 48,633 4.5 178.1
deferred (CURRENT) block cleanou 49,868 4.6 182.7
dirty buffers inspected 0 0.0 0.0
enqueue conversions 2,200 0.2 8.1
enqueue releases 290,145 26.8 1,062.8
enqueue requests 290,145 26.8 1,062.8
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 283,866 26.2 1,039.8
frame signature mismatch 0 0.0 0.0
free buffer inspected 661 0.1 2.4
Instance Activity Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Statistic Total per Second per Trans
free buffer requested 14,055 1.3 51.5
heap block compress 904 0.1 3.3
hot buffers moved to head of LRU 1,387 0.1 5.1
immediate (CR) block cleanout ap 29 0.0 0.1
immediate (CURRENT) block cleano 518 0.1 1.9
IMU bind flushes 0 0.0 0.0
IMU commits 0 0.0 0.0
IMU contention 0 0.0 0.0
IMU CR rollbacks 0 0.0 0.0
IMU- failed to get a private str 48,866 4.5 179.0
IMU Flushes 0 0.0 0.0
IMU ktichg flush 0 0.0 0.0
IMU pool not allocated 48,866 4.5 179.0
IMU recursive-transaction flush 0 0.0 0.0
IMU Redo allocation size 0 0.0 0.0
IMU undo allocation size 0 0.0 0.0
index fast full scans (full) 901 0.1 3.3
index fetch by key 264,686 24.4 969.6
index scans kdiixs1 250,500 23.1 917.6
leaf node splits 90 0.0 0.3
leaf node 90-10 splits 39 0.0 0.1
logons cumulative 147 0.0 0.5
messages received 100,083 9.2 366.6
messages sent 100,083 9.2 366.6
Misses for writing mapping 1 0.0 0.0
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 655,358,632 60,497.7 2,400,581.1
opened cursors cumulative 230,635 21.3 844.8
parse count (failures) 7 0.0 0.0
parse count (hard) 8,776 0.8 32.2
parse count (total) 279,007 25.8 1,022.0
parse time cpu 5,167 0.5 18.9
parse time elapsed 90,687 8.4 332.2
physical read IO requests 309,720 28.6 1,134.5
physical reads 309,883 28.6 1,135.1
physical reads cache 274 0.0 1.0
physical reads cache prefetch 64 0.0 0.2
physical reads direct 309,609 28.6 1,134.1
physical reads direct (lob) 309,554 28.6 1,133.9
physical reads direct temporary 0 0.0 0.0
physical reads prefetch warmup 0 0.0 0.0
physical write IO requests 4,647 0.4 17.0
physical writes 50,739 4.7 185.9
physical writes direct 93 0.0 0.3
physical writes direct (lob) 13 0.0 0.1
physical writes direct temporary 0 0.0 0.0
physical writes from cache 50,646 4.7 185.5
physical writes non checkpoint 13,534 1.3 49.6
pinned buffers inspected 0 0.0 0.0
prefetch clients - default 0 0.0 0.0
prefetch warmup blocks aged out 0 0.0 0.0
prefetch warmup blocks flushed o 0 0.0 0.0
prefetched blocks aged out befor 0 0.0 0.0
process last non-idle time 165,677,888,421 15,294,119.1 #############
PX local messages recv'd 0 0.0 0.0
PX local messages sent 0 0.0 0.0
recovery blocks read 0 0.0 0.0
recursive calls 1,597,661 147.5 5,852.2
recursive cpu usage 11,184 1.0 41.0
redo blocks written 221,040 20.4 809.7
Instance Activity Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Statistic Total per Second per Trans
redo buffer allocation retries 33 0.0 0.1
redo entries 280,995 25.9 1,029.3
redo log space requests 21 0.0 0.1
redo log space wait time 529 0.1 1.9
redo ordering marks 12,324 1.1 45.1
redo size 87,432,032 8,071.1 320,263.9
redo synch time 123,911 11.4 453.9
redo synch writes 96,422 8.9 353.2
redo wastage 22,205,548 2,049.9 81,339.0
redo write time 127,993 11.8 468.8
redo writer latching time 81 0.0 0.3
redo writes 97,141 9.0 355.8
rollback changes - undo records 48,377 4.5 177.2
rollbacks only - consistent read 80 0.0 0.3
rows fetched via callback 122,917 11.4 450.3
session connect time 165,677,888,421 15,294,119.1 #############
session logical reads 657,782,688 60,721.5 2,409,460.4
session pga memory max 9,254,040 854.3 33,897.6
session uga memory 3,911,344 361.1 14,327.3
session uga memory max 188,025,700 17,357.1 688,738.8
shared hash latch upgrades - no 250,555 23.1 917.8
shared hash latch upgrades - wai 2 0.0 0.0
sorts (disk) 0 0.0 0.0
sorts (memory) 9,374 0.9 34.3
sorts (rows) 1,065,331 98.3 3,902.3
SQL*Net roundtrips to/from clien 540,955 49.9 1,981.5
summed dirty queue length 0 0.0 0.0
switch current to new buffer 91 0.0 0.3
table fetch by rowid 140,045 12.9 513.0
table fetch continued row 82,641,580 7,628.8 302,716.4
table scan blocks gotten 572,610,809 52,859.1 2,097,475.5
table scan rows gotten 753,552,008 69,562.2 2,760,263.8
table scans (long tables) 22,633 2.1 82.9
table scans (rowid ranges) 0 0.0 0.0
table scans (short tables) 8,001 0.7 29.3
transaction rollbacks 48,096 4.4 176.2
transaction tables consistent re 0 0.0 0.0
transaction tables consistent re 0 0.0 0.0
undo change vector size 21,086,568 1,946.6 77,240.2
user calls 616,784 56.9 2,259.3
user commits 246 0.0 0.9
user I/O wait time 890 0.1 3.3
user rollbacks 27 0.0 0.1
workarea executions - onepass 0 0.0 0.0
workarea executions - optimal 9,370 0.9 34.3
write clones created in backgrou 3 0.0 0.0
write clones created in foregrou 18 0.0 0.1
Instance Activity Stats - Absolute Values DB/Inst: PRESCLIP/presclip Snaps: 4
-> Statistics with absolute values (should not be diffed)
-> Statistics identified by '(derived)' come from sources other than SYSSTAT
Statistic Begin Value End Value
logons current 22 24
open threads (derived) 1 1
opened cursors current 109 138
workarea memory allocated 167,837 167,837
Instance Activity Stats - Thread Activity DB/Inst: PRESCLIP/presclip Snaps: 45
Statistic Total per Hour
log switches (derived) 12 3.99
Tablespace IO Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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)
PRESCLIP
309,551 29 0.9 1.0 461 0 0 0.0
UNDOTBS1
11 0 4.5 1.0 3,215 0 27 18.1
SYSAUX
68 0 19.7 1.0 651 0 0 0.0
SYSTEM
86 0 12.0 1.0 275 0 0 0.0
USERS
11 0 25.5 1.0 11 0 0 0.0
File IO Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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)
PRESCLIP /home/orabase/oradata/presclip/.dbf
309,551 29 0.9 1.0 461 0 0 0.0
SYSAUX /home/orabase/OraHome_1/oradata/presclip/sysaux01.db
68 0 19.7 1.0 651 0 0 0.0
SYSTEM /home/orabase/OraHome_1/oradata/presclip/system01.db
86 0 12.0 1.0 275 0 0 0.0
UNDOTBS1 /home/orabase/OraHome_1/oradata/presclip/undotbs01.d
11 0 4.5 1.0 3,215 0 27 18.1
USERS /home/orabase/OraHome_1/oradata/presclip/users01.dbf
11 0 25.5 1.0 11 0 0 0.0
Buffer Pool Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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 56,112 100 657,071,568 274 50,646 0 0 27
Instance Recovery Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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 25 1619 7884 18432 18432 40111
E 0 27 1658 8134 18432 18432 40915
Buffer Pool Advisory DB/Inst: PRESCLIP/presclip Snap: 4513
-> 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 44 .1 5,511 10,860.87 7,520,121,155
D 88 .2 11,022 10,067.41 6,970,728,249
D 132 .3 16,533 9,162.63 6,344,251,131
D 176 .4 22,044 4,918.92 3,405,884,972
D 220 .5 27,555 3,758.06 2,602,099,395
D 264 .6 33,066 2,066.73 1,431,012,319
D 308 .7 38,577 6.09 4,216,864
D 352 .8 44,088 3.82 2,648,248
D 396 .9 49,599 2.46 1,701,979
D 440 1.0 55,110 1.12 772,069
D 448 1.0 56,112 1.00 692,405
D 484 1.1 60,621 0.74 512,470
D 528 1.2 66,132 0.61 423,030
D 572 1.3 71,643 0.55 383,427
D 616 1.4 77,154 0.48 334,375
D 660 1.5 82,665 0.42 291,518
D 704 1.6 88,176 0.34 233,621
D 748 1.7 93,687 0.29 198,447
D 792 1.8 99,198 0.24 164,701
D 836 1.9 104,709 0.20 140,211
D 880 2.0 110,220 0.19 128,668
PGA Aggr Summary DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
100.0 1,384 0
PGA Aggr Target Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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 200 174 53.5 0.0 .0 .0 .0 10,240
E 200 173 53.7 0.0 .0 .0 .0 10,240
PGA Aggr Target Histogram DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
2K 4K 6,784 6,784 0 0
64K 128K 250 250 0 0
128K 256K 12 12 0 0
256K 512K 926 926 0 0
512K 1024K 1,398 1,398 0 0
PGA Memory Advisory DB/Inst: PRESCLIP/presclip Snap: 4513
-> 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
25 0.1 82,699.3 1,558.6 98.0 89
50 0.3 82,699.3 1,154.7 99.0 0
100 0.5 82,699.3 318.8 100.0 0
150 0.8 82,699.3 312.1 100.0 0
200 1.0 82,699.3 265.6 100.0 0
240 1.2 82,699.3 262.8 100.0 0
280 1.4 82,699.3 262.8 100.0 0
320 1.6 82,699.3 262.8 100.0 0
360 1.8 82,699.3 262.8 100.0 0
400 2.0 82,699.3 262.8 100.0 0
600 3.0 82,699.3 262.8 100.0 0
800 4.0 82,699.3 262.8 100.0 0
1,200 6.0 82,699.3 262.8 100.0 0
1,600 8.0 82,699.3 262.8 100.0 0
Shared Pool Advisory DB/Inst: PRESCLIP/presclip Snap: 4513
-> 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
80 .2 56 4,198 72,114 1.0 14,842 1.2 16,452,599
136 .3 111 6,647 73,539 1.0 13,417 1.1 16,491,805
192 .4 166 9,432 74,005 1.0 12,951 1.1 16,508,243
248 .5 221 12,492 74,291 1.0 12,665 1.1 16,519,582
304 .6 276 16,528 74,480 1.0 12,476 1.0 16,527,543
360 .7 331 23,498 74,624 1.0 12,332 1.0 16,534,394
416 .8 386 31,198 74,703 1.0 12,253 1.0 16,542,712
472 .9 441 37,726 74,859 1.0 12,097 1.0 16,558,200
528 1.0 496 44,910 74,917 1.0 12,039 1.0 16,567,536
584 1.1 551 49,341 74,953 1.0 12,003 1.0 16,571,102
640 1.2 606 56,543 75,021 1.0 11,935 1.0 16,575,012
696 1.3 661 61,575 75,176 1.0 11,780 1.0 16,580,220
752 1.4 716 63,726 75,214 1.0 11,742 1.0 16,592,724
808 1.5 771 70,249 75,269 1.0 11,687 1.0 16,598,334
864 1.6 826 77,528 75,286 1.0 11,670 1.0 16,599,942
920 1.7 881 83,639 75,312 1.0 11,644 1.0 16,602,620
976 1.8 936 90,371 75,359 1.0 11,597 1.0 16,607,945
1,032 2.0 991 94,801 75,407 1.0 11,549 1.0 16,610,849
1,088 2.1 1,049 97,305 75,430 1.0 11,526 1.0 16,617,958
Java Pool Advisory DB/Inst: PRESCLIP/presclip Snap: 4513
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
4 .5 4 124 0 .0 5,291 1.0 0
8 1.0 4 124 0 .0 5,291 1.0 0
12 1.5 4 124 0 .0 5,291 1.0 0
16 2.0 4 124 0 .0 5,291 1.0 0
Buffer Wait Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> ordered by wait time desc, waits desc
Class Waits Total Wait Time (s) Avg Time (ms)
undo header 27 0 18
Enqueue Activity DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Undo Segment Summary DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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 48,135 96,602 128 4 0 0 0/0/0/0/0/0
Undo Segment Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> 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
17-??? 12:5 3,249 6,554 0 3 0 0 0/0/0/0/0/0
17-??? 12:4 3,216 6,571 0 2 0 0 0/0/0/0/0/0
17-??? 12:3 2,905 5,993 128 2 0 0 0/0/0/0/0/0
17-??? 12:2 2,526 5,065 123 1 0 0 0/0/0/0/0/0
17-??? 12:1 1,599 3,088 105 3 0 0 0/0/0/0/0/0
17-??? 12:0 2,122 4,208 0 3 0 0 0/0/0/0/0/0
17-??? 11:5 2,559 5,140 0 2 0 0 0/0/0/0/0/0
17-??? 11:4 3,500 7,077 0 2 0 0 0/0/0/0/0/0
17-??? 11:3 2,894 5,802 0 2 0 0 0/0/0/0/0/0
17-??? 11:2 2,882 5,852 50 2 0 0 0/0/0/0/0/0
17-??? 11:1 1,853 3,733 53 4 0 0 0/0/0/0/0/0
17-??? 11:0 1,583 3,068 0 3 0 0 0/0/0/0/0/0
17-??? 10:5 3,019 6,055 16 2 0 0 0/0/0/0/0/0
17-??? 10:4 3,026 6,046 0 2 0 0 0/0/0/0/0/0
17-??? 10:3 3,523 7,082 0 2 0 0 0/0/0/0/0/0
17-??? 10:2 3,020 6,091 0 2 0 0 0/0/0/0/0/0
17-??? 10:1 3,028 6,051 0 2 0 0 0/0/0/0/0/0
17-??? 10:0 1,631 3,126 118 3 0 0 0/0/0/0/0/0
Latch Activity DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> "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
active checkpoint queue 6,841 0.0 0 0
active service list 17,532 0.0 0 0
archive control 24 0.0 0 0
begin backup scn array 15 0.0 0 0
cache buffer handles 266 0.0 0 0
cache buffers chains 1,315,303,855 0.0 0.4 1809 14,117 0.0
cache buffers lru chain 150,748 0.1 0.3 0 211,414,162 0.3
channel handle pool latc 288 0.0 0 0
channel operations paren 35,631 0.0 0 0
checkpoint queue latch 134,882 0.0 0 50,469 0.0
child cursor hash table 65,010 0.0 0.0 0 0
client/application info 9 0.0 0 0
compile environment latc 97,494 0.0 0 0
Consistent RBA 97,153 0.0 0 0
cursor bind value captur 395 0.0 0 366 0.0
dml lock allocation 197,003 0.0 0.0 0 0
dummy allocation 292 0.0 0 0
enqueue hash chains 582,892 0.0 0.0 0 21 0.0
enqueues 285,714 0.0 0.3 0 0
event group latch 144 0.0 0 0
file cache latch 459 0.0 0 0
FOB s.o list latch 152 0.0 0 0
global KZLD latch for me 135 0.0 0 0
hash table column usage 349 0.0 0 69,116 0.0
hash table modification 214 0.0 0 0
In memory undo latch 0 0 48,866 0.0
job workq parent latch 0 0 6 0.0
job_queue_processes para 181 0.0 0 0
JOX SGA heap latch 57 0.0 0 0
JS queue state obj latch 75,204 0.0 0 0
JS slv state obj latch 9 0.0 0 0
ksuosstats global area 727 0.0 0 0
KTF sga enqueue 26 0.0 0 3,367 0.0
ktm global data 199 0.0 0 0
KWQMN job cache list lat 36 0.0 0 0
lgwr LWN SCN 99,219 0.0 0 0
library cache 3,214,193 0.4 1.1 1498 34,182 2.3
library cache load lock 210 0.0 0 0
library cache lock 1,165,646 0.0 0.0 0 0
library cache lock alloc 99,387 0.0 0 0
library cache pin 1,779,127 0.0 0.1 0 4 0.0
library cache pin alloca 3,633 0.0 0 0
list of block allocation 123 0.0 0 0
loader state object free 584,340 0.0 0.1 0 0
longop free list parent 20 0.0 0 20 0.0
Memory Management Latch 52,575 0.0 0 3,517 0.0
message pool operations 2 0.0 0 0
messages 528,349 0.0 0.0 0 0
mostly latch-free SCN 99,228 0.0 0.0 0 0
MQL Tracking Latch 0 0 215 0.0
multiblock read objects 116 0.0 0 0
ncodef allocation latch 177 0.0 0 0
object queue header heap 11 0.0 0 0
object queue header oper 269,271 0.0 0 0
object stats modificatio 519 0.0 0 0
parallel query alloc buf 1,380 0.0 0 0
parameter table allocati 292 0.7 1.0 0 0
PL/SQL warning settings 149 0.0 0 0
post/wait queue 142,398 0.0 0 94,641 0.0
process allocation 144 0.0 0 144 0.0
Latch Activity DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> "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
process group creation 286 0.0 0 0
redo allocation 296,404 0.0 0.4 0 280,980 0.0
redo copy 0 0 281,096 0.1
redo writing 305,448 0.0 1.0 0 0
row cache objects 19,800,316 0.3 0.0 1 963 0.0
sequence cache 98,007 0.0 0 0
session allocation 275,416 0.0 1.0 0 0
session idle bit 1,331,355 0.0 0.2 0 0
session switching 177 0.0 0 0
session timer 3,643 0.0 0 0
shared pool 1,723,175 0.2 0.8 323 0
simulator hash latch 54,940,030 0.0 0 0
simulator lru latch 2,170 99.3 1.0 106 425,026 170.0
slave class 6 0.0 0 0
slave class create 24 12.5 1.0 1 0
sort extent pool 313 0.0 0 0
SQL memory manager latch 3 0.0 0 3,414 0.0
SQL memory manager worka 330,753 0.0 1.0 0 0
state object free list 6 0.0 0 0
statistics aggregation 420 0.0 0 0
SWRF Alerted Metric Elem 36,081 0.0 0 0
temp lob duration state 1 0.0 0 0
threshold alerts latch 428 0.0 0 0
transaction allocation 113 0.0 0 0
transaction branch alloc 177 0.0 0 0
undo global data 395,466 0.0 0.0 0 0
user lock 542 0.0 0 0
Latch Sleep Breakdown DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> ordered by misses desc
Latch Name
Get Requests Misses Sleeps Spin Gets Sleep1 Sleep2 Sleep3
cache buffers chains
1,315,303,855 385,895 142,296 320,582 647 54,945 9,721
row cache objects
19,800,316 63,155 18 63,138 16 1 0
library cache
3,214,193 12,757 13,804 1,332 9,607 1,392 426
shared pool
1,723,175 2,950 2,220 1,107 1,594 192 57
simulator lru latch
2,170 2,155 2,102 136 1,940 75 4
cache buffers lru chain
150,748 160 44 116 44 0 0
loader state object freelist
584,340 103 12 91 12 0 0
session idle bit
1,331,355 52 12 45 2 5 0
library cache pin
1,779,127 35 2 33 2 0 0
redo allocation
296,404 21 9 13 7 1 0
enqueues
285,714 6 2 4 2 0 0
slave class create
24 3 3 0 3 0 0
parameter table allocation management
292 2 2 0 2 0 0
session allocation
275,416 1 1 0 1 0 0
SQL memory manager workarea list latch
330,753 1 1 0 1 0 0
redo writing
305,448 1 1 0 1 0 0
Latch Miss Sources DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> only latches with sleeps are shown
-> ordered by name, sleeps desc
NoWait Waiter
Latch Name Where Misses Sleeps Sleeps
cache buffers chains kcbgtcr: kslbegin excl 0 106,533 141,883
cache buffers chains kcbrls: kslbegin 0 31,818 228
cache buffers chains kcbnew: new latch again 0 3,533 10
cache buffers chains kcbgtcr: fast path 0 216 75
cache buffers chains kcbbxsv 0 123 10
cache buffers chains kcbgcur: kslbegin 0 43 38
cache buffers chains kcbzpnd: dump buffers 0 13 0
cache buffers chains kcbchg: kslbegin: bufs not 0 5 15
cache buffers chains kcbzhngcbk1: get hash chai 0 4 0
cache buffers chains kcbbic2 0 2 0
cache buffers chains kcbnlc 0 2 0
cache buffers lru chain kcbzar: KSLNBEGIN 0 38 0
cache buffers lru chain kcbkflb : age buffer out 0 3 0
cache buffers lru chain kcbgtcr:CR Scan:KCBRSKIP 0 2 0
cache buffers lru chain kcbzrn 0 1 26
enqueues ksqdel 0 2 0
library cache kglic 0 9,080 531
library cache kglupc: child 0 692 1,667
library cache kglpndl: child: before pro 0 658 926
library cache kglobpn: child: 0 490 2,150
library cache kglpin 0 284 154
library cache kglpndl: child: after proc 0 269 7
library cache kglpin: child: heap proces 0 226 14
library cache kgldti: 2child 0 197 156
library cache kgldte: child 0 0 183 1,986
library cache kglhdgc: child: 0 167 97
library cache kglhdgn: child: 0 156 2,103
library cache kglpnc: child 0 59 313
library cache kglobld 0 34 212
library cache kglpnp: child 0 9 7
library cache kglget: set reserved lock 0 8 418
library cache kglati 0 5 7
library cache lock kgllkdl: child: no lock ha 0 567 2,472
library cache pin kglpndl 0 1 1
library cache pin kglupc 0 1 0
loader state object free kcblfs 0 6 0
loader state object free kcblgs 0 6 12
parameter table allocati ksp_param_table_alloc 0 2 2
redo allocation kcrfw_redo_gen: redo alloc 0 9 0
redo writing kcrfwnf: new logfile 0 1 0
row cache objects kqreqd: reget 0 12 0
row cache objects kqrpre: find obj 0 5 17
row cache objects kqrso 0 1 0
session allocation ksuxds: KSUSFCLC set 0 1 0
session idle bit ksupuc: set busy 0 7 5
session idle bit ksupuc: clear busy 0 5 7
shared pool kghalo 0 1,271 612
shared pool kghupr1 0 446 1,365
shared pool kghfrunp: clatch: wait 0 361 584
shared pool kghfrunp: clatch: nowait 0 359 0
shared pool kghfrunp: alloc: wait 0 323 173
shared pool kghalp 0 117 49
shared pool kghfen: not perm alloc cla 0 60 20
shared pool kgh: permsp 0 1 0
shared pool kghfre 0 1 0
shared pool kghfree_extents: scan 0 1 1
simulator lru latch kcbs_simulate: simulate se 0 2,102 2,102
slave class create ksvcreate 0 3 0
SQL memory manager worka qesmmIRefreshBound 0 1 0
Parent Latch Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Child Latch Statistics DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Segments by Logical Reads DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> % Total shows % of logical reads for each top segment compared with total
logical reads for all segments captured by the Snapshot
Tablespace Subobject Obj. Logical
Owner Name Object Name Name Type Reads %Total
PRESCLIP PRESCLIP MS_ARTICLE TABLE 654,906,160 99.71
PRESCLIP PRESCLIP SYS_LOB0000051093C00 LOB 304,080 .05
PRESCLIP PRESCLIP MS_REPORTQUEUE_DISPA TABLE 233,936 .04
PRESCLIP PRESCLIP MS_ARTICLE_STAGE1 TABLE 97,808 .01
SYS SYSTEM I_CDEF4 INDEX 97,744 .01
Segments by Physical Reads DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Tablespace Subobject Obj. Physical
Owner Name Object Name Name Type Reads %Total
PRESCLIP PRESCLIP SYS_LOB0000051093C00 LOB 303,704 98.13
PRESCLIP PRESCLIP SYS_LOB0000051093C00 LOB 4,529 1.46
PRESCLIP PRESCLIP SYS_LOB0000046827C00 LOB 1,118 .36
PRESCLIP PRESCLIP MS_ARTICLE TABLE 50 .02
SYS SYSAUX SYS_LOB0000008026C00 LOB 36 .01
Segments by Buffer Busy Waits DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Segments by Row Lock Waits DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Segments by ITL Waits DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
No data exists for this section of the report.
Dictionary Cache Stats DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> "Pct Misses" should be very low (< 2% in most cases)
-> "Final Usage" is the number of cache entries being used
Get Pct Scan Pct Mod Final
Cache Requests Miss Reqs Miss Reqs Usage
dc_awr_control 191 0.0 0 6 1
dc_global_oids 8,745 0.0 0 0 26
dc_histogram_data 39,720 0.0 0 0 674
dc_histogram_defs 35,456 0.3 0 0 2,671
dc_object_ids 5,847,398 0.0 0 0 1,116
dc_objects 14,462 0.2 0 0 789
dc_profiles 138 0.0 0 0 1
dc_rollback_segments 2,480 0.0 0 0 23
dc_segments 374,462 0.0 0 29 927
dc_sequences 48,405 0.0 0 48,405 13
dc_tablespaces 112,712 0.0 0 0 6
dc_usernames 709 0.0 0 0 18
dc_users 79,348 0.0 0 0 67
outstanding_alerts 126 0.0 0 0 6
Library Cache Activity DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
-> "Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 44 4.5 243 0.8 0 0
CLUSTER 19 0.0 48 0.0 0 0
INDEX 2 0.0 2 0.0 0 0
JAVA DATA 3 0.0 0 0 0
SQL AREA 230,499 3.4 711,949 2.4 860 0
TABLE/PROCEDURE 685 4.4 152,247 0.1 34 0
TRIGGER 3 0.0 48,579 0.0 0 0
SGA Memory Summary DB/Inst: PRESCLIP/presclip Snap: 4513
SGA regions Size in Bytes
Database Buffers 469,762,048
Fixed Size 782,404
Redo Buffers 524,288
Variable Size 573,312,956
SGA breakdown difference DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
Pool Name Begin value End value % Diff
java free memory 2,763,968 2,763,968 0.00
java joxlod exec hp 5,346,432 5,346,432 0.00
java joxs heap 278,208 278,208 0.00
large free memory 7,486,448 7,486,448 0.00
large PX msg pool 902,160 902,160 0.00
shared ASH buffers 4,194,304 4,194,304 0.00
shared dbwriter coalesce buffer 1,049,088 1,049,088 0.00
shared event statistics per sess 3,860,360 3,860,360 0.00
shared fixed allocation callback 344 344 0.00
shared free memory 50,274,976 46,941,344 -6.63
shared joxlod exec hp 316,300 316,300 0.00
shared joxlod pcod hp 54,664 54,664 0.00
shared joxs heap 4,220 4,220 0.00
shared KGLS heap 3,170,548 1,698,292 -46.44
shared KQR L SO 250,952 250,952 0.00
shared KQR M PO 2,723,332 2,623,064 -3.68
shared KQR M SO 980,320 391,016 -60.11
shared KQR S PO 279,256 279,256 0.00
shared KQR S SO 11,300 11,300 0.00
shared KTI-UNDO 1,235,304 1,235,304 0.00
shared library cache 111,273,504 94,381,576 -15.18
shared miscellaneous 35,266,584 35,266,728 0.00
shared parameters 18,108 11,348 -37.33
shared partitioning d 407,116 56,904 -86.02
shared PLS non-lib hp 10,404 10,404 0.00
shared PL/SQL DIANA 1,061,084 920,768 -13.22
shared PL/SQL MPCODE 1,972,164 1,999,880 1.41
shared PL/SQL PPCODE 40,964 21,192 -48.27
shared pl/sql source 17,732 104 -99.41
shared private strands 1,198,080 1,198,080 0.00
shared PX subheap 131,068 131,068 0.00
shared repository 188,420 188,420 0.00
shared row cache 3,707,272 3,707,272 0.00
shared sql area 329,584,656 352,498,780 6.95
shared table definiti 3,916 3,156 -19.41
shared trigger defini 9,756 4,304 -55.88
shared trigger inform 1,564 1,564 0.00
shared type object de 336,772 336,772 0.00
buffer_cache 469,762,048 469,762,048 0.00
fixed_sga 782,404 782,404 0.00
log_buffer 524,288 524,288 0.00
Resource Limit Stats DB/Inst: PRESCLIP/presclip Snap: 4513
No data exists for this section of the report.
init.ora Parameters DB/Inst: PRESCLIP/presclip Snaps: 4510-4513
End value
Parameter Name Begin value (if different)
background_dump_dest /home/orabase/admin/presclip/bdum
compatible 10.1.0.2.0
control_files /home/orabase/OraHome_1/oradata/p
core_dump_dest /home/orabase/admin/presclip/cdum
db_block_size 8192
__db_cache_size 469762048
db_domain pressclip.si
db_file_multiblock_read_count 16
db_name presclip
db_recovery_file_dest /home/orabase/flash_recovery_area
db_recovery_file_dest_size 2147483648
dispatchers (PROTOCOL=TCP) (SERVICE=presclipX
__java_pool_size 8388608
job_queue_processes 10
__large_pool_size 8388608
nls_date_format DD.MM.YYYY HH24:MI:SS
nls_language SLOVENIAN
nls_territory SLOVENIA
nls_time_format HH24:MI:SS
open_cursors 1500
pga_aggregate_target 209715200
processes 150
remote_login_passwordfile EXCLUSIVE
sga_max_size 1044381696
sga_target 1044381696
__shared_pool_size 553648128
undo_management AUTO
undo_tablespace UNDOTBS1
user_dump_dest /home/orabase/admin/presclip/udum
-------------------------------------------------------- -
How can I drag and drop a Tidal job into another group?
How can I drag and drop a Tidal job into another group? In Tidal Help, it says-
In the Jobs pane, press and hold the Ctrl key and at the same time right-click and either individually select individual jobs within a job group or drag your mouse cursor over a block of jobs that you wish to select. You can only move multiple jobs between job groups if the jobs being moved are on the same level.
Keeping the right mouse button depressed, drag the cursor to the job group that you wish to move the jobs to and release the mouse button.
When moving jobs from one job group to another, you must decide if the moved jobs keep their original job group attributes or assume the calendar and agent characteristics of its new job group.
A confirmation dialog, offers three inheritance options for the jobs moved to the "new" job group parent. Select one of the following options:
However, when I attempt to follow those instructions, it doesn't work at all and there is no indication that it's even trying (i.e., I don't see the selected job following my cursor at all and all I get is the normal menu when you right click anywhere on the screen.)
Is there another way to do this or is there a master setting that needs to be changed so that ability is enabled?
Thanks.Go into edit mode for the job group group and just manually edit the section for Parent job/Group.
Cheers -
Please help : how to solve large Latch Free wait on : channel operations parent latch .
From AWR Report :
Latch Sleep Breakdown
ordered by misses desc
Latch Name
Get Requests
Misses
Sleeps
Spin Gets
Sleep1
Sleep2
Sleep3
channel operations parent latch
94,686,848
76,112,489
7,260,219
71,049,400
0
0
0
library cache
365,476,343
11,747,162
140,997
11,622,072
0
0
0
How to find what the coause of this wait is ?
Thank's .I have total : 48 CPUs : 4x12 Cores .
Operating System Statistics
Statistic
Total
AVG_BUSY_TIME
115,960
AVG_IDLE_TIME
275,739
AVG_SYS_TIME
2.3E+18
AVG_USER_TIME
107,040
BUSY_TIME
5,581,101
IDLE_TIME
13,250,065
SYS_TIME
428,160
USER_TIME
5,152,941
RSRC_MGR_CPU_WAIT_TIME
0
VM_IN_BYTES
-9.5E+18
VM_OUT_BYTES
-4.5E+16
PHYSICAL_MEMORY_BYTES
4.1E+11
NUM_CPUS
48
NUM_CPU_CORES
48
This is a standart one hour awr report :
Snap Id
Snap Time
Sessions
Cursors/Session
Begin Snap:
59886
10-Jul-13 09:00:48
789
ย ย ย ย 36.9
End Snap:
59887
10-Jul-13 10:06:17
933
ย ย ย ย 36.5
Elapsed:
ย ย ย ย ย ย ย ย ย ย ย ย ย 65.48 (mins)
DB Time:
ย ย ย ย ย ย ย ย ย ย 9,645.25 (mins) -
STATSPACK ์ํ๋ฐฉ๋ฒ ( STATSPACK SNAPSHOT ์์ง )
์ ํ : ORACLE SERVER
์์ฑ๋ ์ง : 2002-10-10
STATSPACK ์ํ๋ฐฉ๋ฒ ( STATSPACK SNAPSHOT ์์ง )
==============================================
PURPOSE
์ด ์๋ฃ๋ oracle 8.1.6๋ถํฐ ์๋ก์ด ์ ๊ณต๋๋ ์ฑ๋ฅ ์ง๋จ๋๊ตฌ์ธ statspack์
์ํ ๋ฐฉ๋ฒ์ ๋ํด ๊ธฐ์ ํ๋ค.
Explanation
1. StatsPack snapshot ์์ง
snapshot ์์ง์ ์ํ ๊ฐ์ฅ ๋จ์ํ ๋ฐฉ๋ฒ์ SQL*Plus์ PERFSTAT ์ฌ์ฉ์๋ก
loginํ ํ, statspack.snap ํ๋ก์์ ธ๋ฅผ ์ํ์ํค๋ ๊ฒ์ด๋ค.
์.
SQL> connect perfstat/perfstat
SQL> execute statspack.snap;
์ฐธ๊ณ ์ฌํญ : OPS ํ๊ฒฝ์์๋ ๋ฐ์ดํฐ๋ฅผ ์์งํ๊ณ ์ ํ๋ ๋์ instance์
์ ์ํ์ฌ ์ํํ์ฌ์ผ ํ๋ค. snapshot์ ๋ชจ๋ ์ธ์คํด์ค์์ ์์ง๋์ด์ผ๋ง
๋น๊ต๋ฅผ ํด ๋ณผ ์ ์๋ค. ํ๋์ ์ธ์คํด์ค์์ ์์ง๋ snapshot ์ ๋์ผํ
์ธ์คํด์ค์์ ์์ง๋ ๋ ๋ค๋ฅธ snapshot๊ณผ ๋น๊ต๊ฐ ๋๋ค.
์ฑ๋ฅ ๋ถ์์ ์ฉ์ดํ๊ฒ ํ๊ธฐ ์ํด initSID.ora ํ๋ผ๋ฏธํฐ ํ์ผ์์
timed_statistics ๊ฐ์ true๋ก ์ง์ ํ๋ ๊ฒ์ด ์ข๋ค. timed_statistics
ํ๋ผ๋ฏธํฐ๋ alter system ๋ช ๋ น์ผ๋ก, ๋์ ์ผ๋ก ๋ณ๊ฒฝ ๊ฐ๋ฅํ ๊ฐ์ด๋ค. ์๊ฐ
์ ๋ณด๋ ๊ทธ ์์ฒด๋ก๋ ์ค์ํ ๋ฟ๋๋ฌ Oracle ๊ธฐ์ ์ง์์ ์ฑ๋ฅ๊ด๋ จ ๋ฌธ์ ๋ถ์
์ ์์ฒญํ ๋์๋ ํ์ํ๋ค.
statspack.snap ๋ฐ statspack.modify_statspack_parameter ํ๋ก์์ ธ์๋
ํ์ํ ํ๋ผ๋ฏธํฐ๋ฅผ ์ง์ ํ ์ ์๋ค.
=============================================================================
Parameter Name Valid Values Value Meaning
=============================================================================
i_snap_level 0, 5, 10 5 Snapshot ๋ ๋ฒจ
i_ucomment Text Blank Snapshot๊ณผ ํจ๊ป ์ ์ฅํ ์ค๋ช ๋ฌธ๊ตฌ
i_executions_th Integer >=0 100 SQL ๊ด๋ จ ์๊ณ์น: ์คํ๋ ํ์
i_disk_reads_th Integer >=0 1,000 SQL ๊ด๋ จ ์๊ณ์น: ๋์คํฌ READ ํ์
i_parse_calls_th Integer >=0 1,000 SQL ๊ด๋ จ ์๊ณ์น: parse call ํ์
i_buffer_gets_th Integer >=0 10,000 SQL ๊ด๋ จ ์๊ณ์น: buffer get ํ์
i_session_id Valid sid 0 (no ์ธ์ ๋จ์์ ์ฑ๋ฅ ์ ๋ณด๋ฅผ ์์งํ๊ธฐ
from session) ์ํ ๋์ session id
v$session
i_modify_parameter True, False False ํ๋ผ๋ฏธํฐ๋ฅผ ์์ผ๋ก์ snapshot์์๋
๊ณ์ ์ฌ์ฉํ๊ธฐ ์ํด ์ ์ฅํ ์ง ์ฌ๋ถ
=============================================================================
2. ์์ง๋๋ ๋ฐ์ดํฐ์ ์์ ์ง์ ํ๋ ๋ฐฉ๋ฒ
1) Snapshot ๋ ๋ฒจ
ํจํค์ง์ ์ํด ์์ง๋๋ ๋ฐ์ดํฐ ์์ snapshot ๋ ๋ฒจ์ ๋ฐ๋ผ ์กฐ์ ๋๋ค.
๋ค์ ๋งํด ์ง์ ๋ ๋ ๋ฒจ์ ์์ง๋ ๋ฐ์ดํฐ์ ์์ ๊ฒฐ์ ํ๋ค.
Level >= 0 ์ผ๋ฐ์ ์ธ ์ฑ๋ฅ ํต๊ณ
์์ง๋๋ ํต๊ณ ์ ๋ณด:
0 ์ด์์ ๋ชจ๋ ๋ ๋ฒจ์์๋ ์ผ๋ฐ์ ์ธ ์ฑ๋ฅ ๊ด๋ จ ํต๊ณ ์ ๋ณด๊ฐ
์์ง๋๋ค. ์ฌ๊ธฐ์๋ wait statistics, system event,
system statistics, rollback segment ๋ฐ์ดํฐ, row cache, SGA,
background event, session event, lock statistics,
buffer pool statistics, parent latch statistics ๋ฑ์ด ํฌํจ๋๋ค.
Level >= 5 ์ถ๊ฐ์ ์ธ ๋ฐ์ดํฐ : SQL ๋ฌธ์
์ด ๋ ๋ฒจ์์๋ ํ์ ๋ ๋ฒจ์์ ์์ง๋๋ ๋ชจ๋ ๋ฐ์ดํฐ ์ด์ธ์๋
์ถ๊ฐ์ ์ผ๋ก, ์์์ ๋ง์ด ์ฌ์ฉํ๋ SQL ๋ฌธ์ฅ๊ณผ ๊ด๋ จ๋ ์ฑ๋ฅ
์ ๋ณด๋ฅผ ์์งํ๋ค.
SQL ๊ด๋ จ '์๊ณ์น'
statspack์ ์ํด ์์ง๋๋ SQL ๋ฌธ์ฅ์ ๋ฏธ๋ฆฌ ์ง์ ๋ ๋ค์
์กฐ๊ฑด ์ค ํ๋๋ผ๋ ๋์ ๊ฒฝ์ฐ ์์ง๋๋ค.
- SQL ์คํ ํ์ (๊ธฐ๋ณธ๊ฐ 100 )
- SQL ์ฒ๋ฆฌ์ ๋ฐ์ํ๋ disk read (๊ธฐ๋ณธ๊ฐ 1,000 )
- SQL parse call ํ์ (๊ธฐ๋ณธ๊ฐ 1,000 )
- SQL ์ฒ๋ฆฌ์ ๋ฐ์ํ๋ buffer gets (๊ธฐ๋ณธ๊ฐ 10,000)
์์ ๋์ด๋ ๊ฐ๊ฐ์ ์๊ณ์น๋ ์ด๋ค SQL ๊ด๋ จ ์ ๋ณด๋ฅผ ์์งํ
๊ฒ์ธ์ง๋ฅผ ๊ฒฐ์ ํ๋ ๋ฐ ์ฌ์ฉ๋๋ค. ์์ ์ธ๊ธ๋ ์๊ณ์น ๊ฐ์ด๋ฐ
ํ๋๋ผ๋ ๋๋ SQL ๋ฌธ์ฅ๊ณผ ๊ด๋ จ๋ ์ ๋ณด๊ฐ snapshot์ ์ฒ๋ฆฌ
ํ๋ ๋์ ์์ง๋๋ค.
SQL ์๊ณ์น ๋ ๋ฒจ ๊ฐ๊ฐ์ stats$statspack_parameter ํ ์ด๋ธ์
์ ์ฅ๋์ด ์๊ฑฐ๋, snapshot ์์ง ๋น์ ํ๋ผ๋ฏธํฐ์ ์ํด ์ง์
๊ฐ๋ฅํ๋ค.
2) snapshot SQL ์๊ณ์น
๋ ๋ฒจ ์ด์ธ์๋ ์ถ๊ฐ์ ์ผ๋ก ๊ตฌ์ฑ ๊ฐ๋ฅํ ํ๋ผ๋ฏธํฐ๊ฐ ์๋ค. ์ด ํ๋ผ๋ฏธํฐ๋ค์
SQL ์์ง ์ ์ฌ์ฉ๋๋ ์๊ณ์น๋ค๋ก, ์๊ณ์น๋ฅผ ๋์ด์๋ ๋ชจ๋ SQL ๋ฌธ์ฅ๋ค์ด
์์ง๋๋ค.
snapshot level ๋ฐ ํจํค์ง์ ์ํด ์ฌ์ฉ๋๋ ์๊ณ์น ๊ด๋ จ ์ ๋ณด๋
stats$statspack_parameter ํ ์ด๋ธ์ ์ ์ฅ๋๋ค.
3) snapshot level๊ณผ SQL ๊ด๋ จ ์๊ณ์น ๊ฐ์ ๋ณ๊ฒฝํ๋ ๋ฐฉ๋ฒ
snapshot ์์ง ์์ ์ ์ฌ์ฉ๋๋ ๊ธฐ๋ณธ ํ๋ผ๋ฏธํฐ ๊ฐ์ ์กฐ์ ๊ฐ๋ฅํ๋ฉฐ,
์ด ๊ฐ์ ์กฐ์ ํจ์ผ๋ก์จ ์ธ์คํด์ค์ ๋ฏธ์น๋ ๋ถํ๋ฅผ ์ค์ด๋ฉด์, ์ํ๋
์์ค์ ์ ๋ณด๋ฅผ ์์งํ ์ ์๋ค.
* snapshot์ ๋ฐ์๋ด๋ณ์, ์๋ก์ด ๊ฐ์ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ ์ฅ
( statspack.snap ํธ์ถ ์, i_modify_parameter ๋ณ์ ๊ฐ์ ์ง์ )
SQL> execute statspack.snap -
(i_snap_level=>10, i_modify_parameter=>'true');
i_modify_parameter ๋ฅผ true๋ก ์ง์ ํ๋ฉด, ์ด ๊ฐ์ด stats$statspack_parameter
ํ ์ด๋ธ์ ์ ์ฅ๋๋ฉฐ; ์ด ๊ฐ์ด ์ดํ ์คํ๋๋ snapshot์ ์ฌ์ฉ๋๋ค.
i_modify_parameter ๊ฐ์ false๋ก ์ง์ ํ๊ฑฐ๋ ์๋ตํ๋ฉด, ํด๋น
snapshot ์์ ์๋ง ์ง์ ๋ ์ ๋ณด๊ฐ ์ฌ์ฉ๋๋ฉฐ, ์ดํ ์์ ์๋
stats$statspack_parameter ์ ์ง์ ๋ ๊ฐ์ ์ฌ์ฉํ์ฌ ์์ ์ด ์ํ๋๋ค.
* snapshot ์ํ์ ํ์ง ์๊ณ ๊ธฐ๋ณธ๊ฐ์ ๋ฐ๊พธ๊ธฐ ์ํด์๋
statspack.modify_statspack_parameter ํ๋ก์์ ธ๋ฅผ ์ฌ์ฉํ๋ค.
์๋ฅผ ๋ค์ด snapshot level์ 10์ผ๋ก ๋ณ๊ฒฝํ๊ณ , SQL ๊ด๋ จ ์๊ณ์น ๊ฐ์ด๋ฐ
buffer_gets, disk_reads ๊ฐ์ ๋ณ๊ฒฝํ๊ณ ์ ํ ๋ ๋ค์๊ณผ ๊ฐ์ด ํ๋ค.
SQL> execute statspack.modify_statspack_parameter -
(i_snap_level=>10, i_buffer_gets_th=>10000, i_disk_reads_th=>1000);
์ด ํ๋ก์์ ธ๋ฅผ ์ํ์ํค๋ฉด, snapshot ์ํ ์์ด, ๋ณ๊ฒฝ ์ฌํญ์ด
๊ณ์ํด์ ๋จ๊ฒ ๋๋ค.
modify_statspack_parameter ํ๋ก์์ ธ์ ์ง์ ๊ฐ๋ฅํ ์ ์ฒด ํ๋ผ๋ฏธํฐ์
์ ์ฒด ๋ชฉ๋ก์ snap ํ๋ก์ค์ ธ์ ๋์ผํ๋ค.
4) Session ID ์ง์
ํน์ ์ธ์ ๊ณผ ๊ด๋ จ๋ ์ ๋ณด๋ฅผ ์์งํ๊ณ ์ ํ ๊ฒฝ์ฐ, StatsPack ํธ์ถ ์
์ธ์ id ์ง์ ์ด ๊ฐ๋ฅํ๋ค. ์ธ์ ๊ณผ ๊ด๋ จํด์ ์์ง๋๋ ์ ๋ณด์๋
์ธ์ ํต๊ณ, ์ธ์ ์ด๋ฒคํธ, lock activity ๋ฑ์ด ์๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก๋
์ธ์ ๋ ๋ฒจ์ ํต๊ณ๋ ์์งํ์ง ์๊ฒ ๋์ด ์๋ค.
SQL> execute statspack.snap(i_session_id=>3);
3. StatsPack snapshot ์์ง์ ์๋ํ
์ผ์ค, ์ฃผ๊ฐ, ๋ ๊ฐ ์ ๋ณด๋ฅผ ๋น๊ตํ๊ธฐ ์ํด์๋, ์ผ์ ๊ธฐ๊ฐ ๋์ ์์ง๋
์ฌ๋ฌ ๊ฐ์ snapshot ์ ๋ณด๊ฐ ํ์ํ๋ค. ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค์
์ฑ๋ฅ ๊ด๋ จ ํน์ฑ์ ํ์ ํ๊ธฐ ์ํด์๋ ์ต์ํ ๋ ๊ฐ์ snapshot ์ ๋ณด๊ฐ ํ์
ํ๋ค.
snapshot์ ์์งํ๋ ์ต์ ์ ๋ฐฉ๋ฒ์, ์ผ์ ์ฃผ๊ธฐ๋ก snapshot ์์ง์
์๋ํ์ํค๋ ๊ฒ์ด๋ค. ์ด๋ฅผ ์ํด 2๊ฐ์ง ๋ฐฉ๋ฒ์ ์ฌ์ฉํ ์ ์๋ค.
- ๋ฐ์ดํฐ๋ฒ ์ด์ค๊ฐ ์ ๊ณตํ๋ dbms_job ํ๋ก์์ ธ๋ฅผ ์ฌ์ฉํ์ฌ snapshot
์์ง ์์ ์ ์ค์ผ์ฅด๋ฌ์ ๋ฑ๋กํ๋ค.
- OS ์์คํ ์ ํธ๋ฆฌํฐ( unix์ cron ์ด๋ NT ์ at ๋ช ๋ น )๋ฅผ ์ฌ์ฉํ์ฌ
snapshot์ ์ค์ผ์ฅด๋ฌ์ ๋ฑ๋กํ๋ค.
1) DBMS_JOB ํจํค์ง๋ฅผ ์ฌ์ฉํ StatsPack snapshot ์์ ์ ์๋ํ
์ค๋ผํด ๋ด๋ถ์ ์ผ๋ก ํต๊ณ์ ๋ณด ์์ง์ ์๋ํํ๊ณ ์ ํ๋ค๋ฉด, dbms_job
ํจํค์ง๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. ์ํ์ oracle 8.1.6์ ๊ฒฝ์ฐ $ORACLE_HOME/rdbms/admin/statsuato.sql
( 8.1.7์ด์์ $ORACLE_HOME/rdbms/admin/spauto.sql) ์ ๋ค์ด ์์ผ๋ฉฐ,
๋งค ์๊ฐ ๋ง๋ค snapshot์ ๋ฑ๋กํ๋ ์์ ์ด๋ค.
dbms_job์ ์ฌ์ฉํ์ฌ snapshot์ ์๋ํ์ํค๊ธฐ ์ํด์๋, init ํ์ผ์
job_queue_processes ํ๋ผ๋ฏธํฐ๊ฐ 0 ์ด์์ด์ด์ผ๋ง ํ๋ค.
init<SID>.ora ์์ :
# Set to enable the job queue process to start. This allows dbms_job
# to schedule automatic statistics collection using STATSPACK
job_queue_processes=1
OPS ํ๊ฒฝ์์ statsauto.sql ์ ์ฌ์ฉํ๋ค๋ฉด, statsauto.sql ์คํฌ๋ฆฝํธ๋
ํด๋ฌ์คํฐ ๋ด์ ๋ชจ๋ ์ธ์คํด์ค์์ ํ๋ฒ ์ฉ ์ํ๋๋๋ก ํ์ฌ์ผ ํ๋ค.
๋ง์ฐฌ๊ฐ์ง๋ก job_queue_processes ํ๋ผ๋ฏธํฐ ๊ฐ๋ ๋ชจ๋ ์ธ์คํด์ค์์
0 ์ด์์ ๊ฐ์ผ๋ก ์ง์ ๋์ด ์์ด์ผ ํ๋ค.
dbms_job์ ๋ํ ์์ธํ ์ฌ์ฉ๋ฐฉ๋ฒ์ <bulletin:10707> ๋ฅผ ์ฐธ์กฐํ๋ค.
2) OS ์์คํ ์ ํธ๋ฆฌํฐ๋ฅผ ์ฌ์ฉํ StatsPack snapshot ์์ ์ ์๋ํ.
unix์ cron์ ๋ฑ๋กํ๋ ๋ฐฉ๋ฒ์ <bulletin:10906>์, NT ์ at ๋ช ๋ น์ ์ฌ
์ฉํ๋ ๋ฐฉ๋ฒ์ <bulletin: 11618> ์ ์ฐธ์กฐํ๋ค.
4. ํต๊ณ์ ๋ณด ์์ง ์ฃผ๊ธฐ์ ๋ณ๊ฒฝ ๋ฐฉ๋ฒ
ํต๊ณ์ ๋ณด ์์ง ์ฃผ๊ธฐ๋ฅผ ๋ณ๊ฒฝํ๊ธฐ ์ํด์๋ dbms_job.interval ํ๋ก์์ ธ๋ฅผ
์ฌ์ฉํ๋ค.
์.
execute dbms_job.interval(1,'SYSDATE+(1/48)');
์์์ SYSDATE+(1/48) ๋ ํต๊ณ์ ๋ณด๊ฐ 1/48 ์ผ์ ํ๋ฒ์ฉ ( ๋งค 30๋ถ ๋ง๋ค)
์์ง๋๋๋ก ์ง์ ํ ์์ด๋ค.
job์ด ์ฆ์ ์คํ๋๋๋ก ํ๊ธฐ ์ํด์๋
execute dbms_job.run(<job number>);
job์ ์ค์ผ์ฅด๋ฌ์์ ์ ๊ฑฐํ๊ธฐ ์ํด์๋
execute dbms_job.remove(<job number>);
5. STATSPACK์ ์ญ์ ๋ฐ snapshot ๋ฐ์ดํ ์ ๊ฑฐ ๋ฐฉ๋ฒ.
1) Statspack ์ญ์
Statspack ํ๊ฒฝ ์ญ์ ๋ฅผ ์ํด์๋ oracle 8.1.6์ ๊ฒฝ์ฐ๋ statsdrp.sql์
oracle 8.1.7 ์ด์์ ๊ฒฝ์ฐ๋ spdrop.sql์ ์ํํ๋ค.
cd $ORACLE_HOME/rdbms/admin
SQL> connect / as sysdba
SQL> @statsdrp
2) Snapshot ๋ฐ์ดํ ์ ๊ฑฐ
๋ถํ์ํ snapshot ๋ฐ์ดํ๋ฅผ ์ ๊ฑฐํ๊ธฐ ์ํด์ oracle 8.1.7๋ถํฐ๋
sppurge.sql๊ณผ sptrunc.sql์ ์ ๊ณตํ๋ค.
ํน์ ๊ตฌ๊ฐ ์ฌ์ด์ snapshot์ ๋ณด๋ฅผ ์ ๊ฑฐํ๋ ค๋ฉด sppurge.sql์ ์ํํ๋ค.
์ด script๋ฅผ ์ํํ๋ฉด ์ญ์ ํ ์์๊ณผ ๋์ snapshot id๋ฅผ ์ง์ ํ๊ฒ ๋๋ฉฐ ์ง์
๋ ๊ตฌ๊ฐ์ snapshot ๋ฐ์ดํ๊ฐ ์ ๊ฑฐ๋๋ค.
๋ชจ๋ snapshot ์ ๋ณด๋ฅผ ์ญ์ ํ๋ ค๋ฉด sptrunc.sql์ ์ํํ๋ค.
cd $ORACLE_HOME/rdbms/admin
sqlplus perfstat/perfstat
SQL> @sptrunc
Example
none
Reference Documents
<Note:94224.1>
<Note:149121.1>์ ํ : ORACLE SERVER
์์ฑ๋ ์ง : 2002-10-10
STATSPACK ์ํ๋ฐฉ๋ฒ ( STATSPACK SNAPSHOT ์์ง )
==============================================
PURPOSE
์ด ์๋ฃ๋ oracle 8.1.6๋ถํฐ ์๋ก์ด ์ ๊ณต๋๋ ์ฑ๋ฅ ์ง๋จ๋๊ตฌ์ธ statspack์
์ํ ๋ฐฉ๋ฒ์ ๋ํด ๊ธฐ์ ํ๋ค.
Explanation
1. StatsPack snapshot ์์ง
snapshot ์์ง์ ์ํ ๊ฐ์ฅ ๋จ์ํ ๋ฐฉ๋ฒ์ SQL*Plus์ PERFSTAT ์ฌ์ฉ์๋ก
loginํ ํ, statspack.snap ํ๋ก์์ ธ๋ฅผ ์ํ์ํค๋ ๊ฒ์ด๋ค.
์.
SQL> connect perfstat/perfstat
SQL> execute statspack.snap;
์ฐธ๊ณ ์ฌํญ : OPS ํ๊ฒฝ์์๋ ๋ฐ์ดํฐ๋ฅผ ์์งํ๊ณ ์ ํ๋ ๋์ instance์
์ ์ํ์ฌ ์ํํ์ฌ์ผ ํ๋ค. snapshot์ ๋ชจ๋ ์ธ์คํด์ค์์ ์์ง๋์ด์ผ๋ง
๋น๊ต๋ฅผ ํด ๋ณผ ์ ์๋ค. ํ๋์ ์ธ์คํด์ค์์ ์์ง๋ snapshot ์ ๋์ผํ
์ธ์คํด์ค์์ ์์ง๋ ๋ ๋ค๋ฅธ snapshot๊ณผ ๋น๊ต๊ฐ ๋๋ค.
์ฑ๋ฅ ๋ถ์์ ์ฉ์ดํ๊ฒ ํ๊ธฐ ์ํด initSID.ora ํ๋ผ๋ฏธํฐ ํ์ผ์์
timed_statistics ๊ฐ์ true๋ก ์ง์ ํ๋ ๊ฒ์ด ์ข๋ค. timed_statistics
ํ๋ผ๋ฏธํฐ๋ alter system ๋ช ๋ น์ผ๋ก, ๋์ ์ผ๋ก ๋ณ๊ฒฝ ๊ฐ๋ฅํ ๊ฐ์ด๋ค. ์๊ฐ
์ ๋ณด๋ ๊ทธ ์์ฒด๋ก๋ ์ค์ํ ๋ฟ๋๋ฌ Oracle ๊ธฐ์ ์ง์์ ์ฑ๋ฅ๊ด๋ จ ๋ฌธ์ ๋ถ์
์ ์์ฒญํ ๋์๋ ํ์ํ๋ค.
statspack.snap ๋ฐ statspack.modify_statspack_parameter ํ๋ก์์ ธ์๋
ํ์ํ ํ๋ผ๋ฏธํฐ๋ฅผ ์ง์ ํ ์ ์๋ค.
=============================================================================
Parameter Name Valid Values Value Meaning
=============================================================================
i_snap_level 0, 5, 10 5 Snapshot ๋ ๋ฒจ
i_ucomment Text Blank Snapshot๊ณผ ํจ๊ป ์ ์ฅํ ์ค๋ช ๋ฌธ๊ตฌ
i_executions_th Integer >=0 100 SQL ๊ด๋ จ ์๊ณ์น: ์คํ๋ ํ์
i_disk_reads_th Integer >=0 1,000 SQL ๊ด๋ จ ์๊ณ์น: ๋์คํฌ READ ํ์
i_parse_calls_th Integer >=0 1,000 SQL ๊ด๋ จ ์๊ณ์น: parse call ํ์
i_buffer_gets_th Integer >=0 10,000 SQL ๊ด๋ จ ์๊ณ์น: buffer get ํ์
i_session_id Valid sid 0 (no ์ธ์ ๋จ์์ ์ฑ๋ฅ ์ ๋ณด๋ฅผ ์์งํ๊ธฐ
from session) ์ํ ๋์ session id
v$session
i_modify_parameter True, False False ํ๋ผ๋ฏธํฐ๋ฅผ ์์ผ๋ก์ snapshot์์๋
๊ณ์ ์ฌ์ฉํ๊ธฐ ์ํด ์ ์ฅํ ์ง ์ฌ๋ถ
=============================================================================
2. ์์ง๋๋ ๋ฐ์ดํฐ์ ์์ ์ง์ ํ๋ ๋ฐฉ๋ฒ
1) Snapshot ๋ ๋ฒจ
ํจํค์ง์ ์ํด ์์ง๋๋ ๋ฐ์ดํฐ ์์ snapshot ๋ ๋ฒจ์ ๋ฐ๋ผ ์กฐ์ ๋๋ค.
๋ค์ ๋งํด ์ง์ ๋ ๋ ๋ฒจ์ ์์ง๋ ๋ฐ์ดํฐ์ ์์ ๊ฒฐ์ ํ๋ค.
Level >= 0 ์ผ๋ฐ์ ์ธ ์ฑ๋ฅ ํต๊ณ
์์ง๋๋ ํต๊ณ ์ ๋ณด:
0 ์ด์์ ๋ชจ๋ ๋ ๋ฒจ์์๋ ์ผ๋ฐ์ ์ธ ์ฑ๋ฅ ๊ด๋ จ ํต๊ณ ์ ๋ณด๊ฐ
์์ง๋๋ค. ์ฌ๊ธฐ์๋ wait statistics, system event,
system statistics, rollback segment ๋ฐ์ดํฐ, row cache, SGA,
background event, session event, lock statistics,
buffer pool statistics, parent latch statistics ๋ฑ์ด ํฌํจ๋๋ค.
Level >= 5 ์ถ๊ฐ์ ์ธ ๋ฐ์ดํฐ : SQL ๋ฌธ์
์ด ๋ ๋ฒจ์์๋ ํ์ ๋ ๋ฒจ์์ ์์ง๋๋ ๋ชจ๋ ๋ฐ์ดํฐ ์ด์ธ์๋
์ถ๊ฐ์ ์ผ๋ก, ์์์ ๋ง์ด ์ฌ์ฉํ๋ SQL ๋ฌธ์ฅ๊ณผ ๊ด๋ จ๋ ์ฑ๋ฅ
์ ๋ณด๋ฅผ ์์งํ๋ค.
SQL ๊ด๋ จ '์๊ณ์น'
statspack์ ์ํด ์์ง๋๋ SQL ๋ฌธ์ฅ์ ๋ฏธ๋ฆฌ ์ง์ ๋ ๋ค์
์กฐ๊ฑด ์ค ํ๋๋ผ๋ ๋์ ๊ฒฝ์ฐ ์์ง๋๋ค.
- SQL ์คํ ํ์ (๊ธฐ๋ณธ๊ฐ 100 )
- SQL ์ฒ๋ฆฌ์ ๋ฐ์ํ๋ disk read (๊ธฐ๋ณธ๊ฐ 1,000 )
- SQL parse call ํ์ (๊ธฐ๋ณธ๊ฐ 1,000 )
- SQL ์ฒ๋ฆฌ์ ๋ฐ์ํ๋ buffer gets (๊ธฐ๋ณธ๊ฐ 10,000)
์์ ๋์ด๋ ๊ฐ๊ฐ์ ์๊ณ์น๋ ์ด๋ค SQL ๊ด๋ จ ์ ๋ณด๋ฅผ ์์งํ
๊ฒ์ธ์ง๋ฅผ ๊ฒฐ์ ํ๋ ๋ฐ ์ฌ์ฉ๋๋ค. ์์ ์ธ๊ธ๋ ์๊ณ์น ๊ฐ์ด๋ฐ
ํ๋๋ผ๋ ๋๋ SQL ๋ฌธ์ฅ๊ณผ ๊ด๋ จ๋ ์ ๋ณด๊ฐ snapshot์ ์ฒ๋ฆฌ
ํ๋ ๋์ ์์ง๋๋ค.
SQL ์๊ณ์น ๋ ๋ฒจ ๊ฐ๊ฐ์ stats$statspack_parameter ํ ์ด๋ธ์
์ ์ฅ๋์ด ์๊ฑฐ๋, snapshot ์์ง ๋น์ ํ๋ผ๋ฏธํฐ์ ์ํด ์ง์
๊ฐ๋ฅํ๋ค.
2) snapshot SQL ์๊ณ์น
๋ ๋ฒจ ์ด์ธ์๋ ์ถ๊ฐ์ ์ผ๋ก ๊ตฌ์ฑ ๊ฐ๋ฅํ ํ๋ผ๋ฏธํฐ๊ฐ ์๋ค. ์ด ํ๋ผ๋ฏธํฐ๋ค์
SQL ์์ง ์ ์ฌ์ฉ๋๋ ์๊ณ์น๋ค๋ก, ์๊ณ์น๋ฅผ ๋์ด์๋ ๋ชจ๋ SQL ๋ฌธ์ฅ๋ค์ด
์์ง๋๋ค.
snapshot level ๋ฐ ํจํค์ง์ ์ํด ์ฌ์ฉ๋๋ ์๊ณ์น ๊ด๋ จ ์ ๋ณด๋
stats$statspack_parameter ํ ์ด๋ธ์ ์ ์ฅ๋๋ค.
3) snapshot level๊ณผ SQL ๊ด๋ จ ์๊ณ์น ๊ฐ์ ๋ณ๊ฒฝํ๋ ๋ฐฉ๋ฒ
snapshot ์์ง ์์ ์ ์ฌ์ฉ๋๋ ๊ธฐ๋ณธ ํ๋ผ๋ฏธํฐ ๊ฐ์ ์กฐ์ ๊ฐ๋ฅํ๋ฉฐ,
์ด ๊ฐ์ ์กฐ์ ํจ์ผ๋ก์จ ์ธ์คํด์ค์ ๋ฏธ์น๋ ๋ถํ๋ฅผ ์ค์ด๋ฉด์, ์ํ๋
์์ค์ ์ ๋ณด๋ฅผ ์์งํ ์ ์๋ค.
* snapshot์ ๋ฐ์๋ด๋ณ์, ์๋ก์ด ๊ฐ์ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ ์ ์ฅ
( statspack.snap ํธ์ถ ์, i_modify_parameter ๋ณ์ ๊ฐ์ ์ง์ )
SQL> execute statspack.snap -
(i_snap_level=>10, i_modify_parameter=>'true');
i_modify_parameter ๋ฅผ true๋ก ์ง์ ํ๋ฉด, ์ด ๊ฐ์ด stats$statspack_parameter
ํ ์ด๋ธ์ ์ ์ฅ๋๋ฉฐ; ์ด ๊ฐ์ด ์ดํ ์คํ๋๋ snapshot์ ์ฌ์ฉ๋๋ค.
i_modify_parameter ๊ฐ์ false๋ก ์ง์ ํ๊ฑฐ๋ ์๋ตํ๋ฉด, ํด๋น
snapshot ์์ ์๋ง ์ง์ ๋ ์ ๋ณด๊ฐ ์ฌ์ฉ๋๋ฉฐ, ์ดํ ์์ ์๋
stats$statspack_parameter ์ ์ง์ ๋ ๊ฐ์ ์ฌ์ฉํ์ฌ ์์ ์ด ์ํ๋๋ค.
* snapshot ์ํ์ ํ์ง ์๊ณ ๊ธฐ๋ณธ๊ฐ์ ๋ฐ๊พธ๊ธฐ ์ํด์๋
statspack.modify_statspack_parameter ํ๋ก์์ ธ๋ฅผ ์ฌ์ฉํ๋ค.
์๋ฅผ ๋ค์ด snapshot level์ 10์ผ๋ก ๋ณ๊ฒฝํ๊ณ , SQL ๊ด๋ จ ์๊ณ์น ๊ฐ์ด๋ฐ
buffer_gets, disk_reads ๊ฐ์ ๋ณ๊ฒฝํ๊ณ ์ ํ ๋ ๋ค์๊ณผ ๊ฐ์ด ํ๋ค.
SQL> execute statspack.modify_statspack_parameter -
(i_snap_level=>10, i_buffer_gets_th=>10000, i_disk_reads_th=>1000);
์ด ํ๋ก์์ ธ๋ฅผ ์ํ์ํค๋ฉด, snapshot ์ํ ์์ด, ๋ณ๊ฒฝ ์ฌํญ์ด
๊ณ์ํด์ ๋จ๊ฒ ๋๋ค.
modify_statspack_parameter ํ๋ก์์ ธ์ ์ง์ ๊ฐ๋ฅํ ์ ์ฒด ํ๋ผ๋ฏธํฐ์
์ ์ฒด ๋ชฉ๋ก์ snap ํ๋ก์ค์ ธ์ ๋์ผํ๋ค.
4) Session ID ์ง์
ํน์ ์ธ์ ๊ณผ ๊ด๋ จ๋ ์ ๋ณด๋ฅผ ์์งํ๊ณ ์ ํ ๊ฒฝ์ฐ, StatsPack ํธ์ถ ์
์ธ์ id ์ง์ ์ด ๊ฐ๋ฅํ๋ค. ์ธ์ ๊ณผ ๊ด๋ จํด์ ์์ง๋๋ ์ ๋ณด์๋
์ธ์ ํต๊ณ, ์ธ์ ์ด๋ฒคํธ, lock activity ๋ฑ์ด ์๋ค. ๊ธฐ๋ณธ์ ์ผ๋ก๋
์ธ์ ๋ ๋ฒจ์ ํต๊ณ๋ ์์งํ์ง ์๊ฒ ๋์ด ์๋ค.
SQL> execute statspack.snap(i_session_id=>3);
3. StatsPack snapshot ์์ง์ ์๋ํ
์ผ์ค, ์ฃผ๊ฐ, ๋ ๊ฐ ์ ๋ณด๋ฅผ ๋น๊ตํ๊ธฐ ์ํด์๋, ์ผ์ ๊ธฐ๊ฐ ๋์ ์์ง๋
์ฌ๋ฌ ๊ฐ์ snapshot ์ ๋ณด๊ฐ ํ์ํ๋ค. ์ ํ๋ฆฌ์ผ์ด์ ์ด๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค์
์ฑ๋ฅ ๊ด๋ จ ํน์ฑ์ ํ์ ํ๊ธฐ ์ํด์๋ ์ต์ํ ๋ ๊ฐ์ snapshot ์ ๋ณด๊ฐ ํ์
ํ๋ค.
snapshot์ ์์งํ๋ ์ต์ ์ ๋ฐฉ๋ฒ์, ์ผ์ ์ฃผ๊ธฐ๋ก snapshot ์์ง์
์๋ํ์ํค๋ ๊ฒ์ด๋ค. ์ด๋ฅผ ์ํด 2๊ฐ์ง ๋ฐฉ๋ฒ์ ์ฌ์ฉํ ์ ์๋ค.
- ๋ฐ์ดํฐ๋ฒ ์ด์ค๊ฐ ์ ๊ณตํ๋ dbms_job ํ๋ก์์ ธ๋ฅผ ์ฌ์ฉํ์ฌ snapshot
์์ง ์์ ์ ์ค์ผ์ฅด๋ฌ์ ๋ฑ๋กํ๋ค.
- OS ์์คํ ์ ํธ๋ฆฌํฐ( unix์ cron ์ด๋ NT ์ at ๋ช ๋ น )๋ฅผ ์ฌ์ฉํ์ฌ
snapshot์ ์ค์ผ์ฅด๋ฌ์ ๋ฑ๋กํ๋ค.
1) DBMS_JOB ํจํค์ง๋ฅผ ์ฌ์ฉํ StatsPack snapshot ์์ ์ ์๋ํ
์ค๋ผํด ๋ด๋ถ์ ์ผ๋ก ํต๊ณ์ ๋ณด ์์ง์ ์๋ํํ๊ณ ์ ํ๋ค๋ฉด, dbms_job
ํจํค์ง๋ฅผ ์ฌ์ฉํ๋ฉด ๋๋ค. ์ํ์ oracle 8.1.6์ ๊ฒฝ์ฐ $ORACLE_HOME/rdbms/admin/statsuato.sql
( 8.1.7์ด์์ $ORACLE_HOME/rdbms/admin/spauto.sql) ์ ๋ค์ด ์์ผ๋ฉฐ,
๋งค ์๊ฐ ๋ง๋ค snapshot์ ๋ฑ๋กํ๋ ์์ ์ด๋ค.
dbms_job์ ์ฌ์ฉํ์ฌ snapshot์ ์๋ํ์ํค๊ธฐ ์ํด์๋, init ํ์ผ์
job_queue_processes ํ๋ผ๋ฏธํฐ๊ฐ 0 ์ด์์ด์ด์ผ๋ง ํ๋ค.
init<SID>.ora ์์ :
# Set to enable the job queue process to start. This allows dbms_job
# to schedule automatic statistics collection using STATSPACK
job_queue_processes=1
OPS ํ๊ฒฝ์์ statsauto.sql ์ ์ฌ์ฉํ๋ค๋ฉด, statsauto.sql ์คํฌ๋ฆฝํธ๋
ํด๋ฌ์คํฐ ๋ด์ ๋ชจ๋ ์ธ์คํด์ค์์ ํ๋ฒ ์ฉ ์ํ๋๋๋ก ํ์ฌ์ผ ํ๋ค.
๋ง์ฐฌ๊ฐ์ง๋ก job_queue_processes ํ๋ผ๋ฏธํฐ ๊ฐ๋ ๋ชจ๋ ์ธ์คํด์ค์์
0 ์ด์์ ๊ฐ์ผ๋ก ์ง์ ๋์ด ์์ด์ผ ํ๋ค.
dbms_job์ ๋ํ ์์ธํ ์ฌ์ฉ๋ฐฉ๋ฒ์ <bulletin:10707> ๋ฅผ ์ฐธ์กฐํ๋ค.
2) OS ์์คํ ์ ํธ๋ฆฌํฐ๋ฅผ ์ฌ์ฉํ StatsPack snapshot ์์ ์ ์๋ํ.
unix์ cron์ ๋ฑ๋กํ๋ ๋ฐฉ๋ฒ์ <bulletin:10906>์, NT ์ at ๋ช ๋ น์ ์ฌ
์ฉํ๋ ๋ฐฉ๋ฒ์ <bulletin: 11618> ์ ์ฐธ์กฐํ๋ค.
4. ํต๊ณ์ ๋ณด ์์ง ์ฃผ๊ธฐ์ ๋ณ๊ฒฝ ๋ฐฉ๋ฒ
ํต๊ณ์ ๋ณด ์์ง ์ฃผ๊ธฐ๋ฅผ ๋ณ๊ฒฝํ๊ธฐ ์ํด์๋ dbms_job.interval ํ๋ก์์ ธ๋ฅผ
์ฌ์ฉํ๋ค.
์.
execute dbms_job.interval(1,'SYSDATE+(1/48)');
์์์ SYSDATE+(1/48) ๋ ํต๊ณ์ ๋ณด๊ฐ 1/48 ์ผ์ ํ๋ฒ์ฉ ( ๋งค 30๋ถ ๋ง๋ค)
์์ง๋๋๋ก ์ง์ ํ ์์ด๋ค.
job์ด ์ฆ์ ์คํ๋๋๋ก ํ๊ธฐ ์ํด์๋
execute dbms_job.run(<job number>);
job์ ์ค์ผ์ฅด๋ฌ์์ ์ ๊ฑฐํ๊ธฐ ์ํด์๋
execute dbms_job.remove(<job number>);
5. STATSPACK์ ์ญ์ ๋ฐ snapshot ๋ฐ์ดํ ์ ๊ฑฐ ๋ฐฉ๋ฒ.
1) Statspack ์ญ์
Statspack ํ๊ฒฝ ์ญ์ ๋ฅผ ์ํด์๋ oracle 8.1.6์ ๊ฒฝ์ฐ๋ statsdrp.sql์
oracle 8.1.7 ์ด์์ ๊ฒฝ์ฐ๋ spdrop.sql์ ์ํํ๋ค.
cd $ORACLE_HOME/rdbms/admin
SQL> connect / as sysdba
SQL> @statsdrp
2) Snapshot ๋ฐ์ดํ ์ ๊ฑฐ
๋ถํ์ํ snapshot ๋ฐ์ดํ๋ฅผ ์ ๊ฑฐํ๊ธฐ ์ํด์ oracle 8.1.7๋ถํฐ๋
sppurge.sql๊ณผ sptrunc.sql์ ์ ๊ณตํ๋ค.
ํน์ ๊ตฌ๊ฐ ์ฌ์ด์ snapshot์ ๋ณด๋ฅผ ์ ๊ฑฐํ๋ ค๋ฉด sppurge.sql์ ์ํํ๋ค.
์ด script๋ฅผ ์ํํ๋ฉด ์ญ์ ํ ์์๊ณผ ๋์ snapshot id๋ฅผ ์ง์ ํ๊ฒ ๋๋ฉฐ ์ง์
๋ ๊ตฌ๊ฐ์ snapshot ๋ฐ์ดํ๊ฐ ์ ๊ฑฐ๋๋ค.
๋ชจ๋ snapshot ์ ๋ณด๋ฅผ ์ญ์ ํ๋ ค๋ฉด sptrunc.sql์ ์ํํ๋ค.
cd $ORACLE_HOME/rdbms/admin
sqlplus perfstat/perfstat
SQL> @sptrunc
Example
none
Reference Documents
<Note:94224.1>
<Note:149121.1> -
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 -
i have an ipad mini, i have bought them for my kids too.
how can i get them seperate profiles so they can useย or play their own apps and not sync with my account.
i have tried to create seperate apple ids but this wont let me due to their ages.
i have turned on and off home sgaring but this made no change.
any ideas??Apple has a reptutaion of maintaining a high level of privacy and security. This means that accounts are not meant to be shared, though they can be, and defintitely not merged.
That does not come without a price however.
I completely understand that the kids would want their own profiles when playing games, but app developers are required to follow apple's protocols in order to distribute their apps via apples app store and be used on their products.
I'm going to go out on limb here and say the apple has chosen to put the job of parenting in the hands of parents.
What I do know is that as the kids get older and everybody gets their own devices and accounts, it will be a lot easier and lot less confusing when everyone has their own apple id. (especially when they start having their own contacts, calendar events and everyone in the home is syncing to icloud)
Frequently asked questions about Apple ID
Learn the answers to frequently asked questions about Apple ID.
Maybe you are looking for
-
Back when life was simple, under Windows XP, i simply fired up my SonicWALL client, connected to the host, and then connected via RDC and all was good. Now I have Windows 8.1 and SonicWALL's v4.9.0.1202 64-bit client.ย I can connect with the client -
-
I've accidentally deleted the browser. How do I get it back?
I have somehow deleted the reader or browser. I cannot look up any web addresses. How do I get it back?
-
Subtotal at end of each page..help needed
Hi, I have a requirment like:- I have to display subtotal (sum of amount) at the end of each page,for some organization unit. but the problem i am facing is:=e.g. I have to dispaly three columns department number,employees and salary. if for organiza
-
Process Accelerators 11.1.1.7
Hi, Does anyone have an idea when the Process Accelerators (v 11.1.1.7) will be available for download? I'm told it will be posted on OTN and not Oracle Beehive in the near future. 11.1.1.6 is no longer available for download. Any response would be g
-
Oracle ADF simple question...
Hi All, I have 2 EOs/VOs. One AM and 2 datacontrol. EO1/VO1 is used to display af:table with multiple rows as below with button on each row to a popup (that is based on EO2/VO2) Main page EMP1 popupbutton EMP2 popupbutton Commit Rollback Popup Page c