> ## 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.

> 모든 파일 시스템 캐시 설정 정보를 포함합니다

# system.filesystem_cache_settings

<div id="description">
  ## 설명
</div>

모든 파일 시스템 캐시 설정에 대한 정보가 포함되어 있습니다.

<div id="columns">
  ## 컬럼
</div>

* `cache_name` ([String](/docs/ko/reference/data-types/string)) — 캐시 이름
* `path` ([String](/docs/ko/reference/data-types/string)) — 캐시 디렉터리 경로
* `max_size` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 최대 캐시 크기
* `max_elements` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 캐시 원소의 최대 개수(예: file segment, 파일 시스템의 파일 수 제한)
* `max_file_segment_size` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 단일 file segment의 최대 크기
* `boundary_alignment` ([UInt64](/docs/ko/reference/data-types/int-uint)) — file segment 정렬
* `cache_on_write_operations` ([UInt8](/docs/ko/reference/data-types/int-uint)) — write-through 캐시를 활성화합니다(INSERT 및 MERGE 시 캐시)
* `cache_policy` ([String](/docs/ko/reference/data-types/string)) — 캐시 제거 정책
* `slru_size_ratio` ([Float64](/docs/ko/reference/data-types/float)) — 보호된 원소와 probationary 원소 간 SLRU 캐시 정책의 크기 비율
* `background_download_threads` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 백그라운드 다운로드 스레드 수입니다. 값이 0이면 백그라운드 다운로드가 비활성화됩니다
* `background_download_queue_size_limit` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 백그라운드 다운로드 큐 크기입니다. 값이 0이면 백그라운드 다운로드가 비활성화됩니다
* `background_download_max_file_segment_size` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 백그라운드로 다운로드할 수 있는 최대 크기
* `load_metadata_threads` ([UInt64](/docs/ko/reference/data-types/int-uint)) — server 시작 시 캐시 metadata를 로드하는 데 사용하는 최대 스레드 수
* `load_metadata_asynchronously` ([UInt8](/docs/ko/reference/data-types/int-uint)) — server 시작 시 metadata를 비동기로 로드하도록 활성화합니다
* `keep_free_space_size_ratio` ([Float64](/docs/ko/reference/data-types/float)) — 캐시가 백그라운드에서 유지하려는 여유 공간 비율
* `keep_free_space_elements_ratio` ([Float64](/docs/ko/reference/data-types/float)) — 캐시가 백그라운드에서 유지하려는 여유 원소 비율
* `keep_free_space_remove_batch` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 여유 공간/원소 비율을 유지하는 background thread가 한 번에 제거하는 캐시 원소 수
* `invalidated_entries_cleanup_interval_ms` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 무효화된(지연 제거된) priority queue 항목을 purge하는 백그라운드 작업의 유휴 간격(밀리초)
* `invalidated_entries_cleanup_threshold` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 누적된 무효화 priority queue 항목 수가 이 값에 도달하면 백그라운드 제거가 트리거됩니다
* `invalidated_entries_cleanup_remove_batch` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 백그라운드 반복 1회당 단일 쓰기 잠금으로 제거되는 무효화 priority queue 항목의 최대 개수
* `enable_filesystem_query_cache_limit` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 쿼리 내에서 쓸 수 있는 캐시의 최대 크기 제한을 활성화합니다
* `cache_hits_threshold` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 더 이상 권장되지 않는 설정
* `enable_bypass_cache_with_threshold` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 문서화되지 않았습니다. 사용을 권장하지 않습니다
* `bypass_cache_threshold` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 문서화되지 않았습니다. 사용을 권장하지 않습니다
* `write_cache_per_user_id_directory` ([UInt8](/docs/ko/reference/data-types/int-uint)) — ClickHouse Cloud 내부 설정
* `allow_dynamic_cache_resize` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 파일 시스템 캐시의 크기를 동적으로 조정하도록 허용합니다
* `max_size_ratio_to_total_space` ([Float64](/docs/ko/reference/data-types/float)) — 전체 디스크 공간 대비 `max_size`의 비율입니다
* `skip_cache_on_disk_failure` ([UInt8](/docs/ko/reference/data-types/int-uint)) — true이면 디스크 IO 오류 발생 시 파일 시스템 캐시 작업을 조용히 건너뜁니다. false(기본값)이면 디스크 IO 오류가 시작 실패로 전파됩니다.
* `use_split_cache` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 파일을 시스템용/데이터용으로 분리하여 사용합니다.
* `split_cache_ratio` ([Float64](/docs/ko/reference/data-types/float)) — split\_cache에서 전체 캐시 크기 대비 시스템 세그먼트의 비율입니다
* `overcommit_eviction_evict_step` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 오버커밋 축출 정책에서 사용하는 바이트 단위 축출 간격입니다. keep\_free\_space\_\*\_ratio 설정에 사용됩니다
* `check_cache_probability` ([Float64](/docs/ko/reference/data-types/float)) — 디버그 또는 새니타이저 빌드에서만 작동합니다. 전체 캐시를 순회하면서 각 캐시 원소의 상태를 확인해 캐시의 정확성을 검사합니다
* `expose_prometheus_eviction_metrics` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 파일 시스템 캐시 축출 활동에 대한 Prometheus 메트릭(`filesystem_cache_evictions_total` 등)을 노출합니다. 기본적으로 비활성화되어 있습니다. `SYSTEM RELOAD CONFIG`를 통해 런타임에 켜고 끌 수 있습니다.
* `expose_prometheus_eviction_metrics_per_user` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 추가로 사용자 ID별 축출 메트릭을 노출합니다. `expose_prometheus_eviction_metrics`가 필요합니다. 카디널리티는 축출을 수행하는 사용자 수가 서로 다를수록 증가합니다.
* `is_initialized` ([UInt8](/docs/ko/reference/data-types/int-uint)) — 캐시가 성공적으로 초기화되었는지 나타냅니다
* `current_size` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 현재 캐시 크기입니다
* `current_elements_num` ([UInt64](/docs/ko/reference/data-types/int-uint)) — 현재 캐시 원소(파일 세그먼트) 수입니다
