Quote:
Originally Posted by IchBinEt
I bought a new pc with a sdd to increase speed. installed hm1 and started importing hands (1,7GB) yesterday for like 12 hours, continued today for about 2hrs.
the ssd is only 95GB and now there is no more space left although importing wasn't finished yet. so i checked the holdem manager folder which has 44,6 GB and the postgresql folder which has 18,3 GB (the rest of the space is for the system).
is there a way I can manually delete old files without losing hands or does it really need that much space?
There is no reason for the HM folder to take that much space. What files are taking up all that space? During an import some of the temp/work files can take a lot of space but after the import is finished that folder shouldnt be bigger than a few 100mb.
Try using windirstat to help find what is taking the space - windirstat.info
Quote:
Originally Posted by malloc
IchBinEt: Did you turn off logging in postgresql? If not, turn it off and you can delete the existing logs.
Quote:
Originally Posted by IchBinEt
how can I do that? can i delete the folder pg_log (4GB)?
Quote:
Originally Posted by IchBinEt
I deleted the content of pg_log (4GB) and now have like 40GB new space.. whaat? nice
Logging:
I would suggest you turn off logging on your SQL installation.
To turn off logging, follow these instructions. This is the first thing I do anytime I install SQL for someone. HM1 and HM2 installers disable logging during installation now.
- Start > My Computer > Tools > Folder Options > View > UnCheck 'Hide Extensions for known file types' > OK
- C:\Program Files\PostgreSQL\data\postgresql.conf > Right-Click > Open With.. > NotePad > Check 'Always use this program'
- Scroll about half way down to ~Lines 245 - 260:
- The last line of this block of code, for the 'logging_collector', must be changed from On to Off.
HTML Code:
------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------
# - Where to Log -
log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.
# This is used when logging to stderr:
logging_collector = off # Enable capturing of stderr and csvlog
File > Save; File > Close
Start > Programs > PostgreSQL 8.3 > Reload Configuration.
- Start > My Computer > C:\Program Files\PostgreSQL\data\pg_log, or C:\Program Files (x86)\PostgreSQL\data\pg_log, if you have 64 bit Vista. Delete all files in that folder. And it might be a good idea to empty your recycle bin at that point, or use a 3rd party utility like CCleaner to clean up all your junk/temporary files.