MySQL Forums
Forum List  »  Replication

Re: mysql 5.7 replication for slave_paraller_type
Posted by: Rick James
Date: January 20, 2016 12:25AM

In MVCC, the "timestamp" (I think) equates to a snapshot of the database. If two transactions start about the same time, but nothing changes between the starts, then they are both looking at the "same" snapshot.

Once those two transactions arrive at the slave, then they may as well run in parallel; it is guaranteed that nothing changed from one snapshot to the other.

In my experience, your TPS would have to be very high to see this happening much. Or have certain types of workload. What is your workload like? DW? OLTP? OLAP? Logging? Financial transactions? etc?

I don't know what "prepare" means in this context.

Splitting on database is useless if you do everything in one database. Galera took a different approach (neither database, nor timestamp); but the code under the covers is more complex.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql 5.7 replication for slave_paraller_type
738
January 20, 2016 12:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.