I am using Redis version 6.0.7 and adopting the hash storage method. Approximately 3,000 keys are stored, with each key corresponding to a hashmap. Each hashmap contains roughly 100 to 1,000 key-value pairs. Under the circumstance that no one has deleted the data, some data in the hashmap has gone missing. Redis has not been restarted, and no one has been found to have deleted the keys; there are no anomalies in the Redis logs.
Comment From: sundb
@xiayang can you share the output of INFO ALL
?
Comment From: xiayang
@xiayang can you share the output of
INFO ALL
? use db5
info.log
Comment From: sundb
@xiayang i don't see the Commandstats section in your log. Did you give the INFO
instead of INFO ALL
?
Comment From: xiayang
@xiayang i don't see the Commandstats section in your log. Did you give the
INFO
instead ofINFO ALL
?
sorry, this data is info all
Comment From: sundb
cmdstat_hdel:calls=1708886873,usec=3532639940,usec_per_call=2.07
How did you determine that no one deleted the entryies in the hashes? I've seen quite a lot of hdel commands.