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

# enable_filesystem_* session settings

> ClickHouse session settings in the enable_filesystem_* generated group.

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
  }}>Type</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>Default</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          Changeable without restart
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

These settings are available in [system.settings](/docs/reference/system-tables/settings) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

<h2 id="enable_filesystem_cache">
  enable\_filesystem\_cache
</h2>

<SettingsInfoBlock type="Bool" default_value="1" />

Use cache for remote filesystem. This setting does not turn on/off cache for disks (must be done via disk config), but allows to bypass cache for some queries if intended

<h2 id="enable_filesystem_cache_log">
  enable\_filesystem\_cache\_log
</h2>

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

Allows to record the filesystem caching log for each query

<h2 id="enable_filesystem_cache_on_write_operations">
  enable\_filesystem\_cache\_on\_write\_operations
</h2>

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

Enables or disables `write-through` cache. If set to `false`, the `write-through` cache is disabled for write operations. If set to `true`, `write-through` cache is enabled as long as `cache_on_write_operations` is turned on in the server config's cache disk configuration section.
See ["Using local cache"](/docs/concepts/features/configuration/server-config/storing-data#using-local-cache) for more details.

Cloud default value: `1`.

<h2 id="enable_filesystem_read_prefetches_log">
  enable\_filesystem\_read\_prefetches\_log
</h2>

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

Log to system.filesystem prefetch\_log during query. Should be used only for testing or debugging, not recommended to be turned on by default
