我找不到命令相当于键堆叠交换的Redis [英] I can't find the command equivalent to keys in Stack Exchange Redis

查看:142
本文介绍了我找不到命令相当于键堆叠交换的Redis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚切换到堆栈Redis的交流,我发现could'nt等同于命令键。
是它省略或在其他地方,而不是getdatabase()?

I just switched to Stack Exchange Redis, and I could'nt find the command keys equivalent. Is it omitted or in some other place rather than getdatabase()?

推荐答案

此外,按照

http://redis.io/commands/keys

警告:考虑键作为应当只在非常小心的生产环境中使用的命令。当针对大型数据库中执行它可能会毁性能。此命令用于调试和特种作战,如更改密钥空间布局。请不要在普通的应用程序代码中使用的密钥。如果你正在寻找一种方式来找到您密钥空间的一个子集钥匙,可以考虑使用套

Warning: consider KEYS as a command that should only be used in production environments with extreme care. It may ruin performance when it is executed against large databases. This command is intended for debugging and special operations, such as changing your keyspace layout. Don't use KEYS in your regular application code. If you're looking for a way to find keys in a subset of your keyspace, consider using sets.

检查这有助于:

https://github.com/ StackExchange / StackExchange.Redis / BLOB / b823aed448ff3eff2c22b1cdae80446629fcf8bd /文档/ KeysScan.md

这篇关于我找不到命令相当于键堆叠交换的Redis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆