-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slowness in orders - orders when all stores are selected in Multistore #27232
Comments
Can you try to enable debug profilling in cofing/defines.inc.php? It will display all statistics at the end of each page and you can see exactly the timings of each DB query. That could help debug it. |
Hello, Query with all stores:
Query with a store: |
@ocio87 Do you think you can try this?
|
So, now we must investigate, how to get the "new client" information faster :D |
@ocio87 Try one more thing.
We will see if the COUNT is or the subselect itself is the performace issue 👍 |
Hello @hibatallahAouadni , I don't know, I'm just starting to enable multistore to the site that has been in place since version 1.5.x. He hadn't had the need to enable. |
Ping @PrestaShop/prestashop-core-developers could someone please verified this issue 🙏 |
@atomiix You worked on the last PR. Do you think you could implement my solution properly? |
Is it okay to keep doing this solution manually in later versions while @atomiix gives us an answer? Thanks! |
@Hlavtox you're the man, again! I would pay for your performance improvements files mods :D |
@davidcylke HAHA 😄❤️ Guys, we should make a PR for this if it works. @ocio87 |
Hello @Hlavtox , I see that they did not apply this improvement to version 8.0.1. Slowness is no longer present in this version? |
Prerequisites
Describe the bug and add screenshots
Hello,
I have just configured the multistore but it has been identified that when it is selected with all the stores and Orders - Orders is entered, it is slow to load the page (11-12 Sec). If a specific store is selected, the order list load is normal (1.5 to 3 sec).
https://drive.google.com/file/d/1-esjJvlC-l-_PdFw_ewGxFJj_PQ68xwC/view?usp=sharing
Expected behavior
The loading behavior should be similar to when a single store is selected. The new store has only created one order. It shouldn't influence the loading time as much.
Steps to reproduce
Select all stores in Multi-store.
Enter orders - orders
High wait time for page load.
PrestaShop version(s) where the bug happened
1.7.8.2
PHP version(s) where the bug happened
7.4
If your bug is related to a module, specify its name and its version
No response
The text was updated successfully, but these errors were encountered: