I have set-up a two-way replication for two of our servers, it is for
redundancy only so only one server will be used at any one time.
I noticed that you cannot use auto-increment columns with this sort of
set-up.
What method do others use to get unique ID's in this sort of set-up?
I was thinking of using timestamp with a random number 1-99 added to the
end. But then I suppose it is possible to get a match (more chance of
winning the Lottery though).
redundancy only so only one server will be used at any one time.
I noticed that you cannot use auto-increment columns with this sort of
set-up.
What method do others use to get unique ID's in this sort of set-up?
I was thinking of using timestamp with a random number 1-99 added to the
end. But then I suppose it is possible to get a match (more chance of
winning the Lottery though).