confusion

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

confusion

Postby thetruest » Mon Oct 20, 2008 11:25 pm

I've briefly skimmed through the postgre faqs, and quick guides. I have postgre 8.2, and while dling pt3 noticed the version without, and I realized my postgre folder is over 3 gigs big. Why is it so big? I don't remember it being large at all when i got it, My c: drive is already running little low on space. If i get PT3 w/ 8.3 will that be added or installed on top of it? Can a PC have both 8.2 and 8.3 since PT2 doesn't fully support 8.3?

Why is 8.3 recommended for pt3 and what is the difference between that and 8.2?
thetruest
 
Posts: 39
Joined: Sat Apr 12, 2008 3:47 pm

Re: confusion

Postby WhiteRider » Tue Oct 21, 2008 4:25 am

You *can* have both installed and running as long as they are configured to run on different ports.
Alternatively, you can just use 8.2 with PT3.
8.3 will give slightly better performance, but while you're still using PT2 and PT3 together, it will be simpler to just use 8.2.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: confusion

Postby thetruest » Tue Oct 21, 2008 4:20 pm

so why is my postgre folder so big?
thetruest
 
Posts: 39
Joined: Sat Apr 12, 2008 3:47 pm

Re: confusion

Postby WhiteRider » Tue Oct 21, 2008 5:55 pm

What have you done with postgres?
Have you got PT2 databases?
If you ran PT3 then it will have created a database for you, but unless you've imported hands into it it won't be very big.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: confusion

Postby thetruest » Tue Oct 21, 2008 8:20 pm

WhiteRider wrote:What have you done with postgres?
Have you got PT2 databases?
If you ran PT3 then it will have created a database for you, but unless you've imported hands into it it won't be very big.



that's the thing i can't remember doing anything to it. Does the size of my database affect taht? I have a few backups of my database on a totally different drive but that's it.
thetruest
 
Posts: 39
Joined: Sat Apr 12, 2008 3:47 pm

Re: confusion

Postby WhiteRider » Wed Oct 22, 2008 4:39 am

If you've got backups of your databases, then you have databases, yes?
How many? Are these PT2 DBs? How big are they?
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: confusion

Postby thetruest » Tue Nov 11, 2008 1:59 pm

WhiteRider wrote:If you've got backups of your databases, then you have databases, yes?
How many? Are these PT2 DBs? How big are they?


Sorry for being late to get back, forgot about this thread. I have only 1 big postgre db, and the original Access version with no hands in it. Last weekend i created a new postgre database with several thousand hands but thats it

I have several backups at differnt points for the main postgre database, none of them are under "maintain db names".
thetruest
 
Posts: 39
Joined: Sat Apr 12, 2008 3:47 pm

Re: confusion

Postby kraada » Tue Nov 11, 2008 2:17 pm

Try vacuuming your databases and see if that helps. If the databases aren't too large but have had data added and removed but haven't been vacuumed the space won't actually be freed up for general use.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: confusion

Postby thetruest » Tue Nov 11, 2008 2:29 pm

kraada wrote:Try vacuuming your databases and see if that helps. If the databases aren't too large but have had data added and removed but haven't been vacuumed the space won't actually be freed up for general use.


what is vacuuming?
thetruest
 
Posts: 39
Joined: Sat Apr 12, 2008 3:47 pm

Re: confusion

Postby kraada » Tue Nov 11, 2008 2:30 pm

Vacuuming is a PostgreSQL function to recover used space from deleted rows. In PTv2, Utilities --> PostgreSQL Database Functions ... and run a Vacuum Full/Analyze and see if that recovers the space for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Next

Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests