Giter VIP home page Giter VIP logo

Comments (13)

jason-gao avatar jason-gao commented on August 15, 2024 2

redis-dump -u :[email protected]:6379 -D -d 3 -c 500 > ./redisprodb3.json

use -c set chunck size,一次500条,可规避timeout

from redis-dump.

wuhuaxu avatar wuhuaxu commented on August 15, 2024 1

#26

from redis-dump.

delano avatar delano commented on August 15, 2024

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.

highkay avatar highkay commented on August 15, 2024

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.

delano avatar delano commented on August 15, 2024

Do you know how large the key is (estimated)?

from redis-dump.

highkay avatar highkay commented on August 15, 2024

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.

jaleszek avatar jaleszek commented on August 15, 2024

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.

shortdudey123 avatar shortdudey123 commented on August 15, 2024

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.

delano avatar delano commented on August 15, 2024

Ya, I imagine that's annoying.

@shortdudey123 what's the timeout set to in your redis.conf.

from redis-dump.

shortdudey123 avatar shortdudey123 commented on August 15, 2024

@delano not sure off the top of my head, but its several hours

from redis-dump.

pzhuk avatar pzhuk commented on August 15, 2024

Same issue for me - timeout after few secs, even if filter is applied in order to dump small amount of keys

from redis-dump.

celesteking avatar celesteking commented on August 15, 2024

It's also slow as shit because it doesn't use pipelining.
Look for util elsewhere.

from redis-dump.

tianyu4552 avatar tianyu4552 commented on August 15, 2024

i have meet the same promblem. How can i resovle it?

from redis-dump.

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.