Holdem Manager vs. PostgreSQL Query Descrepancy
Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Oct 2008
    Location
    MoTown
    Posts
    142

    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. ;)

  2. #2
    Senior Member
    Join Date
    Oct 2008
    Location
    MoTown
    Posts
    142

    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.

  3. #3
    Administrator Rvg72's Avatar
    Join Date
    Jul 2008
    Posts
    3,056

    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

Similar Threads

  1. Replies: 13
    Last Post: 04-29-2011, 02:36 AM
  2. Using Holdem-Manager without disabling PostgreSQL?
    By Jeffsteez in forum Manager General
    Replies: 3
    Last Post: 06-02-2009, 10:59 AM
  3. Holdem Manager support micro holdem limits
    By PledgeShipp in forum Manager General
    Replies: 2
    Last Post: 01-16-2009, 09:22 PM
  4. PostgreSQL query: moving my current windows db to unix
    By greging in forum Manager General
    Replies: 0
    Last Post: 09-10-2008, 03:23 PM
  5. Latest version of Holdem Manager killed Holdem Manager
    By TLXLM in forum Manager General
    Replies: 2
    Last Post: 09-06-2008, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •