Redis 基础教程

Redis 命令

Redis 高级教程

Redis 笔记

Redis MEMORY DOCTOR 命令

Redis 服务器 Redis 服务器


Redis MEMORY DOCTOR 命令列出 Redis 服务器遇到的不同类型的内存相关问题,并提供相应的解决建议。

命令格式

MEMORY DOCTOR

可用版本:>=4.0.0

时间复杂度:O(1)

命令返回值

返回相关字符串描述。

示例

redis> memory doctor
Hi Sam, this instance is empty or is using very little memory, my issues detector can't be used in these conditions. Please, leave for your mission on Earth and fill it with some data. The new Sam and I will be back to our programming as soon as I finished rebooting.