<p>Well, I am not sure if I got this question right but it sounds pretty strange to me that your wallet.dat file is changing its size. It is only storing your private key (most likely in an encrypted way) and should never change after it is created.</p>
<p>What most clients like bitcoin-qt are doing is to download the blockchain which may increase your wallet folder.</p>
<p>You can easily export the private key from this wallet.dat</p>
<p><a href="https://bitcoin.stackexchange.com/questions/4203/how-can-i-export-the-private-key-for-an-address-from-the-satoshi-client">How can I export the private key for an address from the satoshi client?</a></p>
<p>and use it to sign transactions with any other client.</p>

CC BY-SA 4.0
2021-07-08T15:14:20.737Z
This is incorrect. The wallet.dat file also stores transactions, labels, timestamps of synchronization, future derived keys, and various things you may want to import. It will almost certainly change size when it is being used.
Pieter Wuille
CC BY-SA 4.0
2021-06-08T14:53:36.413Z
2021-06-08T15:00:11.813Z
2021-06-08T15:00:11.813Z
user123206
<p>I've seen in many other QT wallets when you have too many transactions in the same wallet, your QT wallet will be very slow, I mean, when you try to switch from the tab overview to transactions, it will take a long time until the QT wallet responds.</p>
<p>One example is, a normal wallet.dat will have about 2MB, but when the wallet.dat has about 200MB this issue will start to happen.</p>
<p>I haven't tried this on the Bitcoin QT wallet because I can't reproduce this, at least I don't know how I could, but I am pretty sure that will also happen with the Bitcoin QT wallet because all coins basically forked Bitcoin code.</p>
<p>I would like to know if there is one solution for this kind of problem without the need to create a new wallet.</p>

CC BY-SA 4.0
2021-06-08T01:41:22.660Z
If you can't reproduce it, it doesn't sound like there is a problem?
Pieter Wuille
CC BY-SA 4.0
2021-06-08T01:42:36.527Z
Well it may be, I really would like to reproduce it, but can I?
Luca Blight
CC BY-SA 4.0
2021-06-08T01:47:03.303Z
It's very hard to provide a solution for a hypothetical situation...
Pieter Wuille
CC BY-SA 4.0
2021-06-08T01:54:55.797Z
Yes, I know, but I was thinking, maybe there is some solution for this already because at the beginning, I think people used to have wallets with many transactions once the Bitcoin price was too low, then they maybe saw some issue like that and someone made a solution that could still work nowadays.
Luca Blight
CC BY-SA 4.0
2021-06-17T01:12:36.000Z
@PieterWuille I just found this: https://bitcoin.stackexchange.com/questions/45712/random-the-operation-has-timed-out-errors-in-json-rpc Jonas's answer has everything to do with what I mean "due to loading bigger sets of data over RPC (example: a wallet with 100'000 wallet transactions)." would it have a workaround to when that happens?
Luca Blight
<bitcoin-core>
Workaround when the QT wallet is too slow
Luca Blight
# Workaround when the QT wallet is too slow

(Asked by: username_0 on 2021-06-08)

I've seen in many other QT wallets when you have too many transactions in the same wallet, your QT wallet will be very slow, I mean, when you try to switch from the tab overview to transactions, it will take a long time until the QT wallet responds.

One example is, a normal wallet.dat will have about 2MB, but when the wallet.dat has about 200MB this issue will start to happen.

I haven't tried this on the Bitcoin QT wallet because I can't reproduce this, at least I don't know how I could, but I am pretty sure that will also happen with the Bitcoin QT wallet because all coins basically forked Bitcoin code.

I would like to know if there is one solution for this kind of problem without the need to create a new wallet.

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: If you can't reproduce it, it doesn't sound like there is a problem?  
> **username_0**: Well it may be, I really would like to reproduce it, but can I?  
> **username_1**: It's very hard to provide a solution for a hypothetical situation...  
> **username_0**: Yes, I know, but I was thinking, maybe there is some solution for this already because at the beginning, I think people used to have wallets with many transactions once the Bitcoin price was too low, then they maybe saw some issue like that and someone made a solution that could still work nowadays.  
> **username_0**: @username_1 I just found this: https://bitcoin.stackexchange.com/questions/45712/random-the-operation-has-timed-out-errors-in-json-rpc Jonas's answer has everything to do with what I mean "due to loading bigger sets of data over RPC (example: a wallet with 100'000 wallet transactions)." would it have a workaround to when that happens?  

---

## 1 answers

### Answer by username_2 on 2021-06-08. Score: -1

Well, I am not sure if I got this question right but it sounds pretty strange to me that your wallet.dat file is changing its size. It is only storing your private key (most likely in an encrypted way) and should never change after it is created.

What most clients like bitcoin-qt are doing is to download the blockchain which may increase your wallet folder.

You can easily export the private key from this wallet.dat

[How can I export the private key for an address from the satoshi client?](https://bitcoin.stackexchange.com/questions/4203/how-can-i-export-the-private-key-for-an-address-from-the-satoshi-client)

and use it to sign transactions with any other client.

> **Comments:**
> **username_1**: This is incorrect. The wallet.dat file also stores transactions, labels, timestamps of synchronization, future derived keys, and various things you may want to import. It will almost certainly change size when it is being used.  

---

