Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: wait events
Ok let me explain this problem in more detail. We have
2 development environments A and B. The only
difference is that Env B has All of Env A's objects +
some objects of its own. Thus, Env B is a super-set of
Env A. The platform is Digital Unix with Oracle 8.0.4.
Comparing the Init.ora params, these are the ones which are different:
Initialization Parameters Env B Env A
db_block_lru_latches 4 1 db_file_multiblock_read_count 64 8 shared_pool_reserved_size 4500000 250000 shared_pool_size 90000000 5000000 sort_area_retained_size 1002400 65536 sort_area_size 2000000 524288 --------------------------------------------------
By the looks of it Env B seems better tuned. Both are running under CHOOSE with exactly same tables being analyzed on each environment.
A Batch job which involves only Env A's objects, takes 20 Mins in Env A against 4 Hrs in Env B. This is where I noticed a large waits for 'db file seqential read' and 'db file scattered read' using this SQL:
select event
, total_waits , round(time_waited / 100) time_waited , round(average_wait / 100) average_waitfrom v$system_event
Event Waits Waited(sec) Avg.wait ------------------------------------------------------ db file sequential read 1,467,902 2,612 0 SQL*Net message to client 553,059 4 0 SQL*Net message from client 553,045 452,801 1 db file scattered read 361,710 4,800 0 ------------------------------------------------------
Any reason why there's so much difference in the response time.
Thanks,
Deepak
> ATTACHMENT part 2 application/ms-tnef
name=WINMAIL.DAT
![]() |
![]() |