3 ms·
OP may want to try "INFO commandstats" to get the same metrics in a much cheaper way. Example output: # Commandstats cmdstat_info:calls=1,usec=57,usec_
by antirez 10y ago
OP may want to try "INFO commandstats" to get the same metrics in a much cheaper way. Example output:
# Commandstats
cmdstat_info:calls=1,usec=57,usec_per_call=57.00
cmdstat_cluster:calls=8,usec=211,usec_per_call=26.38
cmdstat_zrange:calls=4,usec=1990,usec_per_call=497.50
- partycoder 10y agoExcellent remark. Note that antirez is Salvatore Sanfilippo, the author of redis. Kudos