system.filesystem_cache_settings
설명
모든 파일 시스템 캐시 설정에 대한 정보가 포함되어 있습니다
컬럼
cache_name(String) — 캐시 이름path(String) — 캐시 디렉터리 경로max_size(UInt64) — 최대 캐시 크기max_elements(UInt64) — 최대 캐시 요소 수(예: file segments, 파일 시스템의 파일 수를 제한)max_file_segment_size(UInt64) — 단일 file segment의 최대 크기boundary_alignment(UInt64) — file segment 정렬cache_on_write_operations(UInt8) — write-through 캐시를 활성화합니다(INSERT 및 MERGE 시 캐시)cache_policy(String) — 캐시 축출 정책slru_size_ratio(Float64) — 보호된 요소와 probationary 요소 간 SLRU 캐시 정책의 크기 비율background_download_threads(UInt64) — 백그라운드 다운로드 스레드 수입니다. 값이 0이면 백그라운드 다운로드가 비활성화됩니다background_download_queue_size_limit(UInt64) — 백그라운드 다운로드 큐 크기입니다. 값이 0이면 백그라운드 다운로드가 비활성화됩니다background_download_max_file_segment_size(UInt64) — 백그라운드 다운로드로 가져올 수 있는 최대 크기load_metadata_threads(UInt64) — 서버 시작 시 캐시 메타데이터를 로드하는 스레드 수입니다. 값이 0이면 메타데이터의 비동기 로드가 비활성화됩니다load_metadata_asynchronously(UInt8) — 서버 시작 시 메타데이터를 비동기로 로드하도록 활성화합니다keep_free_space_size_ratio(Float64) — 캐시가 백그라운드에서 유지하려는 여유 공간 비율keep_free_space_elements_ratio(Float64) — 캐시가 백그라운드에서 유지하려는 여유 요소 비율keep_free_space_remove_batch(UInt64) — 여유 공간/요소 비율을 유지하는 백그라운드 스레드가 제거하는 캐시 요소의 배치 크기enable_filesystem_query_cache_limit(UInt8) — 쿼리 내에서 쓸 수 있는 캐시의 최대 크기 제한을 활성화합니다cache_hits_threshold(UInt64) — 사용 중단된 설정enable_bypass_cache_with_threshold(UInt8) — 문서화되지 않았습니다. 사용을 권장하지 않습니다bypass_cache_threshold(UInt64) — 문서화되지 않았습니다. 사용을 권장하지 않습니다write_cache_per_user_id_directory(UInt8) — 내부 ClickHouse Cloud 설정allow_dynamic_cache_resize(UInt8) — 파일 시스템 캐시의 동적 크기 조정을 허용합니다max_size_ratio_to_total_space(Float64) — 전체 디스크 공간 대비max_size의 비율skip_cache_on_disk_failure(UInt8) — true이면 디스크 IO 오류 발생 시 파일 시스템 캐시 작업을 자동으로 우회합니다. false(기본값)이면 디스크 IO 오류가 시작 실패로 전파됩니다.use_split_cache(UInt8) — 파일을 system/data로 분리해 사용합니다.split_cache_ratio(Float64) — split_cache에서 전체 캐시 크기 대비 system segment의 비율입니다.overcommit_eviction_evict_step(UInt64) — overcommit 축출 정책의 바이트 단위 축출 단계입니다. keep_free_space_*_ratio 설정에 사용됩니다check_cache_probability(Float64) — 디버그 또는 sanitizer build에서만 작동합니다. 전체 캐시를 순회하며 각 캐시 요소의 상태를 확인해 캐시의 정확성을 검사합니다is_initialized(UInt8) — 캐시가 성공적으로 초기화되었는지 여부를 나타냅니다current_size(UInt64) — 현재 캐시 크기current_elements_num(UInt64) — 현재 캐시 요소(file segments) 수