I'm about to switch some of my entities from identity to hilo id-generator.
I'm don't have a clue how the tables holding the next-high values should be designed.
Are there any best practices? What needs to be considered? Are there any pros or cons for any of the approaches?
I don't think there's a single "best" practice, but it's important to understand how HiLo works:
So, you'll have to consider at least two variables:
After considering that, it's just a matter of taste.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With