Tuesday, May 03, 2016

How to atomically delete keys matching a pattern using Redis - Stack Overflow

How to atomically delete keys matching a pattern using Redis - Stack Overflow



$ redis-cli --scan --pattern "*:foo:bar:*" | xargs -L 100 redis-cli DEL

No comments:

Post a Comment