postgressql taking FOREVER when loading player list

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

Moderator: Moderators

postgressql taking FOREVER when loading player list

Postby divi2323 » Fri Feb 06, 2009 8:01 pm

I'm not sure if this is postgres or pokertracker. apologies if it's the other, and feel free to move this thread.

I recently upgraded to build 4. was working fine for a couple of hours. before bed, I ran all the housekeeping functions (took about 2 hours on my 4gb database).

now, when I load PT and go into either the cash games, or tournaments tab, the list of players on the left displays "loading". normally i'm ok with this, i've got a big database, i'm a big boy, I can wait for it.

however, It has happend several times over the last few days. my cpu has shot to 100% and it sits there for HOURS and never loads the list of players, nor the hands, nor can i even analyze my own game when I need to.

So i let this run overnight. I started it up, no poker clients running, no import running. the next morning it was STILL loading the players. cpu usage is 100% for postgres.exe of course, and I assume this is normal, but 9 hours to load the data? not pleasant.

In order to make my computer come back from the dead, I have to stop the postgres system service (windows xp sp2 on laptop with 2gb ram) and reload pokertracker to start my imports. I've increased the buffers available to posgres, but it doesnt seem to help.
divi2323
 
Posts: 34
Joined: Wed Aug 13, 2008 9:56 pm

Re: postgressql taking FOREVER when loading player list

Postby ChromaKey » Sat Feb 07, 2009 5:30 am

hi,

see my thread in here about the same problem i i have with build 4...

initially it looked like a corrupt db for me...

however, i have been re-building a new build 4 db from a build 3 export -i'm still in the middle of this but it looks so far that when i import just the hands, the populating time is fine, however, when i wack the tournie summaries in, i get the same problem as you - and the memory occupancy of pt jumps to over a gig.

i figure it's probably all the additional players with tournie results but with no hands that have "bloated" the db - i tried the selective purge for "players w/o hands", but that stalled, so i've got to try it again...

hth

make sure we keep in touch, sounds like we've got the same problem
ChromaKey
 
Posts: 44
Joined: Wed Feb 04, 2009 12:01 pm

Re: postgressql taking FOREVER when loading player list

Postby kraada » Sat Feb 07, 2009 10:17 am

Eventually the Purge Players Without Hands function on the Database --> Purge... menu will remove players with no hands and just tournament results but it doesn't do that at this point.

There is a manual workaround, and it is detailed in this thread, though it's a bit involved.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: postgressql taking FOREVER when loading player list

Postby divi2323 » Sun Feb 08, 2009 1:48 am

stepped through the workaround, the sql scripts ran successfully.

However... the problem still exists.
divi2323
 
Posts: 34
Joined: Wed Aug 13, 2008 9:56 pm

Re: postgressql taking FOREVER when loading player list

Postby RaineTech » Sun Feb 08, 2009 4:02 am

Me and every other person I've talked to that uses PT3 is having this problem too since updating to build4. Seems dumb that support just keeps saying its an isolated problem and fill out support tickets when this seems to be happening to all tourney players. Fwiw my cash section works fine. I even tried building a new db and I'm still having same problems and it's ridic annoying.
RaineTech
 
Posts: 4
Joined: Sat Apr 12, 2008 7:11 pm

Re: postgressql taking FOREVER when loading player list

Postby kraada » Sun Feb 08, 2009 10:31 am

RaineTech,

The more data we get on the situation the easier it is for us to figure out what's going on. The issue didn't affect anybody in alpha testing or beta testing or we would've fixed it before the release of Build 4. If you could please submit those log files as well it would help us in making sure this gets fixed sooner rather than later.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: postgressql taking FOREVER when loading player list

Postby ChromaKey » Mon Feb 09, 2009 10:01 am

Guys,

Trying doing what I've done: export from Build 4; re-import JUST hands, not tournie summaries, back into a new db - i think it has to do potentially with an enormous number of tournament players in your db with results, but no hands - as a cross check: note the total number of players when it's unusable (with all the tournie players - it my case over 800k), then re-import just the hands and see how much the total players drops - in my case, down to 35k) and the performance improved no end.

The only pain has been to manually re-enter my tourney results solely, and therefore not cloud the db with all the others that i'm not really interested in.

I still haven't completed this tedious task, but will report back in due course.

As an example, and i stand to be corrected here, if you played the Stars world record tournie and then imported the completed tournie, bang, you get 35k players in your db - maybe if you ran good you probably only met say 150 in hands, therefore only 150 results are probably of interest, or if you're being brutal, only ONE result matters; yours...

We need a option to select carefully who gets imported: default: just you, option: "all" boom :o and free-form text box for a few of your mates maybe???
ChromaKey
 
Posts: 44
Joined: Wed Feb 04, 2009 12:01 pm

Re: postgressql taking FOREVER when loading player list

Postby kraada » Mon Feb 09, 2009 11:30 am

We've had suggestions like this before and I suspect they'll get implemented eventually, I just don't know at what point they'll be added.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: postgressql taking FOREVER when loading player list

Postby divi2323 » Mon Feb 09, 2009 1:05 pm

I too played the world record tournament on PokerStars. most likely it's one of hte causes of bloated numbers of tournament people.

at any rate, an optimized query or stored procedure should take care of most of this at the application and database levels. (I used to develop document importing apps for a company, and i'm a DBA these days)

The way i've worked around the problem is I just simply dont go into the tournament tab in PT3. it's a drag because I cant view my tournament winnings, but i'm sure that the issue is being looked at and the next beta release should correct the problem. I'm sure if I started a new database and simply reimported all of my hands everything would be fine, but I dont feel like sitting through 3 days of import myself.
divi2323
 
Posts: 34
Joined: Wed Aug 13, 2008 9:56 pm

Re: postgressql taking FOREVER when loading player list

Postby kraada » Mon Feb 09, 2009 3:00 pm

Divi,

As a DBA I'm sure you'll be able to run the queries from the thread that I linked. They will remove players that have no hands and just tournament results from the database and that really should fix things for you. The only reason I said it was a bit involved was in case anybody was terrified of the idea of running a query from the command line :)
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests