Memory Fragmentation

Difficulty: Advanced

Question

What is 'mem_fragmentation_ratio' in INFO memory?

Answer

It's the ratio between memory used by the OS (RSS) and memory allocated by Redis. A high ratio (e.g., > 1.5) means significant fragmentation.

Concepts covered

Memory Management, Defrag