Jump to content

[SOLVED][BO] Order list very very slow


ale123

Recommended Posts

I've seen the, sometimes, the order list page in BO could be very very very slow. That's my case, about 20 seconds for the query.

Some one solved by reinstalling PS from scratch, this is not possible in my case, it's a live website with A LOT of orders, PS was installed from scratch some months ago and then products and orders migrated from the old prestashop with a migration module.

What should I check to see why the query is slowing down ? Any fix that doesn't require a reinstall ?

PS 8.1.7

PHP 8.2

MariaDB with cache enabled (the same with cache disabled)

Buffers higher than the full database size, so database could easily kept totally in RAM

OPCache enabled

Link to comment
Share on other sites

28 minutes ago, Prestashop Addict said:

Hi, this is "normal" if you have a huge histories of orders. But you can also check INDEX in database, because some migration modules add a join table.

I've checked the query and I don't see any strangeness, other than a join added by xpay module (a payment gateway). But I have the same speed even after disablign the module.

This is the query: https://pastebin.com/Z8LWhC7P

More or less 300k orders

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

  • ale123 changed the title to [SOLVED][BO] Order list very very slow

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