Fast_start_mttr_target performance
On 10.2.0.3 database fast_start_mttr_target is set to 300 and OPTIMAL_LOGFILE_SIZE from V$INSTANCE_RECOVERY shows 6762M after a morning of heavy database activity. My quesiton is this: Does the fast_start_mttr_target parameter have any performance impact on the database or is it primarily for calculating and suggesting optimal log size? Does increasing the fast_start_mttr_target affect log switching? If I increased the fast_start_mttr_target to 900 or 1800 would this help log performance (i.e. not switching too often)? I will increase log size as well, but does fast_start_mttr_target setting have performance implications?
Curt Swartzlander
[email protected]
Yes I found the answer in this documentation!!
To reduce the checkpoint frequency and optimize runtime performance, you can do the following:
Set the value of FAST_START_MTTR_TARGET to 3600. This enables Fast-Start checkpointing and the Fast-Start Fault Recovery feature, but minimizes its effect on runtime performance while avoiding the need for performance tuning of FAST_START_MTTR_TARGET.
Thank you and please reply to this threas so I can give you a "correct" star. I meant to do this to your reply but did something wrong.
Curt
Similar Messages
-
Performance(statspack) related problem
Anybodyu can suggest me how to improve the database performance as many uiser are complaining that they are getting data very slow........
i have also used statspack analyzer.......
STATSPACK report for
DB Name DB Id Instance Inst Num Release Cluster Host
NEOSOFT 399087012 neosoft 1 9.2.0.7.0 NO APP
Snap Id Snap Time Sessions Curs/Sess Comment
Begin Snap: 1 16-May-08 10:20:15 435 2.2
End Snap: 3 16-May-08 10:24:12 442 2.2
Elapsed: 3.95 (mins)
Cache Sizes (end)
~~~~~~~~~~~~~~~~~
Buffer Cache: 352M Std Block Size: 8K
Shared Pool Size: 200M Log Buffer: 1,024K
Load Profile
~~~~~~~~~~~~ Per Second Per Transaction
Redo size: 23,125.82 7,966.31
Logical reads: 6,050.15 2,084.14
Block changes: 96.53 33.25
Physical reads: 1,103.40 380.10
Physical writes: 16.60 5.72
User calls: 189.40 65.24
Parses: 29.92 10.31
Hard parses: 8.69 2.99
Sorts: 6.97 2.40
Logons: 0.11 0.04
Executes: 29.25 10.08
Transactions: 2.90
% Blocks changed per Read: 1.60 Recursive Call %: 31.70
Rollback per transaction %: 0.29 Rows per Sort: 472.41
Instance Efficiency Percentages (Target 100%)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 82.01 In-memory Sort %: 99.21
Library Hit %: 89.76 Soft Parse %: 70.95
Execute to Parse %: -2.29 Latch Hit %: 99.95
Parse CPU to Parse Elapsd %: 100.93 % Non-Parse CPU: 84.62
Shared Pool Statistics Begin End
Memory Usage %: 94.72 94.24
% SQL with executions>1: 39.68 38.62
% Memory for SQL w/exec>1: 39.34 38.76
Top 5 Timed Events
~~~~~~~~~~~~~~~~~~ % Total
Event Waits Time (s) Ela Time
db file scattered read 39,162 38 39.49
CPU time 28 29.48
db file sequential read 42,173 28 29.24
direct path read 1,193 1 .59
SQL*Net more data to client 31,629 1 .53
Wait Events for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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 39,162 0 38 1 56.9
db file sequential read 42,173 0 28 1 61.3
direct path read 1,193 0 1 0 1.7
SQL*Net more data to client 31,629 0 1 0 46.0
log file sync 683 0 0 0 1.0
control file sequential read 184 0 0 1 0.3
db file parallel write 61 0 0 1 0.1
control file parallel write 78 0 0 0 0.1
log file parallel write 732 0 0 0 1.1
direct path write 30 0 0 0 0.0
SQL*Net break/reset to clien 10 0 0 0 0.0
LGWR wait for redo copy 3 0 0 0 0.0
SQL*Net message from client 44,675 0 577 13 64.9
virtual circuit status 47,524 4 145 3 69.1
SQL*Net message to client 44,674 0 0 0 64.9
SQL*Net more data from clien 260 0 0 0 0.4
Background Wait Events for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> ordered by wait time desc, waits desc (idle events last)
Avg
Total Wait wait Waits
Event Waits Timeouts Time (s) (ms) /txn
control file sequential read 80 0 0 2 0.1
db file parallel write 61 0 0 1 0.1
control file parallel write 78 0 0 0 0.1
log file parallel write 732 0 0 0 1.1
LGWR wait for redo copy 3 0 0 0 0.0
rdbms ipc message 993 242 2,054 2069 1.4
pmon timer 79 79 234 2962 0.1
smon timer 13 0 228 17520 0.0
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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
92,160 36 2,560.0 6.4 0.41 0.37 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
75,042 33 2,274.0 5.2 0.23 0.29 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
68,310 27 2,530.0 4.8 0.27 0.27 2037438344
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
48,617 31 1,568.3 3.4 0.16 0.22 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
45,060 20 2,253.0 3.1 0.17 0.18 3400961035
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
42,976 17 2,528.0 3.0 0.14 0.17 3744553745
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36,114 78 463.0 2.5 0.13 0.11 4262998487
Module: In Patient 2.1.152.exe
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
25,102 11 2,282.0 1.8 0.06 0.10 812077776
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
24,984 36 694.0 1.7 0.09 0.07 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
23,213 1 23,213.0 1.6 1.59 2.83 2435229694
Module: SQL*Plus
BEGIN statspack.snap(i_snap_level=>7); END;
22,930 10 2,293.0 1.6 0.14 0.09 3466778893
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
22,680 10 2,268.0 1.6 0.08 0.09 3786189544
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
20,340 9 2,260.0 1.4 0.13 0.08 3649693145
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
SQL ordered by Gets for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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
19,460 42 463.3 1.4 0.09 0.06 3858576624
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
8,084 4 2,021.0 3.1 0.14 1.08 4198744706
Module: Out Patient 2.1.41.exe
Select Max(BillNo) as Bno From PatientsRegistration Where regdt
= to_date('01/04/2008','dd/mm/yyyy') and regdt <= to_date('31/03/2009','dd/mm/yyyy')
7,302 1 7,302.0 2.8 0.13 0.51 2116660478
Module: In Patient 2.1.157.exe
select discount,discamount from billpharmacy where patientid='PA
T09212'
7,302 1 7,302.0 2.8 0.06 0.41 3612969128
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09037'
7,302 1 7,302.0 2.8 0.19 0.51 3981413559
Module: In Patient 2.1.152.exe
sELECT * FROM BillPharmacy WHERE BillPharmacy.pATIENtid= 'PAT090
37' order by to_number((issueno))
7,300 1 7,300.0 2.8 0.14 0.69 136284863
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09037'
7,299 1 7,299.0 2.8 0.20 0.77 2137420337
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09154'
7,298 1 7,298.0 2.8 0.13 0.43 1007690124
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T08301'
7,298 1 7,298.0 2.8 0.13 0.58 3087447381
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09154'
7,061 1 7,061.0 2.7 0.13 0.97 2993688253
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PA
T09146'
7,058 1 7,058.0 2.7 0.39 0.76 1202603169
Module: In Patient 2.1.152.exe
SELECT BILLHDR.BILLNO, BILLHDR.BILLDT, BILLHDR.BALANCE, BILLHDR.
TOTAL, BILLHDR.NETAMOUNT,IPINFO.type as orgtype, BILLHDR.PREVAD
V , IPInfo.IpNO, IPInfo.REGDT,IPInfo.REGTM, IPInfo.Name, IPInfo.
ADDRESS1,IPINFO.relativenm ,Rooms.roomno , Beds.BEDNO, ROOMTYPES
, decode(IPINFO.sex,1,'Male','Female')sex,IPINFO.AGE ||' '||dec
6,640 1 6,640.0 2.5 0.13 1.06 796742944
Module: In Patient 2.1.152.exe
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
select discount,discamount from billpharmacy where patientid='PA
T09123'
4,617 4 1,154.3 1.8 0.19 0.94 2042905630
Module: Out Patient 2.1.41.exe
SELECT NVL(Max(MoneyReciept.mrBillNo),0) AS MaxOfBillNob FROM Mo
neyReciept where generalopd = 0
4,496 3 1,498.7 1.7 0.06 0.57 2718453880
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208970TS000002' order by trackdate,tracktime
4,494 3 1,498.0 1.7 0.13 0.74 3290276624
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R207032T0000351' order by trackdate,tracktime
4,451 3 1,483.7 1.7 0.20 0.99 768943678
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208613TS000002' order by trackdate,tracktime
4,091 4 1,022.8 1.6 0.19 1.62 266509601
Module: In Patient 2.1.152.exe
SELECT IPInfo.IPNo ,IPInfo.name,doctorvisit.date_r ,unithdr.drna
me , doctorvisit.visitid FROM Doctorvisit , IPInfo,unithdr wher
e Doctorvisit.Patid = IPInfo.PatID and Doctorvisit.doctorid=unit
hdr.unitid and doctorvisit.date_r >=to_date('06/05/2008','fmdd/m
m/yyyy') order by IPInfo.IPNo
3,933 5 786.6 1.5 0.14 1.29 2546712787
Module: Diagnotech 2.2.49.exe
Select max(BillNo) as Bno From MoneyReciept where rcdt >= to_dat
e('01/04/2008','dd/mm/yyyy') and rcdt <= to_date('31/03/2009','d
d/mm/yyyy')
3,439 3 1,146.3 1.3 0.25 1.89 2816864569
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R207242T0000104' order by trackdate,tracktime
3,129 2 1,564.5 1.2 0.06 0.88 1803349496
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208962TS000002' order by trackdate,tracktime
3,065 4 766.3 1.2 0.17 1.30 54282346
Module: In Patient 2.1.157.exe
Select * from track where tablenm = 'FRMDOCTORVISIT' and primkey
id = 'VI048354' order by trackdate,tracktime
2,834 3 944.7 1.1 0.17 1.57 165470279
Module: Diagnotech 2.2.49.exe
SQL ordered by Reads for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Disk Reads Threshold: 1000
CPU Elapsd
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208926TS000002' order by trackdate,tracktime
2,769 3 923.0 1.1 0.13 1.28 3812904405
Module: Diagnotech 2.2.49.exe
Select * from track where tablenm = 'FRMREPORTING' and primkeyid
= 'R208892TS000002' order by trackdate,tracktime
2,730 3 910.0 1.0 0.19 1.21 680462328
Module: In Patient 2.1.157.exe
select * from DoctorVisit where Date_r >= to_date('06/05/2008','
dd/mm/yyyy') and Date_r <= to_date('16/05/2008','dd/mm/yyyy')
2,526 2 1,263.0 1.0 0.58 1.14 4043595143
Module: SQL*Plus
INSERT INTO STATS$SQL_SUMMARY ( SNAP_ID , DBID , INSTANCE_NUMBER
, TEXT_SUBSET , SHARABLE_MEM , SORTS , MODULE , LOADED_VERSIONS
, FETCHES , EXECUTIONS , LOADS , INVALIDATIONS , PARSE_CALLS ,
DISK_READS , BUFFER_GETS , ROWS_PROCESSED , COMMAND_TYPE , ADDRE
SS , HASH_VALUE , VERSION_COUNT , CPU_TIME , ELAPSED_TIME , OUTL
2,484 1 2,484.0 0.9 0.19 0.91 33028691
Module: Diagnotech 2.2.49.exe
select * from requisitions where upper(reqno) = '180800'
2,483 1 2,483.0 0.9 0.13 0.93 2943168498
Module: Diagnotech 2.2.49.exe
Update Requisitions Set Collected = 0 Where TRIM(ReqID) ='R20987
8'
2,482 1 2,482.0 0.9 0.11 0.74 2336722822
Module: Diagnotech 2.2.49.exe
Update Requisitions Set Collected = 0 Where TRIM(ReqID) ='R20987
7'
2,480 1 2,480.0 0.9 0.06 0.67 650704065
Module: In Patient 2.1.152.exe
select sum(can.returnamt) refamt from diagnotech.cancellationhd
r can,diagnotech.requisitions req where can.reqid = req.reqid an
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
283 283 1.0 0.00 0.00 1283498366
Module: Diagnotech 2.2.49.exe
Select to_char(sysdate,'fmdd/mm/yyyy HH24:mi:ss am') as abc from
OPTIONS
238 76 0.3 0.00 0.00 4274598960
select /*+ rule */ bucket_cnt, row_cnt, cache_cnt, null_cnt, tim
estamp#, sample_size, minimum, maximum, distcnt, lowval, hival,
density, col#, spare1, spare2, avgcln from hist_head$ where obj#
=:1 and intcol#=:2
126 126 1.0 0.00 0.00 2168100061
Module: Diagnotech 2.2.49.exe
select * from departments where deptid = 'DEP00004'
114 0 0.0 0.00 0.00 4073347083
select grantor#, grantee#, privilege#, sequence#, nvl(option$,0)
from objauth$ where obj#=:1 and col#=:2
112 112 1.0 0.00 0.00 3687727603
insert into col$(obj#,name,intcol#,segcol#,type#,length,precisio
n#,scale,null$,offset,fixedstorage,segcollength,deflength,defaul
t$,col#,property,charsetid,charsetform,spare1,spare2,spare3)valu
es(:1,:2,:3,:4,:5,:6,decode(:7,0,null,:7),decode(:5,2,decode(:8,
-127/*MAXSB1MINAL*/,null,:8),178,:8,179,:8,180,:8,181,:8,182,:8,
99 99 1.0 0.00 0.00 3468666020
select text from view$ where rowid=:1
84 84 1.0 0.00 0.00 2997854589
insert into access$(d_obj#,order#,columns,types) values (:1,:2,:
3,:4)
84 84 1.0 0.00 0.00 3951809012
insert into dependency$(d_obj#,d_timestamp,order#,p_obj#,p_times
tamp,d_owner#, property)values (:1,:2,:3,:4,:5,:6, :7)
78 0 0.0 0.00 0.00 3867936055
Module: Out Patient 2.1.41.exe
commit
78 78 1.0 0.00 0.00 4262998487
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
44 44 1.0 0.00 0.00 3216099004
Module: Diagnotech 2.2.49.exe
select * from options
42 42 1.0 0.00 0.00 3858576624
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'IPINFO' escape '\'
36 540 15.0 0.01 0.01 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36 36 1.0 0.00 0.00 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
34 34 1.0 0.00 0.00 857250417
Module: Diagnotech 2.2.46.exe
select * from departments where deptid = 'DEP00031'
33 43,442 1,316.4 0.04 0.05 502973950
Module: Pharmacy 2.0.174.exe
SELECT substr(UPPER(MedMast.MedNm),1,50) MedNm , MedSubCat.MSCOD
E ,MEDMAST.POTENCY ,substr(genericnm,1,50) genericnm, sum(dmeddt
ls.currqty) stock, MedMast.medid FROM MedMast , MedSubCat,dmedd
tls where UPPER(MEDMAST.MEDNM) LIKE '%%' and medmast.medid = d
meddtls.medid and MEDMAST.SubCatID = MedSubCat.MSCatID and dmed
33 132 4.0 0.01 0.01 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 124 4.0 0.01 0.01 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 1.0 0.00 0.00 3993731530
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
SQL ordered by Executions for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Executions Threshold: 100
CPU per Elap per
Executions Rows Processed Rows per Exec Exec (s) Exec (s) Hash Value
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'OTS1' escape '\' and ac.table_name like 'DOCTORINFO' escape
28 28 1.0 0.00 0.00 737183288
Module: Diagnotech 2.2.49.exe
Select * From CReqno
27 0 0.0 0.00 0.00 246231567
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
283 283 3.99 1283498366
Module: Diagnotech 2.2.49.exe
Select to_char(sysdate,'fmdd/mm/yyyy HH24:mi:ss am') as abc from
OPTIONS
126 126 1.78 2168100061
Module: Diagnotech 2.2.49.exe
select * from departments where deptid = 'DEP00004'
99 99 1.40 3468666020
select text from view$ where rowid=:1
78 78 1.10 3867936055
Module: Out Patient 2.1.41.exe
commit
78 78 1.10 4262998487
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'DOCTORVISIT' escape '
44 44 0.62 3216099004
Module: Diagnotech 2.2.49.exe
select * from options
42 42 0.59 3858576624
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'IP' escape '\' and ac.table_name like 'IPINFO' escape '\'
36 36 0.51 1007205397
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
36 36 0.51 3956499023
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DMEDMAST' esca
34 34 0.48 857250417
Module: Diagnotech 2.2.46.exe
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
select * from departments where deptid = 'DEP00031'
33 33 0.47 502973950
Module: Pharmacy 2.0.174.exe
SELECT substr(UPPER(MedMast.MedNm),1,50) MedNm , MedSubCat.MSCOD
E ,MEDMAST.POTENCY ,substr(genericnm,1,50) genericnm, sum(dmeddt
ls.currqty) stock, MedMast.medid FROM MedMast , MedSubCat,dmedd
tls where UPPER(MEDMAST.MEDNM) LIKE '%%' and medmast.medid = d
meddtls.medid and MEDMAST.SubCatID = MedSubCat.MSCatID and dmed
33 33 0.47 3052506495
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 0.44 1186386010
Module: In Patient 2.1.152.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
31 31 0.44 3993731530
Module: In Patient 2.1.152.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'OTS1' escape '\' and ac.table_name like 'DOCTORINFO' escape
30 15 0.42 3067006941
delete from dependency$ where d_obj#=:1
28 28 0.39 737183288
Module: Diagnotech 2.2.49.exe
Select * From CReqno
27 27 0.38 246231567
Module: Pharmacy 2.0.174.exe
select to_char(null), ac.owner, ac.table_name, acc.column_name,
acc.position, ac.constraint_name from all_constraints ac, all_co
ns_columns acc where ac.owner=acc.owner and ac.constraint_type=
'P' and ac.constraint_name=acc.constraint_name and ac.owner lik
e 'INVENTORY' escape '\' and ac.table_name like 'DISSUEDTLSP' e
27 27 0.38 445844524
Module: In Patient 2.1.152.exe
select nvl(tarrifflg,0) as tf from sourcehdr where sourceid = ''
SQL ordered by Parse Calls for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Parse Calls Threshold: 1000
% Total
Parse Calls Executions Parses Hash Value
27 27 0.38 2037438344
Module: Pharmacy 2.0.174.exe
select null, i.owner, i.table_name, decode (i.uniqueness,'UNIQUE
',0,1), null, i.index_name, 3, c.column_position, c.column_name,
'A', i.distinct_keys, i.leaf_blocks, null from all_indexes i, a
ll_ind_columns c where i.owner = c.index_owner and i.index_name
= c.index_name and i.table_owner = c.table_owner and i.table_nam
22 22 0.31 3073477137
select u.name,o.name, t.update$, t.insert$, t.delete$, t.enabled
from obj$ o,user$ u,trigger$ t where t.baseobject=:1 and t.ob
j#=o.obj# and o.owner#=u.user# order by o.obj#
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
CPU used by this session 2,821 11.9 4.1
CPU used when call started 2,826 11.9 4.1
CR blocks created 15 0.1 0.0
DBWR buffers scanned 5,873 24.8 8.5
DBWR checkpoint buffers written 167 0.7 0.2
DBWR checkpoints 0 0.0 0.0
DBWR free buffers found 5,653 23.9 8.2
DBWR lru scans 17 0.1 0.0
DBWR make free requests 17 0.1 0.0
DBWR summed scan depth 5,873 24.8 8.5
DBWR transaction table writes 1 0.0 0.0
DBWR undo block writes 228 1.0 0.3
SQL*Net roundtrips to/from client 89,026 375.6 129.4
active txn count during cleanout 156 0.7 0.2
background checkpoints completed 0 0.0 0.0
background checkpoints started 0 0.0 0.0
background timeouts 243 1.0 0.4
branch node splits 0 0.0 0.0
buffer is not pinned count 1,225,066 5,169.1 1,780.6
buffer is pinned count 1,069,472 4,512.5 1,554.5
bytes received via SQL*Net from c 4,334,045 18,287.1 6,299.5
bytes sent via SQL*Net to client 79,310,906 334,645.2 115,277.5
calls to get snapshot scn: kcmgss 14,976 63.2 21.8
calls to kcmgas 942 4.0 1.4
calls to kcmgcs 166 0.7 0.2
change write time 19 0.1 0.0
cleanout - number of ktugct calls 182 0.8 0.3
cleanouts and rollbacks - consist 5 0.0 0.0
cleanouts only - consistent read 18 0.1 0.0
cluster key scan block gets 206,010 869.2 299.4
cluster key scans 81,803 345.2 118.9
commit cleanout failures: block l 0 0.0 0.0
commit cleanout failures: callbac 11 0.1 0.0
commit cleanout failures: cannot 0 0.0 0.0
commit cleanouts 2,731 11.5 4.0
commit cleanouts successfully com 2,720 11.5 4.0
commit txn count during cleanout 87 0.4 0.1
consistent changes 15 0.1 0.0
consistent gets 1,412,564 5,960.2 2,053.2
consistent gets - examination 572,440 2,415.4 832.0
cursor authentications 531 2.2 0.8
data blocks consistent reads - un 15 0.1 0.0
db block changes 22,877 96.5 33.3
db block gets 21,323 90.0 31.0
deferred (CURRENT) block cleanout 1,548 6.5 2.3
dirty buffers inspected 19 0.1 0.0
enqueue conversions 52 0.2 0.1
enqueue releases 4,639 19.6 6.7
enqueue requests 4,640 19.6 6.7
enqueue timeouts 0 0.0 0.0
enqueue waits 0 0.0 0.0
execute count 6,932 29.3 10.1
free buffer inspected 19 0.1 0.0
free buffer requested 258,870 1,092.3 376.3
hot buffers moved to head of LRU 2,520 10.6 3.7
immediate (CR) block cleanout app 23 0.1 0.0
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
immediate (CURRENT) block cleanou 502 2.1 0.7
index fast full scans (full) 163 0.7 0.2
index fetch by key 380,673 1,606.2 553.3
index scans kdiixs1 86,708 365.9 126.0
leaf node 90-10 splits 22 0.1 0.0
leaf node splits 64 0.3 0.1
logons cumulative 25 0.1 0.0
messages received 806 3.4 1.2
messages sent 806 3.4 1.2
no buffer to keep pinned count 0 0.0 0.0
no work - consistent read gets 779,017 3,287.0 1,132.3
opened cursors cumulative 7,669 32.4 11.2
parse count (failures) 2 0.0 0.0
parse count (hard) 2,060 8.7 3.0
parse count (total) 7,091 29.9 10.3
parse time cpu 434 1.8 0.6
parse time elapsed 430 1.8 0.6
physical reads 261,506 1,103.4 380.1
physical reads direct 3,529 14.9 5.1
physical writes 3,935 16.6 5.7
physical writes direct 3,529 14.9 5.1
physical writes non checkpoint 3,839 16.2 5.6
pinned buffers inspected 0 0.0 0.0
prefetched blocks 175,966 742.5 255.8
prefetched blocks aged out before 0 0.0 0.0
process last non-idle time 270 1.1 0.4
recovery blocks read 0 0.0 0.0
recursive calls 20,832 87.9 30.3
recursive cpu usage 296 1.3 0.4
redo blocks written 11,309 47.7 16.4
redo buffer allocation retries 0 0.0 0.0
redo entries 12,097 51.0 17.6
redo log space requests 0 0.0 0.0
redo log space wait time 0 0.0 0.0
redo ordering marks 1 0.0 0.0
redo size 5,480,820 23,125.8 7,966.3
redo synch time 30 0.1 0.0
redo synch writes 689 2.9 1.0
redo wastage 160,348 676.6 233.1
redo write time 29 0.1 0.0
redo writer latching time 0 0.0 0.0
redo writes 732 3.1 1.1
rollback changes - undo records a 2 0.0 0.0
rollbacks only - consistent read 10 0.0 0.0
rows fetched via callback 235,269 992.7 342.0
session connect time 0 0.0 0.0
session logical reads 1,433,886 6,050.2 2,084.1
session pga memory 45,074,044 190,185.8 65,514.6
session pga memory max 49,946,024 210,742.7 72,596.0
session uga memory max 3,455,708 14,581.1 5,022.8
shared hash latch upgrades - no w 54,598 230.4 79.4
shared hash latch upgrades - wait 0 0.0 0.0
sorts (disk) 13 0.1 0.0
sorts (memory) 1,639 6.9 2.4
sorts (rows) 780,425 3,292.9 1,134.3
summed dirty queue length 239 1.0 0.4
Instance Activity Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Statistic Total per Second per Trans
switch current to new buffer 172 0.7 0.3
table fetch by rowid 612,799 2,585.7 890.7
table fetch continued row 626 2.6 0.9
table scan blocks gotten 459,367 1,938.3 667.7
table scan rows gotten 18,523,828 78,159.6 26,924.2
table scans (long tables) 128 0.5 0.2
table scans (short tables) 1,655 7.0 2.4
transaction rollbacks 1 0.0 0.0
transaction tables consistent rea 0 0.0 0.0
transaction tables consistent rea 0 0.0 0.0
user calls 44,888 189.4 65.2
user commits 686 2.9 1.0
user rollbacks 2 0.0 0.0
workarea executions - multipass 0 0.0 0.0
workarea executions - onepass 24 0.1 0.0
workarea executions - optimal 2,433 10.3 3.5
write clones created in foregroun 0 0.0 0.0
Tablespace IO Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->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)
DIAGNOTECH
61,945 261 0.7 1.9 64 0 0 0.0
IP
10,753 45 1.2 9.5 23 0 0 0.0
SYSTEM
5,668 24 1.2 3.2 22 0 0 0.0
OTS1
2,456 10 1.5 7.8 19 0 0 0.0
TEMP
1,429 6 0.6 2.5 739 3 0 0.0
INVENTORY
478 2 3.5 1.3 49 0 0 0.0
UNDOTBS1
0 0 0.0 229 1 0 0.0
INDX
15 0 2.0 1.0 0 0 0 0.0
PAYROLL
1 0 20.0 4.0 0 0 0 0.0
File IO Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->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)
DIAGNOTECH F:\ORACLE\ORADATA\NEOSOFT\DIAGNOTECH1.ORA
61,945 261 0.7 1.9 64 0 0
INDX F:\ORACLE\ORADATA\NEOSOFT\INDX01.DBF
15 0 2.0 1.0 0 0 0
INVENTORY F:\ORACLE\ORADATA\NEOSOFT\INVENTORY1.ORA
478 2 3.5 1.3 49 0 0
IP F:\ORACLE\ORADATA\NEOSOFT\IP1.ORA
10,753 45 1.2 9.5 23 0 0
OTS1 F:\ORACLE\ORADATA\NEOSOFT\OTS11.ORA
2,456 10 1.5 7.8 19 0 0
PAYROLL F:\ORACLE\ORADATA\NEOSOFT\PAYROLL1.ORA
1 0 20.0 4.0 0 0 0
SYSTEM F:\ORACLE\ORADATA\NEOSOFT\SYSTEM01.DBF
5,668 24 1.2 3.2 22 0 0
TEMP F:\ORACLE\ORADATA\NEOSOFT\TEMP01.DBF
1,429 6 0.6 2.5 739 3 0
UNDOTBS1 F:\ORACLE\ORADATA\NEOSOFT\UNDOTBS01.DBF
0 0 229 1 0
Buffer Pool Statistics for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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 44,044 82.0 1,432,475 257,328 406 0 0 0
Instance Recovery Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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 87 19 3628 65684 64450 184320 64450
E 87 20 4063 69805 69805 184320 69805
Buffer Pool Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> 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 4,004 67.25 19,260,129,810
D 64 .2 8,008 42.95 12,300,910,895
D 96 .3 12,012 32.00 9,165,118,680
D 128 .4 16,016 25.62 7,338,010,607
D 160 .5 20,020 17.54 5,022,366,182
D 192 .5 24,024 11.74 3,361,228,965
D 224 .6 28,028 7.05 2,020,169,694
D 256 .7 32,032 3.94 1,127,930,012
D 288 .8 36,036 2.32 663,835,521
D 320 .9 40,040 1.44 413,674,540
D 352 1.0 44,044 1.00 286,377,525
D 384 1.1 48,048 0.75 215,831,108
D 416 1.2 52,052 0.60 171,670,371
D 448 1.3 56,056 0.51 145,708,247
D 480 1.4 60,060 0.45 128,439,943
D 512 1.5 64,064 0.40 114,053,332
D 544 1.5 68,068 0.37 104,584,674
D 576 1.6 72,072 0.34 96,792,591
D 608 1.7 76,076 0.32 92,596,531
D 640 1.8 80,080 0.31 89,929,979
PGA Aggr Target Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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
88.2 213 29
%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 24 7 24.4 0.4 1.6 .0 100.0 1,228
E 24 8 23.8 0.0 .0 .0 .0 1,228
PGA Aggr Target Histogram for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> Optimal Executions are purely in-memory operations
Low High
Optimal Optimal Total Execs Optimal Execs 1-Pass Execs M-Pass Execs
8K 16K 2,000 2,000 0 0
16K 32K 55 55 0 0
32K 64K 28 28 0 0
64K 128K 50 50 0 0
128K 256K 110 110 0 0
256K 512K 26 26 0 0
512K 1024K 176 158 18 0
1M 2M 8 4 4 0
4M 8M 2 0 2 0
PGA Memory Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> 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
12 0.5 417.1 207.2 67.0 1
18 0.8 417.1 89.3 82.0 0
24 1.0 417.1 46.4 90.0 0
29 1.2 417.1 46.4 90.0 0
34 1.4 417.1 46.4 90.0 0
38 1.6 417.1 13.2 97.0 0
43 1.8 417.1 11.1 97.0 0
48 2.0 417.1 11.1 97.0 0
72 3.0 417.1 11.1 97.0 0
96 4.0 417.1 11.1 97.0 0
144 6.0 417.1 0.0 100.0 0
192 8.0 417.1 0.0 100.0 0
Rollback Segment Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->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 15.0 0.00 0 0 0 0
1 412.0 0.00 831,990 1 0 1
2 48.0 0.00 61,500 0 0 0
3 87.0 0.00 132,404 0 0 0
4 79.0 0.00 66,626 0 0 0
5 71.0 0.00 91,284 0 0 0
6 40.0 0.00 15,474 0 0 0
7 660.0 0.00 547,536 1 0 1
8 168.0 0.00 21,762 0 0 0
9 86.0 0.00 10,108 0 0 0
10 295.0 0.00 156,468 0 0 0
Rollback Segment Storage for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->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 9,625,600 806,999 16,900,096
2 5,365,760 711,094 8,511,488
3 5,365,760 664,381 9,560,064
4 5,365,760 763,735 8,511,488
5 5,365,760 672,648 9,625,600
6 5,365,760 677,906 9,560,064
7 6,414,336 647,093 8,511,488
8 5,365,760 628,652 10,608,640
9 5,365,760 769,325 9,560,064
10 5,365,760 622,015 9,560,064
Undo Segment Summary for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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 695 1,032,965 12 1 0 0 0/0/0/0/0/0
Undo Segment Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> 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
16-May 10:22 695 ######## 12 1 0 0 0/0/0/0/0/0
Latch Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"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 732 0.0 0 0
FAL request queue 1 0.0 0 0
FIB s.o chain latch 12 0.0 0 0
FOB s.o list latch 27 0.0 0 0
SQL memory manager latch 2 0.0 0 79 0.0
SQL memory manager worka 7,245 0.0 0 0
active checkpoint queue 169 0.0 0 0
archive control 10 0.0 0 0
archive process latch 7 0.0 0 0
cache buffer handles 12,078 0.0 0 0
cache buffers chains 2,602,999 0.0 0.0 0 506,781 0.0
cache buffers lru chain 858 0.0 0 615,593 0.0
channel handle pool latc 37 0.0 0 0
channel operations paren 265 0.0 0 0
checkpoint queue latch 30,545 0.0 0 893 0.0
child cursor hash table 16,079 0.0 0 0
dml lock allocation 2,674 0.0 0 0
dummy allocation 43 0.0 0 0
enqueue hash chains 9,313 0.0 0 0
enqueues 9,405 0.0 0 0
event group latch 5 0.0 0 0
hash table column usage 0 0 55,565 0.0
hash table modification 1 0.0 0 0
kmcptab latch 78 0.0 0 0
kmcpvec latch 0 0 78 0.0
ktm global data 13 0.0 0 0
lgwr LWN SCN 742 0.0 0 0
library cache 193,957 0.0 0.0 0 6,959 0.4
library cache load lock 110 0.0 0 0
library cache pin 63,420 0.0 0 0
library cache pin alloca 43,208 0.0 0 0
list of block allocation 49 0.0 0 0
loader state object free 34 0.0 0 0
message pool operations 26 0.0 0 0
messages 2,866 0.0 0 0
mostly latch-free SCN 742 0.0 0 0
multiblock read objects 164,572 0.0 0.0 0 0
ncodef allocation latch 3 0.0 0 0
object stats modificatio 1,669 0.0 0 0
post/wait queue 1,029 0.0 0 683 0.0
process allocation 11 0.0 0 5 0.0
process group creation 11 0.0 0 0
redo allocation 13,617 0.0 0.0 0 0
redo copy 0 0 12,145 0.0
redo writing 2,533 0.0 0 0
row cache enqueue latch 215,027 0.0 0.0 0 0
row cache objects 218,418 0.0 0.0 0 472 0.0
sequence cache 99 0.0 0 0
session allocation 8,683 0.0 0 0
session idle bit 94,091 0.0 0 0
Latch Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"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 switching 3 0.0 0 0
session timer 80 0.0 0 0
shared pool 160,825 0.0 0.0 0 0
sim partition latch 0 0 35 0.0
simulator hash latch 63,337 0.0 0 0
simulator lru latch 4,437 0.0 0 16,447 0.0
sort extent pool 129 0.0 0 0
transaction allocation 47 0.0 0 0
transaction branch alloc 3 0.0 0 0
undo global data 3,091 0.0 0 0
user lock 114 0.0 0 0
virtual circuit buffers 540,157 0.4 0.0 0 0
virtual circuit queues 256,196 0.0 0.0 0 0
virtual circuits 89,002 0.0 0 0
Top 5 Logical Reads per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Logical Reads Threshold: 10000
Subobject Obj. Logical
Owner Tablespace Object Name Name Type Reads %Total
DIAGNOTECH DIAGNOTECH REQUISITIONS TABLE 162,064 11.66
SYS SYSTEM I_OBJ1 INDEX 115,328 8.30
SYS SYSTEM OBJ$ TABLE 113,328 8.15
SYS SYSTEM I_IND1 INDEX 109,584 7.88
IP IP BILLPHARMACY TABLE 89,328 6.43
Top 5 Physical Reads per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Physical Reads Threshold: 1000
Subobject Obj. Physical
Owner Tablespace Object Name Name Type Reads %Total
IP IP BILLPHARMACY TABLE 86,212 34.43
DIAGNOTECH DIAGNOTECH REQUISITIONS TABLE 79,487 31.74
DIAGNOTECH DIAGNOTECH TRACK TABLE 33,193 13.25
IP SYSTEM TRACK TABLE 17,926 7.16
OTS1 OTS1 MONEYRECIEPT TABLE 10,036 4.01
Top 5 Row Lock Waits per Segment for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
-> End Segment Row Lock Waits Threshold: 100
Row
Subobject Obj. Lock
Owner Tablespace Object Name Name Type Waits %Total
IP IP BILLID4064 INDEX 1 100.00
Dictionary Cache Stats for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"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 22,135 1.1 0 0 3,348
dc_object_ids 26,251 0.0 0 0 625
dc_objects 4,895 0.1 0 15 960
dc_profiles 21 0.0 0 0 1
dc_rollback_segments 273 0.0 0 0 12
dc_segments 11,239 0.1 0 0 604
dc_sequences 3 33.3 0 3 6
dc_tablespaces 19,449 0.0 0 0 5
dc_user_grants 2,814 0.0 0 0 17
dc_usernames 886 0.0 0 0 15
dc_users 22,542 0.0 0 0 20
Library Cache Activity for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
->"Pct Misses" should be very low
Get Pct Pin Pct Invali-
Namespace Requests Miss Requests Miss Reloads dations
BODY 445 0.0 445 0.0 0 0
CLUSTER 397 0.0 121 0.0 0 0
SQL AREA 7,041 28.0 24,030 16.9 55 23
TABLE/PROCEDURE 8,324 0.0 15,082 0.6 18 0
TRIGGER 953 0.0 953 0.0 0 0
Shared Pool Advisory for DB: NEOSOFT Instance: neosoft End Snap: 3
-> 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
104 .5 97 21,986 47,321 1.0 22,910,514
128 .6 120 27,657 47,381 1.0 22,988,994
152 .8 143 32,965 47,422 1.0 23,048,924
176 .9 166 38,101 47,451 1.0 23,094,145
200 1.0 189 42,541 47,474 1.0 23,126,910
224 1.1 212 47,258 47,492 1.0 23,155,651
248 1.2 235 52,101 47,508 1.0 23,180,673
272 1.4 258 56,800 47,521 1.0 23,202,200
296 1.5 283 61,512 47,532 1.0 23,220,564
320 1.6 306 65,892 47,540 1.0 23,235,720
344 1.7 329 70,532 47,547 1.0 23,246,826
368 1.8 352 75,208 47,553 1.0 23,257,346
392 2.0 375 81,494 47,559 1.0 23,268,801
416 2.1 411 88,685 47,565 1.0 23,279,344
SGA Memory Summary for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
SGA regions Size in Bytes
Database Buffers 369,098,752
Fixed Size 455,784
Redo Buffers 1,191,936
Variable Size 436,207,616
sum 806,954,088
SGA breakdown difference for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
Pool Name Begin value End value % Diff
java free memory 83,886,080 83,886,080 0.00
large free memory 63,891,136 64,350,992 0.72
large session heap 19,994,944 19,535,088 -2.30
shared 1M buffer 2,098,176 2,098,176 0.00
shared Checkpoint queue 1,129,216 1,129,216 0.00
shared DML lock 1,028,764 1,028,764 0.00
shared FileOpenBlock 6,564,072 6,564,072 0.00
shared KGK heap 3,756 3,756 0.00
shared KGLS heap 2,584,540 2,431,584 -5.92
shared KQR M PO 2,844,672 2,768,896 -2.66
shared KQR S PO 249,880 250,652 0.31
shared KQR S SO 7,936 7,936 0.00
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 59,288 59,288 0.00
shared PL/SQL DIANA 3,179,412 3,015,708 -5.15
shared PL/SQL MPCODE 388,924 241,096 -38.01
shared PLS non-lib hp 3,688 3,688 0.00
shared VIRTUAL CIRCUITS 2,564,620 2,564,620 0.00
shared db_handles 1,080,000 1,080,000 0.00
shared dictionary cache 2,137,216 2,137,216 0.00
shared enqueue 1,676,824 1,676,824 0.00
shared event statistics per sess 18,675,020 18,675,020 0.00
shared fixed allocation callback 388 388 0.00
shared free memory 14,167,016 15,470,156 9.20
shared joxs heap init 4,220 4,220 0.00
shared ktlbk state objects 778,960 778,960 0.00
shared library cache 43,962,768 43,051,344 -2.07
shared message pool freequeue 665,792 665,792 0.00
shared miscellaneous 41,742,904 42,080,748 0.81
shared parameters 3,224 9,272 187.59
shared processes 1,500,000 1,500,000 0.00
shared sessions 3,998,480 3,998,480 0.00
shared sim memory hea 195,212 195,212 0.00
shared sql area 111,345,832 111,177,960 -0.15
shared table definiti 16,576 15,240 -8.06
shared transaction 1,852,092 1,852,092 0.00
shared trigger defini 26,236 24,148 -7.96
shared trigger inform 592 592 0.00
shared trigger source 304 304 0.00
buffer_cache 369,098,752 369,098,752 0.00
fixed_sga 455,784 455,784 0.00
log_buffer 1,180,672 1,180,672 0.00
init.ora Parameters for DB: NEOSOFT Instance: neosoft Snaps: 1 -3
End value
Parameter Name Begin value (if different)
background_dump_dest F:\oracle\admin\neosoft\bdump
compatible 9.2.0.0.0
control_files F:\oracle\oradata\neosoft\control
core_dump_dest F:\oracle\admin\neosoft\cdump
db_block_size 8192
db_cache_size 369098752
db_domain
db_file_multiblock_read_count 16
db_name neosoft
dispatchers (PROTOCOL=TCP)
fast_start_mttr_target 300
hash_join_enabled TRUE
instance_name neosoft
java_pool_size 83886080
large_pool_size 83886080
open_cursors 300
pga_aggregate_target 25165824
processes 1500
query_rewrite_enabled FALSE
remote_login_passwordfile EXCLUSIVE
shared_pool_size 209715200
sort_area_size 524288
star_transformation_enabled FALSE
timed_statistics TRUE
undo_management AUTO
undo_retention 10800
undo_tablespace UNDOTBS1
user_dump_dest F:\oracle\admin\neosoft\udump
End of ReportHow did you calculated all these ratios............I looked through the formatted output of the Statspack report, specifically the setion "SQL ordered by reads for DB" and found these SQL statements which are performing a large number of physical reads. Most of the SQL statements have similar WHERE clauses, except for the constants to the right of the = :
Physical Reads Executions Reads per Exec %Total Time (s) Time (s) Hash Value
8,084 4 2,021.0 3.1 0.14 1.08 4198744706
Module: Out Patient 2.1.41.exe
Select Max(BillNo) as Bno From PatientsRegistration Where regdt
= to_date('01/04/2008','dd/mm/yyyy') and regdt <= to_date('31/03/2009','dd/mm/yyyy')
7,302 1 7,302.0 2.8 0.13 0.51 2116660478
Module: In Patient 2.1.157.exe
select discount,discamount from billpharmacy where patientid='PAT09212'
7,302 1 7,302.0 2.8 0.06 0.41 3612969128
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09037'
7,302 1 7,302.0 2.8 0.19 0.51 3981413559
Module: In Patient 2.1.152.exe
sELECT * FROM BillPharmacy WHERE BillPharmacy.pATIENtid= 'PAT09037' order by to_number((issueno))
7,300 1 7,300.0 2.8 0.14 0.69 136284863
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09037'
7,299 1 7,299.0 2.8 0.20 0.77 2137420337
Module: In Patient 2.1.152.exe
delete from billpharmacy where patientid='PAT09154'
7,298 1 7,298.0 2.8 0.13 0.43 1007690124
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT08301'
7,298 1 7,298.0 2.8 0.13 0.58 3087447381
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09154'
7,061 1 7,061.0 2.7 0.13 0.97 2993688253
Module: In Patient 2.1.152.exe
select discount,discamount from billpharmacy where patientid='PAT09146'
and on what basis you one should have to find out
which query causing the problem....
i also wanted to learn how to read the
statspack.........I personally do not like Statspack reports, but there are several very good sources for understanding Statspack reports:
http://jonathanlewis.wordpress.com/2006/11/29/analysing-statspack-pt1/
http://jonathanlewis.wordpress.com/statspack-examples/
Metalink Note:232443.1 (How to Identify Resource Intensive SQL for Tuning)
Metalink Note:390374.1 (Oracle Performance Diagnostic Guide (OPDG))
Metalink Note:228913.1 (Systemwide Tuning using STATSPACK Reports)
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Hello ,
we are currently experiencing heavy I/O problmes perfoming prrof of concept
testig for one of our customers. Our setup is as follows:
HP ProLiant DL380 with 24GB Ram and 8 15k 72GB SAS drives
An HP P400 Raid controller with 256MB cache in RAID0 mode was used.
Win 2k8r2 was installed on c (a physical Drive) and the database on E
(= two physical drives in RAID0 128k Strip Size)
With the remaining 5 drives read and write tests were performed using raid 0 with variing number of drives.
I/O performance, as measured with ATTO Disk benchmark, increased as expected linear with the number of drives used.
We expected to see this increased performance in the database, too and performed the following tests:
- with 3 different tables the full table scan (FTS) (Hint: /*+ FULL (s) NOCACHE (s) */)
- a CTAS statement.
The system was used exclusively for testing.
The used tables:
Table 1: 312 col, 12,248 MB, 11,138,561 rows, avg len 621 bytes
Table 2: 159 col, 4288 MB, 5,441,171 rows, avg len 529 bytes
Table 3: 118 col, 360MB, 820,259 rows, avg len 266 bytes
The FTS has improved as expected. With 5 physical drives in a RAID0, a performance of
420MB/s was achieved.
In the write test on the other hand we were not able to archieve any improvement.
The CTAS statement always works with about 5000 - 6000 BLOCK/s (80MB/s)
But when we tried running several CTAS statements in different sessions, the overall speed increased as expected.
Further tests showed that the write speed seems to depend also on the number of columns. 80MB/s were only
possible with Tables 2 and 3. With Table 1, however only 30MB/s were measured.
Is this maybe just an incorrectly set parameter?
What we already tried:
- change the number of db_writer_processes 4 and then to 8
- Manual configuration of PGA and SGA size
- setting DB_BLOCK_SIZE to 16k
- FILESYSTEMIO_OPTIONS set to setall
- checking that Resource Manager are really disabled
Thanks for any help.
V$PARAMETERS
1 lock_name_space
2 processes 150
3 sessions 248
4 timed_statistics TRUE
5 timed_os_statistics 0
6 resource_limit FALSE
7 license_max_sessions 0
8 license_sessions_warning 0
9 cpu_count 8
10 instance_groups
11 event
12 sga_max_size 14495514624
13 use_large_pages TRUE
14 pre_page_sga FALSE
15 shared_memory_address 0
16 hi_shared_memory_address 0
17 use_indirect_data_buffers FALSE
18 lock_sga FALSE
19 processor_group_name
20 shared_pool_size 0
21 large_pool_size 0
22 java_pool_size 0
23 streams_pool_size 0
24 shared_pool_reserved_size 93952409
25 java_soft_sessionspace_limit 0
26 java_max_sessionspace_size 0
27 spfile C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILEORATEST.ORA
28 instance_type RDBMS
29 nls_language AMERICAN
30 nls_territory AMERICA
31 nls_sort
32 nls_date_language
33 nls_date_format
34 nls_currency
35 nls_numeric_characters
36 nls_iso_currency
37 nls_calendar
38 nls_time_format
39 nls_timestamp_format
40 nls_time_tz_format
41 nls_timestamp_tz_format
42 nls_dual_currency
43 nls_comp BINARY
44 nls_length_semantics BYTE
45 nls_nchar_conv_excp FALSE
46 fileio_network_adapters
47 filesystemio_options
48 clonedb FALSE
49 disk_asynch_io TRUE
50 tape_asynch_io TRUE
51 dbwr_io_slaves 0
52 backup_tape_io_slaves FALSE
53 resource_manager_cpu_allocation 8
54 resource_manager_plan
55 cluster_interconnects
56 file_mapping FALSE
57 gcs_server_processes 0
58 active_instance_count
59 sga_target 14495514624
60 memory_target 0
61 memory_max_target 0
62 control_files E:\ORACLE\ORADATA\ORATEST\CONTROL01.CTL, C:\ORACLE\FAST_RECOVERY_AREA\ORATEST\CONTROL02.CTL
63 db_file_name_convert
64 log_file_name_convert
65 control_file_record_keep_time 7
66 db_block_buffers 0
67 db_block_checksum TYPICAL
68 db_ultra_safe OFF
69 db_block_size 8192
70 db_cache_size 0
71 db_2k_cache_size 0
72 db_4k_cache_size 0
73 db_8k_cache_size 0
74 db_16k_cache_size 0
75 db_32k_cache_size 0
76 db_keep_cache_size 0
77 db_recycle_cache_size 0
78 db_writer_processes 1
79 buffer_pool_keep
80 buffer_pool_recycle
81 db_flash_cache_file
82 db_flash_cache_size 0
83 db_cache_advice ON
84 compatible 11.2.0.0.0
85 log_archive_dest_1
86 log_archive_dest_2
87 log_archive_dest_3
88 log_archive_dest_4
89 log_archive_dest_5
90 log_archive_dest_6
91 log_archive_dest_7
92 log_archive_dest_8
93 log_archive_dest_9
94 log_archive_dest_10
95 log_archive_dest_11
96 log_archive_dest_12
97 log_archive_dest_13
98 log_archive_dest_14
99 log_archive_dest_15
100 log_archive_dest_16
101 log_archive_dest_17
102 log_archive_dest_18
103 log_archive_dest_19
104 log_archive_dest_20
105 log_archive_dest_21
106 log_archive_dest_22
107 log_archive_dest_23
108 log_archive_dest_24
109 log_archive_dest_25
110 log_archive_dest_26
111 log_archive_dest_27
112 log_archive_dest_28
113 log_archive_dest_29
114 log_archive_dest_30
115 log_archive_dest_31
116 log_archive_dest_state_1 enable
117 log_archive_dest_state_2 enable
118 log_archive_dest_state_3 enable
119 log_archive_dest_state_4 enable
120 log_archive_dest_state_5 enable
121 log_archive_dest_state_6 enable
122 log_archive_dest_state_7 enable
123 log_archive_dest_state_8 enable
124 log_archive_dest_state_9 enable
125 log_archive_dest_state_10 enable
126 log_archive_dest_state_11 enable
127 log_archive_dest_state_12 enable
128 log_archive_dest_state_13 enable
129 log_archive_dest_state_14 enable
130 log_archive_dest_state_15 enable
131 log_archive_dest_state_16 enable
132 log_archive_dest_state_17 enable
133 log_archive_dest_state_18 enable
134 log_archive_dest_state_19 enable
135 log_archive_dest_state_20 enable
136 log_archive_dest_state_21 enable
137 log_archive_dest_state_22 enable
138 log_archive_dest_state_23 enable
139 log_archive_dest_state_24 enable
140 log_archive_dest_state_25 enable
141 log_archive_dest_state_26 enable
142 log_archive_dest_state_27 enable
143 log_archive_dest_state_28 enable
144 log_archive_dest_state_29 enable
145 log_archive_dest_state_30 enable
146 log_archive_dest_state_31 enable
147 log_archive_start FALSE
148 log_archive_dest
149 log_archive_duplex_dest
150 log_archive_min_succeed_dest 1
151 standby_archive_dest %ORACLE_HOME%\RDBMS
152 fal_client
153 fal_server
154 log_archive_trace 0
155 log_archive_config
156 log_archive_local_first TRUE
157 log_archive_format ARC%S_%R.%T
158 redo_transport_user
159 log_archive_max_processes 4
160 log_buffer 32546816
161 log_checkpoint_interval 0
162 log_checkpoint_timeout 1800
163 archive_lag_target 0
164 db_files 200
165 db_file_multiblock_read_count 128
166 read_only_open_delayed FALSE
167 cluster_database FALSE
168 parallel_server FALSE
169 parallel_server_instances 1
170 cluster_database_instances 1
171 db_create_file_dest
172 db_create_online_log_dest_1
173 db_create_online_log_dest_2
174 db_create_online_log_dest_3
175 db_create_online_log_dest_4
176 db_create_online_log_dest_5
177 db_recovery_file_dest c:\oracle\fast_recovery_area
178 db_recovery_file_dest_size 4322230272
179 standby_file_management MANUAL
180 db_unrecoverable_scn_tracking TRUE
181 thread 0
182 fast_start_io_target 0
183 fast_start_mttr_target 0
184 log_checkpoints_to_alert FALSE
185 db_lost_write_protect NONE
186 recovery_parallelism 0
187 db_flashback_retention_target 1440
188 dml_locks 1088
189 replication_dependency_tracking TRUE
190 transactions 272
191 transactions_per_rollback_segment 5
192 rollback_segments
193 undo_management AUTO
194 undo_tablespace UNDOTBS1
195 undo_retention 900
196 fast_start_parallel_rollback LOW
197 resumable_timeout 0
198 instance_number 0
199 db_block_checking FALSE
200 recyclebin on
201 db_securefile PERMITTED
202 create_stored_outlines
203 serial_reuse disable
204 ldap_directory_access NONE
205 ldap_directory_sysauth no
206 os_roles FALSE
207 rdbms_server_dn
208 max_enabled_roles 150
209 remote_os_authent FALSE
210 remote_os_roles FALSE
211 sec_case_sensitive_logon TRUE
212 O7_DICTIONARY_ACCESSIBILITY FALSE
213 remote_login_passwordfile EXCLUSIVE
214 license_max_users 0
215 audit_sys_operations FALSE
216 global_context_pool_size
217 db_domain
218 global_names FALSE
219 distributed_lock_timeout 60
220 commit_point_strength 1
221 global_txn_processes 1
222 instance_name oratest
223 service_names ORATEST
224 dispatchers (PROTOCOL=TCP) (SERVICE=ORATESTXDB)
225 shared_servers 1
226 max_shared_servers
227 max_dispatchers
228 circuits
229 shared_server_sessions
230 local_listener
231 remote_listener
232 listener_networks
233 cursor_space_for_time FALSE
234 session_cached_cursors 50
235 remote_dependencies_mode TIMESTAMP
236 utl_file_dir
237 smtp_out_server
238 plsql_v2_compatibility FALSE
239 plsql_warnings DISABLE:ALL
240 plsql_code_type INTERPRETED
241 plsql_debug FALSE
242 plsql_optimize_level 2
243 plsql_ccflags
244 plscope_settings identifiers:none
245 permit_92_wrap_format TRUE
246 java_jit_enabled TRUE
247 job_queue_processes 1000
248 parallel_min_percent 0
249 create_bitmap_area_size 8388608
250 bitmap_merge_area_size 1048576
251 cursor_sharing EXACT
252 result_cache_mode MANUAL
253 parallel_min_servers 0
254 parallel_max_servers 135
255 parallel_instance_group
256 parallel_execution_message_size 16384
257 hash_area_size 131072
258 result_cache_max_size 72482816
259 result_cache_max_result 5
260 result_cache_remote_expiration 0
261 audit_file_dest C:\ORACLE\ADMIN\ORATEST\ADUMP
262 shadow_core_dump none
263 background_core_dump partial
264 background_dump_dest c:\oracle\diag\rdbms\oratest\oratest\trace
265 user_dump_dest c:\oracle\diag\rdbms\oratest\oratest\trace
266 core_dump_dest c:\oracle\diag\rdbms\oratest\oratest\cdump
267 object_cache_optimal_size 102400
268 object_cache_max_size_percent 10
269 session_max_open_files 10
270 open_links 4
271 open_links_per_instance 4
272 commit_write
273 commit_wait
274 commit_logging
275 optimizer_features_enable 11.2.0.3
276 fixed_date
277 audit_trail DB
278 sort_area_size 65536
279 sort_area_retained_size 0
280 cell_offload_processing TRUE
281 cell_offload_decryption TRUE
282 cell_offload_parameters
283 cell_offload_compaction ADAPTIVE
284 cell_offload_plan_display AUTO
285 db_name ORATEST
286 db_unique_name ORATEST
287 open_cursors 300
288 ifile
289 sql_trace FALSE
290 os_authent_prefix OPS$
291 optimizer_mode ALL_ROWS
292 sql92_security FALSE
293 blank_trimming FALSE
294 star_transformation_enabled TRUE
295 parallel_degree_policy MANUAL
296 parallel_adaptive_multi_user TRUE
297 parallel_threads_per_cpu 2
298 parallel_automatic_tuning FALSE
299 parallel_io_cap_enabled FALSE
300 optimizer_index_cost_adj 100
301 optimizer_index_caching 0
302 query_rewrite_enabled TRUE
303 query_rewrite_integrity enforced
304 pga_aggregate_target 4831838208
305 workarea_size_policy AUTO
306 optimizer_dynamic_sampling 2
307 statistics_level TYPICAL
308 cursor_bind_capture_destination memory+disk
309 skip_unusable_indexes TRUE
310 optimizer_secure_view_merging TRUE
311 ddl_lock_timeout 0
312 deferred_segment_creation TRUE
313 optimizer_use_pending_statistics FALSE
314 optimizer_capture_sql_plan_baselines FALSE
315 optimizer_use_sql_plan_baselines TRUE
316 parallel_min_time_threshold AUTO
317 parallel_degree_limit CPU
318 parallel_force_local FALSE
319 optimizer_use_invisible_indexes FALSE
320 dst_upgrade_insert_conv TRUE
321 parallel_servers_target 128
322 sec_protocol_error_trace_action TRACE
323 sec_protocol_error_further_action CONTINUE
324 sec_max_failed_login_attempts 10
325 sec_return_server_release_banner FALSE
326 enable_ddl_logging FALSE
327 client_result_cache_size 0
328 client_result_cache_lag 3000
329 aq_tm_processes 1
330 hs_autoregister TRUE
331 xml_db_events enable
332 dg_broker_start FALSE
333 dg_broker_config_file1 C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\DR1ORATEST.DAT
334 dg_broker_config_file2 C:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\DR2ORATEST.DAT
335 olap_page_pool_size 0
336 asm_diskstring
337 asm_preferred_read_failure_groups
338 asm_diskgroups
339 asm_power_limit 1
340 control_management_pack_access DIAGNOSTIC+TUNING
341 awr_snapshot_time_offset 0
342 sqltune_category DEFAULT
343 diagnostic_dest C:\ORACLE
344 tracefile_identifier
345 max_dump_file_size unlimited
346 trace_enabled TRUE961262 wrote:
The used tables:
Table 1: 312 col, 12,248 MB, 11,138,561 rows, avg len 621 bytes
Table 2: 159 col, 4288 MB, 5,441,171 rows, avg len 529 bytes
Table 3: 118 col, 360MB, 820,259 rows, avg len 266 bytes
The FTS has improved as expected. With 5 physical drives in a RAID0, a performance of
420MB/s was achieved.
In the write test on the other hand we were not able to archieve any improvement.
The CTAS statement always works with about 5000 - 6000 BLOCK/s (80MB/s)
But when we tried running several CTAS statements in different sessions, the overall speed increased as expected.
Further tests showed that the write speed seems to depend also on the number of columns. 80MB/s were only
possible with Tables 2 and 3. With Table 1, however only 30MB/s were measured.
If multiple CTAS can produce higher throughput on writes this tells you that it is the production of the data that is the limit, not the writing. Notice in your example that nearly 75% of the time of the CTAS as CPU, not I/O.
The thing about number of columns is that table 1 has exceeded the critical 254 limit - this means Oracle has chained all the rows internally into two pieces; this introduces lots of extra CPU-intensive operations (consistent gets, table access by rowid, heap block compress) so that the CPU time could have gone up significantly, resulting in a lower throughput that you are interpreting as a write problem.
One other thought - if you are currently doing CTAS by "create as select from {real SAP table}" there may be other side effects that you're not going to see. I would do "create test clone of real SAP table", then "create as select from clone" to try and eliminate any such anomalies.
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Author: <b><em>Oracle Core</em></b> -
Is Zero is the Automatic Value for fast_start_mttr_target in ORacle10g
Dear Friends ,
I am working in Oracle 10g . In Oracle 9i the default value of fast_start_mttr_target is 600 . Now my question is :
In Oracle10g , is the '0' value is automatic recovery activities for fast_start_mttr_target (i.e., fast_start_mttr_target=0, here MTTR performs auto) ?
Is it correct ?
And also using the query , How can I measure the MTTR value :
Estimate the value for FAST_START_MTTR_TARGET as follows:
SELECT TARGET_MTTR,
ESTIMATED_MTTR,
CKPT_BLOCK_WRITES
FROM V$INSTANCE_RECOVERY;
TARGET_MTTR ESTIMATED_MTTR CKPT_BLOCK_WRITES
103 12 169
How can I measure MTTR terget using this value ? plz help .. ..."Unset" means 'not set, non-existent'.
If you're using a text init.ora, you simply delete the line on which that parameter is set.
If you're using a binary spfile, you issue the command
alter system reset fast_start_mttr_target scope=spfile sid='*';
Either way, you end up with the parameter physically not being specified in your configuration file. As opposed to it being set to a zero value, in which case it is physically present in the configuration file, set to a value which will switch off auto-tuning of checkpoints.
You want it "not existing", not "existing but set to a value of zero".
I'm afraid I don't know of any other way to explain the difference between non-existence and existence at value zero to you.
One slight twist is that if the parameter does not exist in the spfile at all, a "show parameter fast_start_mttr_target" in SQL*Plus will show its value to be set to zero. For example:
show parameter fast_start
NAME TYPE VALUE
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOWShowing a zero value because it is explicitly set to zero.
alter system reset fast_start_mttr_target scope=spfile sid='*';
System altered.
show parameter fast_start
NAME TYPE VALUE
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOWShowing a zero value because it doesn't exist in the spfile at all (which is what the 'reset' command did for me.
The only way I know to tell the difference between 'showing zero because it exists and it's been set to zero' and 'showing zero because it doesn't exist at all and zero happens to be the default value' is to try and delete the thing as shown above (with the alter system reset) command: if the parameter doesn't exist at all, and is showing a value of zero because that's merely the default value, then you'll get this error message displayed:
alter system reset fast_start_mttr_target scope=spfile sid='*'
ERROR at line 1:
ORA-32010: cannot find entry to delete in SPFILE -
'Maximum Performance' protection in oracle 11g
Hi,
I am working on dataguard setup in oracle 11g maximum
'Maximum Performance' mode requires Standby redo logs
i was doing switch over test and i am getting this error appreciated for your inputs.
DGMGRL> show configuration verbose;
Configuration
Name: qecgpoce_DG
Enabled: YES
Protection Mode: MaxPerformance
Databases:
qecgpoce - Primary database
qecgpoca - Physical standby database
Fast-Start Failover: DISABLED
Current status for "qecgpoce_DG":
Warning: ORA-16607: one or more databases have failed
DGMGRL> show database verbose qecgpoce;
Database
Name: qecgpoce
Role: PRIMARY
Enabled: YES
Intended State: TRANSPORT-ON
Instance(s):
qecgpoce
Properties:
DGConnectIdentifier = 'qecgpoce'
ObserverConnectIdentifier = ''
LogXptMode = 'SYNC'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoca_data/oradata/qecgpoca/dbfiles, /mounts/qecgpoce_data/oradata/qecgpoce/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoca/arch, /u01/app/oracle/admin/qecgpoce/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'ieedc-vzdb17'
SidName = 'qecgpoce'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ieedc-vzdb17)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoce_DGMGRL)(INSTANCE_NAME=qecgpoce)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoce/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoce":
Warning: ORA-16789: standby redo logs not configured
DGMGRL> show database verbose qecgpoca;
Database
Name: qecgpoca
Role: PHYSICAL STANDBY
Enabled: YES
Intended State: APPLY-ON
Instance(s):
qecgpoca
Properties:
DGConnectIdentifier = 'qecgpoca'
ObserverConnectIdentifier = ''
LogXptMode = 'ARCH'
DelayMins = '0'
Binding = 'OPTIONAL'
MaxFailure = '0'
MaxConnections = '1'
ReopenSecs = '300'
NetTimeout = '30'
RedoCompression = 'DISABLE'
LogShipping = 'ON'
PreferredApplyInstance = ''
ApplyInstanceTimeout = '0'
ApplyParallel = 'AUTO'
StandbyFileManagement = 'AUTO'
ArchiveLagTarget = '0'
LogArchiveMaxProcesses = '4'
LogArchiveMinSucceedDest = '1'
DbFileNameConvert = '/mounts/qecgpoce_data/oradata/qecgpoce/dbfiles, /mounts/qecgpoca_data/oradata/qecgpoca/dbfiles'
LogFileNameConvert = '/u01/app/oracle/admin/qecgpoce/arch, /u01/app/oracle/admin/qecgpoca/arch'
FastStartFailoverTarget = ''
StatusReport = '(monitor)'
InconsistentProperties = '(monitor)'
InconsistentLogXptProps = '(monitor)'
SendQEntries = '(monitor)'
LogXptStatus = '(monitor)'
RecvQEntries = '(monitor)'
HostName = 'usadc-vzdb32'
SidName = 'qecgpoca'
StaticConnectIdentifier = '(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=usadc-vzdb32)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=qecgpoca_DGMGRL)(INSTANCE_NAME=qecgpoca)(SERVER=DEDICATED)))'
StandbyArchiveLocation = '/u01/app/oracle/admin/qecgpoca/arch'
AlternateLocation = ''
LogArchiveTrace = '0'
LogArchiveFormat = 'qecgpoc%s%t%r.arc'
LatestLog = '(monitor)'
TopWaitEvents = '(monitor)'
Current status for "qecgpoca":
Error: ORA-16766: Redo Apply is stoppedThanks
PrakashHi,
secondary parameter file;
SQL> show parameter _
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 0
archive_lag_target integer 0
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
asm_preferred_read_failure_groups string
audit_file_dest string /u01/app/oracle/admin/qecgpoca
/adump
audit_sys_operations boolean FALSE
NAME TYPE VALUE
audit_syslog_level string
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
NAME TYPE VALUE
cell_offload_compaction string ADAPTIVE
cell_offload_parameters string
cell_offload_plan_display string AUTO
cell_offload_processing boolean TRUE
cell_partition_large_extents string DEFAULT
circuits integer
client_result_cache_lag big integer 3000
client_result_cache_size big integer 0
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
NAME TYPE VALUE
commit_logging string
commit_point_strength integer 1
commit_wait string
commit_write string
compatible string 11.0.0.0.0
control_file_record_keep_time integer 7
control_files string /mounts/qecgpoca_data/oradata/
qecgpoca/dbfiles/control.ctl
control_management_pack_access string DIAGNOSTIC+TUNING
core_dump_dest string /u01/app/oracle/admin/qecgpoca
/cdump/
NAME TYPE VALUE
cpu_count integer 16
create_bitmap_area_size integer 8388608
create_stored_outlines string
cursor_sharing string EXACT
cursor_space_for_time boolean FALSE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
NAME TYPE VALUE
db_block_checking string FALSE
db_block_checksum string TYPICAL
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 168M
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 61
db_file_name_convert string /mounts/qecgpoce_data/oradata/
qecgpoce/dbfiles, /mounts/qecg
poca_data/oradata/qecgpoca/dbf
iles
db_files integer 200
db_flashback_retention_target integer 1440
db_keep_cache_size big integer 0
db_lost_write_protect string NONE
db_name string qecgpoce
NAME TYPE VALUE
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
db_recycle_cache_size big integer 0
db_securefile string PERMITTED
db_ultra_safe string OFF
db_unique_name string qecgpoca
db_writer_processes integer 4
dbwr_io_slaves integer 0
ddl_lock_timeout integer 0
dg_broker_config_file1 string /u01/app/oracle/product/11.1.0
.7/dbs/dr1qecgpoca.dat
NAME TYPE VALUE
dg_broker_config_file2 string /u01/app/oracle/product/11.1.0
.7/dbs/dr2qecgpoca.dat
dg_broker_start boolean TRUE
diagnostic_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 1472
drs_start boolean FALSE
enable_ddl_logging boolean FALSE
NAME TYPE VALUE
event string
fal_client string qecgpoca
fal_server string qecgpoce
fast_start_io_target integer 0
fast_start_mttr_target integer 300
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string asynch
fixed_date string
gc_files_to_locks string
NAME TYPE VALUE
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
global_txn_processes integer 1
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string qecgpoca
instance_number integer 0
NAME TYPE VALUE
instance_type string RDBMS
java_jit_enabled boolean TRUE
java_max_sessionspace_size integer 0
java_pool_size big integer 152M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 0
large_pool_size big integer 4M
ldap_directory_access string NONE
ldap_directory_sysauth string no
license_max_sessions integer 0
license_max_users integer 0
NAME TYPE VALUE
license_sessions_warning integer 0
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_config string dg_config=(qecgpoce,qecgpoca)
log_archive_dest string
log_archive_dest_1 string location="/u01/app/oracle/admi
n/qecgpoca/arch", valid_for=(
ALL_LOGFILES,ALL_ROLES)
log_archive_dest_10 string
log_archive_dest_2 string service=qecgpoce lgwr async va
NAME TYPE VALUE
lid_for=(online_logfiles,prima
ry_role) db_unique_name=qecgpo
ce
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string ENABLE
NAME TYPE VALUE
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string qecgpoc%s%t%r.arc
NAME TYPE VALUE
log_archive_local_first boolean TRUE
log_archive_max_processes integer 4
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 4197376
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string /u01/app/oracle/admin/qecgpoce
/arch, /u01/app/oracle/admin/q
NAME TYPE VALUE
ecgpoca/arch
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string unlimited
max_enabled_roles integer 150
max_shared_servers integer
memory_max_target big integer 0
memory_target big integer 0
nls_calendar string
nls_comp string BINARY
nls_currency string
NAME TYPE VALUE
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
NAME TYPE VALUE
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 300
open_links integer 4
open_links_per_instance integer 4
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
NAME TYPE VALUE
optimizer_features_enable string 11.1.0.7
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean FALSE
NAME TYPE VALUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_io_cap_enabled boolean FALSE
parallel_max_servers integer 2
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 100M
NAME TYPE VALUE
plscope_settings string IDENTIFIERS:NONE
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_debug boolean FALSE
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_page_sga boolean FALSE
processes integer 300
NAME TYPE VALUE
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string on
redo_transport_user string
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
NAME TYPE VALUE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean FALSE
resource_manager_cpu_allocation integer 16
resource_manager_plan string SYSTEM_PLAN
result_cache_max_result integer 5
result_cache_max_size big integer 5M
result_cache_mode string MANUAL
result_cache_remote_expiration integer 0
resumable_timeout integer 0
rollback_segments string
NAME TYPE VALUE
sec_case_sensitive_logon boolean TRUE
sec_max_failed_login_attempts integer 10
sec_protocol_error_further_action string CONTINUE
sec_protocol_error_trace_action string TRACE
sec_return_server_release_banner boolean FALSE
serial_reuse string disable
service_names string qecgpoca
session_cached_cursors integer 50
session_max_open_files integer 10
sessions integer 335
sga_max_size big integer 1000M
sga_target big integer 0
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 25M
shared_pool_size big integer 500M
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
sort_area_retained_size integer 0
sort_area_size integer 65536
NAME TYPE VALUE
spfile string /u01/app/oracle/product/11.1.0
.7/dbs/spfileqecgpoca.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
NAME TYPE VALUE
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 368
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 900
undo_tablespace string UNDOTBS1
NAME TYPE VALUE
use_indirect_data_buffers boolean FALSE
user_dump_dest string /u01/app/oracle/admin/qecgpoca
/diagnostic/diag/rdbms/qecgpoc
a/qecgpoca/trace
utl_file_dir string
workarea_size_policy string AUTO
xml_db_events string enableThanks
Prakash -
Performance tuning - Is database using Star Transformation?
Reports running slow, not sure if database is using Start transformation for the Datawarehouse Database.
Used hint */+ STAR_TRANSFORMATION */, still no performance increase.
Checked database parameter -
SQL> show parameter star;
NAME TYPE VALUE
dg_broker_start boolean FALSE
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOW
log_archive_start boolean FALSE
star_transformation_enabled string TRUE
Any Help is appreciated.
Thanks!DBA_Guide wrote:
Reports running slow, not sure if database is using Start transformation for the Datawarehouse Database.
Used hint */+ STAR_TRANSFORMATION */, still no performance increase.
Checked database parameter -
SQL> show parameter star;
NAME TYPE VALUE
dg_broker_start boolean FALSE
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOW
log_archive_start boolean FALSE
star_transformation_enabled string TRUE
Any Help is appreciated.
Thanks!
If star transformation was not the cause of the slowness, of course it won't make it faster.
I bet you any number of other different hints will result in no change in performance.
This is like replacing gas tank on your car with a LARGER tank & filling it with more gasoline to make the car go faster.
The amount of gasoline is not a factor that limits the speed of your car. -
Performance tuning of database using DBACOCKPIT
Hiii Experts,
I have installed new server with OS:- Windows server 2012 and DB:- Sybase ASE 15.07.
Now I want to perform performance tuning of SAP and Database, so for that I have configured
DBACOCKPIT but I could not change the parameter values so could you tell me how to change
parameter values and how to use DBACOCKPIT for performance tuning.
Thank you,
Regards,
Omkar M.DBA_Guide wrote:
Reports running slow, not sure if database is using Start transformation for the Datawarehouse Database.
Used hint */+ STAR_TRANSFORMATION */, still no performance increase.
Checked database parameter -
SQL> show parameter star;
NAME TYPE VALUE
dg_broker_start boolean FALSE
fast_start_io_target integer 0
fast_start_mttr_target integer 0
fast_start_parallel_rollback string LOW
log_archive_start boolean FALSE
star_transformation_enabled string TRUE
Any Help is appreciated.
Thanks!
If star transformation was not the cause of the slowness, of course it won't make it faster.
I bet you any number of other different hints will result in no change in performance.
This is like replacing gas tank on your car with a LARGER tank & filling it with more gasoline to make the car go faster.
The amount of gasoline is not a factor that limits the speed of your car. -
Database performance is poor after upgrading to 9i
hi Guys
My system was upgraded to 9i by the third party after that I took over from that and I am getting the continuous complaints regarding performance of Database.
there are 150 Users who connects using citrix , from different locations and DB size is 20 GB.
this is my Init Ora file
# Cache and I/O
db_block_size = 4096
db_cache_size=591396864
db_file_multiblock_read_count=16
# Cursors and Library cache
open_cursors=3000
# Database Identification
db_domain=""
db_name=db_live
# Diagnostics and Statistics
background_dump_dest=D:\oracle\admin\db_live\bdump
core_dump_dest=D:\oracle\admin\db_live\cdump
timed_statistics=TRUE
user_dump_dest=D:\oracle\admin\db_live\udump
# File Configuration
control_files=("D:\oracle\oradata\db_live\control01.ctl","D:\oracle\oradata\db_live\control02.ctl","D:\oracle\oradata\db_live\control03.ctl")
# Instance Identification
instance_name = live
# Job Queues
job_queue_processes=10
# MTS
dispatchers = "(PROTOCOL=TCP)"
# Miscellaneous
aq_tm_processes = 1
compatible=9.2.0.0.0
# Optimizer
hash_join_enabled=TRUE
query_rewrite_enabled=FALSE
star_transfformation_enabled=FALSE
# Pools
java_pool_size=0
large_pool_size=145752064
shared_pool_size=197132288
# Processes and Sessions
processes=400
# Redo Log and Recovery
fast_start_mttr_target=300
# Security and Auditing
remote_login_passwordfile=EXCLUSIVE
# SORT, HASH Joins, Bitmap Indexes
pga_aggregate_target=525336576
sort_area_size=524288
# System Managed Undo and Rollback Segments
undo_management=AUTO
undo_retention=10800
undo_tablespace=UNDOTBS1
I feel SGA size and Sort area size are not correct if we increase the value of both will it solve some my problem
AbhiI have run the some scripts to check the performance
Here is the ouput :
Hit Ratio Section
=========================
BUFFER HIT RATIO
=========================
(should be > 70, else increase db_block_buffers in init.ora)
Buffer Hit Ratio
77
logical_reads phys_reads phy_writes BUFFER HIT RATIO
89,127,477 20,013,061 1,556,989 78
=========================
DATA DICT HIT RATIO
=========================
(should be higher than 90 else increase shared_pool_size in init.ora)
Data Dict. Gets Data Dict. cache misses DATA DICT CACHE HIT RATIO
11,785,386 40,955 99
=========================
LIBRARY CACHE MISS RATIO
=========================
(If > .1, i.e., more than 1% of the pins resulted in reloads, then
increase the shared_pool_size in init.ora)
executions Cache misses while executing LIBRARY CACHE MISS RATIO
9,845,481 11,831 .0012
=========================
Library Cache Section
=========================
hit ratio should be > 70, and pin ratio > 70 ...
NAMESPACE Hit ratio pin hit ratio reloads
SQL AREA 70 94 7,293
TABLE/PROCEDURE 99 98 4,529
BODY 87 68 9
TRIGGER 99 99 0
INDEX 98 98 0
CLUSTER 98 98 0
OBJECT 100 100 0
PIPE 100 100 0
JAVA SOURCE 100 100 0
JAVA RESOURCE 100 100 0
JAVA DATA 100 100 0
=========================
REDO LOG BUFFER
=========================
redo log space requests 37
Pool's Free Memory
POOL NAME BYTES
shared pool free memory 8,075,760
large pool free memory 127,547,048
SQL Summary Section
Tot SQL run since startup SQL executing now
4,727,276 3,833
Lock Section
=========================
SYSTEM-WIDE LOCKS - all requests for locks or latches
=========================
Processing Locks and Latches, please standby...
User Lock Type Mode Held
XR Null
Temp Segment Row-X (SX)
SYNTECH Transaction Exclusive
SYNTECH DML Row-S (SS)
SYNTECH Transaction Exclusive
SYNTECH DML Row-X (SX)
SYNTECH DML Row-X (SX)
SYNTECH DML Row-X (SX)
SYNTECH Transaction Exclusive
SYNTECH DML Row-S (SS)
=========================
DDL LOCKS - These are usually triggers or other DDL
=========================
User Owner Name Type Mode held
SYNTECH SYS DBMS_TRANSACTIO Table/Procedure/Type Null
SYNTECH SYS DBMS_TRANSACTIO Table/Procedure/Type Null
SYNTECH SYNTECH SW_LUC_SEQ Table/Procedure/Type Null
SYNTECH SYS DBMS_UTILITY Body Null
SYNTECH SYS DBMS_UTILITY Body Null
SYSTEM SYSTEM SYSTEM 18 Null
SYNTECH SYS DBMS_UTILITY Table/Procedure/Type Null
SYNTECH SYS DBMS_UTILITY Table/Procedure/Type Null
SYSTEM SYS DBMS_OUTPUT Body Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
User Owner Name Type Mode held
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SUMMIT SUMMIT SUMMIT 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
User Owner Name Type Mode held
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYNTECH SYNTECH 18 Null
SYNTECH SYS DBMS_TRANSACTIO Body Null
User Owner Name Type Mode held
SYNTECH SYS DBMS_TRANSACTIO Body Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SUMMIT SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYSTEM SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SUMMIT SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
User Owner Name Type Mode held
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYNTECH SYS DATABASE 18 Null
SYSTEM SYS DBMS_OUTPUT Table/Procedure/Type Null
SYNTECH SYS DBMS_APPLICATIO Table/Procedure/Type Null
SYNTECH SYS DBMS_APPLICATIO Table/Procedure/Type Null
SYSTEM SYS DBMS_APPLICATIO Table/Procedure/Type Null
SYNTECH SYS DBMS_APPLICATIO Body Null
SYNTECH SYS DBMS_APPLICATIO Body Null
SYSTEM SYS DBMS_APPLICATIO Body Null
=========================
DML LOCKS - These are table and row locks...
=========================
User Owner Name Mode held
SYNTECH SYNTECH SYJOBTRN Row-S (SS)
SYNTECH SYNTECH JCINVTRN Row-X (SX)
SYNTECH SYNTECH JCBATCH Row-S (SS)
SYNTECH SYNTECH JCIVBK Row-X (SX)
SYNTECH SYNTECH JCWSTG Row-S (SS)
SYNTECH SYNTECH JCINVC Row-X (SX)
Latch Section
if miss_ratio or immediate_miss_ratio > 1 then latch
contention exists, decrease LOG_SMALL_ENTRY_MAX_SIZE in init.ora
NAME miss_ratio immediate_miss_ratio
library cache .04 .24
virtual circuit queues .42 .00
Rollback Segment Section
if any count below is > 1% of the total number of requests for data
then more rollback segments are needed
CLASS COUNT
free list 0
undo block 1
undo header 201
system undo block 0
system undo header 0
Tot # of Requests for Data
89,163,600
=========================
ROLLBACK SEGMENT CONTENTION
=========================
If any ratio is > .01 then more rollback segments are needed
NAME WAITS GETS Ratio
SYSTEM 0 625 .00000
_SYSSMU1$ 31 67196 .00046
_SYSSMU2$ 0 30118 .00000
_SYSSMU3$ 18 75372 .00024
_SYSSMU4$ 9 36534 .00025
_SYSSMU5$ 28 173253 .00016
_SYSSMU6$ 0 31350 .00000
_SYSSMU7$ 0 28957 .00000
_SYSSMU8$ 10 62721 .00016
_SYSSMU9$ 3 44480 .00007
_SYSSMU10$ 37 42719 .00087
NAME WAITS GETS Ratio
_SYSSMU11$ 0 20228 .00000
_SYSSMU12$ 1 19168 .00005
Session Event Section
if average-wait > 20 then contention might exists
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
latch free 5 1 1
latch free 2 0 1
buffer busy waits 362 0 1
buffer busy waits 1 0 25
buffer busy waits 217 0 1
log buffer space 4 0 5
log file switch completion 4 0 3
log file switch completion 7 0 3
log file sync 253 0 1
log file sync 12 1 11
log file sync 307 1 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file sequential read 776 0 1
db file sequential read 53 0 3
db file sequential read 2,791 0 1
db file sequential read 2,125 0 1
db file sequential read 728 0 1
db file sequential read 12 0 1
db file sequential read 1,710 0 1
db file sequential read 237 0 1
db file sequential read 1 0 1
db file sequential read 404 0 1
db file sequential read 731 0 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file sequential read 1 0 1
db file sequential read 18 0 1
db file sequential read 11 0 3
db file sequential read 4 0 1
db file sequential read 64 0 4
db file sequential read 119 0 1
db file sequential read 1 0 1
db file sequential read 3 0 2
db file sequential read 511 0 2
db file sequential read 608 0 1
db file sequential read 2 0 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file sequential read 6 0 1
db file sequential read 5 0 1
db file sequential read 80 0 1
db file sequential read 74 0 2
db file sequential read 40 0 3
db file sequential read 876 0 1
db file sequential read 2,791 0 1
db file sequential read 5 0 1
db file sequential read 2 0 1
db file sequential read 315 0 1
db file scattered read 7 0 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file scattered read 15 0 1
db file scattered read 5 0 4
db file scattered read 8 0 1
db file scattered read 2 0 1
db file scattered read 1 0 1
db file scattered read 8 0 1
db file scattered read 129 0 1
db file scattered read 7 0 5
db file scattered read 1 0 1
db file scattered read 6 0 1
db file scattered read 4 0 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file scattered read 2 0 1
db file scattered read 5 0 4
db file scattered read 4 0 3
db file scattered read 4 0 1
db file scattered read 10,487 0 1
db file scattered read 2 0 1
db file scattered read 3 0 1
db file scattered read 2 0 1
db file scattered read 3 0 1
db file scattered read 13 0 2
db file scattered read 17 0 1
EVENT TOTAL_WAITS TOTAL_TIMEOUTS AVERAGE_WAIT
db file scattered read 2 0 1
db file scattered read 3 0 1
db file parallel read 32 0 1
db file parallel read 1 0 2
db file parallel read 29 0 2
db file parallel read 38 0 1
db file parallel read 24 0 2
db file parallel read 52 0 1
db file parallel read 33 0 1
undo segment extension 9 9 2
76 rows selected.
Queue Section
average wait for queues should be near zero ...
PADDR Queue type # queued WAIT TOTALQ AVG WAIT
00 COMMON 0 3195556 10,273,816 .311038858
1DCB67CC DISPATCHER 0 14654 10,649,458 .001376032
2 rows selected.
Multi-threaded Server Section
If the following number is > 1
then increase MTS_MAX_SERVERS parm in init.ora
Avg wait per request queue
.311037586853935493365783330857794608413 hundredths of seconds
1 row selected.
If the following number increases, consider adding dispatcher processes
Avg wait per response queue
.001376211356617059142626710087687462551 hundredths of seconds
=========================
DISPATCHER USAGE
=========================
(If Time Busy > 50, then change
MTS_MAX_DISPATCHERS in init.ora)
NAME STATUS IDLE BUSY Time Busy
D000 WAIT 3,506,156 89,948 2.501
Shared Server Processes
0
high-water mark for the multi-threaded server
MAXIMUM_CONNECTIONS MAXIMUM_SESSIONS SERVERS_STARTED SERVERS_TERMINATED
SERVERS_HIGHWATER
157 157 1721 1721
17
file i/o should be evenly distributed across drives.
# Name STATUS BYTES PHYRDS PHYWRTS
1 F:\ORACLE\ORADATA\DB_LIVE\SYST SYSTEM 262,144,000 16239 735
2 F:\ORACLE\ORADATA\DB_LIVE\UNDO ONLINE 2,222,981,120 1962 191422
3 F:\ORACLE\ORADATA\DB_LIVE\CONQ ONLINE 17,179,860,992 2361254 111110
4 F:\ORACLE\ORADATA\DB_LIVE\INDX ONLINE 26,214,400 20 18
5 F:\ORACLE\ORADATA\DB_LIVE\SUMM ONLINE 162,529,280 303 60
6 F:\ORACLE\ORADATA\DB_LIVE\TOOL ONLINE 10,485,760 20 18
7 F:\ORACLE\ORADATA\DB_LIVE\USER ONLINE 26,214,400 20 18
8 F:\ORACLE\ORADATA\DB_LIVE\CONQ ONLINE 1,263,534,080 2254864 123356
SYSTEM_STATISTIC VALUE
CPU used by this session 639,861
CPU used when call started 639,807
CR blocks created 27,293
Cached Commit SCN referenced 0
Commit SCN cached 0
DBWR buffers scanned 1,494,581
DBWR checkpoint buffers written 240,048
DBWR checkpoints 18
DBWR cross instance writes 0
DBWR free buffers found 1,319,309
DBWR fusion writes 0
SYSTEM_STATISTIC VALUE
DBWR lru scans 1,210
DBWR make free requests 1,210
DBWR revisited being-written buffer 0
DBWR summed scan depth 1,494,581
DBWR transaction table writes 271
DBWR undo block writes 191,098
DDL statements parallelized 0
DFO trees parallelized 0
DML statements parallelized 0
OTC commit optimization attempts 0
OTC commit optimization failure - setup 0
SYSTEM_STATISTIC VALUE
OTC commit optimization hits 0
PX local messages recv'd 0
PX local messages sent 0
PX remote messages recv'd 0
PX remote messages sent 0
Parallel operations downgraded 1 to 25 pct 0
Parallel operations downgraded 25 to 50 pct 0
Parallel operations downgraded 50 to 75 pct 0
Parallel operations downgraded 75 to 99 pct 0
Parallel operations downgraded to serial 0
Parallel operations not downgraded 0
SYSTEM_STATISTIC VALUE
RowCR - row contention 0
RowCR attempts 0
RowCR hits 0
SQL*Net roundtrips to/from client 20,533,267
SQL*Net roundtrips to/from dblink 0
Unnecesary process cleanup for SCN batching 0
active txn count during cleanout 82,931
background checkpoints completed 17
background checkpoints started 18
background timeouts 42,216
branch node splits 222
SYSTEM_STATISTIC VALUE
buffer is not pinned count 58,473,081
buffer is pinned count 58,622,335
bytes received via SQL*Net from client 690,006,487
bytes received via SQL*Net from dblink 0
bytes sent via SQL*Net to client 102,210,355,400
bytes sent via SQL*Net to dblink 0
calls to get snapshot scn: kcmgss 8,092,887
calls to kcmgas 130,839
calls to kcmgcs 87,223
calls to kcmgrs 0
change write time 16,834
SYSTEM_STATISTIC VALUE
cleanout - number of ktugct calls 91,022
cleanouts and rollbacks - consistent read gets 15,130
cleanouts only - consistent read gets 16,490
cluster key scan block gets 126,689
cluster key scans 74,722
cold recycle reads 0
commit cleanout failures: block lost 708
commit cleanout failures: buffer being written 59
commit cleanout failures: callback failure 49
commit cleanout failures: cannot pin 0
commit cleanout failures: hot backup in progress 0
SYSTEM_STATISTIC VALUE
commit cleanout failures: write disabled 0
commit cleanouts 488,120
commit cleanouts successfully completed 487,304
commit txn count during cleanout 36,303
consistent changes 155,131
consistent gets 74,645,555
consistent gets - examination 16,776,826
current blocks converted for CR 4
cursor authentications 55,278
data blocks consistent reads - undo records applied 154,868
db block changes 12,976,485
SYSTEM_STATISTIC VALUE
db block gets 14,531,153
deferred (CURRENT) block cleanout applications 137,895
deferred CUR cleanouts (index blocks) 0
dirty buffers inspected 9,671
enqueue conversions 11,684
enqueue deadlocks 0
enqueue releases 184,564
enqueue requests 184,686
enqueue timeouts 94
enqueue waits 1
exchange deadlocks 0
SYSTEM_STATISTIC VALUE
execute count 7,319,198
free buffer inspected 10,181
free buffer requested 19,253,045
gcs messages sent 0
ges messages sent 0
global cache blocks corrupt 0
global cache blocks lost 0
global cache claim blocks lost 0
global cache convert time 0
global cache convert timeouts 0
global cache converts 0
SYSTEM_STATISTIC VALUE
global cache cr block build time 0
global cache cr block flush time 0
global cache cr block receive time 0
global cache cr block send time 0
global cache cr blocks received 0
global cache cr blocks served 0
global cache current block flush time 0
global cache current block pin time 0
global cache current block receive time 0
global cache current block send time 0
global cache current blocks received 0
SYSTEM_STATISTIC VALUE
global cache current blocks served 0
global cache defers 0
global cache freelist waits 0
global cache get time 0
global cache gets 0
global cache prepare failures 0
global cache skip prepare failures 0
global lock async converts 0
global lock async gets 0
global lock convert time 0
global lock get time 0
SYSTEM_STATISTIC VALUE
global lock releases 0
global lock sync converts 0
global lock sync gets 0
hot buffers moved to head of LRU 1,334,001
immediate (CR) block cleanout applications 31,620
immediate (CURRENT) block cleanout applications 256,895
immediate CR cleanouts (index blocks) 0
index fast full scans (direct read) 0
index fast full scans (full) 6,363
index fast full scans (rowid ranges) 0
index fetch by key 7,199,288
SYSTEM_STATISTIC VALUE
index scans kdiixs1 2,173,768
instance recovery database freeze count 0
kcmccs called get current scn 0
kcmgss read scn without going to GES 0
kcmgss waited for batching 0
leaf node 90-10 splits 137
leaf node splits 20,302
logons cumulative 2,347
logons current 86
messages received 60,379
messages sent 60,378
SYSTEM_STATISTIC VALUE
native hash arithmetic execute 0
native hash arithmetic fail 0
next scns gotten without going to GES 0
no buffer to keep pinned count 5
no work - consistent read gets 55,487,127
number of map misses 0
number of map operations 0
opened cursors cumulative 692,633
opened cursors current 11,134
opens of replaced files 0
opens requiring cache replacement 0
SYSTEM_STATISTIC VALUE
parse count (failures) 35
parse count (hard) 222,131
parse count (total) 740,269
parse time cpu 71,868
parse time elapsed 79,481
physical reads 20,026,636
physical reads direct 1,052,614
physical reads direct (lob) 0
physical writes 1,557,017
physical writes direct 1,130,421
physical writes direct (lob) 0
SYSTEM_STATISTIC VALUE
physical writes non checkpoint 1,477,234
pinned buffers inspected 344
prefetch clients - 16k 0
prefetch clients - 2k 0
prefetch clients - 32k 0
prefetch clients - 4k 0
prefetch clients - 8k 0
prefetch clients - default 223
prefetch clients - keep 0
prefetch clients - recycle 0
prefetched blocks 14,445,041
SYSTEM_STATISTIC VALUE
prefetched blocks aged out before use 2,636
process last non-idle time ################
queries parallelized 0
recovery array read time 0
recovery array reads 0
recovery blocks read 0
recursive calls 1,911,332
recursive cpu usage 4,012
redo blocks written 3,597,536
redo buffer allocation retries 337
redo entries 6,634,895
SYSTEM_STATISTIC VALUE
redo log space requests 37
redo log space wait time 284
redo log switch interrupts 0
redo ordering marks 3
redo size 1,772,883,980
redo synch time 6,781
redo synch writes 27,527
redo wastage 11,115,384
redo write time 16,597
redo writer latching time 5
redo writes 51,171
SYSTEM_STATISTIC VALUE
remote instance undo block writes 0
remote instance undo header writes 0
rollback changes - undo records applied 88,835
rollbacks only - consistent read gets 12,179
rows fetched via callback 3,423,058
serializable aborts 0
session connect time ################
session cursor cache count 0
session cursor cache hits 0
session logical reads 89,176,705
session pga memory 35,556,660
SYSTEM_STATISTIC VALUE
session pga memory max 132,532,528
session stored procedure space 0
session uga memory 50,817,520
session uga memory max 497,741,936
shared hash latch upgrades - no wait 2,566,917
shared hash latch upgrades - wait 32
sorts (disk) 130
sorts (memory) 196,268
sorts (rows) 18,962,940
summed dirty queue length 376,151
switch current to new buffer 33,449
SYSTEM_STATISTIC VALUE
table fetch by rowid 39,128,298
table fetch continued row 556,214
table lookup prefetch client count 0
table scan blocks gotten 32,208,464
table scan rows gotten 2,455,389,745
table scans (cache partitions) 0
table scans (direct read) 0
table scans (long tables) 3,754
table scans (rowid ranges) 0
table scans (short tables) 124,879
total file opens 0
SYSTEM_STATISTIC VALUE
total number of slots 0
transaction lock background get time 0
transaction lock background gets 0
transaction lock foreground requests 0
transaction lock foreground wait time 0
transaction rollbacks 366
transaction tables consistent read rollbacks 1
transaction tables consistent reads - undo records appl 260
user calls 10,869,191
user commits 27,014
user rollbacks 411
SYSTEM_STATISTIC VALUE
workarea executions - multipass 36
workarea executions - onepass 218
workarea executions - optimal 131,726
workarea memory allocated 888
write clones created in background 1
write clones created in foreground 48 -
Setting fast_start_mttr_target on 10.2.0.4
Hi there,
Can anyone please tell me how to set fast_start_mttr_target on 10.2.0.4. In 10g, by setting this parameter we override log_checkpoint_timeout. By doing so, we will have only incremental checkpoints. Does a higher value of fast_start_mttr_target cause more checkpoints causing DBWR slowness? On what basis do we set this value. Obviously, we want any production database to recover from crash ASAP. Can we set this parameter to 150 seconds for 2 TB size database and also for 200 GB size database? What are the implications of having low and high fast_start_mttr_target? Any guidelines?
Thanks,
MadhavIn 10g, by setting this parameter we override log_checkpoint_timeoutWrong - at least [per docs|http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams068.htm#REFRN10058]:
When specified, FAST_START_MTTR_TARGET is overridden by LOG_CHECKPOINT_INTERVAL.
By doing so, we will have only incremental checkpointsNo, not only. Normal checkpointing during log switch isn't vanished.
Does a higher value of fast_start_mttr_target cause more checkpoints causing DBWR slowness?Exactly opposite: with higher value FSMT DB will perform less incremental checkpointing.
Can we set this parameter to 150 seconds for 2 TB size database and also for 200 GB size database?Yes, why not?
What are the implications of having low and high fast_start_mttr_target? Any guidelines?Low FSMT == you want your DB to sync data in buffer cache with data on disk very frequently, i.e. more frequent incremental checkpoints and less time to recover (as abbreviation says: MTTR - mean time to recover)
High FSMT == you are allowed to wait for instance recovery and this time is not a big deal for you.
It is discussed in documentation in details. -
FAST_START_MTTR_TARGET
Hi all,
If lets say my log switch is happening after 20 mins.. And my value for fast_Start_mttr_target is 200... So normally checkpoint should happen at log switch that means when a log group is filled then... but 200 seconds are smaller than 20 minutes.. So will oracle perform a checkpoint every 200 seconds even if the log group is half filled lets say... So my question is in this case.. Will oracle perform a checkpoint before a log group is filled as in the above case?Hi girish,
About my question, there was no relation of this question to operating system and oracle version.. I simply gave all details that fast_start_mttr_target is set to 200 and lets say log switch is happening every 20 minutes.. So i wanted just a yes or no....Its was a basic oracle arhitecture common for all versions 9i onwards... So the answer seems to me is that now dbwr will work according to this parameter by writing dirty buffers from buffer cache to datafiles and indicating this in the log buffer that these buffers wont be required for next instance recovery.
After reading all your links, i think setting this parameter to high value means your frequency of checkpoints is low and instance recovery may take long time and if this parameter is low then this may lead to database contention for disk i/o.
So overall answer is yes, dbwr does keeps buffer cache with datafiles, if fast_start_mttr_target is set to a lower value.
The bottomline should be that you if you set this parameter to 200 lets say as above mentioned, then instance recovery time will not be 200 seconds, infact we are setting a limit that if beyond this value no dirty buffer should remain in database buffer cache..... -
Set FAST_START_MTTR_TARGET parameter
Hi experts,
I was set FAST_START_MTTR_TARGET parameter 14. and as per my understanding if i set FAST_START_MTTR_TARGET is 14 , it might mean, it will take 13 second for instance recover.
But when i had to applied it in real environment , it wasn't work. It was take more time. Can you please explain my understanding is rite or not. OR if i was rite then why it's take more time for recover instance.
SQL> sho parameter FAST_START_MTTR_TARGET
NAME TYPE VALUE
fast_start_mttr_target integer 0
SQL> alter system set FAST_START_MTTR_TARGET=14 scope=both;
System altered.
SQL> sho parameter FAST_START_MTTR_TARGET
NAME TYPE VALUE
fast_start_mttr_target integer 14Reg,
HarshitHi,
Firstly 14 seconds is what you would like to achieve. Doesn't mean that this is what you will achieve. This could be because of a number of reasons one of which might be the speed of the disks the database sits on.
By setting this parameter Oracle will checkpoint at intervals to try and keep your mttr to 14 seconds. A low setting isn't necessarily a good thing as you will have more frequent checkpoints which in turns means more I/O. Again this can be quite bad if your database is sitting on low performance disks.
Secondly you need to disable LOG_CHECKPOINT_INTERVAL.
alter system set log_checkpoint_interval=0 scope=both; -
"FAST_START_MTTR_TARGET " vs "log_checkpoint_timeout"
Dear Friends,
I know that when I configure FAST_START_MTTR_TARGET , then it should be disable the "log_checkpoint_timeout " parameter , i.e, "log_checkpoint_timeout=0" .Is it mean that , "FAST_START_MTTR_TARGET" parameters works for "log_checkpoint_timeout" parameter ?
If it is true then my question is , If I set FAST_START_MTTR_TARGET=600, (which helps to perform crash recovery of a single instance within 600 seconds) then what will be the minimum time to occur a checkpoint, since "log_checkpoint_timeout=0" .
I think u understand my question .
Thx .. . .. . .Well you need to look back in the history ,
Log_checkpoint_timeout
This is the time that is after the last checkpoint which has occurred. So , for example, if the last checkpoint occurred 10seconds before, with value of 10 for this parameter, another will occur after 10 seconds.
Log_checkpoint_interval
This is the number of blocks that could exist between one increemntal checkpoint and the last block which is written to the redo log.
It was a little cumbersome to get a balance between the two parameters. So oracle decided to make them club together and gave , Fast_start_mttr_Target. This was a more simple one. Now you mentioned that the other parameter should be disabled. Well , just so you know, the other two are still there and are perfectly valid even. The only issue is if you are going to set anyone of them, they override the FSMT parameter. That's why it is suggested that you use only the new parameter and not the old one.
This parameter basically governs that for how much time, a dirty buffer can stay in the cache. AFter that time period, with the incrementbacl checkpointing kicking in, this would be flushed out to the data files. The more faster instanace recovery can happen only when there are minimal number of blocks left over for being recovered. This incremental checkpointing algorithm helps in achieving that. So if you set the value of this to 600seconds, the incremntal checkpoint will occur after these many seconds. Now just remember one more thing that this is not the "only" point or event to make the checkpoint happen. It may happen due to various other factors as well for example LRUW list become full.
Though this parameter was designed to optimize the performance of instance recovery but this is not so easy. The parameter shoots up the physical ios which are there becaus of the checkpointing. The more higher writes to the datafile , the less number of blocks to be recovered. But the more higher writes, more IO and more slow you can be. So from oracle 10.2(if I am correct) , oracle has taken away the control from you. Now this parameter is "auto-tuned" depending on the workload of the system.
HTH
Aman.... -
Hi ,
Can you please clarify the following...???
"FAST_START_MTTR_TARGET enables the definition of the number of seconds the database takes to perform crash recovery of a single instance".
The above means that if this parameter is set to 0 then the database will be operational again - after the successful recovery process- after 0 seconds... meaning instantly ....and if set to 3600 (the maximum value) then the database will be operational again after an hour....?????
Many thanks,
SimSetting this to 0 will disable MTTR advisory.
http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/instreco.htm#445433 -
FAST_START_MTTR_TARGET - Optimal File Size
I have set Fast_Start_MTTR_Target to 3600 (1 hour)...when I query v$instance_recovery view it says that 17929 MB is my suggested log file size. They are now sized at 300MB. This can't be correct, can it? I can't have a 17GB log file. This is Oracle JD Edwards though....but what else should I look at? I know 300MB is too small.
kirkladb wrote:
I have set Fast_Start_MTTR_Target to 3600 (1 hour)...when I query v$instance_recovery view it says that 17929 MB is my suggested log file size. They are now sized at 300MB. This can't be correct, can it? I can't have a 17GB log file. This is Oracle JD Edwards though....but what else should I look at? I know 300MB is too small. I Beleieve you have to FSMT to too high value i.e 1hr. I dont think you will wait your database to startup after instance crash for 1hr?????? This is i believe is not a gud settings. I would rather go with default value initially
Now you have set FSMT to 1hr and oracle would think that it has to do incremental checkpoint after 1hr (to flush dirty block from buffer cache to disk) . So due to this configuration you are seeing too high value in v$instance_recovery i.e 17929.
Please be notes that value of Optimal_logfile_size is very dynamic in nature and changes its value depending upon the load on system. So you cannot basically rely on this value if your system experience dynamic load.
Looking upon Load in database and amount of redolog file switches per sec/min, If they happen to be too frequent for example 2-3logfile switches per 20 mins, then its considered to be overswitching. Oracle recommends for optimal performance every logfile switch should not happen before 15-20 mins.
So good approach is to first see your alert.log and find out that how many log switches are happening then take a decision to increase the logfile size.
Please check with your organization what they suggest how much time they need to wait while instance do its recovery and then change value from default to higher.
Edited by: 909592 on Mar 29, 2012 11:45 AM -
FAST_START_MTTR_TARGET parameter
What does FAST_START_MTTR_TARGET parameter exactly means?
Does it mean that how many dirty buffers exist before next checkpoint start? or how many seconds before the next checkpoint will start?
Thanks in advanceFAST_START_MTTR_TARGET enables you to specify the number of seconds the database takes to perform crash recovery of a single instance. When specified, FAST_START_MTTR_TARGET
Is overridden by FAST_START_IO_TARGET
Is overridden by LOG_CHECKPOINT_INTERVAL
This parameter was introduced in Oracle9i.
It replaces FAST_START_IO_TARGET and LOG_CHECKPOINT_INTERVAL in Oracle8i,
although the old parameters can still be set if required in Oracle9i.
Maybe you are looking for
-
How to make a http request from a pl/sql procedure(URGENT)
I need to make a http request from a pl/sql procedure, can any one tell me which built-in package and which procedure/function we serve my need? Thanks in advance. Ram Prasad.
-
How to trigger a 'delete' across different related tables in ABAP?
Hello All, I am creating database tables for storing different values of features coming under different countries. I have eight tables in my design and there are fields repeating in different tables, which i am connecting through foreign key relatio
-
h1. {color:#000000}Hi Guys, {color} We are having issues when using multiple JMS queues and Message DrivenBeans. Its Glassfish application server, version 2. The way it currently works is we create some objects add add them to the first JMS queue. Th
-
How do i add Linux systems to be monitored using Virtual agent/SNMP in OLT?
Dear All, I need to know the process to add Linux systems to be monitored using Virtual agent and SNMP in OLT ? I have added my details to Virtual agent and chosen ssh and all i get is cannot connect Appreciate if someone can give me the detailed scr
-
Flash Player and screen sharing
I've done some research on screen sharing but see many contradicting answers. Some say it can't be done with the regular Flash Player, but Breeze does it some how with some special player they install. Yet regular players have System variables referr