> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# max_concurrent_* 세션 설정

> 자동 생성된 max_concurrent_* 그룹에 속한 ClickHouse 세션 설정입니다.

export const SettingsInfoBlock = ({type, default_value, changeable_without_restart}) => {
  return <div className="not-prose" style={{
    display: "flex",
    flexWrap: "wrap",
    alignItems: "baseline",
    columnGap: "0.5rem",
    rowGap: "0.125rem",
    margin: "0.375rem 0",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <div style={{
    fontWeight: 600,
    opacity: 0.72
  }}>유형</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>기본값</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          재시작 없이 변경 가능
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

이 설정은 [system.settings](/docs/ko/reference/system-tables/settings)에서 확인할 수 있으며, [소스 코드](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)에서 자동 생성됩니다.

<div id="max_concurrent_queries_for_all_users">
  ## max\_concurrent\_queries\_for\_all\_users
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

이 설정값이 현재 동시에 처리 중인 쿼리 수보다 작거나 같으면 예외를 발생시킵니다.

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

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

가능한 값:

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

**예시**

```xml theme={null}
<max_concurrent_queries_for_all_users>99</max_concurrent_queries_for_all_users>
```

**관련 항목**

* [max\_concurrent\_queries](/docs/ko/reference/settings/server-settings/settings#max_concurrent_queries)

Cloud 기본값: `1000`.

<div id="max_concurrent_queries_for_user">
  ## max\_concurrent\_queries\_for\_user
</div>

<SettingsInfoBlock type="UInt64" default_value="0" />

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

가능한 값:

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

**예시**

```xml theme={null}
<max_concurrent_queries_for_user>5</max_concurrent_queries_for_user>
```
