Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

http_max_* session settings

These settings are available in system.settings and are autogenerated from source.

http_max_field_name_size

Type
UInt64
Default
4096
Version history
VersionDefault valueComment
26.44096Reduce default to limit pre-authentication memory usage by HTTP connections.

Maximum length of a field name in HTTP request headers, query parameters, and form data.

http_max_field_value_size

Type
UInt64
Default
131072

Maximum length of a field value in HTTP request headers, query parameters, and form data.

http_max_fields

Type
UInt64
Default
1000
Version history
VersionDefault valueComment
26.41000Reduce default to limit pre-authentication memory usage by HTTP connections.

Maximum number of fields in HTTP request headers, query parameters, and form data.

http_max_multipart_form_data_size

Type
UInt64
Default
1073741824

Limit on size of multipart/form-data content. This setting cannot be parsed from URL parameters and should be set in a user profile. Note that content is parsed and external tables are created in memory before the start of query execution. And this is the only limit that has an effect on that stage (limits on max memory usage and max execution time have no effect while reading HTTP form data).

http_max_request_header_size

Type
UInt64
Default
10485760
Version history
VersionDefault valueComment
26.410485760New setting to limit total HTTP request header size before authentication.

Maximum total size of all HTTP request headers (names and values combined) in bytes.

http_max_request_param_data_size

Type
UInt64
Default
10485760

Limit on size of request data used as a query parameter in predefined HTTP requests.

http_max_tries

Type
UInt64
Default
10

Max attempts to read via http.

http_max_uri_size

Type
UInt64
Default
1048576

Sets the maximum URI length of an HTTP request.

Possible values:

  • Positive integer.
Navigation