본문 바로가기

컴퓨터/MariaDB

MariaDB connect thread

SHOW VARIABLES LIKE "%max_connections%";

max_connections: 최대 접속수

SHOW STATUS LIKE "%connect%";

Aborted_connects: MySQL 서버에 접속이 실패된 수
Connections: 연결된 쓰레드 수
Max_used_connections: 최대로 동시에 접속한 수
Threads_connected: Thread Cache의 Thread 수

SHOW STATUS LIKE "%thread%";

Threads_connected: 현재 연결된 Thread 수
Threads_created: 접속을 위해 생성된 Thread 수
Threads_running: Sleeping 되어 있지 않은 Thread 수

 

'컴퓨터 > MariaDB' 카테고리의 다른 글

UPDATE null NULL  (0) 2022.08.24
MariaDB 재부팅  (0) 2022.07.29
MariaDB 테이블 존재 여부  (0) 2022.05.17
MariaDB RAND()  (0) 2022.05.05
MariaDB REPLACE()  (0) 2022.04.30