Redis scan count: How to force SCAN to return all keys matching a pattern?
With the code below you will scan the 1000 first object from cursor 0 SCAN 0 MATCH “foo:bar:*” COUNT 1000 In result, you will get a new cursor to recall SCAN YOUR_NEW_CURSOR MATCH “foo:bar:*” COUNT 1000 To scan 1000 next object. Then when you increase COUNT from 1000 to 10000 and retrieve data you scan … Read more