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

Home -> Community -> Usenet -> c.d.o.server -> Re: Mutex contention on database server

Re: Mutex contention on database server

From: <dominica_at_gmail.com>
Date: 30 Apr 2005 23:15:13 -0700
Message-ID: <1114928113.820811.73700@z14g2000cwz.googlegroups.com>


Hi Yong,

   I think you are right.
You NAIL the problem in my work. (Although, there might be more than 1 problem in that application).
I think those application written by developer is NOT using bind variables.

Thank you so much for your HINT in the V$session_wait and the P2.

Dominica

yong..._at_yahoo.com wrote:
> Hi, Dominica,
>
> Virtual Adrian is a Solaris performance monitoring tool written by
> Adrian Cockcroft. That mutex contention field comes from `mpstat`
> output smtx column, defined as "spins on mutexes (lock not acquired
on
> first try)". As Jonathan pointed out, these spins roughly translate
to
> latch acquisition inside Oracle. The only thing your UNIX system
admin
> can do may be replace the CPUs with faster ones (instead of adding
more
> CPUs). But the root cause of the problem, if it's a problem at all,
is
> tuning Oracle. For instance, if you see frequent "latch free" wait in
> v$session_wait and p2 indicates library cache, then make sure to use
> bind variables, etc.
>
> Mutex contention is not related to semaphore setting in /etc/system.
>
> Yong Huang
Received on Sun May 01 2005 - 01:15:13 CDT

Original text of this message

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