Loading...
MySQL 9.5 Reference Manual 9.5의 10.14 Examining Server Thread (Process) Information의 한국어 번역본입니다.
아래의 경우에 피드백에서 신고해주신다면 반영하겠습니다.
감사합니다 :)
10.14.1 Accessing the Process List 10.14.2 Thread Command Values 10.14.3 General Thread States 10.14.4 Replication Source Thread States 10.14.5 Replication I/O (Receiver) Thread States 10.14.6 Replication SQL Thread States 10.14.7 Replication Connection Thread States 10.14.8 NDB Cluster Thread States 10.14.9 Event Scheduler Thread States
MySQL 서버가 무엇을 하고 있는지 파악하기 위해서는, 서버 내에서 실행 중인 스레드 집합이 현재 수행 중인 작업을 나타내는 프로세스 목록을 검사하는 것이 도움이 될 수 있습니다. 예를 들면 다음과 같습니다:
1mysql> SHOW PROCESSLIST\G 2*************************** 1. row *************************** 3 Id: 5 4 User: event_scheduler 5 Host: localhost 6 db: NULL 7Command: Daemon 8 Time: 2756681 9 State: Waiting on empty queue 10 Info: NULL 11*************************** 2. row *************************** 12 Id: 20 13 User: me 14 Host: localhost:52943 15 db: test 16Command: Query 17 Time: 0 18 State: starting 19 Info: SHOW PROCESSLIST
스레드는 KILL 구문으로 종료할 수 있습니다. Section 15.7.8.4, “KILL Statement”를 참조하십시오.
10.13.3 Measuring Performance with performance_schema
10.14.1 Accessing the Process List