Technologies/Elasticsearch/elasticsearch.index.segments.memory
ElasticsearchElasticsearchMetric

elasticsearch.index.segments.memory

Index segment memory bytes
Dimensions:None
Available on:DatadogDatadog (9)PrometheusPrometheus (11)OpenTelemetryOpenTelemetry (2)

Summary

Measures heap memory used by index segments for storing metadata like term dictionaries and bloom filters. At the index level, this metric helps identify which indices consume the most segment memory. High values relative to document count suggest field mapping inefficiencies, excessive analyzed fields, or the need for segment merging to consolidate memory usage.

Interface Metrics (22)
DatadogDatadog
The memory used by fixed bit set [v1.4.0+].
Dimensions:None
PrometheusPrometheus
Current size of fixed bit with only primary shards on all nodes in bytes
Dimensions:None
DatadogDatadog
The memory used by the segment version map [v1.3.0+].
Dimensions:None
PrometheusPrometheus
Current size of index writer with only primary shards on all nodes in bytes
Dimensions:None
OpenTelemetryOpenTelemetry
Size of memory for segment object of an index.
Dimensions:None
PrometheusPrometheus
Current size of segments with all shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of fields with only primary shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of fields with all shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of segments with only primary shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of norms with only primary shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of points with only primary shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of points with all shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current size of terms with only primary shards on all nodes in bytes
Dimensions:None
PrometheusPrometheus
Current number of terms with all shards on all nodes in bytes
Dimensions:None
OpenTelemetryOpenTelemetry
Size of segments of an index.
Dimensions:None
DatadogDatadog
The memory used by terms [v2.0+].
Dimensions:None
DatadogDatadog
The memory used by doc values.
Dimensions:None
DatadogDatadog
The maximum memory used by the index writer [v1.4.0+].
Dimensions:None
DatadogDatadog
The memory used by the index writer [v1.3.0+].
Dimensions:None
DatadogDatadog
The memory used by norms [v2.0+].
Dimensions:None
DatadogDatadog
The memory used by stored fields [v2.0+].
Dimensions:None
DatadogDatadog
The memory used by term vectors.
Dimensions:None
Related Insights (1)
Segment Merge Backlog Causing Query Slowdownwarning

Background segment merges consolidate small Lucene segments into larger ones, reducing file count. When merge rate cannot keep pace with segment creation, segment count explodes causing slow queries and increased memory usage.