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: Lock on a sequence

RE: Lock on a sequence

From: Deshpande, Kirti <kirti.deshpande_at_verizon.com>
Date: Mon, 23 Sep 2002 12:26:36 -0800
Message-ID: <F001.004D71BF.20020923122636@fatcity.com>


Thanks, Anjo..
Me bad...
Not sure why I said 'enqueue latch' :(

Yes, it is SQ enqueue.

-----Original Message-----
Sent: Monday, September 23, 2002 3:03 PM To: Multiple recipients of list ORACLE-L

Just want to be picky. It is the SQ enqueue not the latch. There is an SQ enqueue for each sequence. Increasing the cache size will help.

Anjo.

> For incrementing sequence number, Oracle has to use an SQ enqueue latch.
To
> minimize the need for this latch, you can increase the cache size for the
> Sequences. Additionally, you can also consider KEEPing the Sequence number
> in Shared pool using dbms_shared_pool.keep() package procedure.
>
> - Kirti
>
> -----Original Message-----
> Sent: Monday, September 23, 2002 12:44 PM
> To: Multiple recipients of list ORACLE-L
>
>
> Hello List,
>
> I have a need to try an replicate a problem that has occured on our
> production
> environment. It seems that occassionally our response time dives to the
> buttom
> of the barrel in regards to our tuxedo application. When this occurs we
> have
> found that many of the blocked sessions are trying to query a sequence.
>
> select my.sequence_list.next_value from dual
>
> Does anyone know a possible cause for a sequence to be locked?
>
> Does anyone know how to lock a sequence?
>
> Thanks ahead of time.
>
> Tim Boles
> DBA
> Lockheed Martin Information Systems
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
> INET: timboles_at_citynet.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Deshpande, Kirti
> INET: kirti.deshpande_at_verizon.com
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> 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).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Anjo Kolk
  INET: Anjo_at_oraperf.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Deshpande, Kirti
  INET: kirti.deshpande_at_verizon.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Mon Sep 23 2002 - 15:26:36 CDT

Original text of this message

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