QUALITY PATCH

ACSD-55414: The performance of reindexing is hampered when the MariaDB tries to cast the entitys_ids…

The performance of reindexing is hampered when the MariaDB tries to cast the entitys_ids from string to integer. Quality patch ACSD-55414 for magento/module-catalog applies to Magento Open Source and Adobe Commerce 2.4.0 to 2.4.5-p17.

Categories
Performance
Components
magento/module-catalog
Origin
adobe-commerce-support
Since QPT
1.1.41

Issue

The performance of reindexing is hampered when the MariaDB tries to cast the entitys_ids from string to integer.

Steps to reproduce

1. Update setup/performance-toolkit/profiles/ce/small.xml by setting up 50000 simple products. 1. Generate this profile by executing command: bin/magento setup:perf:generate-fixtures setup/performance-toolkit/profiles/ce/small.xml. 1. Run reindex: bin/magento indexer:reindex catalog_product_attribute.

Adobe's page lists 2.4.0 - 2.4.5-p5 as compatible; the versions below are resolved from the current QPT constraints and are the ones the tool will offer.

Install

Install the Quality Patches Tool with composer require magento/quality-patches, apply the prerequisites listed for all files applicable to your distribution and version first, then run vendor/bin/magento-patches apply ACSD-55414. On Cloud, add ACSD-55414 under stage.build.QUALITY_PATCHES in .magento.env.yaml.

For cweagans/composer-patches, choose a compatible version below and download the bundle. Copy its ACSD-55414/ folder into patches/composer/, merge composer.patches.json into composer.json, then run composer install. Bundle prerequisites the same way and list them first. Paths are relative to each package root, using the default -p1 level. Prefer local files when configuring composer-patches; a remote URL can change.

Patch files and compatible versions

Packages across compatible versions (1): magento/module-catalog
Packages across compatible versions (1): magento/module-catalog

Sources

Łukasz Bajsarowicz
Built by

Łukasz Bajsarowicz, e-commerce architect

Magento and Adobe Commerce architecture, upgrades, performance and audits for merchants and agencies since 2015; magento.watch is the tooling I use on those projects.

Open source, maintained on weekends.