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

# filesystem_prefetch_* session settings

> ClickHouse session settings in the filesystem_prefetch_* 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="filesystem_prefetch_max_memory_usage">
  filesystem\_prefetch\_max\_memory\_usage
</h2>

<SettingsInfoBlock type="NonZeroUInt64" default_value="1073741824" />

Maximum memory usage for prefetches.

Cloud default value: 10% of total memory.

<h2 id="filesystem_prefetch_step_bytes">
  filesystem\_prefetch\_step\_bytes
</h2>

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

Prefetch step in bytes. Zero means `auto` - approximately the best prefetch step will be auto deduced, but might not be 100% the best. The actual value might be different because of setting filesystem\_prefetch\_min\_bytes\_for\_single\_read\_task

<h2 id="filesystem_prefetch_step_marks">
  filesystem\_prefetch\_step\_marks
</h2>

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

Prefetch step in marks. Zero means `auto` - approximately the best prefetch step will be auto deduced, but might not be 100% the best. The actual value might be different because of setting filesystem\_prefetch\_min\_bytes\_for\_single\_read\_task
