DB is way too large
Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    39

    Default DB is way too large

    My postgres folder is 167gig and my hm2 database folder is 10gig, any idea why this is happening?
    I purged all hands before this year, so max a few million hands in my db atm. Logging is turned off.

  2. #2
    HM Support Patvs's Avatar
    Join Date
    Feb 2009
    Location
    Amsterdam, the Netherlands
    Posts
    33,523

    Default

    Are you using NoteCaddy?

    Vacuum/analyse/reindex the database in pgadminIII, or in HM2--> Home tab--> Database--> Maintenace
    Participate in the Beta release of the newest Hold'em Manager version: HM Cloud. Sign-up HERE.

    If you would like to leave some feedback to help us improve the quality of the solutions, and/or the support quality you received, - you can do this here

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    39

    Default

    No notecaddy and I did Vacuum/analyse/reindex multiple times, the DB just keeps growing..

  4. #4
    HM Support Patvs's Avatar
    Join Date
    Feb 2009
    Location
    Amsterdam, the Netherlands
    Posts
    33,523

    Default

    Go to C:/Program Files(x86)/PostgreSQL/8.4/data/base
    what's the size of this folder?


    What's the size of your
    C:/Program Files(x86)/PostgreSQL/8.4/data/pg_xlog folder and
    C:/Program Files(x86)/PostgreSQL/8.4/data/pg_log folder?


    Is your /base folder taking up the full 167 GB?

    In HM2--> hud option--> displayed stats--> was 'start caddy report / show caddy notes' both turned off?
    Participate in the Beta release of the newest Hold'em Manager version: HM Cloud. Sign-up HERE.

    If you would like to leave some feedback to help us improve the quality of the solutions, and/or the support quality you received, - you can do this here

  5. #5
    Member
    Join Date
    Aug 2008
    Posts
    39

    Default

    base folder was taking all the space, the db just kept growing even while i wasnt playing/importing
    show caddy notes is on, show report is off

  6. #6
    Holdem Manager Support Sarek's Avatar
    Join Date
    May 2010
    Location
    Eridani 40
    Posts
    22,519

    Default

    "show caddy notes is on" means Caddy works.
    What you can do is:
    Disable that flag + restart HM to stop Caddy
    then open PGadmin, find your DB there and delete these 2 tables
    notecaddy_data
    notecaddy_scatter
    After that do DB mainternance (vacuum full + analyze AND reindex full)
    As you should understand, this will delete all Caddy notes from DB.
    If you agree with this - proceed, DB size will decrease dramatically. Personally I have seen 14x

  7. #7
    Member
    Join Date
    Aug 2008
    Posts
    39

    Default

    I have dropped my db and imported my hands into a new db because my ssd couldnt keep up with the growth of the db, i hope i wont encounter this problem again, im on a clean windows/hdd install, otherwise ill follow your tips. Btw I havent used notecaddy ever, dno if this is the source of the problem

  8. #8
    Holdem Manager Support Sarek's Avatar
    Join Date
    May 2010
    Location
    Eridani 40
    Posts
    22,519

    Default

    If so - disable Caddy as I told. Uncheck "show Caddy notes" flag and restart HM.
    And do this before you fill new DB with lot of hands.

  9. #9
    Junior Member
    Join Date
    Nov 2011
    Posts
    19

    Default

    Quote Originally Posted by Sarek View Post
    "show caddy notes is on" means Caddy works.
    What you can do is:
    Disable that flag + restart HM to stop Caddy
    then open PGadmin, find your DB there and delete these 2 tables
    notecaddy_data
    notecaddy_scatter
    After that do DB mainternance (vacuum full + analyze AND reindex full)
    As you should understand, this will delete all Caddy notes from DB.
    If you agree with this - proceed, DB size will decrease dramatically. Personally I have seen 14x

    Im having the same problem this guy was having....my data base is 260giga.
    I dont know how to find thoso 2 files youre saying to delete....also,its saying postges connection problems so i cant vacume...
    thank you

  10. #10
    Junior Member
    Join Date
    Nov 2011
    Posts
    19

    Default

    Never mind...i did it through the note caddy client in HM2
    My DB shrank from 260 down to 12.5 giga.....20x

Similar Threads

  1. Large hm2 db
    By wobbly_au in forum General Support
    Replies: 1
    Last Post: 11-08-2012, 06:05 PM
  2. HUD too large
    By dan233 in forum General Support
    Replies: 1
    Last Post: 05-21-2012, 09:19 AM
  3. HM and large DPI scaling
    By HMuser in forum Manager General
    Replies: 7
    Last Post: 08-16-2011, 08:19 PM
  4. More Ram for large Databases?
    By Thrahl in forum Manager General
    Replies: 2
    Last Post: 05-15-2010, 02:01 PM
  5. Extra large DB
    By Newuser1 in forum Manager General
    Replies: 1
    Last Post: 08-23-2009, 06:24 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
  •