> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-8c05c8a2.mintlify.site/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](/ja/reference/data-types/index)) — cache 名
* `path` ([String](/ja/reference/data-types/index)) — cache ディレクトリのパス
* `max_size` ([UInt64](/ja/reference/data-types/index)) — cache の最大サイズ
* `max_elements` ([UInt64](/ja/reference/data-types/index)) — cache 要素の最大数。例: ファイルセグメント (ファイルシステム上のファイル数を制限)
* `max_file_segment_size` ([UInt64](/ja/reference/data-types/index)) — 1 つのファイルセグメントの最大サイズ
* `boundary_alignment` ([UInt64](/ja/reference/data-types/index)) — ファイルセグメントのアラインメント
* `cache_on_write_operations` ([UInt8](/ja/reference/data-types/index)) — ライトスルー cache を有効化 (INSERT および MERGE 時に cache)
* `cache_policy` ([String](/ja/reference/data-types/index)) — cache のエビクションポリシー
* `slru_size_ratio` ([Float64](/ja/reference/data-types/index)) — SLRU cache ポリシーにおける protected 要素と probationary 要素のサイズ比率
* `background_download_threads` ([UInt64](/ja/reference/data-types/index)) — バックグラウンドダウンロード用スレッド数。値 0 はバックグラウンドダウンロードを無効化します
* `background_download_queue_size_limit` ([UInt64](/ja/reference/data-types/index)) — バックグラウンドダウンロードキューのサイズ。値 0 はバックグラウンドダウンロードを無効化します
* `background_download_max_file_segment_size` ([UInt64](/ja/reference/data-types/index)) — バックグラウンドダウンロードでダウンロードできる最大サイズ
* `load_metadata_threads` ([UInt64](/ja/reference/data-types/index)) — サーバー起動時に cache のメタデータを読み込むために使用されるスレッドの最大数
* `load_metadata_asynchronously` ([UInt8](/ja/reference/data-types/index)) — サーバー起動時のメタデータの非同期読み込みを有効化
* `keep_free_space_size_ratio` ([Float64](/ja/reference/data-types/index)) — cache がバックグラウンドで維持しようとする空き容量の比率
* `keep_free_space_elements_ratio` ([Float64](/ja/reference/data-types/index)) — cache がバックグラウンドで維持しようとする空き要素数の比率
* `keep_free_space_remove_batch` ([UInt64](/ja/reference/data-types/index)) — 空き容量/要素数の比率を維持するバックグラウンドスレッドが削除する cache 要素の batch サイズ
* `invalidated_entries_cleanup_interval_ms` ([UInt64](/ja/reference/data-types/index)) — 無効化された (遅延削除された) 優先度キューエントリを purge するバックグラウンド task の、ミリ秒単位の idle 間隔
* `invalidated_entries_cleanup_threshold` ([UInt64](/ja/reference/data-types/index)) — 蓄積された無効化済み優先度キューエントリ数。この値に達するとバックグラウンド削除がトリガーされます
* `invalidated_entries_cleanup_remove_batch` ([UInt64](/ja/reference/data-types/index)) — バックグラウンド処理の各反復で、1 回の書き込みロック中に削除される無効化済み優先度キューエントリの最大数
* `enable_filesystem_query_cache_limit` ([UInt8](/ja/reference/data-types/index)) — クエリ内で書き込める cache の最大サイズの制限を有効化
* `cache_hits_threshold` ([UInt64](/ja/reference/data-types/index)) — 非推奨の設定
* `enable_bypass_cache_with_threshold` ([UInt8](/ja/reference/data-types/index)) — 文書化されていません。使用は推奨されません
* `bypass_cache_threshold` ([UInt64](/ja/reference/data-types/index)) — 文書化されていません。使用は推奨されません
* `write_cache_per_user_id_directory` ([UInt8](/ja/reference/data-types/index)) — ClickHouse Cloud の内部設定
* `allow_dynamic_cache_resize` ([UInt8](/ja/reference/data-types/index)) — ファイルシステムキャッシュの動的リサイズを許可します
* `dynamic_resize_lock_wait_ms` ([UInt64](/ja/reference/data-types/index)) — リサイズの試行をスキップする前に、動的リサイズ用の排他ロックを取得するまでのタイムアウト時間 (ミリ秒)
* `max_size_ratio_to_total_space` ([Float64](/ja/reference/data-types/index)) — 総ディスク容量に対する `max_size` の比率
* `skip_cache_on_disk_failure` ([UInt8](/ja/reference/data-types/index)) — true の場合、ディスク I/O エラー時にファイルシステムキャッシュの操作を黙ってスキップします。false (デフォルト) の場合、ディスク I/O エラーは起動失敗として伝播されます。
* `use_split_cache` ([UInt8](/ja/reference/data-types/index)) — ファイルを system/data 用に分離して使用します。
* `split_cache_ratio` ([Float64](/ja/reference/data-types/index)) — split\_cache における、cache の総サイズに対する system segment の比率
* `overcommit_eviction_evict_step` ([UInt64](/ja/reference/data-types/index)) — overcommit エビクションポリシーにおける、バイト単位のエビクション step。keep\_free\_space\_\*\_ratio 設定で使用されます
* `check_cache_probability` ([Float64](/ja/reference/data-types/index)) — debug または sanitizer build でのみ機能します。cache 全体を走査して各 cache 要素の状態を確認し、cache の正しさを検証します
* `is_initialized` ([UInt8](/ja/reference/data-types/index)) — cache が正常に初期化されたかどうかを示します
* `current_size` ([UInt64](/ja/reference/data-types/index)) — 現在の cache サイズ
* `current_elements_num` ([UInt64](/ja/reference/data-types/index)) — 現在の cache 要素 (ファイルセグメント) 数
