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

# send_* 会话设置

> send_* 生成分组中的 ClickHouse 会话设置。

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
  }}>类型</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{type}</div>
      <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>默认值</div>
      <div style={{
    overflowWrap: "anywhere"
  }}>{default_value}</div>
      {changeable_without_restart && <div style={{
    fontWeight: 600,
    opacity: 0.72,
    marginInlineStart: "0.5rem"
  }}>
          无需重启即可更改
        </div>}
      {changeable_without_restart && <div style={{
    overflowWrap: "anywhere"
  }}>
          {changeable_without_restart}
        </div>}
    </div>;
};

这些设置可在 [system.settings](/docs/zh/reference/system-tables/settings) 中查看，并根据 [源代码](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp) 自动生成。

<div id="send_profile_events">
  ## send\_profile\_events
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "25.11"},{"label": "1"},{"label": "新设置。是否将 profile events 发送给客户端。"}]}]} />

启用或禁用向客户端发送 [ProfileEvents](/docs/zh/resources/develop-contribute/native-protocol/server#profile-events) 数据包。

对于不需要 profile events 的客户端，可以禁用此设置以减少网络流量。

可能的值：

* 0 — 已禁用。
* 1 — 已启用。

<div id="send_progress_in_http_headers">
  ## send\_progress\_in\_http\_headers
</div>

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

启用或禁用 `clickhouse-server` 响应中的 `X-ClickHouse-Progress` HTTP 响应头。

更多信息，请参阅 [HTTP 接口说明](/docs/zh/concepts/features/interfaces/http)。

可选值：

* 0 — 已禁用。
* 1 — 已启用。

<div id="send_table_structure_on_insert_with_inline_data">
  ## send\_table\_structure\_on\_insert\_with\_inline\_data
</div>

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

<VersionHistory rows={[{"id": "row-1","items": [{"label": "26.5"},{"label": "1"},{"label": "新增设置，用于控制服务端是否为包含内联数据的 INSERT 查询发送表结构。"}]}]} />

如果禁用此设置，且 INSERT 查询包含内联数据，服务端将不会通过原生协议向客户端回发表结构和列默认值。相反，服务端会自行解析内联数据。这可以提升通过原生协议执行大量小规模插入时的性能。

<div id="send_timeout">
  ## send\_timeout
</div>

<SettingsInfoBlock type="秒" default_value="300" />

通过网络发送数据的超时时间，单位为秒。如果客户端需要发送数据，但在这段时间间隔内无法发送任何字节，就会抛出异常。如果在客户端上设置了此项，套接字的 'receive\_timeout' 也会同时应用到服务器端对应的连接端点。
