Import Hands speed & hausekeeping with postgre

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Import Hands speed & hausekeeping with postgre

Postby koka778 » Thu Apr 30, 2009 7:49 am

Hi .
I remember I had speed of importing hands like 200 per second .
And now I created a new DB and started import and its about 60 H/sec .
Also , it's seem's to be changing every time , from 50 to 250 .
It's really big different , so what could it cause ?
And second question , can I do hausekeeping in Postgre ? Will it be faster ?
Which Postgre function's I've gotta use to do like in PT ( clustering,vacuuming,analysing,updating) .
[ img ]
Ty
koka778
 
Posts: 47
Joined: Sun Nov 16, 2008 12:49 pm

Re: Import Hands speed & hausekeeping with postgre

Postby kraada » Thu Apr 30, 2009 9:08 am

You should do the housekeeping within PT3; click Database --> Housekeeping and run all of the housekeeping options on your database; you will find that it does help quite a bit if you have imported a lot of hands and never done it.

The PT3 import does slow down after the initial sessions because PT3 needs to check to make sure that the new hands aren't part of an already imported session, among other things. The drop does seem a bit larger than I would expect (mine goes from about 100h/sec on a new database to about 50h/sec on a database with a couple million hands), so try the housekeeping and that ought to help some.

Also, defragging your hard drive may help.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Import Hands speed & hausekeeping with postgre

Postby koka778 » Thu Apr 30, 2009 10:34 am

Ok. Thanks for helping out !
What you think , could I tuning up a postgre in configuration file a bit somehow , so it could improve the speed of importing hands and housekeeping .
If yes , what exactly can I change there ? Did you change somethings for your self ? If yes , could you attach your postgresql.conf file?
Or it's better to live it original ?
May be there allready some thread about it ?
Ty .
koka778
 
Posts: 47
Joined: Sun Nov 16, 2008 12:49 pm

Re: Import Hands speed & hausekeeping with postgre

Postby kraada » Thu Apr 30, 2009 11:14 am

Actually there is already a thread about that, see the Performance Tuning: PostgreSQL for the details. It can help quite a bit depending on your setup.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests