Truncate Magento logs

/ Published in: MySQL
Save to your folder(s)

Copy this code and paste it in your HTML
  1. TRUNCATE log_customer;
  2. TRUNCATE log_quote;
  3. TRUNCATE log_summary;
  4. TRUNCATE log_summary_type;
  5. TRUNCATE log_url;
  6. TRUNCATE log_url_info;
  7. TRUNCATE log_visitor;
  8. TRUNCATE log_visitor_info;
  9. TRUNCATE report_event;
  10. TRUNCATE dataflow_batch_import;
  11. TRUNCATE dataflow_batch_export;
  12. TRUNCATE index_event;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.