Cache Problem

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

Moderator: Moderators

Cache Problem

Postby EinSIM » Fri Jan 30, 2009 9:56 pm

Hello,

i build a stat which refers to the table lookup_hole_cards and that cause big problems !!!
the problem is that the look_up table did not have a value for unknown cards and so it only show stats for
known cards on all stats.

here is the from clause of the cashe build :

FROM holdem_hand_player_statistics ,
holdem_hand_player_detail,
holdem_hand_summary,
lookup_actions lookup_actions_p,
lookup_actions lookup_actions_f,
lookup_hole_cards,
holdem_limit
WHERE (holdem_hand_player_statistics.id_hand = holdem_hand_player_detail.id_hand AND holdem_hand_player_statistics.id_player = holdem_hand_player_detail.id_player)
AND (holdem_hand_summary.id_hand = holdem_hand_player_statistics.id_hand)
AND (lookup_hole_cards.id_holecard=holdem_hand_player_statistics.id_holecard)
AND (holdem_limit.id_limit = holdem_hand_player_statistics.id_limit)
AND (holdem_hand_summary.id_hand = holdem_hand_player_detail.id_hand)
AND (lookup_actions_p.id_action=holdem_hand_player_detail.id_action_p)
AND (lookup_actions_f.id_action=holdem_hand_player_detail.id_action_f)
AND (holdem_limit.id_limit = holdem_hand_summary.id_limit)
AND (holdem_hand_player_statistics.id_player = 11032)
EinSIM
 
Posts: 74
Joined: Tue May 06, 2008 6:16 pm

Re: Cache Problem

Postby kraada » Sat Jan 31, 2009 10:01 am

You're correct that there is no "unknown" hole card value in that field; as a result you'll only see values from known hole cards. What sorts of problems is this causing?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Cache Problem

Postby EinSIM » Sat Jan 31, 2009 10:26 am

it cause the problem taht you only retrieve Stats for Hands with known holecards !!!
for example tab General.. in Player Summary i retrieve that one player has player ca 45.000 hands
and in the Player Statistics the Values are from holdem_cache and here are only about 1.500
hands and the values are about VPIP =98%, PFR=88 and so on.
you see the problem ?
EinSIM
 
Posts: 74
Joined: Tue May 06, 2008 6:16 pm

Re: Cache Problem

Postby kraada » Sat Jan 31, 2009 10:53 am

Oh I see what you mean. I would've thought that the stat for hands without holecards wouldn't return a value, but that it wouldn't necessarily cause things to be filtered out entirely.

I'll bring this to the attention of our head of QA. I'm not sure how soon we'll be able to get it fixed for you, though, I'm afraid. If you remove the stat from that report though (just click the little wrench at the top right of the report, and double click to remove that stat from the right column) you should see all of the hands on a player again.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Cache Problem

Postby WhiteRider » Sat Jan 31, 2009 11:37 am

Could you please use the Export button on the custom stats window to save your stat to a file and attach it to a ticket on our Support system , and link to this thread in the reference field of the ticket so that we can investigate.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Cache Problem

Postby EinSIM » Sat Jan 31, 2009 11:38 am

that did not solve the problem, because that only one effect, it also happend for the hud and so on, because the cache
was build with : (lookup_hole_cards.id_holecard=holdem_hand_player_statistics.id_holecard) and all things who
referred to the cache are wrong, now !!!
possible things to solve the problem :
- outer join
- a value in look up for unknown cards
EinSIM
 
Posts: 74
Joined: Tue May 06, 2008 6:16 pm

Re: Cache Problem

Postby EinSIM » Sat Jan 31, 2009 11:46 am

i didn't have this stat anymore, because i did build this in another way to solve the problem to me,
but i will try to rebuild it here

first try which cause the problem :

Code: Select all
sum( if[(
 lookup_hole_cards.hole_cards = 'AA'
 OR lookup_hole_cards.hole_cards = 'KK'
 OR lookup_hole_cards.hole_cards = 'AK'
 OR lookup_hole_cards.hole_cards = 'AKs'
 )

AND

(  holdem_hand_player_detail.amt_bet_p > 10 
   AND holdem_hand_player_detail.amt_bet_f = 0
   AND holdem_hand_player_detail.amt_bet_t = 0
   AND holdem_hand_player_detail.amt_bet_r = 0
   AND holdem_hand_player_statistics.flg_showdown

AND
      ((holdem_hand_player_statistics.amt_won / holdem_limit.amt_bb) > 75
        OR (holdem_hand_player_statistics.amt_won / holdem_limit.amt_bb) < -75)


)

 ,1  , 0 ])


second try, which did the same without the problems :
Code: Select all
sum( if[(
 holdem_hand_player_statistics.id_holecard = 1
 OR holdem_hand_player_statistics.id_holecard = 26
 OR holdem_hand_player_statistics.id_holecard = 2
 OR holdem_hand_player_statistics.id_holecard = 3
 )

AND

(  holdem_hand_player_detail.amt_bet_p > 10 
   AND holdem_hand_player_detail.amt_bet_f = 0
   AND holdem_hand_player_detail.amt_bet_t = 0
   AND holdem_hand_player_detail.amt_bet_r = 0
   AND holdem_hand_player_statistics.flg_showdown

AND
      ((holdem_hand_player_statistics.amt_won / holdem_limit.amt_bb) > 75
        OR (holdem_hand_player_statistics.amt_won / holdem_limit.amt_bb) < -75)


)

 ,1  , 0 ])
EinSIM
 
Posts: 74
Joined: Tue May 06, 2008 6:16 pm

Re: Cache Problem

Postby kraada » Sat Jan 31, 2009 12:58 pm

Thanks for the update, we'll make sure that the development team looks into the problem with the lookup function. I'm glad to hear you got a working version of the stat you wanted though.
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