Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key查询功能中,模糊查询加载不出所有的key #93

Closed
Myshiner opened this issue Mar 7, 2020 · 5 comments
Closed

key查询功能中,模糊查询加载不出所有的key #93

Myshiner opened this issue Mar 7, 2020 · 5 comments
Labels
question Further information is requested

Comments

@Myshiner
Copy link

Myshiner commented Mar 7, 2020

key的模糊查询功能,输入前缀之后点scan,只显示一小部分key,其实是有上百个的,这是bug吗还是设置不对导致呢?

@zouhuajian
Copy link
Member

key的模糊查询功能,输入前缀之后点scan,只显示一小部分key,其实是有上百个的,这是bug吗还是设置不对导致呢?

这个不是bug。scan的结果一部分数据,目前scan所有数据的功能暂未支持。

@Myshiner
Copy link
Author

Myshiner commented Mar 10, 2020 via email

@zouhuajian zouhuajian added the question Further information is requested label Mar 14, 2020
@Myshiner
Copy link
Author

Myshiner commented Jun 2, 2020

今天我模糊查询,从命令行里模糊查询只有三个key,但是redis-manager里面模糊查询一个都没有

@Myshiner
Copy link
Author

Myshiner commented Jun 2, 2020

比如一个key名很长的,我复制进去平台直接query就出来
image

但是用scan就不出来
image

@ReasonDuan
Copy link
Contributor

比如一个key名很长的,我复制进去平台直接query就出来
image

但是用scan就不出来
image

Scan 是不支持拿所有数据的,它的时间复杂度为O(1),所以不推荐一次性将所有数据scan出来。
详细描述可以参考官方文档
目前提供的Scan针对集群还是有问题的,需要后续进行修复。
后续请关注 #134

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants