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: Advanced Queue ordering?

Re: Advanced Queue ordering?

From: Karthik <karthik_at_apple.com>
Date: Thu, 23 Jun 2005 06:45:35 +0530
Message-Id: <7ba021a328a2b045ea1218b11c30f570@apple.com>


Steve, thanks for the nice explanation.

If you think about it, there will always be a finite time interval between the enqueue and the commit.

Hence there is always that element of chance for the session that did the enqueue first with the lower priority (from a sequence.nextval) to commit AFTER the session that did the enqueue later on (with a higher sequence.nextval).

what this means is that the only way to guarantee the global order is to have the enqueue and the commit run in a "mutex" across sessions.

which again may not be practical.

Thanks, Karthik

--
http://www.freelists.org/webpage/oracle-l
Received on Wed Jun 22 2005 - 21:16:38 CDT

Original text of this message

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