Bitcoin Forum
May 24, 2022, 02:50:33 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Any way to reduce the size of the Bitcoin dir in windows?  (Read 2879 times)
LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
June 23, 2013, 07:07:19 PM
 #1

My C:\Users\[username]\AppData\Roaming\Bitcoin directory has ballooned up to approx. 17 GB and I feel like this is larger than it needs to be...

This is an old install that has been running since basically v0.3 and has never been modified or cleaned out.

Is there a way I can reduce this file size? and which files would be safe to delete to attempt this? I am ok having to redownload portions of the block chain but I don't want to lose my addresses...obviously (I assume wallet.dat is the only "really important" file I need to keep?)



EDIT: Sorry I realized this may actually be in the wrong forum section...please move this topic if it would be better suited somewhere else
1653360633
Hero Member
*
Offline Offline

Posts: 1653360633

View Profile Personal Message (Offline)

Ignore
1653360633
Reply with quote  #2

1653360633
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1653360633
Hero Member
*
Offline Offline

Posts: 1653360633

View Profile Personal Message (Offline)

Ignore
1653360633
Reply with quote  #2

1653360633
Report to moderator
w00dy
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
June 24, 2013, 04:37:36 AM
 #2

simply delete everything except for the wallet.dat.

the satoshi client will download a new, fresh blockchain (around 10GB).

If you are on a SSD without a Sandisk Controller you can even save around 1 more GB by compressing the Blockchain with NTFS compression.  Cool
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
June 24, 2013, 08:03:15 AM
 #3

simply delete everything except for the wallet.dat.

the satoshi client will download a new, fresh blockchain (around 10GB).

If you are on a SSD without a Sandisk Controller you can even save around 1 more GB by compressing the Blockchain with NTFS compression.  Cool

SSDs are good for small files, unless that's all the machine has, why would you want to waste SSD space for large bloated files?

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
piotr_n
Legendary
*
Offline Offline

Activity: 2054
Merit: 1234


aka tonikt


View Profile WWW
June 24, 2013, 09:25:07 AM
 #4

My C:\Users\[username]\AppData\Roaming\Bitcoin directory has ballooned up to approx. 17 GB and I feel like this is larger than it needs to be...
You might have the old block database, which you won't need anymore.
I don't remember though which folder it was, but it should be a second that has a few gigs of files.

Also I believe if you have NTFS (and most windows users do), you can order your system to compress the folder - that would also save you some space.

Check out gocoin - my original project of full bitcoin node & cold wallet written in Go.
PGP fingerprint: AB9E A551 E262 A87A 13BB  9059 1BE7 B545 CDF3 FD0E
LobsterMan
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
June 25, 2013, 01:03:58 AM
Last edit: June 25, 2013, 01:49:13 AM by LobsterMan
 #5

I have blk001.dat - 003 and index in my main Bitcoin dir, then there is another dir Blocks that seems to have similarly named files, these look like they have a more recent last modified date...so I guess these are the ones I want to keep?

EDIT: nuked everything except bitcoin.conf and wallet.dat and all seems well; had to redownload the blockchain again but that is no problem
w00dy
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
June 25, 2013, 05:45:03 AM
 #6

simply delete everything except for the wallet.dat.

the satoshi client will download a new, fresh blockchain (around 10GB).

If you are on a SSD without a Sandisk Controller you can even save around 1 more GB by compressing the Blockchain with NTFS compression.  Cool

SSDs are good for small files, unless that's all the machine has, why would you want to waste SSD space for large bloated files?

- SSD's are good for big files
- SSD's are good for small files
- downloading/checking the blockchain cause a shitton of i/o. Thats something SSD's are very good at.

even with the size of the blockchain it simply does not matter anymore if you get 250GB for 160-170 USD.

IMO ofc..
HeroC
Legendary
*
Offline Offline

Activity: 859
Merit: 1000



View Profile
June 27, 2013, 01:39:46 PM
 #7

Re download Blockchain, then if you are on windows, right click the blocks folder, click advanced then check "Compress Content to save disk space".  It will bring it down a little.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!