Code Monkey home page Code Monkey logo

Comments (4)

oranagra avatar oranagra commented on August 25, 2024

Can you please share some details about your key?
what type is it?, what encoding (OBJECT ENCODING key)?, number of fields or elements in the key, and if you know their sizes.
what redis version are you using? version and architecture (32bit or 64bit)?

can you try modifying redis_memory_for_key.py and pass your correct redis version to the redis_version argument of MemoryCallback?

from redis-rdb-tools.

VGHAZ avatar VGHAZ commented on August 25, 2024

Thanks for replying.

it is a sorted set with 3801696 members. My redis version is 3.2.4.

I can't find where is the redis_memory_for_key.py. Can you tell me where to find it?

default

from redis-rdb-tools.

oranagra avatar oranagra commented on August 25, 2024

looks like you're already using the right version (by default it calculates memory usage of redis 3.2), so there's no need to edit that script.
anyway, it looks like the memory estimations for sorted sets are inaccurate.
they need to be improved, but i don't currently have time to handle that, so it may take time..

from redis-rdb-tools.

VGHAZ avatar VGHAZ commented on August 25, 2024

Got it.

Thanks for replying, wait for your good news : ).

from redis-rdb-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.