E
E
elisey4742017-08-07 21:47:17
MySQL
elisey474, 2017-08-07 21:47:17

What happens if you create a new record in a MySQL table at the same time?

Set up Master-Master replication between two MySQL servers. What will happen if at the same time on both servers add two NEW BUT DIFFERENT records in the same table of the same database?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
TyzhSysAdmin, 2017-08-07
@POS_troi

Hot. I'll just throw you a link from my bookmarks

R
rPman, 2017-08-08
@rPman

To avoid problems, manage the indexes yourself, at least at the application level, let each node take its own group for each index (for example, for 2 nodes - one is even, the other is not even).
In general, replication is a great way to shoot yourself in the foot, a good tool but you need to use it wisely.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question