There are three threads that participate in implementing replication in MySQL. Out of these three threads, one is on the master server and the two others are on the slave database server. Let's dive into the details of these threads:
- Binlog dump thread: When the slave database server requests the binary log file, the master server is responsible for sending the contents to the slave database server. To accomplish this, the master database server creates a thread when the slave database server connects to the master database server. The binlog dump thread sends the binary log contents to the slave database server. In the output of the SHOW PROCESSLIST command on the master database server, this thread can ...