Jump to content

PrestaShop very slow in the order tab ("config" very slow in profiler)


Kaudy

Recommended Posts

Hello,

The order tab in the admin is very slow. I don't even know what caused this, it's like it happened with no reason. The order tab can take more than 100s to load, and after the first load, a few seconds. But when you log out, remove cookies, start again, then the tab is slow again.

I enabled the profiler, I hoped that the issue was a plugin but it doesn't looks like it, as it's the "config" that takes so much time and SQL queries that seems to be native to PrestaShop. The website is running on shared hosting, but it was working fine before.

I'm sending the profiler as an attachment so that it's easier to read, but the main issues is :

- config 108765 ms

For a total load time of :

- Load Time 108951 ms

Do you have any idea?

 

 

Best regards,

 

 

 

Screenshot 2025-03-27 at 12-17-56 Commandes • MON ENVIEME.png

Screenshot 2025-03-27 at 12-18-04 Commandes • MON ENVIEME.png

Screenshot 2025-03-27 at 12-18-13 Commandes • MON ENVIEME.png

Screenshot 2025-03-27 at 12-18-20 Commandes • MON ENVIEME.png

Screenshot 2025-03-27 at 12-18-28 Commandes • MON ENVIEME.png

Link to comment
Share on other sites

31 minutes ago, Daresh said:

Anything suspicious in the database? Like for example large number of rows in the 'ps_configuration' table?

There is 2 023 rows fr ~300kio. I don't see weird things, the last rows are from plugins Colissimo, Alma, PS CHeckout, Prestascan, pagespeed...

Link to comment
Share on other sites

Perhaps you installed some module recently? Do you have any modules with interactive capabilities installed :) ? For example, a delivery module that requests a carrier.
How much customers you have in customer table and how much orders ?

Link to comment
Share on other sites

5 minutes ago, metacreo said:

Perhaps you installed some module recently? Do you have any modules with interactive capabilities installed :) ? For example, a delivery module that requests a carrier.
How much customers you have in customer table and how much orders ?

The last installed plugin is PrestaScan, nothing new for the carriers as far as i know. There is 623 customers and for the orders 566. It took 1.56s to load this time, it's really when there is no cookie or maybe cache, I don't know. Sometimes it's 100 seconds, sometimes 1.50...

Link to comment
Share on other sites

actually it's normal for prestashop. The thing is that while there are no serious loads everything flies fast... :) especially on the developers' test servers :)

I have the same problems.. only they become noticeable after 10,000+ orders or clients. Apparently my hardware is more powerful. I optimize some shops, but the thing is that there is little left of the modern prestashop and it code looks more like the old 1.6

My advice to you: if you need to keep the entire database constantly, then switch to another platform. while it's not too late. Prestashop is not developed for huge stores, it is exclusively for making money via support.

In your specific situation, I think that cleaning the database will help you. Old orders, old clients, statistics and connection tables.

Also, you will be tormented on a regular hosting, think about a dedicated server.

If you have prog skills I attached scripts who help you.

SQL_CLEAN_PS.zip

Link to comment
Share on other sites

1 godzinę temu, Kaudy napisał:

There is 2 023 rows fr ~300kio. I don't see weird things, the last rows are from plugins Colissimo, Alma, PS CHeckout, Prestascan, pagespeed...

Try disabling each at a time and see if there is any difference. It will narrow down to which module can cause this.

Link to comment
Share on other sites

Open site in Mozilla FF
Press F12 to open dev console
In dev console go Network Tab

Open site  admin and go to orders. Clean in dev console all records and go to order page who slow.

Inspect requests in dev console.

How many requests you see in dev console at bottom when opening order page ?  And which request is slowest in de console table?

moz1.thumb.jpg.da6f7c6a209fc31cd4e9fafe09edd713.jpg

Edited by metacreo (see edit history)
Link to comment
Share on other sites

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...