Technologies/Elasticsearch/elasticsearch.index.operations.merge.size
ElasticsearchElasticsearchMetric

elasticsearch.index.operations.merge.size

Merge operation size bytes
Dimensions:None
Available on:DatadogDatadog (5)PrometheusPrometheus (2)DynatraceDynatrace (1)OpenTelemetryOpenTelemetry (1)

Summary

Reports the cumulative size of data merged during segment consolidation operations. Merging combines smaller segments into larger ones to optimize search performance at the cost of I/O and CPU resources. Large merge sizes indicate significant compaction activity, which may trigger merge throttling (documented in the "Merge Throttling Write Amplification" insight) to prevent I/O saturation, requiring balance between merge efficiency and indexing throughput.

Interface Metrics (9)
DatadogDatadog
The total size of all merged segments submitted as a count.
Dimensions:None
PrometheusPrometheus
Total merge size in bytes
Dimensions:None
DynatraceDynatrace
Merge size in bytes
Dimensions:None
DatadogDatadog
The size of the segments currently being merged on the primary shards.
Dimensions:None
PrometheusPrometheus
Size of a current merges in bytes
Dimensions:None
OpenTelemetryOpenTelemetry
The total size of merged segments for an index.
Dimensions:None
DatadogDatadog
The size of the segments currently being merged.
Dimensions:None
DatadogDatadog
The total size of all merged segments.
Dimensions:None
DatadogDatadog
The total size of all merged segments on the primary shards.
Dimensions:None

Technical Annotations (3)

Technical References (3)
ILMcomponentdownsamplingconceptforce mergecomponent
Related Insights (2)
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.

ILM force merge can be disabled in downsampling to reduce resource contentioninfo