People that daily import huge amount of hands, any tips for speed?
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Dec 2009
    Posts
    69

    Default People that daily import huge amount of hands, any tips for speed?

    I've recently started to daily import high amount of hands (~50.000) and its causing me huge performance drop and very slow hands import.

    My machine is Core 2 Duo 2Ghz, 3GB of RAM and a SSD drive. Running Win 7 64 bit with PostreSQL 3.4 installed.

    I've read the long thread about tips to improve performance, but nothing seems to help.

    I vacuum database each day, after I finish playing and before I import batch of hands.

    Each time the start of importing is quite fast (~50h/s), but after some minutes, it drops drasticly, down to 2h/s.

    I am sure I am not the only one doing this and would like to hear from other people too, what is their import speed and if there are any ideas how to improve my import speed. The most important thing would be to prevent import speed decreasing, I am fine with 50h/s speed, if it would stick there.

    I doubt that even I7 cpu and RAID 0 with SSD would improve anything, it seems to me there is some cache error, or its just postresql thingy?

  2. #2
    *** HM3! *** fozzy71's Avatar
    Join Date
    Jun 2005
    Location
    HM Support
    Posts
    32,814

    Default

    There are a ton of threads about this. Try searching 'import speed' and/or 'large database', etc.

    These are my cliff not suggestions for normal user maintenance.

    1 - Close HM and Open PGAdmin

    2 - connect to postgresql server and then to the DB. Password is postgrespass in case you ever need it.

    3 - Right-Click > Maintenance on the DB.

    4 - Vacuum, Full, Analyze > OK

    Wait for it to finish and change the greyed out OK button to a Done button.

    Do that ever 10 -30k hands.

    Every 50 - 100k hands, after finishing the steps above:


    A - Right-Click > Maintenance on the DB.

    B - Reindex > OK

    Wait for it to finish and change the greyed out OK button to a Done button.



    Next we need to Stop the PostgreSQL service so the Defragmenter can Defrag the Database.

    Start > Programs > PostgreSQL 8,4 > Stop Server


    Open Smart Defrag > Select both drive letter checkboxes > Analyze

    Pick suggested Defrag process > Start Defrag



    After Smart Defrag finishes you should restart your computer.

    If you need to use HM before you restart your PC, then you need to Start Server.

    Start > Programs > PostgreSQL 8,4 > Start Server

  3. #3

Similar Threads

  1. Replies: 23
    Last Post: 04-15-2011, 08:25 AM
  2. Import Speed - How to increase the speed?
    By Pureman in forum Manager General
    Replies: 2
    Last Post: 01-27-2010, 11:40 PM
  3. downloading all hands from stars 2009, tips?
    By mikey in forum Manager General
    Replies: 2
    Last Post: 12-02-2009, 12:09 AM
  4. Replies: 7
    Last Post: 08-23-2009, 02:32 PM
  5. Huge problem, hands won't reload
    By acekqjjim in forum Manager General
    Replies: 2
    Last Post: 05-24-2009, 07:41 PM

Posting Permissions

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