Skip to content

Glossary: Redis and Caching

SCAN

Also written: scanIterator, MATCH, COUNT

A command that lists keys in small batches using a cursor, so it doesn't freeze a busy server the way `KEYS` can. `MATCH` filters by pattern and `COUNT` suggests a batch size.

Where the book teaches it

Related terms

KEYSCursorfor await