Documentation Home
MySQL Replication
Related Documentation Download this Excerpt
PDF (US Ltr) - 1.5Mb
PDF (A4) - 1.5Mb
HTML Download (TGZ) - 468.2Kb
HTML Download (Zip) - 478.3Kb


MySQL Replication  /  ...  /  Replication and the Query Optimizer

4.1.22 Replication and the Query Optimizer

It is possible for the data on the master and slave to become different if a statement is written in such a way that the data modification is nondeterministic; that is, left up the query optimizer. (In general, this is not a good practice, even outside of replication.) Examples of nondeterministic statements include DELETE or UPDATE statements that use LIMIT with no ORDER BY clause; see Section 4.1.17, “Replication and LIMIT”, for a detailed discussion of these.


User Comments
Sign Up Login You must be logged in to post a comment.