Our blog

 

Magento Huge Database? – Solution

If your Magento database has swelled to truly gargantuan proportions, then perhaps you have suffered the same fate as a recent client. Magento happily logs all kinds of data to a collection of tables beginning with the prefix log_

It is possible to configure Magento to clean out these logs on a regular basis as part of its Cron schedule (you have created a cron job to run the cron.php script haven’t you?). Alternatively, it seems you can disable logging altogether simply by going to the admin then in the system menu, select config.

At the bottom you will see a link to advanced. In this section you can disable selected Magento modules, one of which is Mage_Log.

Problem solved

More Reading:

One Comments

Alex
September 26th, 2011

Hi,
Thanks for your post. I disabled Mage_Log but I still see log tables grow. Do you know what else I have to do? I don’t want to clean up tables every time, I would rather have logging completely halted.
Thanks

 

 

Leave a Reply