Adjust limits very slow

General discussion of PokerTracker 3.

Moderator: Moderators

Adjust limits very slow

Postby polk3 » Tue Aug 07, 2012 9:33 am

Hey,

I've noticed recently that Adjust Limits is very slow to populate the players list. It will take 5-10 minutes. There are indeed some 300k players in the db, but still.

The query below appears to be the one that takes time. I tried running it in pgadmin, and it completes in seconds.

Normal behaviour, known issue or something that needs to be reported?

I'm also seeing similar slow performance in the Purge dialog. Sometimes I also see corrupted player/session lists, where clicking on a particular player doesn't give sessions for that player. And all players don't appear to be in the list. PT3 version is 3.13.9

Code: Select all
2012/08/07 14:43:26.519: [00000EA0][Query::QueryThread] Thread [0x00000EA0]: Begin
2012/08/07 14:43:26.532: [00000EA0][Query] Connecting to database: PokerTracker 3 Database
2012/08/07 14:43:26.533: [00000EA0][Query] Executing SQL (Thread):   SELECT id_player,   id_site,   player_name,   val_icon  FROM player  WHERE  id_player > 0   AND id_player_alias = 0   AND id_player <> 0 ORDER BY player_name_search asc
2012/08/07 14:43:27.313: [00000EA0][Query] Query execution time: 779.43314682 ms
2012/08/07 14:43:27.339: [00000EA0][QueryReportCtrl::Populate] Thread [0x00000EA0]: Begin
2012/08/07 14:44:13.320: [00000EA0][QueryReportCtrl] Query 6: Populate: 45980.3860 ms, 336476 rows, 6 cols, 0.0228 ms/col (time log: Query 6: t0: 0.2949 ms, t1: 596.5985 ms, t2: 45383.4090 ms, t3: 0.0044 ms, t4: 0.0044 ms, t5: 0.0116 ms, t6: 0.0068 ms)
polk3
 
Posts: 67
Joined: Thu Aug 05, 2010 1:31 pm

Re: Adjust limits very slow

Postby kraada » Tue Aug 07, 2012 12:07 pm

This is a known issue with the population control in PT3 and there isn't much that can be done about it.

You'll find that these things work much more quickly in PT4 though.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Adjust limits very slow

Postby polk3 » Wed Aug 08, 2012 6:29 am

Ok, thx.
polk3
 
Posts: 67
Joined: Thu Aug 05, 2010 1:31 pm


Return to General [Read Only]

Who is online

Users browsing this forum: No registered users and 27 guests

cron
highfalutin