Odd/Even Autoincrements

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill C.

    #1

    Odd/Even Autoincrements

    Revisiting the issue of high availability.

    I know that you can have dual masters; each replication each other. You
    just have to make sure that with your primary keys there aren't any
    conflicts.

    With two masters and systems that utilize an autoincrement for their
    primary key, if you could ensure that one system autoincrements only even
    numbers, and the other system with odd numbers, if either one ever went
    down, when the system came back up, they should be able to resync without
    any conflicts.

    Does anyone utilize something like this above?



Working...