mysql - Get maximum value of number of keys (hlen) for hashes that match given pattern in Redis -


i have many records start pattern shown below:

user:8d6120be2e7247e49545502092c389fd and

user:000935dc3bb16bd2e0de50988751acfd

though hash represent user object, 1 hash may have more keys other. if user manager may have few additional keys reportees, benifits etc., without looking records there way know maximum number of keys in hash? in process of converting redis structure in relational schema , gives me idea on columns should present.

just use hlen if user:<hash> key hset. of data structures in redis have way len:


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -