magento 瘦身数据库

2013/4/1更新
有两种方式,一种在后台设置自动清除log数据 System > Configuration > Advanced > System 打开 Log Cleaning magento 瘦身数据库 还有一种自然是直接清理数据库
truncate dataflow_batch_export;
truncate dataflow_batch_import;

truncate log_customer;
truncate log_quote;
truncate log_summary;
truncate log_summary_type;
truncate log_url;
truncate log_url_info;
truncate log_visitor;
truncate log_visitor_info;
truncate log_visitor_online;

truncate report_viewed_product_index;
truncate report_compared_product_index;
truncate report_event;

set foreign_key_checks = 0;
truncate index_process_event;
truncate index_event;
set foreign_key_checks = 1;

你可能感兴趣的:(Magento,magento优化,magento数据)