> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-postgresql-tls-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# url_* 세션 설정

> url_*로 생성된 그룹의 ClickHouse 세션 설정입니다.

export const VersionHistory = ({rows = []}) => {
  if (rows.length === 0) {
    return null;
  }
  const headers = ["버전", "기본값", "설명"];
  const border = "1px solid rgba(128, 128, 128, 0.3)";
  const cell = {
    border,
    padding: "0.25rem 0.5rem",
    textAlign: "start",
    verticalAlign: "top"
  };
  return <details className="not-prose" style={{
    border,
    borderRadius: "0.5rem",
    margin: "0.5rem 0",
    padding: "0.5rem 0.75rem",
    fontSize: "0.8125rem",
    lineHeight: "1.125rem"
  }}>
      <summary style={{
    cursor: "pointer",
    fontWeight: 600,
    opacity: 0.72
  }}>
        버전 이력
      </summary>
      <table style={{
    borderCollapse: "collapse",
    width: "100%",
    margin: "0.5rem 0 0"
  }}>
        <thead>
          <tr>
            {headers.map(header => <th key={header} style={{
    ...cell,
    fontWeight: 600,
    opacity: 0.72
  }}>
                {header}
              </th>)}
          </tr>
        </thead>
        <tbody>
          {rows.map((row, row_index) => <tr key={row.id ?? row_index}>
              {(row.items ?? []).map((item, item_index) => <td key={item_index} style={{
    ...cell,
    overflowWrap: "anywhere"
  }}>
                  {item?.label}
                </td>)}
            </tr>)}
        </tbody>
      </table>
    </details>;
};

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](/ko/reference/system-tables/settings)에서 확인할 수 있으며, [소스 코드](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp)에서 자동으로 생성됩니다.

<div id="url_base">
  ## url\_base
</div>

[url](/ko/reference/functions/table-functions/url) 테이블 함수와 [URL](/ko/reference/engines/table-engines/special/url) 테이블 엔진에서 상대 URL을 해석할 때 사용하는 기준 URL입니다.

설정하면 상대 URL은 다음과 같이 해석됩니다.

* 경로 상대 URL(예: `data.csv`): RFC 3986에 따라 기준 URL 경로와 병합됩니다. 기준 경로에서 마지막 `/` 뒤의 모든 내용이 상대 URL로 대체되므로 끝의 슬래시 유무가 중요합니다. 예를 들어 `https://example.com/dir/` + `data.csv` = `https://example.com/dir/data.csv`이지만, `https://example.com/dir` + `data.csv` = `https://example.com/data.csv`입니다. 기준 URL에 경로가 없으면(예: `https://example.com`) `/`가 삽입되어 `https://example.com/data.csv`가 됩니다. 상대 URL의 점 세그먼트(`./` 및 `../`)는 정규화됩니다: `https://example.com/dir/` + `../a.csv` = `https://example.com/a.csv`.
* 호스트 상대 URL(예: `/test/data.csv`): 기준 URL의 스킴과 호스트를 기준으로 해석됩니다.
* 스킴 상대 URL(예: `//other.com/test/data.csv`): 기준 URL의 스킴을 사용해 해석됩니다.
* 쿼리만 있는 참조(예: `?x=1`): 기준 URL 경로에 추가됩니다(기존 쿼리/프래그먼트는 대체됨).
* 프래그먼트만 있는 참조(예: `#frag`): 기준 URL에 추가되며 기존 쿼리 문자열은 유지됩니다(기존 프래그먼트는 대체됨).
* 빈 참조: 프래그먼트가 없는 기준 URL을 반환합니다.

예를 들어 `url_base`가 `https://example.com/def/`이면 다음과 같습니다.

* `data.csv`는 `https://example.com/def/data.csv`로 해석됩니다.
* `/test/data.csv`는 `https://example.com/test/data.csv`로 해석됩니다.
* `//other.com/test/data.csv`는 `https://other.com/test/data.csv`로 해석됩니다.

<div id="url_wildcard_max_directories_to_read">
  ## url\_wildcard\_max\_directories\_to\_read
</div>

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

인덱스 페이지의 URL 와일드카드를 확장할 때 탐색할 수 있는 디렉터리의 최대 개수입니다.
