Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Re: Benchmark runs - Waits on enqueue , latch free - & AGAIN

RE: Re: Benchmark runs - Waits on enqueue , latch free - & AGAIN

From: VIVEK_SHARMA <VIVEK_SHARMA_at_infy.com>
Date: Tue, 5 Sep 2000 16:41:50 +0530
Message-Id: <10610.116191@fatcity.com>


Do you mean _kgl_latch_count (number of library cache latches) instead of _kgl_bucket_count (index to the bucket count array) ?

Qs. How to Get the CURRENT Values for the Same ? Qs. Is it OK to Change these parameters in ORA 7.3.4.5.0 on Digital Unix 4.0 G ?

NOTE - 2 Actions Carried Out :-
1) Increased the RAM in DB server to 4 GB from 3 GB thereby making it Equal to the RAM on APP Server
2) Cached ALL the Packages of SYS User + Application Software Related Oracle Users into the shared_pool

RESULT - CPU Utilization on APP Server became Equal to That on DB Server , Both = 55 % Approx.
Qs. NOT Sure which of them made the Difference

> -----Original Message-----
> From: K Gopalakrishnan [SMTP:kaygopal_at_yahoo.com]
> Sent: Thursday, August 31, 2000 3:33 PM
> To: VIVEK_SHARMA
> Subject: Re: Re: Benchmark runs - Waits on enqueue , latch free - &
> AGAIN
>
> Hi Vivek !!
>
> No problem. There is a parameter called '_kgl_bucket_count'
> which controls the number of child latches for library cache.
>
> What is the current setting ( i guess it should be a PRIME number).
> SOme times increasing this will also help
>
> Best Regards,
> K Gopalakrishnan,
> Bangalore, INDIA
>
>
>
> ----- Original Message -----
> From: VIVEK_SHARMA <VIVEK_SHARMA_at_infy.com>
> To: <kaygopal_at_yahoo.com>
> Cc: <ORACLE-L_at_fatcity.com>; <oracledba_at_quickdoc.co.uk>
> Sent: Wednesday, August 30, 2000 7:36 AM
> Subject: RE: Re: Benchmark runs - Waits on enqueue , latch free - & AGAIN
>
>
> >
> > Setting CURSOR_SPACE_FOR_TIME=TRUE Caused Performance to FALL
> >
> > NOTE - CPU Utilization on APP Server = 51 %
> > whereas CPU Utilization on DB Server = 67 %
> >
> > Qs.2 What can be Done to make the CPU Utilization on APP Server GREATER
> than
> > or EQUAL to CPU Utilization on DB Server ?
> >
> > NOTE Previously On DB Server by increasing the init.ora parameter
> > shared_pool_reserved_size to 40 M from 10 MB the CPU Utilization
> > on APP server shot up from 33 % to 51 % as a result
> >
> > Vivek Sharma
> > Phone 080 6588668
> >
> >
> > > -----Original Message-----
> > > From: VIVEK_SHARMA
> > > Sent: Wednesday, August 30, 2000 10:46 AM
> > > To: 'kaygopal_at_yahoo.com'
> > > Cc: 'ORACLE-L_at_fatcity.com'; 'oracledba_at_quickdoc.co.uk'
> > > Subject: Re: Benchmark runs - Waits on enqueue , latch free - &
> > > AGAIN
> > >
> > > NO packages pinned .
> > > Qs.1 How to pin the SYS packages ?
> > >
> > > PENDING Will check out by Setting CURSOR_SPACE_FOR_TIME=TRUE & revert
> back
> > >
> > > SCRIPT :-
> > > SQL> select owner || '.' || name OBJECT
> > > 2 , type
> > > 3 , to_char(sharable_mem/1024,'9,999.9') "SPACE(K)"
> > > 4 , loads
> > > 5 , executions execs
> > > 6 , kept
> > > 7 from v$db_object_cache
> > > 8 where type in ('FUNCTION','PACKAGE','PACKAGE BODY','PROCEDURE')
> > > 9 and owner not in ('SYS')
> > > 10 order by owner, name
> > > 11 /
> > >
> > > OBJECT
> >
> >
> --------------------------------------------------------------------------
> > > ------
> > > TYPE SPACE(K) LOADS EXECS KEP
> > > -------------- -------- ---------- ---------- ---
> > > TBAADM.LASP0003
> > > PACKAGE 4.7 1 38 NO
> > >
> > > TBAADM.LASP0003
> > > PACKAGE BODY 27.9 1 20 NO
> > >
> > >
> > > SQL>
> > > SQL> select to_char(sum(sharable_mem)/1024,'9,999,999.9') "TOTAL SPACE
> > > (K)"
> > > 2 from v$db_object_cache
> > > 3 where type in ('FUNCTION','PACKAGE','PACKAGE BODY','PROCEDURE')
> > > 4 and owner not in ('SYS');
> > >
> > > TOTAL SPACE
> > > ------------
> > > 32.6
> > >
> > > NOTE the menu option Corresponding to package LASP0003 quite well
> > > performing
> > > Hence NO pinning may be Required
> > >
> > >
> > > -----Original Message-----
> > > From: K Gopalakrishnan [SMTP:kaygopal_at_yahoo.com]
> > > Sent: Tuesday, August 29, 2000 3:45 PM
> > > To: Multiple recipients of list ORACLE-L
> > > Subject: Re: Benchmark runs - Waits on enqueue , latch free
> > > - & AGAIN
> > >
> > > Hi Vivek !
> > >
> > >
> > > Still benchmarking :)
> > >
> > > > > RESULT - Most of the waits Occuring on "library
> > > > cache"
> > > > > a few waits on row cache objects & shared pool
> > > > also exist
> > > > >
> > > > > Qs. How can this be Addressed ?
> > >
> > > Waits for library cache can be reduced (!!) if you set
> > > the paremeter CURSOR_SPACE_FOR_TIME. But in this case
> > > you need a little bigger shared pool size. I guess you
> > > have pinned most of the SYS packages and heavy reload
> > > packages in Shared Pool.
> > >
> > >
> > >
> > >
> > > =====
> > > With Regards !
> > > K Gopalakrishnan
> > > -----------------------------------------------------------
> > > #489,EastEnd Main Road,
> > > Jayanagar IX Block East,
> > > Bangalore-560069, INDIA
> > > Ph # + (91)-(80)- 6543672
> > >
> > >
>
Received on Tue Sep 05 2000 - 06:11:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US