El dilluns 1 d’octubre de 2012 18:04:03 UTC+2, Josiah Carlson va escriure:
It has everything to do with your max ziplist entries. Below that
Ahhh, I see what happened.
> number, based on your configuration, Redis will store an encoded
> version of your data, whose encoding will depend on the data you are
> storing. In your case, because your values can be seen as a decimal
> number smaller than a signed long long integer, it will get encoded in
> a particular way, which is almost as short as your base-36
> In order for ziplist entry count to take effect, you may need to restart
I am working with Redis 2.4.0 compiled by hand under ~/redis. I thought
redis-server would pick redis/redis.conf automatically, but I see I need to
pass the file to redis-server explicitly.
With the 1024 configured the figures do match.