How do I run a partial reindex in Magento 1.13?

How do I run a partial reindex in Magento 1.13?

October 5, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How do I run a partial reindex in Magento 1.13?

Title: Efficient Partial Reindexing in Magento 1.13 for Improved Performance

As an experienced developer working on e-commerce platforms like Magento, you may find yourself grappling with the challenges of indexing in Magento 1.13. The default settings suggest that indexes should update automatically on a schedule, but in reality, this doesn’t happen as expected. There’s no built-in cron job for automatic reindexing, leaving many administrators frustrated with manual processes and performance issues.

Understanding the Problem

The current approach of running php shell/indexer.php reindexall isn’t efficient or practical. Full index rebuilds can cause significant slowdowns during business hours due to table locks and resource-intensive operations. Running these processes nightly means changes won’t be reflected on the frontend until the next day, which is unacceptable for most e-commerce sites.

Magento’s new “partial reindexing” feature is intended to address this issue by focusing only on specific entities that have been updated. The concept seems straightforward:

  1. An entity (like a product) is edited.
  2. A database trigger adds records to related change log tables.
  3. A process later reads the change logs and reindexes only those specific entities.

How Partial Reindexing Should Work in Theory

Let’s consider an example where you update data in catalog_product_entity_varchar:

  1. The update triggers a change flag by inserting a new version into related change log tables like catalog_product_flat_cl and catalogsearch_fulltext_cl.
  2. A partial reindex process reads these change logs and reindexes only the products mentioned to catalog_product_flat and catalogsearch_fulltext, respectively.

If this system worked as described, the reindexing process would be minimal and could potentially run every minute without greatly impacting admin users’ work. Magento itself suggests that flat catalog updates occur either every minute or according to your cron job settings.

The Mysterious Absence of Partial Reindexing

Despite the promise of a more efficient partial reindexing system, many administrators find this feature elusive in practice. There’s no clear way to call it directly from the command line or admin interface. No reindexPartial() function appears to exist.

The Magento documentation and knowledge base articles provide scant details on how to implement this feature effectively. While they mention that the flat catalog is updated automatically, they don’t specify the process for triggering these updates consistently.

Towards a Practical Solution

Given the lack of clear guidance from official Magento channels, developers must innovate their own solutions. Here are some strategies you might consider:

1. Scheduled Cron Jobs

Create custom cron jobs that run php shell/indexer.php reindexall on a schedule (e.g., every hour or half-hour) during off-peak hours. This approach reduces the frequency of full index rebuilds but still allows for daily updates.

2. Custom Scripts for Specific Entities

Develop custom scripts to reindex only specific entities based on your most frequent updates. For instance, you might create a script that reindexes the flat catalog and search indexes whenever products are updated.

3. Third-Party Extensions

Explore third-party extensions from trusted developers in the Magento community. Some extensions claim to provide more efficient partial reindexing functionality, but ensure to test them thoroughly before deployment.

Remember, any indexing process will have some impact on performance. The key is to find a balance between keeping your indexes up-to-date and minimizing disruption to your admin users’ workflows.

Conclusion

While Magento 1.13’s partial reindexing feature holds great promise for improving site performance, the reality is that it requires careful manual configuration or custom development to work effectively. Until Magento provides clearer guidance on implementing this feature officially, developers must rely on their own ingenuity and third-party solutions.

By understanding the underlying principles of partial reindexing and experimenting with different approaches, you can find a solution that balances index efficiency with minimal administrative impact.

Magento 1 Catalog Indexing Database

Our network