Jump to content

CSV import extremely slow on 1.5.3.1


Recommended Posts

Hello!

 

I'm trying to update my shop by importing a CSV.

 

It has about 5400 lines, and with 1.4 i usually split this file in parts of 250-300 lines.

 

But with 1.5.3.1 version of Prestashop, the import is very very slow. And also a file with 50 lines, fails to update the shop and i receive an error 500.

 

How can i update my shop? Any suggestion to solve the problem?

 

Thanks

Link to comment
Share on other sites

Yeah, i know that. At the moment it is about 300seconds, and for this reason i usually split the file at 200/250/300 lines.

 

But from the prestashop update i didn't change the server, it is still the same, but csv update doesn't work as before.

 

Same files with PS 1.4 were uploaded without problem

Link to comment
Share on other sites

  • 1 month later...

I had the same problem. After importing via CSV, I was faced with 100% CPU usage of the web server process (Apache, in the case of my VPS) for many, many minutes, that caused my Front Office's performance to suffer greatly.

 

It seems that after each import via CSV, even a CSV of 1 (one) product, PrestaShop proceeds to reindex the entire product catalog instead of just the products that were added. In my case, this would explain why the delay growed exponentially relative to the catalog's size: When I first started my shop, the first few imports didn't cause a noticeable delay. After the first 100 products or so, the import delays became unbearable.

 

After reading this article, I found out that there is an option in the BackOffice which can help a little: BO --> Preferences --> Search --> Indexation. After turning this off, the CSV import becomes blazing fast again! Please note that this is not a right proper solution, only a temporary remedy, since it has two big disadvantages:

 

1. You must request a manual reindex after each CSV import. At least this does not process the whole catalog, only the newly added products

 

2. You must request a manual reindex after each change you make in an existing product. It seems that making a change and clicking save removes the edited product from the index

Edited by parsifal (see edit history)
  • Like 2
Link to comment
Share on other sites

  • 3 months later...
  • 2 months later...
  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...