PostgreSQL: 17.2GB, PTbackup: 400mB?

Forum with tips, support, etc, on using the PostgreSQL database with Poker Tracker. Please post any PostgreSQL questions here.

PostgreSQL: 17.2GB, PTbackup: 400mB?

Postby psl86 » Thu Jun 19, 2008 3:08 pm

How come is my postgreSQL folder that big? I just purged every other observed hands, and all that is left is my own 100 000ish hands.. If I backup my PTdatabase, the file is only 400MB.. DOesnt make any sense..
psl86
 
Posts: 57
Joined: Fri Mar 07, 2008 2:10 pm

Re: PostgreSQL: 17.2GB, PTbackup: 400mB?

Postby ptrack pat » Thu Jun 19, 2008 3:18 pm

#1. Did you do a FULL vacuum/analyze after you purged all these hands? If not, you need to.

#2. The backup file is a compressed file, that's why it's so much smaller.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: PostgreSQL: 17.2GB, PTbackup: 400mB?

Postby psl86 » Thu Jun 19, 2008 4:26 pm

I didnt vacuum afterwards...Ill do that first.
psl86
 
Posts: 57
Joined: Fri Mar 07, 2008 2:10 pm

Re: PostgreSQL: 17.2GB, PTbackup: 400mB?

Postby psl86 » Thu Jun 19, 2008 6:19 pm

yeeeeeeeeeeeeees............... 400mb of free space..
psl86
 
Posts: 57
Joined: Fri Mar 07, 2008 2:10 pm


Return to PostgreSQL Forum

Who is online

Users browsing this forum: No registered users and 0 guests