Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method.
- From: Amar Kumar Padhi <amar.padhi@xxxxxxxxx>
- To: <oracle-l@xxxxxxxxxxxxx>
- Date: Wed, 25 Mar 2009 08:01:13 +0400 (GST)
Another method would be to make use of application locks to actually create serial access to sequences. This can be achieved by using dbms_application_info to update v$session and then referring this value for releasing resources to one session at a time. I have used this logic in different scenarios to avoid two sessions from using the same resource. has worked perfectly. http://www.databasejournal.com/features/oracle/article.php/3321961/Use-Oracles-DBMSAPPLICATIONINFO-to-Prevent-Routines-from-Running-Simultaneously.htm Thanks! Amar Www.amar-Padhi.com -original message- Subject: Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. -- http://www.freelists.org/webpage/oracle-l
Other related posts:
- » Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - FmHabash
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Bobak, Mark
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Kenneth Naim
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - FmHabash
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Powell, Mark D
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Kenneth Naim
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Mark W. Farnham
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Riyaj Shamsudeen
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Amar Kumar Padhi
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - FmHabash
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Bobak, Mark
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Riyaj Shamsudeen
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Alex Fatkulin
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Bobak, Mark
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Christo Kutrovsky
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Amar Kumar Padhi
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Alex Fatkulin
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Greg Rahn
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Jared Still
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Amar Kumar Padhi
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Alex Fatkulin
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Niall Litchfield
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Niall Litchfield
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - FmHabash
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Jack van Zanen
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Yechiel Adar
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Amar Kumar Padhi
- » RE: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - FmHabash
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Jared Still
- » Re: Grabbing sequence values blocks in consecutive order: Need a guaranteed method. - Jack van Zanen