Technologies/Redis/redis.memory.fragmentation_ratio
RedisRedisMetric

redis.memory.fragmentation_ratio

Ratio of used_memory_rss to used_memory
Dimensions:None
Available on:DatadogDatadog (1)PrometheusPrometheus (1)Native (1)OpenTelemetryOpenTelemetry (1)

Summary

Ratio of RSS (resident set size) memory to used memory, indicating memory fragmentation. Values >1.5 suggest significant fragmentation where allocated memory exceeds actively used memory due to allocator inefficiency. High fragmentation wastes memory and can trigger OOM conditions even when logical memory usage seems acceptable. This amplifies cache eviction pressure as described in the fragmentation insight — Redis may evict keys unnecessarily because fragmented memory appears fuller than it actually is.

Interface Metrics (4)
DatadogDatadog
Ratio of used_memory_rss to used_memory
Dimensions:None
PrometheusPrometheus
Ratio of used_memory_rss to used_memory
Dimensions:None
Native
Ratio of used_memory_rss to used_memory. Values < 1 indicate swapping, > 1.5 indicate fragmentation
Dimensions:None
OpenTelemetryOpenTelemetry
Ratio of memory allocated by OS to memory requested by Redis
Dimensions:None
Related Insights (1)
Memory Fragmentation Amplifies Cache Eviction Pressurewarning

High Redis memory fragmentation ratio (>1.5) causes actual memory usage to exceed redis.memory.maxmemory limits, triggering premature key evictions and reducing cache hit rates even when logical memory usage appears healthy.