Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Big wallet, Flushing wallet.dat is quite slow #2511
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
sipa
Apr 11, 2013
Owner
Agree, this is a problem. It will likely be fixed when we move to non-BDB wallets.
|
Agree, this is a problem. It will likely be fixed when we move to non-BDB wallets. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
007pig
commented
Apr 11, 2013
|
When will it happen do you know? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
007pig
Apr 12, 2013
CTxMemPool::accept() : accepted 8a01e91659 (poolsz 691)
ThreadRPCServer method=move
CTxMemPool::accept() : accepted 954115b276 (poolsz 692)
Flushed wallet.dat 5071ms
ThreadRPCServer method=getreceivedbyaddress
ThreadRPCServer method=getbalance
CTxMemPool::accept() : accepted 542b3860e4 (poolsz 693)
ThreadRPCServer method=listtransactions
Flushing wallet.dat
CTxMemPool::accept() : accepted 0b274c1c36 (poolsz 694)
Added 2 addresses from 68.119.78.5: 239 tried, 15033 new
CTxMemPool::accept() : accepted 24ca9ce2e4 (poolsz 695)
ThreadRPCServer method=move
Flushed wallet.dat 4546ms
You can see that the wallet.dat is keeping flushed and slow down everything. Can we make the flushing not so frequently? Can I increase 'dbcache' to speed it up?
007pig
commented
Apr 12, 2013
|
CTxMemPool::accept() : accepted 8a01e91659 (poolsz 691) You can see that the wallet.dat is keeping flushed and slow down everything. Can we make the flushing not so frequently? Can I increase 'dbcache' to speed it up? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment
Diapolo
Apr 12, 2013
AFAIK that Wallet flush thread was introduced by @gavinandresen the way it is currently working with Git master, perhaps we need to re-think how often the wallet is flushed, dunno not my playground ^^.
Diapolo
commented
Apr 12, 2013
|
AFAIK that Wallet flush thread was introduced by @gavinandresen the way it is currently working with Git master, perhaps we need to re-think how often the wallet is flushed, dunno not my playground ^^. |
toxicwind
referenced this issue
in dogecoin/dogecoin
Jan 20, 2014
Closed
RPC Lockup Issues with Large Wallets #128
laanwj
added
the
Wallet
label
May 3, 2014
laanwj
added
the
Resource usage
label
Feb 16, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment Hide comment|
I believe this is currently fixed in master. |
007pig commentedApr 11, 2013
I have a wallet with many transactions. It's around 200M. and each wallet flushing takes 4 seconds and blocks JSON RPC calls.
I think it should be improved.