kevy4.0

KEYS

Return every key matching the glob pattern (cross-shard gather).

KEYS pattern
Group
Keyspace scan
Since
1.0.0
Arity
exactly 2
Flags
readonly

Complexity

O(N) keys in the whole keyspace — every shard walks its entire map, plus an O(P*K) glob match per key

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Compatible

Behaves as Redis does.

See also

RANDOMKEYSCAN

← All commands