BillGatesIII wrote:We do have all the chip counts, they are calculated inside the function. Otherwise, I don't know how to determine the ranks.
What threw me off was that you mentioned that it was going through all their hands??? I still don't know why each starting hand and the very first hand stacks are not in the DB
Anyways, tested with only 2 (SNG & 5050) and then laster a 3rd SNG and this is what is happenning:
Definitely something to do with all the player's hands they have in total.
- Previously I tested it with all 1st timers and then a SAT with a lot of regs. It's with the Sats I noticed a big hit in performance since I have a lot of hands on them.
- Today played with some players with a few hundred hands and their ranking was always at the top 2 regardless of chip counts.
- Couldn't switch to session stats
- CPU utilization up to 50 % automatically.
Looks like all hands are being searched.
If you plan on messing around with this later, i would suggest removing the ranking and just displaying the chip count that your function is calculating to see what's happening at that point. And then look at the ranking as a separate stat to compare side by side.
i know about zero on postgres and I plan on keeping it at that level