OpenSearch - Advanced parameters references

Wissensdatenbanken

OpenSearch - Advanced parameters references


Icons/System/eye-open Created with Sketch. 218 Ansichten 06.02.2023 OpenSearch

Objective

This guide lists all the supported advanced parameters that allow you to configure your Public Cloud Databases for OpenSearch according to your use cases.

Requirements

Instructions

The management of advanced parameters is not supported via Terraform.

Using the OVHcloud Control Panel

Please refer to this guide to find out how to change your advanced parameters from the OVHcloud Control Panel.

Using API

Please refer to this guide to find out how to change your advanced parameters from the OVHcloud API.

Advanced parameters for OpenSearch

Below you can find a summary of every configuration option available for OpenSearch service:

Parameteropensearch.action_auto_create_index_enabled
Value typeboolean
Minimum
Maximum
DescriptionExplicitly allow or block automatic creation of indexes. Defaults to true
Parameteropensearch.cluster_max_shards_per_node
Value typelong
Minimum10
Maximum10000
DescriptionControls the number of shards allowed in the cluster per data node
Parameteropensearch.cluster_routing_allocation_node_concurrent_recoveries
Value typelong
Minimum2
Maximum16
DescriptionHow many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to 2.
Parameteropensearch.http_max_content_length
Value typelong
Minimum1
Maximum2147483647
DescriptionMaximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
Parameteropensearch.http_max_header_size
Value typelong
Minimum1024
Maximum262144
DescriptionThe max size of allowed headers, in bytes
Parameteropensearch.http_max_initial_line_length
Value typelong
Minimum1024
Maximum65536
DescriptionThe max length of an HTTP URL, in bytes
Parameteropensearch.indices_memory_index_buffer_size
Value typelong
Minimum3
Maximum40
DescriptionPercentage value. Default is 10%. Total amount of heap used for indexing buffer, before writing segments to disk. This is an expert setting. Too low value will slow down indexing; too high value will increase indexing performance but causes performance issues for query performance.
Parameteropensearch.indices_queries_cache_size
Value typelong
Minimum3
Maximum40
DescriptionPercentage value. Default is 10%. Maximum amount of heap used for query cache. This is an expert setting. Too low value will decrease query performance and increase performance for other operations; too high value will cause issues with other OpenSearch functionalities.
Parameteropensearch.indices_query_bool_max_clause_count
Value typelong
Minimum64
Maximum4096
DescriptionMaximum number of clauses Lucene BooleanQuery can have. The default value (1024) is relatively high, and increasing it may cause performance issues. Investigate other approaches first before increasing this value.
Parameteropensearch.indices_recovery_max_bytes_per_sec
Value typelong
Minimum40
Maximum400
DescriptionLimits total inbound and outbound recovery traffic for each node. Applies to both peer recoveries as well as snapshot recoveries (i.e., restores from a snapshot). Defaults to 40mb
Parameteropensearch.indices_recovery_max_concurrent_file_chunks
Value typelong
Minimum2
Maximum5
DescriptionNumber of file chunks sent in parallel for each recovery. Defaults to 2.
Parameteropensearch.override_main_response_version
Value typeboolean
Minimum
Maximum
DescriptionCompatibility mode sets OpenSearch to report its version as 7.10 so clients continue to work. Default is false
Parameteropensearch.script_max_compilations_rate
Value typestring
Minimum
Maximum
DescriptionScript compilation circuit breaker limits the number of inline script compilations within a period of time. Default is use-context
Parameteropensearch.thread_pool_analyze_queue_size
Value typelong
Minimum10
Maximum2000
DescriptionSize for the thread pool queue.
Parameteropensearch.thread_pool_analyze_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
Parameteropensearch.thread_pool_force_merge_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
Parameteropensearch.thread_pool_get_queue_size
Value typelong
Minimum10
Maximum2000
DescriptionSize for the thread pool queue.
Parameteropensearch.thread_pool_get_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
Parameteropensearch.thread_pool_search_queue_size
Value typelong
Minimum10
Maximum2000
DescriptionSize for the thread pool queue.
Parameteropensearch.thread_pool_search_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
Parameteropensearch.thread_pool_search_throttled_queue_size
Value typelong
Minimum10
Maximum2000
DescriptionSize for the thread pool queue.
Parameteropensearch.thread_pool_search_throttled_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.
Parameteropensearch.thread_pool_write_queue_size
Value typelong
Minimum10
Maximum2000
DescriptionSize for the thread pool queue.
Parameteropensearch.thread_pool_write_size
Value typelong
Minimum1
Maximum128
DescriptionSize for the thread pool. Do note this may have maximum value depending on CPU count - value is automatically lowered if set to higher than maximum value.

Go further

Visit our dedicated Discord channel: https://discord.gg/ovhcloud. Ask questions, provide feedback and interact directly with the team that builds our databases services.

If you need training or technical assistance to implement our solutions, contact your sales representative or click on this link to get a quote and ask our Professional Services experts for a custom analysis of your project.

Join our community of users on https://community.ovh.com/en/.

Zugehörige Artikel