ObjectID sequence in an enterprise geodatabase (Oracle)

3449
1
Jump to solution
03-29-2016 06:40 AM
KyleDixon1
New Contributor III

In an enterprise geodatabase (Oracle), why is the sequence for the ObjectID incremented by 16?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
VinceAngelo
Esri Esteemed Contributor

Because sequences are so pitifully slow.. Instead of paying the sequence cost with each insert, ArcGIS grabs one sequence value and allocates all the values in that range itself.  If any values are left over, they are stuffed in a DBMS_PIPE for later reuse. Note that some sequences are set to 200 or even 400.  If you restart the database, the pipe contents are lost, which could result in gaps.  The Knowledge Base has documents which discuss both changing the interval and preserving cached ids.

- V

View solution in original post

1 Reply
VinceAngelo
Esri Esteemed Contributor

Because sequences are so pitifully slow.. Instead of paying the sequence cost with each insert, ArcGIS grabs one sequence value and allocates all the values in that range itself.  If any values are left over, they are stuffed in a DBMS_PIPE for later reuse. Note that some sequences are set to 200 or even 400.  If you restart the database, the pipe contents are lost, which could result in gaps.  The Knowledge Base has documents which discuss both changing the interval and preserving cached ids.

- V