If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading to 1.5.x / Smaller database after upgrade.

Smaller database after upgrade.

Started by mooncow on 2 Apr 2013, 12:14 PM · Views: 675

Results 1 to 3 of 3
2 Apr 2013, 12:14 PM
#1
mooncow avatar

mooncow

New Zenner

Join Date:
Apr 2008
Location:
England
Posts:
29
Plugin Contributions:
0

Smaller database after upgrade.

Hi,

I finished upgrading to 1.5.1 a couple of days ago. I made a backup of my database today and I noticed that my SQL dump file was about 66% smaller than before the upgrade (I was using 1.3.8a).

SQL dump file before upgrade (1.3.8a): 70.3MB
SQL dump file after upgrade (1.5.1): 24.2MB

Is this normal? Everything seems to be working ok without any problems but I just thought it was a bit odd that the database was so much smaller.

Thanks in advance,

MoonCow

2 Apr 2013, 2:01 PM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Smaller database after upgrade.

MoonCow:

SQL dump file before upgrade (1.3.8a): 70.3MB
SQL dump file after upgrade (1.5.1): 24.2MB

Is this normal?

No, not really. At least not in my experience.

A little bit of 'shrinkage' can be expected as a result of the tables being cleaned up during the upgrade, but the difference you note seems a little excessive.

Sorry, I don't really have an explanation. Have you tried comparing the two sql dumps to see what the differences are? A difference of this magnitude shouldn't be difficult to identify.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

2 Apr 2013, 2:22 PM
#3
mooncow avatar

mooncow

New Zenner

Join Date:
Apr 2008
Location:
England
Posts:
29
Plugin Contributions:
0

Re: Smaller database after upgrade.

Hi Rod,

Thanks, I found it. I had a PayPal Sessions Viewer mod installed before I upgraded. I no longer need it, so I skipped it when upgrading. I didn't realise it would make such a sizeable difference to the database.

Cheers,

MoonCow