How to speed up product imports and exports in Magento

Magento product imports and exports tend to gradually slow down. The reason for this usually is that the Magento database fills up with records and the larger it becomes, the slower product imports and exports become.

Fortunately, there is an easy solution. To reduce the database size and speed up product imports and exports, you can delete old records by truncating a few tables. The tables that need to be truncated are log_urllog_url_info,log_visitorlog_visitor_infodataflow_batch_importdataflow_batch_exportindex_event and report_event.

You can truncate these tables through phpMyAdmin. Simply tick the 8 tables and from the With selected drop-down menu at the bottom of the page select Empty.

An alternative of the above is to click the SQL tab in phpMyAdmin, paste these queries:

TRUNCATE log_url; TRUNCATE log_url_info; TRUNCATE log_visitor; TRUNCATE log_visitor_info;  TRUNCATEdataflow_batch_import; TRUNCATE dataflow_batch_export; TRUNCATE index_event;   TRUNCATE report_event;

and click the Go button to execute them.

It is also recommended that you set up log cleaning in Magento so that your Magento can purge its logs automatically.

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to resolve the ‘Invalid package identifier provided’ error in Magento?

The Invalid package identifier provided error occurs when there is a problem with the...

How to alter product price in Magento

Altering the price of products in Magento is an easy task. All you need to do is: Login to...

Magento Contact Us Form

A contact us form is available by default in Magento. A link to it can generally be found in the...

Reindex Magento Data via SSH

The fastest way to reindex Magento data is manually via SSH. To reindex the Magento data...

How to add a module in Magento?

Additional functionality is added to Magento via separate modules called extensions. You can...