Go Back   Holdem Manager Forums > General > Manager Bugs
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old 03-24-2009, 03:15 PM   #1 (permalink)
Senior Member
 
Join Date: Oct 2008
Location: MoTown
Posts: 117
Question Holdem Manager vs. PostgreSQL Query Descrepancy

I was querying my Holdem Manager Database with the PGADMIN program, and found a descrepancy vs. the info generated by Holdem Manager.

The simple sql query returns the number of hands and total profit for the hero since a specific date and time.

Here's the query:

Code:
-- replace "screen_name" with player's name
-- replace "after_date" with date in the form of "YYYY-MM-DD HH:MM:SS", where HH is hour in 24 hour format.
select count(playerhandscashkeycolumns_hero.netamountwon)
, sum(playerhandscashkeycolumns_hero.netamountwon) from players
, playerhandscashkeycolumns_hero where (players.playername = 'screen_name')
and  (playerhandscashkeycolumns_hero.handtimestamp  > 'after_date');
The results agree with the Hold'em Manager report, until the after_date is more than a few weeks old.

In my data base, with about 10,000 hands, and about February 15, the number of hands disagrees by 4, but the amout won differs by several hundred dollars.

I had a friend run the the same query in his database, and at about 35,000 hands and on March 12, 2009, he ran into a simiar problem; The hands differed by 900, and his profit was off by several hundred dollars.

There either appears to be a bug with HM, or my query is not structured correctly... I wonder which is correct?

Any help would be greatly appreciated.

TIA!

P1

Last edited by ProsperousOne; 03-24-2009 at 03:17 PM. Reason: post icon changed. ;)
ProsperousOne is offline   Reply With Quote
Old 03-24-2009, 08:20 PM   #2 (permalink)
Senior Member
 
Join Date: Oct 2008
Location: MoTown
Posts: 117
Default

UPDATE:

I've narrowed the time down where the descrepancy start to February 18, 2009, 06:45:23 and 06:45:24 (am).

The kicker is that I didn't play during those hours on that day.

HM correctly states that prior to that time and after that time I played 34,719 hands, and had a loss of $-68.30.

The postreSQL query correctly returns the 34,719# and $-68.30 loss if I do the search with a time of 06:45:24. However, if I change the time to 06:45:23, the postreSQL query returns 34720 hands (one extra) and a loss of $-176.70.

Also, ironically enough, my friend's error also occured between 32,855 and 33,394 hands (very near to my number of hands when the anomaly occured)

Hmmmmmm..... most perplexing ....

Last edited by ProsperousOne; 03-24-2009 at 08:24 PM.
ProsperousOne is offline   Reply With Quote
Old 03-27-2009, 01:28 AM   #3 (permalink)
Administrator
 
Rvg72's Avatar
 
Join Date: Jul 2008
Posts: 3,074
Default

Very weird... if you are ok with me logging in with teamviewer to run some additional queries to maybe narrow this down then email me at support@holdemmanager.net

Roy
Rvg72 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: set up a linux postgresql server for use with Holdem Manager Schrapp Manager General 2 Today 02:30 PM
Using Holdem-Manager without disabling PostgreSQL? Jeffsteez Manager General 3 06-02-2009 10:59 AM
Holdem Manager support micro holdem limits PledgeShipp Manager General 2 01-16-2009 08:22 PM
PostgreSQL query: moving my current windows db to unix greging Manager General 0 09-10-2008 03:23 PM
Latest version of Holdem Manager killed Holdem Manager TLXLM Manager Bugs 2 09-06-2008 11:09 AM


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2 All Rights Reserved 2008
All times are GMT -4. The time now is 05:44 PM.