Best practices for product attribute configuration
For best performance, do not configure more than the maximum recommended number of product attributes or product attribute options.
Product attributes—
For Adobe Commerce version 2.3.x and 2.4.0 to 2.4.1-p1, configure no more than 500 attributes
For Adobe Commerce version 2.4.2 and later, configure up to 1500 product attributes
Product attribute options–Configure up to 100 attribute options for each attribute
Product attribute sets–Configure a maximum of 1000 attribute sets
_
NOTE
Product attributes specify features that apply globally to all products. Product attribute options are customizations to specify features that apply to specific products.
SELECT COUNT(*) AS 'attribute_set' FROM *${TABLE_PREFIX}*eav_attribute_set;
Remove any unused attribute sets.
Potential performance impacts
Configuring many product attributes increases the product template size for each product (EAV structure) and the amount of data that must be retrieved. This increase affects operations in the following ways:
Increase in SQL queries traffic related to EAV data retrieval and the amount of data processed which results in decreased DB throughput
Significant increase in the size of Adobe Commerce indexes and the full-text search index
Reaching hard MySQL limits when building a FLAT index for oversized product templates and inability to use it
Increases in product data and index sizes can affect site performance in the following ways:
Increased response time for most storefront scenarios related to catalog browsing, search (quick and advanced), and layered navigation.
Product management operations in the Admin slow significantly which can lead to timeouts.
Product Mass Actions functionality can be blocked.
Index re-build time for mid- and large-sized catalogs cannot be performed on a daily basis due to long execution times.
Configuring many attribute options can affect site performance in the following ways:
Long request and rendering times on product detail (PDP) and category pages containing complex products.
Admin product save operations response time increases above optimal performance targets.