ACSD-53583: Improve partial reindex performance for Category Products and Product Categories indexers

The ACSD-53583 patch improves the partial reindex performance of Category Products and Product Categories indexers. This patch is available when the Quality Patches Tool (QPT) 1.1.39 is installed. The patch ID is ACSD-53583. Please note that the issue is scheduled to be fixed in Adobe Commerce 2.4.7.

Affected products and versions

The patch is created for Adobe Commerce version:

  • Adobe Commerce (all deployment methods) 2.4.5-p3

Compatible with Adobe Commerce versions:

  • Adobe Commerce (all deployment methods) 2.4.4 - 2.4.6-p3
  • Not compatible with Live Search module. In order to apply this patch to Live Search installation, please request an additional ACSD-55719 patch.
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.

Issue

Partial reindex takes more time than full reindex.

Steps to reproduce:

  1. Turn all indexers to Update by Schedule.
  2. Generate data with the Performance Toolkit (medium profile).
  3. Make changes to all products and categories so that they are in the index backlog and all indices are idle.
  4. Perform partial reindex for Category Products and Product Categories indexers.

Expected results:

Partial reindex is called once per product and takes almost the same time as full reindex, because all products and categories were changed.

Actual results:

Partial reindex is called many times per product and takes more time than full reindex.

Apply the patch

To apply individual patches, use the following links depending on your deployment method:

To learn more about Quality Patches Tool, refer to:

For info about other patches available in QPT, refer to Quality Patches Tool: Search for patches in the Quality Patches Tool guide.

recommendation-more-help
8bd06ef0-b3d5-4137-b74e-d7b00485808a