-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Price indexer running for multiple hours with 2.1 million products #38147
Comments
Hi @ioweb-gr. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Not sure if it is the same issue, but there is a bug in Magento 2.4.x (not in 2.3.x) with the indexers where the partial indexer could loop unnecessarily many times over the same entities to index and sometimes even skip indexing entities it should reindex. |
Hello, |
@amouri82: Start from the diff of the PR: https://patch-diff.githubusercontent.com/raw/magento/magento2/pull/36155.diff We do have a patch of our own, but it was based on an older version of the PR (some extra changes made it in after we created our patch). So I'm not sure if I should share it here as it is a bit outdated. |
@hostep Thanks you for your replay and the diff of the PR. I will try to create owr own patch and share it if works. |
Hi @engcom-Dash. Thank you for working on this issue.
|
Hi @engcom-Bravo. Thank you for working on this issue.
|
Hi @ioweb-gr, Thanks for your reporting and collaboration. We have verified the issue in Latest 2.4-develop instance with 1M products and the issue is not reproducible.Kindly refer the screenshots. ![]() ![]() Kindly recheck the issue in Latest 2.4-develop instance and elaborate the steps to reproduce if the issue is still reproducible. Thanks. |
Actually I lost track of htis issue. It's indeed resolved in 2.4.7-p2 as far as I can see. I never experienced again such long running times for price indexer so we can close it for now. I'll reopen a new issue if I bump into it again. |
Preconditions and environment
Steps to reproduce
We have created a website with 45974 configurable products and a total of 2.1 million products with their variations + simple products
Reindexing process crashed in scheduled mode and for some reasons and we need to reindex them fully.
Unexpectedly though the reindex process runs for too many hours for the price indexer and this leads to products not displaying in the frontend as in order to reindex the catalog search index and the category products index, the price index must run as well but it takes too long.
Now our frontend is missing products
Is magento even able to handle the 2.1m products? What can I do to make it run faster? Changing the batch size has no effect whatsoever, the speed is horribly slow.
Expected result
All indexers run fast.
Actual result
Reindexing is slow.
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: