Loading...
MySQL 9.5 Reference Manual 9.5의 10.14.6 Replication SQL Thread States의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
다음 목록은 replica 서버에서 replication SQL thread의
State column에 표시될 수 있는 가장 일반적인 상태를 보여줍니다.
개별 기능을 지원하려면
세션 범위로
terminology_use_previous
시스템 변수를 설정하고, 모든 신규 세션의 기본값으로 사용하려면
글로벌 범위로 설정합니다. 글로벌 범위가 사용되는 경우,
슬로우 쿼리 로그에는 기존 이름 버전이 포함됩니다.
Making temporary file (append) before replaying LOAD DATA INFILEthread는 LOAD DATA statement를 실행하고 있으며,
replica가 row를 읽는 데 사용하는 데이터가 들어 있는 임시 파일에
데이터를 append하고 있습니다.
Making temporary file (create) before replaying LOAD DATA INFILEthread는 LOAD DATA statement를 실행하고 있으며,
replica가 row를 읽는 데 사용하는 데이터가 들어 있는 임시 파일을
생성하고 있습니다. 이 상태는 원래의
LOAD DATA statement가
MySQL 5.0.3보다 낮은 버전의 MySQL을 실행 중인 source에 의해
로그된 경우에만 발생할 수 있습니다.
Reading event from the relay logthread는 relay log에서 event를 읽어, 해당 event가 처리될 수 있도록 합니다.
Slave has read all relay log; waiting for more updatesReplica has read all relay log; waiting for more updates
thread는 relay log 파일의 모든 event를 처리했으며, 이제 I/O (receiver) thread가 relay log에 새로운 event를 쓰기기를 기다리고 있습니다.
Waiting for an event from Coordinator멀티스레드 replica를 사용하는 경우
(replica_parallel_workers가
1보다 클 때), replica worker thread 중 하나가
coordinator thread로부터의 event를 기다리고 있습니다.
Waiting for slave mutex on exitWaiting for replica mutex on exit
thread가 중지되는 동안 발생하는 매우 짧은 상태입니다.
Waiting for Slave Workers to free pending eventsWaiting for Replica Workers to free pending events
Worker가 처리 중인 event의 전체 크기가
replica_pending_jobs_size_max
시스템 변수의 크기를 초과할 때 발생하는 대기 동작입니다.
크기가 이 한계 아래로 떨어지면 Coordinator는 스케줄링을 재개합니다.
Waiting for the next event in relay logReading event from the relay log 이전의 초기 상태입니다.
Waiting until SOURCE_DELAY seconds after source executed eventSQL thread는 event를 읽었지만,
replica delay가 경과하기를 기다리고 있습니다.
이 delay는
CHANGE REPLICATION SOURCE TO의
SOURCE_DELAY 옵션으로 설정됩니다.
SQL thread의 Info column에는 statement의
텍스트가 표시될 수도 있습니다. 이는 thread가 relay log에서 event를 읽고,
그로부터 statement를 추출했으며, 이를 실행 중일 수도 있음을 나타냅니다.
10.14.5 Replication I/O (Receiver) Thread States
10.14.7 Replication Connection Thread States