We are launching an ASP.NET database application that uses HiLo to generate identifiers for objects. In addition to this application, we have several websites using the same database. We see that we are running out of identifiers, and the identification column becomes a negative number.
We suspect this has something to do with the generator. Since several websites operate on top of the same code base and database, and probably the HiLo algorithm quickly starts to generate identifiers that are outside the bigint range (with a fast relative course).
Is it possible to configure the generator so that it also uses spaces (of which there are quite a lot) in Id sequences instead of explicitly increasing the value whenever it feels that it is necessary?
Will this be a solution? Or should we do something else?
source
share