Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Lock on a sequence
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.
-----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).
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 - 14:14:51 CDT
![]() |
![]() |