> redis-cli -h redisIp -p 6379 -a 'password'
或者:
> redis-cli -h redisIp -p 6379
> auth password
redisIp :6379> SELECT 9
#累计检索量
download_total_key = “rid:%s” % uuid
# 每天视频总长
vid_key = “rid:%s” % uuid
# 每天检索量
download_key = “rid:%s” % uuid
# 每天不同来源视频数量
download_ditch_key = “rid:%s:%s” % (uuid, ditch_id)
resourceUserTrendsRedisKey = “rid:%s:%s” % (day, authorId)
rid
scan 0 match rid* count 5