In a production environment where databases may do master-master
replication, it a good idea to prevent conflicts on auto-incremented
values. A way to manage this is to reserve a range of sequences per
replicated database (or a starting value + increment value).
I would suggest to enhance the SEQUENCE automation with the possibility of
programming this 3 values:
- Minimum value (the minimum 'Last value' of the sequence)
- Maximum value (the maximum 'Last value' of the sequence)
- Increment
As a matter of fact it would be great if any generated sequences (skey,
recnum, etc) could provision such controls.
Original issue reported on code.google.com by mobile.d...@gmail.com on 20 May 2009 at 12:26
Original issue reported on code.google.com by
mobile.d...@gmail.com
on 20 May 2009 at 12:26