Thu, 2014-10-02 17:25kolbekegel
MySQL 5.6 introduces a new "multi-threaded slave" feature (aka
"parallel replication") that turns the "slave SQL thread" into a
number of distinct threads that each apply events to different
schemas. This means that separate slave "worker threads" will be
executing different positions in the slave's relay log
(corresponding, of course, to different positions in the master's
binary log) and that the Relay_Master_Log_File and
Exec_Master_Log_Pos values in SHOW SLAVE
STATUS output are no longer an accurate indicator of the
current position of the slave. This causes severe problems if
using Percona XtraBackup/innobackupex with the
--slave-info option to get a backup that can be used
to seed a new slave. Let's take a look at how multi-threaded
slave works in MySQL 5.6, how innobackupex gets
position information, how to recognize problems, …