本帖最后由 追影 于 2018-11-28 23:08 编辑
https://www.2cto.com/database/201305/209892.html
至少一个星期清理一次!SQL语句如下:
TRUNCATE TABLE `log_customer` TRUNCATE TABLE `log_visitor` TRUNCATE TABLE `log_visitor_info` TRUNCATE TABLE `log_url` TRUNCATE TABLE `log_url_info` TRUNCATE TABLE `log_quote` TRUNCATE TABLE `report_viewed_product_index` TRUNCATE TABLE `report_compared_product_index` TRUNCATE TABLE `report_event` TRUNCATE TABLE `catalog_compare_item` |