![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
redis
tansitao110
这个作者很懒,什么都没留下…
展开
-
MISCONF Redis is configured to save RDB snapshots, but is currently not able to
今天第二次遇到Redis “MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk”的问题。这个错误信息是Redis客户端工具在保存数据时候抛出的异常信息。 网上查了一下,很多人都是建议“config set stop-writes-on-bgsave-error...转载 2019-07-23 14:40:42 · 1263 阅读 · 0 评论 -
redis 连接数 和 集群清空数据命令
在redis-cli命令行使用:info clients可以查看当前的redis连接数。 1.查看客户端连接数 redis-cli info,目前连接数才120; connected_clients:120 2.检查文件描述符open files :ulimit -n或cat /etc/security/limits.conf,open file没有限制; 3.查看redis.conf中的ma...原创 2019-07-23 14:44:41 · 1565 阅读 · 0 评论 -
redis对map的操作
redis对map的操作 序号 命令及描述 1 HDEL key field1 [field2] 删除一个或多个哈希表字段 2 HEXISTS key field 查看哈希表 key 中,指定的字段是否存在。 3 HGET key field 获取存储在哈希表中指定字段的值。 4 HGETALL key 获取在哈希表中指定 key 的所有字段和值 5 HIN...原创 2019-07-23 14:45:50 · 3948 阅读 · 0 评论