Comments (13)
redis-dump -u :[email protected]:6379 -D -d 3 -c 500 > ./redisprodb3.json
use -c set chunck size,一次500条,可规避timeout
from redis-dump.
from redis-dump.
What is the timeout value set in your redis.conf
? Try increasing that. You can do it without editing the config or restarting using redis-cli
:
$ redis-cli
> config get timeout
> config set timeout 120
> config get timeout
from redis-dump.
0, it is always be 0. Well, other client works well, I guess maybe the huge keys cause the problem(consume too many memory stuff).
from redis-dump.
Do you know how large the key is (estimated)?
from redis-dump.
I use "keys *" on a smaller redis instance(around 30,000 results), it works. And on the large one(more than 10,000,000 results return), it failed.
from redis-dump.
Seems to timeout 0 doesn't work as assumed. When I'm setting to 0 I'm getting many timeouts (from other clients also), when set to 120 works more stable ... strange
from redis-dump.
Having this issue when dumping a keyspace of 8 million. Timeout is set for a huge number but redis-dump
times out after a couple seconds.
from redis-dump.
Ya, I imagine that's annoying.
@shortdudey123 what's the timeout set to in your redis.conf
.
from redis-dump.
@delano not sure off the top of my head, but its several hours
from redis-dump.
Same issue for me - timeout after few secs, even if filter is applied in order to dump small amount of keys
from redis-dump.
It's also slow as shit because it doesn't use pipelining.
Look for util elsewhere.
from redis-dump.
i have meet the same promblem. How can i resovle it?
from redis-dump.
Related Issues (20)
- No support for rdb file? HOT 3
- My redis password contain '@' HOT 4
- Password contains '/' gives error. HOT 1
- Error on alpine HOT 1
- when I dump ali redis cluster version data have this error HOT 2
- undefined method `connect' for Redis:Class HOT 9
- support filtering keys
- [Feature Request] Support rediss protocol HOT 1
- ERROR (Yajl::ParseError): lexical error: invalid bytes in UTF8 string HOT 2
- mkmf.rb can't find header files for ruby HOT 1
- ERR SELECT is not allowed in cluster mode HOT 1
- select another database for import HOT 1
- Overloading of Enumerable#chunk
- Unable to use redis-dump for data export
- redis cluster env CROSSSLOT Keys in request don't hash to the same slot
- ERROR (Yajl::ParseError): lexical error: invalid char in json text. HOT 1
- Error: uninitialized class variable @@schemes HOT 7
- Update uri-redis dependency to v1.0.0
- `redis-load` has some problems executing `sadd` HOT 1
- TimeoutError 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-dump.