HowTo: Working Tournament M Values + Get M Specific Stats

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby kraada » Mon May 24, 2010 2:52 pm

When you add a new column as needed for a new stat, the entire cache needs to be rebuilt in order to get the data for that new column. I suspect that what's going on here is that whatever is happening behind the scenes for this function takes a whole lot longer when going through every hand for every player - thus causing immense slowdown on the first cache update run. After that it only needs to update the data based on what's new - so it'll be a lot faster (and when you're playing, it's actually done after each hand is auto imported).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby silvia » Tue May 25, 2010 5:39 am

Ok. This can't be right. I never had to wait more than 40 minutes. I am only updating the cache, and it is still running after 24:26:00. How can I check that it didn't get stuck somewhere? I need to work! :(
S.
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby WhiteRider » Tue May 25, 2010 6:33 am

If you look at Task Manager > Processes are any of the postgres.exe processes doing any work? If so, or if there is a lot of disk activity still going on then it is still working.
If you have logging enabled you can also check the end of the PokerTracker3.log file to see what stage it is at.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby silvia » Tue May 25, 2010 8:24 am

well, I lost it and stopped everything. I reinstalled SQL. I built a new db, imported the hands, and got to the updating cache part. The log file on sql is updating now, but keeps saying:

WARNING: there is already a transaction in progress

Is this normal? It has been running already for 46 minutes. And again, never took so long :(

S.
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby WhiteRider » Tue May 25, 2010 8:36 am

Try rebooting your computer - it sounds like postgres is still doing something from your last run.
Be sure to Rebuild Cache rather than Update, that will be much faster for a new database.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby silvia » Wed May 26, 2010 12:55 am

Yes, it worked! I did have to re-install postgre and I created a new database. Now my log files are clean of erros :D
(I will have to start all the process again to set up the M, may be another day once I learnt more about SQL...I need to go back to my analysing my data now)
Thank you guys so much for your support,

S.
silvia
 
Posts: 41
Joined: Thu May 29, 2008 4:12 am

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby MixMastaPJ » Wed Jun 02, 2010 7:53 pm

I've opened up pgadmin and am completely lost on how to do any of this. Any chance for some pictures or an easier description? I don't want to spend $50 on TableNinja if this is the only feature of it I would want.
MixMastaPJ
 
Posts: 15
Joined: Sat Sep 12, 2009 12:48 am

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby AAA Donnie » Thu Jun 03, 2010 3:53 am

Is there a simple way to add M and/or # of bb yet?

Such as importing the custom stat?

Will it be in future updates?

I have never done one of these custom stats for my HUD or have any clue about "this stuff" (ie programming languages, etc.)

At 1st glance these steps are pretty intimidating to someone who is a "computer dummy."

This is an extremely relevant statistic. Why is it available in HEM and not PT3? After bragging up PT for years now, ALL I keep hearing about are features that HEM has, that PT3 does not.

Help! please? I need these stats on my HUD asap.

TY
AAA Donnie
 
Posts: 85
Joined: Fri Apr 25, 2008 11:46 pm

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby kraada » Thu Jun 03, 2010 8:32 am

There will be a simple way to add this statistic at some point, but it is not as simple to add as it may seem. At this point in time I don't know when this feature will become available.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: HowTo: Working Tournament M Values + Get M Specific Stats

Postby AAA Donnie » Sat Jun 05, 2010 6:47 pm

All of this computer stuff is over my head, but I REALLY want M for my HUD.

Does any1 have the time to kinda "walk me through" this?

Will prob take a cpl replies back and forth, as I am pretty clueless right now.

Here? Or, I can start a new thread? Or skype, AIM, yahoo, mssgrs...

Would be greatly appreciated. Help, anyone, please?

TYVM
AAA Donnie
 
Posts: 85
Joined: Fri Apr 25, 2008 11:46 pm

PreviousNext

Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 11 guests

cron
highfalutin