Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

max_concurrent_* 세션 설정

이 설정은 system.settings에서 확인할 수 있으며, 소스 코드에서 자동 생성됩니다.

max_concurrent_queries_for_all_users

유형
UInt64
기본값
0

현재 동시에 처리 중인 쿼리 수가 이 설정값에 도달하거나 초과하면 예외를 발생시킵니다.

예시: max_concurrent_queries_for_all_users는 모든 사용자에 대해 99로 설정할 수 있으며, 데이터베이스 관리자는 서버가 과부하 상태이더라도 문제 조사용 쿼리를 실행할 수 있도록 자신에 대해서는 100으로 설정할 수 있습니다.

하나의 쿼리 또는 사용자에 대해 이 설정을 변경해도 다른 쿼리에는 영향을 주지 않습니다.

가능한 값:

  • 양의 정수.
  • 0 — 제한 없음.

예시

<max_concurrent_queries_for_all_users>99</max_concurrent_queries_for_all_users>

관련 항목

Cloud 기본값: 1000.

max_concurrent_queries_for_user

유형
UInt64
기본값
0

사용자별로 동시에 처리할 수 있는 쿼리의 최대 개수입니다.

가능한 값:

  • 양의 정수
  • 0 — 제한 없음

예시

<max_concurrent_queries_for_user>5</max_concurrent_queries_for_user>
Navigation