- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cataloginventory_stock index is running very slow. How to optimize?
Hello,
I have magento 2.3.4 and having 16,00,000 products 1 store 1 website.
cataloginventory_stock index taking more than a day still it is running.
Please do the needful on this so we can reduce the hours to be taken by cataloginventory_stock indexer.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cataloginventory_stock index is running very slow. How to optimize?
kindly plan to upgrade Magento 2.4.1 with elastic search and PHP 7.4
indexing is really very fast in M2.4
also, try increasing memory in reindexing via
php -d memory_limit=2048M bin/magento
kindly Accept as a Solution if this works for you and give Kudos
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cataloginventory_stock index is running very slow. How to optimize?
Is it possible without upgrading.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cataloginventory_stock index is running very slow. How to optimize?
YES, you can setup elastic search with Magento Version2.3.4
also check your memory with PHP CLI
to update memory_limit in CLI you can pass that as an argument as shown below
php -d memory_limit=2048M bin/magento
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cataloginventory_stock index is running very slow. How to optimize?
You need reset index status and then try to run a new re-index process.