Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果密钥大小真的很大,有没有办法迭代地扫描密钥而不会使 Redis 集群过载?Redis 本机支持这一点。
如果上述是可能的,那么我可以控制每次往返返回多少键吗?
我能够找到我的两个问题的答案。
Rkeys.getKeys()
Rkeys.getKeysByPattern(null, <count>)
Rkeys.getKeysByPattern(null, 10)