Results 1 to 4 of 4

Thread: INNODB Database Crash - Any DB reduction ideas?

  1. #1
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default INNODB Database Crash - Any DB reduction ideas?

    SugarCRM Gurus,

    I know this isn't an INNODB database forum, but I recently experienced a complete database crash and am wondering if there are some ways I can reduce the size of my biggest SugarCRM database tables.

    Here are some of my biggest culprits:

    84 MiB - calls
    390 MiB - emails_text
    145 MiB - prospects
    92 MiB - prospect_lists_prospects
    64 MiB - tracker

    Total database size is about 1.1 GiB

    As you can see, we use the email module and track a ton of prospects (170,000+), which I will be trying to reduce. I'm also wondering if the emails_text table can be partially flushed. Will it rebuild itself if needed?

    Thanks
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: INNODB Database Crash - Any DB reduction ideas?

    Consider turning on the Purge task in sugar scheduler. this deletes all (soft-)deleted records. It should be no problem with prospects or emails I think.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: INNODB Database Crash - Any DB reduction ideas?

    I typically do a manual purge and a general clean up using several dozen or so SQL statements that I've written. I understand the soft delete completely. I was wondering if someone could shed some light on the emails_text table and wether or not I could purge part of that table to reduce the size of the database.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

  4. #4
    jjwdesign's Avatar
    jjwdesign is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Orlando, FL
    Posts
    503

    Default Re: INNODB Database Crash - Any DB reduction ideas?

    The emails_text table is now over 410 MiB in size. Total database size is 1.3 GiB. I would love to hear back from a developer on this issue. There's got to be a way to prune the table data, even if I have to write some custom code.

    Thanks.
    SugarForge Projects:
    JJWDesign Google Maps
    JJWDesign Tools and Reports

    Follow my blog postings at JJW Design.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 'Unable to select database' error on installation on setup (post db creation)
    By jburkett in forum Installation and Upgrade Help
    Replies: 26
    Last Post: 2010-11-03, 11:11 PM
  2. Need DB script with relationships for InnoDB.
    By process in forum Developer Help
    Replies: 5
    Last Post: 2007-07-02, 07:30 AM
  3. step 3 installation problem
    By voitek in forum Installation and Upgrade Help
    Replies: 10
    Last Post: 2007-02-14, 04:35 PM
  4. Replies: 0
    Last Post: 2006-07-17, 04:11 PM
  5. Replies: 0
    Last Post: 2006-03-13, 02:41 PM

Bookmarks

Posting Permissions

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