原文地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/indexing-buffer.html, 原文档版权归 www.elastic.co 所有
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Indexing buffer settingsedit
The indexing buffer is used to store newly indexed documents. When it fills up, the documents in the buffer are written to a segment on disk. It is divided between all shards on the node.
The following settings are static and must be configured on every data node in the cluster:
-
indices.memory.index_buffer_size
-
Accepts either a percentage or a byte size value. It defaults to
10%
, meaning that10%
of the total heap allocated to a node will be used as the indexing buffer size shared across all shards. -
indices.memory.min_index_buffer_size
-
If the
index_buffer_size
is specified as a percentage, then this setting can be used to specify an absolute minimum. Defaults to48mb
. -
indices.memory.max_index_buffer_size
-
If the
index_buffer_size
is specified as a percentage, then this setting can be used to specify an absolute maximum. Defaults to unbounded.