dbTalk Databases Forums  

Sequence Numbers Jumping

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Sequence Numbers Jumping in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Flash Gordon
 
Posts: n/a

Default Sequence Numbers Jumping - 03-05-2008 , 05:36 AM






We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
--
Flash Gordon

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:47 AM






Flash Gordon wrote:
Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
I've never seen this behavior and wonder what you mean by Oracle 10 as
there is no such version number. I presume you mean some variant on 10g
between 10.1.0.2 and 10.2.0.3 but if it isn't 10.2.0.3 start with
applying the available patches.

If that doesn't do it then post a test case others can try.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
DA Morgan
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:47 AM



Flash Gordon wrote:
Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
I've never seen this behavior and wonder what you mean by Oracle 10 as
there is no such version number. I presume you mean some variant on 10g
between 10.1.0.2 and 10.2.0.3 but if it isn't 10.2.0.3 start with
applying the available patches.

If that doesn't do it then post a test case others can try.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #4  
Old   
DA Morgan
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:47 AM



Flash Gordon wrote:
Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
I've never seen this behavior and wonder what you mean by Oracle 10 as
there is no such version number. I presume you mean some variant on 10g
between 10.1.0.2 and 10.2.0.3 but if it isn't 10.2.0.3 start with
applying the available patches.

If that doesn't do it then post a test case others can try.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #5  
Old   
DA Morgan
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:47 AM



Flash Gordon wrote:
Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
I've never seen this behavior and wonder what you mean by Oracle 10 as
there is no such version number. I presume you mean some variant on 10g
between 10.1.0.2 and 10.2.0.3 but if it isn't 10.2.0.3 start with
applying the available patches.

If that doesn't do it then post a test case others can try.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #6  
Old   
news.verizon.net
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:52 AM




"Flash Gordon" <spam (AT) flash-gordon (DOT) me.uk> wrote

Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences. For
some reason on Oracle 10 the sequences are jumping. I've checked that the
sequences are defined as ordered and tried disabling the caching (a
desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it did
not occur in Oracle 9? Any suggestions as to how to investigate this as I
am new to Oracle?
--
Flash Gordon
If the sequence gets aged out of the sga then when it is referenced again it
will cache the next N values.
Jim




Reply With Quote
  #7  
Old   
news.verizon.net
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:52 AM




"Flash Gordon" <spam (AT) flash-gordon (DOT) me.uk> wrote

Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences. For
some reason on Oracle 10 the sequences are jumping. I've checked that the
sequences are defined as ordered and tried disabling the caching (a
desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it did
not occur in Oracle 9? Any suggestions as to how to investigate this as I
am new to Oracle?
--
Flash Gordon
If the sequence gets aged out of the sga then when it is referenced again it
will cache the next N values.
Jim




Reply With Quote
  #8  
Old   
news.verizon.net
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:52 AM




"Flash Gordon" <spam (AT) flash-gordon (DOT) me.uk> wrote

Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences. For
some reason on Oracle 10 the sequences are jumping. I've checked that the
sequences are defined as ordered and tried disabling the caching (a
desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it did
not occur in Oracle 9? Any suggestions as to how to investigate this as I
am new to Oracle?
--
Flash Gordon
If the sequence gets aged out of the sga then when it is referenced again it
will cache the next N values.
Jim




Reply With Quote
  #9  
Old   
news.verizon.net
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 06:52 AM




"Flash Gordon" <spam (AT) flash-gordon (DOT) me.uk> wrote

Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences. For
some reason on Oracle 10 the sequences are jumping. I've checked that the
sequences are defined as ordered and tried disabling the caching (a
desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it did
not occur in Oracle 9? Any suggestions as to how to investigate this as I
am new to Oracle?
--
Flash Gordon
If the sequence gets aged out of the sga then when it is referenced again it
will cache the next N values.
Jim




Reply With Quote
  #10  
Old   
Ken Denny
 
Posts: n/a

Default Re: Sequence Numbers Jumping - 03-05-2008 , 09:13 AM



On Mar 5, 6:36*am, Flash Gordon <s... (AT) flash-gordon (DOT) me.uk> wrote:
Quote:
We are migrating an application from Oracle 9 to Oracle 10. The
application uses several sequence objects for user visible sequences.
For some reason on Oracle 10 the sequences are jumping. I've checked
that the sequences are defined as ordered and tried disabling the
caching (a desperation measure as I don't believe it could be that).

Any suggestions as to what could be causing this in Oracle 10 when it
did not occur in Oracle 9? Any suggestions as to how to investigate this
as I am new to Oracle?
--
Flash Gordon
What do you mean by jumping? You mean there are gaps? There will
always be gaps when using a sequence. I don't know how you managed to
not have gaps using 9. If gaps are not acceptable then you can't use
sequences.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.