Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Sequence not in order in RAC ?

877720Dec 10 2012 — edited Dec 10 2012
I created a sequence in a 2-nodes RAC:


create sequence SEQ_STEP
minvalue 1
maxvalue 9999999999999999999999999999
start with 30000000
increment by 1
cache 20
order;


and I put a trigger in my table, before insert I will use SEQ_STEP.nextval to set as primary key.

but when I start my application for some time, I saw a lot of sequence generated not in order like below:

30324126 2012/12/1 8:13:16
30324128 2012/12/1 8:13:18 <=this record is inserted before the next one, but it got a bigger sequence value.
30324127 2012/12/1 8:13:23


Why?
This post has been answered by onedbguru on Dec 10 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2013
Added on Dec 10 2012
7 comments
2,116 views