x12 - generating 9 digit ids without database sequence -
I want to create a 9-digit numerical ID which is unique to machines. I am currently using a database sequence for this. But I am thinking that it can be done without any one. The scenes will be used for X12 EDI transactions, so they do not always have to be unique.
- Each server has 2 digits server identifier
- Each server keeps a file, it essentially keeps track of a local sequence.
- ID = + & lt; 7 points sequence which wraps>
My biggest problem with this is what's hard to do- the flow fails. I do not know where it was left.
All of my ideas are essentially the end to rebuilding a centralized database sequence.
Any thoughts?
If HD fails, then you can only set new and unused 2 digits server identifiers and make sure Make sure the number is unique (for at least 24 hours))
Comments
Post a Comment