The SQL thread is allowed to finish its current statement (to avoid causing replication problems), and then stops.
Der SQL-Thread darf seine aktuelle Anweisung abschließen, um Replikationsprobleme zu vermeiden, und wird dann beendet.
If you lose the relay logs but still have the relay-log.info file, you can check it to determine how far the SQL thread has executed in the master binary logs.
Wenn Sie die Relay-Logs verlieren, aber noch über die Datei relay-log.info verfügen, können Sie ermitteln, wie weit der SQL-Thread die Binärlogs des Masters bereits ausgeführt hatte.
Note that this limit is not absolute: There are cases where the SQL thread needs more events before it can delete relay logs.
Beachten Sie, dass das Limit nicht absolut ist: Es gibt Fälle, in denen der SQL-Thread mehr Ereignisse benötigt, bevor er Relay-Logs löschen kann.
When the limit is reached, the I/O thread stops reading binary log events from the master server until the SQL thread has caught up and deleted some unused relay logs.
Wenn der Grenzwert erreicht wird, beendet der I/O-Thread das Auslesen von Ereignissen aus dem Binärlog des Masters, bis der SQL-Thread aufgeholt und eine Anzahl nicht mehr benötigter Relay-Logs gelöscht hat.
For example, if the slave server has not been running for a while, its I/O thread can quickly fetch all the binary log contents from the master when the slave starts, even if the SQL thread lags far behind.
Wenn beispielsweise der Slave-Server eine Zeit lang nicht ausgeführt wurde und dann gestartet wird, kann sein I/O-Thread schnell alle Inhalte des Binärlogs vom Master holen - und zwar auch dann, wenn der SQL-Thread nicht mitkommt.
In that case, there is a chance that the I/O thread waits for free space because - relay-log-space-limit is exceeded, but the SQL thread has no relay log to purge and is unable to satisfy the I/O thread.
In diesem Fall besteht die Möglichkeit, dass der I/O-Thread auf freien Speicher warten muss, weil - relay-log-space-limit überschritten wurde, der SQL-Thread aber kein Relay-Log löschen und deswegen die Anforderung des I/O-Threads nicht bearbeiten kann.
This information indicates that thread 10 is the I/O thread that is communicating with the master server, and thread 11 is the SQL thread that is processing the updates stored in the relay logs.
Hieraus ist ersichtlich, dass Thread 10 der I/O-Thread ist, der mit dem Master-Server kommuniziert. Thread 11 ist der SQL-Thread, der die Updates verarbeitet, die in den Relay-Logs gespeichert sind.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.