Categories: Contributing | Development

Architecture of Replication

[[Category:MySQLUniversity]

← Back to MySQL University main page
 Attendees: To register for this Session - Please enter your name here:
 Alexander Nozdrin
 Andrey Hristov
 Marc Alff
 Martin MC Brown
 Sergei Golubchik
 Ingo Strüwing
 Giuseppe Maxia
 Stefan Hinz
 Dmitri Lenev
 Chris Powers
 Omer BarNir
 IgnacioGalarza
 Timour
 Jeffrey Pugh
 User:TimSmith
 Jimmy Guerrero
 Paul DuBois
 Damien Katz
 Max Mether
 Chuck Bell
 GeorgiKodinov
 Susann Wolfgram


[edit] Architecture_of_Replication

[edit] Comments During Heidelberg Presentation

Q: re: Pushing the transaction cache. The cached information is exactly what gets written to the binary log?

Q: So wouldn't that allow multiple writers to write to the binary log, rather than the current implementation of allowing a single writer? Or something like group commit if there are multiple transactions ready to be written?

Transactions consisting of modifications to non-transactional and transactional statements are difficult to replicate in the event of rollback or failure. Modifications to non-transactional tables are written directly to the binary log if they appear before the first modification to a transactional table, so rollback will not cancel those non-transactional modifications for slaves. But different scenarios have different effects, and there is not necessarily a "correct" solution in some instances. This is an open problem that deserves further work.

Q: There is a single thread handling communication between the master and a slave. Would it be possible to use multiple streams?

One negative of multi-source: Multiple copies of the binlog will be sent to the slave. Some kind of filtering is needed.

Q: Why would an error ever need to be replicated?

Q: What if a slave table has a column that the master table does not?

Q: What if a column on the slave has a different type than in the master table?

Retrieved from "http://forge.mysql.com/wiki/Architecture_of_Replication"

This page has been accessed 1,434 times. This page was last modified 13:47, 20 September 2007.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...