mousexplore-vcoins icon indicating copy to clipboard operation
mousexplore-vcoins copied to clipboard

Disk Space parsing Bitcoin data

Open mvcastellari opened this issue 7 years ago • 4 comments

I'm parsing all bitcoin data but im on block 230k and the mongo already have almost 120gb. From what I calculate it will need almost 3terabytes to storage everything, is there any changes i can do to store only critical data? (like for addresses it would be ok to store only the transactions txid instead of all the transaction info, i think this is what consume more space).

Please help, I'm not familiar with mongodb + node and after reading all the files I cant find on how to do those changes.

mvcastellari avatar Dec 05 '18 14:12 mvcastellari

are you checking only the mongodb size? Ours isn't taking up 3TB space.

gedanziger avatar Dec 05 '18 22:12 gedanziger

Yes, the current database is bitcoin-db as you can see on this pic https://imgur.com/a/nXddYlz

But I'm not running the node on prune mode, maybe that's the difference between us?

mvcastellari avatar Dec 05 '18 22:12 mvcastellari

in mousebelt btc node, chain data is 227GB.

mongodb size is not big. image

0xweb3builder avatar Dec 06 '18 05:12 0xweb3builder

Your explorer doesn't store everything, as you can see for example our address 1BrasiLb2KMbdtuhb1chAVnS2FvcNGfV9J has only 28 transactions on http://mousexplore.mousebelt.com/btc/address/1BrasiLb2KMbdtuhb1chAVnS2FvcNGfV9J but on blockchain it have more than 10k. But maybe there's nothing that can be done to store all blockchain data with low disk space, I'll try to improve my droplet.

mvcastellari avatar Dec 06 '18 13:12 mvcastellari