For sure, PT3 leaves logging on. I have seen 120gb DBs with 80 - 100gb of log files.
Logging:
I would suggest you turn off logging on any SQL install as well as some basic tuning.
http://faq.holdemmanager.com/questio...tgreSQL+Tuning
To turn off logging, follow these instructions. This is the first thing I do anytime I install SQL for someone.
- 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. You want to do this before you get to the vacuum and defrag process.
Regarding database maintenance:
PT3 and HM (now) has built in DB Maintenance steps you should run once a month or more. You should defrag at least once a month also.
You need to Stop the PostgreSQL service so the Defragmenter can Defrag the Database.
Start > Programs > PostgreSQL 8,4 > Stop Server
Open Smart Defrag > Select both drive letter checkboxes > Analyze
Pick suggested Defrag process > Start Defrag
After Smart Defrag finishes you should restart your computer.
If you need to use HM before you restart your PC, then you need to Start Server.
Start > Programs > PostgreSQL 8,4 > Start Server