Comments (4)
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.
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?
from redis-rdb-tools.
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.
Got it.
Thanks for replying, wait for your good news : ).
from redis-rdb-tools.
Related Issues (20)
- rdb -c memory , Throw an exception: "pkg_resources.DistributionNotFound: redis" HOT 2
- rdb -c memory dump.rdb --bytes 128 -f redis.csv HOT 1
- how to speed up the rdb parse process HOT 3
- question: how to restore redis 3.0.6 with redis 4.0's dump.rdb ?
- error:parser.parse(options.dump_file[0])
- Support RedisTimeSeries data format
- redis6 is or not support?
- Invalid export of large files
- verison ?
- What versions of Python and python-lzf are supported? HOT 2
- Could not find suitable distribution for Requirement.parse('redis') HOT 1
- Missing data
- how to see rdb-tools log? HOT 4
- Redis 7 Support HOT 7
- Invalid RDB version number 10 HOT 13
- Maintained HOT 2
- redis-memory-for-key not work for redis cluster HOT 2
- Q) How to save converted json file? HOT 3
- Bloom Filter Dump restore failing HOT 2
- datetime.datetime.utcfromtimestamp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redis-rdb-tools.