redis常用操作

1.批量删除

/usr/local/redis/bin/redis-cli -a pwd -h host -p port -n database KEYS "*" | xargs /usr/local/redis/bin/redis-cli -a pwd -h host -p port -n database DEL

相关推荐