Thread: Database Huge

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Database Huge

    I've noticed that my database size keeps increasing by about 7MB a week. I'm not adding any new products, are there some house keeping duties that I should be doing to clear out the database?

    Thanks
    Suekay

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Database Huge

    Try going to Admin -> Tools -> Store Manager and empty the Admin Activity Log table.

    Does that make any difference?

  3. #3
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Database Huge

    Also check that you're not archiving emails - that will add a huge amount of data each week on a busy site. Admin > Configuration > Email Options.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  4. #4
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: Database Huge

    Quote Originally Posted by Steven300 View Post
    Try going to Admin -> Tools -> Store Manager and empty the Admin Activity Log table.

    Does that make any difference?
    Tried it - doesn't seem to have made a difference but it may take awhile for the Mb to update

    Thanks
    Suekay

  5. #5
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: Database Huge

    Quote Originally Posted by bunyip View Post
    Also check that you're not archiving emails - that will add a huge amount of data each week on a busy site. Admin > Configuration > Email Options.
    It was true so i have reset to false. How do I get rid of the files in the archive to reduce the file size?

    Thank you
    Suekay

  6. #6
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: Database Huge

    Quote Originally Posted by bunyip View Post
    Also check that you're not archiving emails - that will add a huge amount of data each week on a busy site. Admin > Configuration > Email Options.
    That fixed it, I found the table to delete from and there were 30K of emails!!!

    Than k you
    Suekay

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Database Huge

    You can utilize the Email Archive Manager addon to view the email archive contents and periodically purge the contents if needed.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Database Huge

    Quote Originally Posted by suekay View Post
    That fixed it, I found the table to delete from and there were 30K of emails!!!

    Than k you
    Suekay
    For my information, can you just empty the email archive table using phpMyAdmin? I have the same situation, and tried using Email Archive Manager, but that didn't seem to work. Installed it on our localhost to test, there's no errors, but it just displays a blank admin screen.

    Thanks for any help.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Database Huge

    Quote Originally Posted by inovermyhead View Post
    ... but it just displays a blank admin screen.
    Best to figure out what's causing that blank screen. Use the debug utility mentioned in this FAQ article to find the cause: https://www.zen-cart.com/tutorials/index.php?article=82

    It's probably related to a damaged file, which will likely be mentioned in the logs that get generated when you trigger that blank page again. You'll likely need to refer to this FAQ article after that: https://www.zen-cart.com/tutorials/index.php?article=87
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Feb 2007
    Posts
    153
    Plugin Contributions
    0

    Default Re: Database Huge

    Well, Dr. Byte, this seems easy enough, but I copied enable_error_logging.php to the extra_configures folder in admin. Then made sure the permissions for the cache folder would allow full control. Then I tried the Email Archive Manager. Then I checked the cache folder, but there wasn't anything new in it.

    Suggestions?

    B.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Huge Images
    By CnTGifts in forum General Questions
    Replies: 1
    Last Post: 8 Apr 2012, 03:51 AM
  2. Huge problem!
    By icecold in forum General Questions
    Replies: 9
    Last Post: 16 Nov 2011, 05:06 PM
  3. Huge Gap
    By QueenKat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Oct 2009, 12:32 PM
  4. Huge Issues
    By Tagyourbaby in forum General Questions
    Replies: 1
    Last Post: 5 Jun 2009, 04:30 AM
  5. Huge Problems!!!!!
    By nickita in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 20 Apr 2007, 02:46 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
  •  
disjunctive-egg