361独家记忆
2022-01-16
这个可以到百度搜好多出来配置一下,一个个试吧
慕圣3558781
2021-12-01
要看大佬的git或npm的开源
猪农X
2020-04-07
那你觉得原因是什么呢
猪农X
2020-04-04
replicate,而不是reqlicate
邵正强
2019-11-14
与中同行
2019-09-12
按照老师的教程,修改redis.cnf文件中碎片整理的配置项
1123258953
2019-08-03
127.0.0.1:6379> config set activedefrag yes (error) ERR Active defragmentation cannot be enabled: it requires a Redis server compiled with a modified Jemalloc like the one shipped by default with the Redis source distribution
So I guess what you are saying is that what I was trying basically isn't possible. I'd need to install Redis completely from source rather than using a yum repo like EPEL or Remi?
I presume the only method that will work is to completely remove Redis and then build all from source? The reason I want to avoid that is because I want to have the active defrag enabled on a production server. If I need to manually upgrade redis each time then I will obviously have more down time and there is a greater possibility for things to go wrong (even if I do test the upgrade via test server) Where as updating via YUM has its clear advantages - assuming you have an up to date repo
qq_不迷路气我的_0
2019-06-11
在版本4.0以上分片,建议用redis原生的命令,ruby环境的话,看官方文档是否还支持,感觉后续ruby会被官方砍掉
secrethaha
2019-05-17
Mallie3880535
2019-05-08
在每一个节点 配置
masterauth <yourpassword>
requirepass <yourpassword>
qq_未曾到过的彼岸_0
2019-03-12
需要使用Ruby的方法来操作
DOUBESI
2019-02-26
不要在意撒,都是小问题
ghoststill
2019-02-12
不需要提前定义consumer,直接读取时在consumer Group后面跟一个consumer ,则这个consumer就默认属于这个消费组了
慕粉3823503
2019-02-02
有序集合中没有元素,执行的命令返回不了结果,才造成的阻塞。加个元素,可以返回结果了,当然就解除了呀。
张肖肖
2019-01-26
实质上就是队列的呢~
什么浮云
2019-01-18
慕丝4337461
2019-01-04
我知道了,固定就是16384个,不能扩充的https://baijiahao.baidu.com/s?id=1612736294482382959&wfr=spider&for=pc
慕丝4337461
2019-01-03
箭头画反了
慕Joan
2018-12-28
bgsave 和 save 命令可以备份,至于备份到哪里了,请用命令 config get dir 查看,也可以在备份前使用config set dir 设置备份的目录。
bgsave 和 save 就是产生的文件是rdb。
另一个备份命令是 bgrewriteaof 产生的文件是 aof。
shutdown redis 服务器后,重启,会自动恢复数据,恢复顺序是aof,然后是rdb。
恢复文件是来自备份产生的aof 和rdb,也就是说如果你需要迁移数据到另一个台服务器,只需要拷贝备份文件到相应的目录即可。
关于 aof 和 rdb 文件,请自行baidu。
大王今天不巡山
2018-12-21
redis-cli 客户端自动提示
野生码农在线co腚
2018-12-18
还在酝酿之中哈,出实战课一定要对大家的实际工作有比较大的帮助,老师需要做一个规划,到时候欢迎你来捧场哦!
慕婉清0205426
2018-12-18
同学你好,如果你有一定的redis基础,可以重点学习redis5.0配置项,steam数据类型和搭建集群这几章,这样既把握住了重点,又可以节省时间啦!