Redis 8 · Keys and strings
Find keys by pattern
Iterate over keys without blocking the server.
SCAN 0 MATCH user:* COUNT 100
Caution: Avoid KEYS * on a production server. It blocks Redis while it scans every key.
Official Redis 8 documentation
Redis 8 · Keys and strings
Iterate over keys without blocking the server.
SCAN 0 MATCH user:* COUNT 100
Caution: Avoid KEYS * on a production server. It blocks Redis while it scans every key.
Official Redis 8 documentation
Was this page helpful?