摘要:参考:https://zhuanlan.zhihu.com/p/46353221 扫描匹配 *xxx* ,每次扫描 100个 scan 0 match *xxx* count 100
阅读全文
posted @ 2020-12-25 10:11
鱼儿也疯狂
文章分类 - Reids
摘要:参考:https://zhuanlan.zhihu.com/p/46353221 扫描匹配 *xxx* ,每次扫描 100个 scan 0 match *xxx* count 100
阅读全文
posted @ 2020-12-25 10:11
摘要:参考:https://mp.weixin.qq.com/s?__biz=MjM5NzMyMjAwMA==&mid=2651491996&idx=1&sn=9f1ce57bb5e07850e6907be72f60e2b8&chksm=bd25e2e38a526bf5fa388e1d524fc1d179
阅读全文
posted @ 2020-12-23 22:43
摘要:-r 选项重复执行一个命令指定的次数-i 设置命令执行的间隔。比如查看redis每秒执行的commands(qps) # redis-cli -p 6379 -r 100 -i 1 info stats | grep instantaneous_ops_per_secinstantaneous_op
阅读全文
摘要:/apps/svr/redis-2.8.19/bin/redis-cli -p 6288 --bigkeys从库直接执行,后台是使用scan命令的 # /apps/svr/redis/bin/redis-cli -p 6382 --bigkeys -i 0.1 # Scanning the enti
阅读全文
posted @ 2019-04-19 14:18
摘要:# redis info详解参考:http://blog.csdn.net/mysqldba23/article/details/68066322 192.168.64.102:9021> info # Server(服务器信息)redis_version:3.0.0 #redis服务器版本redi
阅读全文
摘要:Redis提供了5种数据淘汰策略: volatile-lru:使用LRU算法进行数据淘汰(淘汰上次使用时间最早的,且使用次数最少的key),只淘汰设定了有效期的key allkeys-lru:使用LRU算法进行数据淘汰,所有的key都可以被淘汰 volatile-random:随机淘汰数据,只淘汰设
阅读全文
摘要:-- 官网参数含义https://raw.githubusercontent.com/antirez/redis/4.0/redis.confhttps://raw.githubusercontent.com/antirez/redis/3.2/redis.confhttps://raw.githu
阅读全文
摘要:1.高薪必备|Redis 基础、高级特性与性能调优 https://mp.weixin.qq.com/s/LpEi9D7kgsY1zUyqGPOrfg
阅读全文
|