Forums / General Questions / Email_Archive DB usefull? how to make thinner my DB?

Email_Archive DB usefull? how to make thinner my DB?

Locked

Views: 2,479

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Mar 2007, 2:48 PM
#1
ericgu avatar

ericgu

New Zenner

Join Date:
Aug 2005
Posts:
58
Plugin Contributions:
0

Email_Archive DB usefull? how to make thinner my DB?

I have been using zen-cart since later 2004.
but I am not a coder, and have little knowledge of database.

Now I have got a 200MB DB.
As I am using remote hosting, especially when I am in China using American hosting, this big a DB is not freindly to me.

I need to make it thinner.

I found this 'Email_Archive' table in the DB has saved 40000 emails history.

I am considering empty this table.

So just wondering what this table is used for? Is it necessary?
Because I can't find any option for me to look up these emails from admin part.

Also I have no idea any other table that could have been big and can be cleaned?

Besides, I have to keep customers' information.

17 Mar 2007, 10:12 AM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,721
Plugin Contributions:
56

Re: Email_Archive DB usefull? how to make thinner my DB?

This table just has copies of emails sent by the forms in your store. You can certainly empty it and you can also stop the store from saving emails (set Configuration->Email Options->Email Archiving Active to false). If you want to look at the data in this table from the admin page, you must download a contribution called Email Archive Manager from

http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_41&products_id=198

Good luck,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

17 Mar 2007, 11:03 AM
#3
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Email_Archive DB usefull? how to make thinner my DB?

You may also want to consider emptying the admin_activity_log table, and if you have User Tracking installed, that too probably could be cleared out.

Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !

28 Mar 2007, 11:48 PM
#4
2004g35 avatar

2004g35

Zen Follower

Join Date:
Jan 2005
Location:
Winter Haven, FL
Posts:
156
Plugin Contributions:
0

Re: Email_Archive DB usefull? how to make thinner my DB?

The e-mai archive program works great. However, it will not trim e-mails on the 30 day option. The 6 and 12 month choices work fine. Any suggestions? As far as other DB cleanups - is /store manager/admin activity/reset the most useful and practical? Thanks for your help.

28 Mar 2007, 11:58 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,721
Plugin Contributions:
56

Re: Email_Archive DB usefull? how to make thinner my DB?

Can anyone else confirm that the 30 day option is actually broken? I don't have time to test it right now but will debug it in the next couple of weeks if I get independant confirmation of a problem.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

25 Apr 2007, 4:12 PM
#6
ted avatar

ted

Zen Follower

Join Date:
Jan 2004
Location:
Arkansas
Posts:
100
Plugin Contributions:
1

Re: Email_Archive DB usefull? how to make thinner my DB?

Hi Scott,

2004g35 is correct, it's working for 6 and 12 months but not for 1 month.

Great mod though, thanks!

Ted

Ted
Never say never, it's only a matter of time, energy and asking the right person the right question!

25 Apr 2007, 6:21 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,721
Plugin Contributions:
56

Re: Email_Archive DB usefull? how to make thinner my DB?

Strange. OK, I'll look at it in the next few weeks.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

27 Apr 2007, 2:09 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,721
Plugin Contributions:
56

Re: Email_Archive DB usefull? how to make thinner my DB?

A fix has been submitted for this problem.

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Apr 2007, 2:26 PM
#9
ted avatar

ted

Zen Follower

Join Date:
Jan 2004
Location:
Arkansas
Posts:
100
Plugin Contributions:
1

Re: Email_Archive DB usefull? how to make thinner my DB?

Works great with the fix, thanks Scott!

Ted
Never say never, it's only a matter of time, energy and asking the right person the right question!