Showing results for 
Search instead for 
Did you mean: 

Reindex takes long time Magento

Reindex takes long time Magento

Hi ,


I have used the Magento In my project we have nearly 60 store views and more than 5Lakh products. We added a cron job(run from server using command line) for run the re-index "catalog_category_products" at everyday. It takes more than 5 hours to complete the re-index.  Can you please suggest any other ways to reduce the time?




Re: Reindex takes long time Magento

Reindexing can be a time-consuming process, especially for large catalogs like yours. Here are some suggestions to reduce the time it takes to complete the reindex:


Change the indexing mode: Magento offers different indexing modes, such as "Update on Save," "Update on Schedule," and "Manual Update." If you're using the "Update on Save" mode, consider switching to "Manual Update." This will prevent Magento from indexing the catalog every time a product is updated, which can significantly reduce the time it takes to reindex.


Use partial reindexing: Instead of reindexing the entire catalog, consider using partial reindexing. This allows you to reindex specific parts of the catalog, such as product prices or stock levels, without reindexing the entire catalog. This can save a lot of time and resources.


Increase server resources: Reindexing can be resource-intensive, so increasing server resources such as CPU, RAM, and disk space can help speed up the process. Consider upgrading your server or increasing resources temporarily during the reindexing process.


Disable unnecessary modules: Magento has many modules that may not be necessary for your store. Disabling unnecessary modules can free up resources and improve performance during reindexing.


Use a third-party extension: There are several third-party extensions available that can help speed up the reindexing process. These extensions use advanced indexing techniques and can significantly reduce the time it takes to reindex.


It's important to note that reindexing should be done during low traffic periods, as it can impact the performance of your store. Also, it's recommended to take a backup of your store before making any changes to indexing settings.