Memory usage command gives different result when executed via LUA script

26 views
Skip to first unread message

Nancy Gandhi

unread,
Sep 11, 2017, 5:46:24 AM9/11/17
to Redis DB
With Redis 4.0.1 ,memory usage "key1"

and

eval "return redis.call('memory','usage','key1')" 0 


returns different values. can you please help??? Is this the expected behaviour?

Regards,
Nancy

memory.JPG

Itamar Haber

unread,
Sep 11, 2017, 8:14:44 AM9/11/17
to Redis DB
Hi Nancy,

This isn't the expected behavior - I suggest you report this in the project's repository.

--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+unsubscribe@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.



--

Itamar Haber | Chief OSS Education Officer
Redis Labs ~/redis

Mobile: +972 (54) 567 9692
Twitter: @itamarhaber
Skype: itamar.haber

Reply all
Reply to author
Forward
0 new messages