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: Enqueue timeouts

RE: Enqueue timeouts

From: Steve Adams <steve.adams_at_ixora.com.au>
Date: Fri, 20 Apr 2001 04:49:44 -0700
Message-ID: <F001.002EDA17.20010420043553@fatcity.com>

Hi Iain,

Let me quote from my book ... "Note also that the 'enqueue timeouts' statistic in V$SYSSTAT does not represent the number of enqueue wait timeouts. Rather, this statistic is incremented when an enqueue request or enqueue conversion is aborted entirely. This can be due to a distributed transaction timeout, but usually relates to locks requested in no-wait mode.

...

It is sometimes suggested that 'enqueue_resources' should be increased to combat enqueue waits. But please note that there is absolutely no substance to this suggestion. Oracle will return an ORA-52 or ORA-53 error if it fails to find a free slot in the enqueue resources or enqueue locks fixed arrays respectively. Beyond that, the setting of the 'enqueue_resources' and '_enqueue_locks' parameters is unimportant."

If you are really interested in setting these parameters, use V$RESOURCE_LIMIT. However, a more helpful course of action is to look at X$KSQST to investigate what type of enqueues those waits are coming from. There is a script called "enqueue_stats.sql" at http://www.ixora.com.au/scripts/locks.htm on the Ixora web site that might help.

@ Regards,
@ Steve Adams
@ http://www.ixora.com.au/
@ http://www.christianity.net.au/

-----Original Message-----
Sent: Friday, 20 April 2001 21:40
To: Multiple recipients of list ORACLE-L

Can anyone offer advice on what the problem may be with the following from v$sysstat on one of our databases.

NAME                       VALUE
-------------------------- ---------
enqueue timeouts           17499101
enqueue waits                446362
enqueue deadlocks                 2
enqueue requests           47731729
enqueue conversions         1228500
enqueue releases           30232445

Enqueue_resources is set at 5000, DML_Locks is at 4000 and sessions at 412 so enqueue_resources looks high already but I came across a note which suggested increasing enqueue_resources where timeouts were occurring.

Would anything else be causing this or is there a way to calculate what enqueue_resource should be set at.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Steve Adams
  INET: steve.adams_at_ixora.com.au

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Apr 20 2001 - 06:49:44 CDT

Original text of this message

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