A relay slave is a slave that writes to its binary log the stream of commands received from the master, thus enabling other slaves to replicate. This is often used to relieve the master from heavy traffic created by many slaves asking for binlog events. A typical scenario is when a master has a few dozen slaves, and instead of dealing with all of them directly, uses four relay slaves, each one dealing with 6 slaves. So, where's the trick? The trouble comes if you change replication formatafter you start the slave. Example. One master (M), two relay slaves (R1, R2), with four [Read more...]
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.