Posted By

hotdiggity on 08/29/11


Tagged

logs magento


Versions (?)

Truncate Magento logs


 / Published in: MySQL
 

  1. START TRANSACTION;
  2. TRUNCATE log_customer;
  3. TRUNCATE log_quote;
  4. TRUNCATE log_summary;
  5. TRUNCATE log_summary_type;
  6. TRUNCATE log_url;
  7. TRUNCATE log_url_info;
  8. TRUNCATE log_visitor;
  9. TRUNCATE log_visitor_info;
  10. TRUNCATE report_event;
  11. TRUNCATE dataflow_batch_import;
  12. TRUNCATE dataflow_batch_export;
  13. TRUNCATE index_event;
  14. COMMIT;

Report this snippet  

You need to login to post a comment.