Maintenance

How to clean Magento log database

Submitted by morf on Wed, 08/12/2009 - 1:00am

Just send this SQL commands to your database console:

DELETE FROM log_customer;
DELETE FROM log_quote;
DELETE FROM log_summary;
DELETE FROM log_summary_type;
DELETE FROM log_url;
DELETE FROM log_url_info;
DELETE FROM log_visitor;
DELETE FROM log_visitor_info;

If you used recently dataflow import or export, you can clean dataflow tables with these commands:

Subscribe to Maintenance