Rechercher dans le manuel MySQL
8.14.5 Replication Slave SQL Thread States
The following list shows the most common states you may see in
the State column for a slave server SQL
thread:
The thread is processing a
STOP SLAVEstatement.Making temporary file (append) before replaying LOAD DATA INFILEThe thread is executing a
LOAD DATAstatement and is appending the data to a temporary file containing the data from which the slave will read rows.Making temporary file (create) before replaying LOAD DATA INFILEThe thread is executing a
LOAD DATAstatement and is creating a temporary file containing the data from which the slave will read rows. This state can only be encountered if the originalLOAD DATAstatement was logged by a master running a version of MySQL lower than MySQL 5.0.3.Reading event from the relay logThe thread has read an event from the relay log so that the event can be processed.
Slave has read all relay log; waiting for more updatesThe thread has processed all events in the relay log files, and is now waiting for the I/O thread to write new events to the relay log.
Waiting for an event from CoordinatorUsing the multithreaded slave (
slave_parallel_workersis greater than 1), one of the slave worker threads is waiting for an event from the coordinator thread.Waiting for slave mutex on exitA very brief state that occurs as the thread is stopping.
Waiting for Slave Workers to free pending eventsThis waiting action occurs when the total size of events being processed by Workers exceeds the size of the
slave_pending_jobs_size_maxsystem variable. The Coordinator resumes scheduling when the size drops below this limit. This state occurs only whenslave_parallel_workersis set greater than 0.Waiting for the next event in relay logThe initial state before
Reading event from the relay log.Waiting until MASTER_DELAY seconds after master executed eventThe SQL thread has read an event but is waiting for the slave delay to lapse. This delay is set with the
MASTER_DELAYoption ofCHANGE MASTER TO.
The Info column for the SQL thread may also
show the text of a statement. This indicates that the thread has
read an event from the relay log, extracted the statement from
it, and may be executing it.
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 26/06/2006, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/mysql-rf-slave-sql-thread-states.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.