Redis 常见命令

检查操作系统配置 redis-server --check-system 结果如下,说明检查通过: [slow-clocksource]...OK [xen-clocksource]...OK [overcommit]

autoreconf -ivf 报错error: required file './ltmain.sh' not found

在编译源码https://github.com/RedisLabs/memtier_benchmark 的时候执行下面命令: autoreconf -ivf ./configure make sudo make inst

redis 命令exists vs get

redis 命令exists vs get,在判断key是否存在的场景下: exists速度更快,可以忽略类型。 get只适用于string类型,当值越大时,速度越慢。