kevy

RANDOMKEY

Return a random key from the keyspace.

構文RANDOMKEY
グループscan
引数の数1
導入バージョン1.0.0
フラグreadonly
計算量O(1) expected — each shard probes a random slot, and the origin folds the candidates through a reservoir weighted by shard key counts, so every key is equally likely
Redis 互換性full

← すべてのコマンド