Magento Indexing⚓︎
Indexing is how Magento transforms data such as products and categories, to improve the performance of your storefront. As data changes, the transformed data must be updated or reindexed. To optimize storefront performance, Magento accumulates data into special tables using indexers.
For example, if you change the price of an item from 3.99. Magento must reindex the price change to display it on your storefront.
View a list of indexers⚓︎
To view a list of all indexers:
The list displays as follows:
design_config_grid Design Config Grid
customer_grid Customer Grid
catalog_category_product Category Products
catalog_product_category Product Categories
catalogrule_rule Catalog Rule Product
catalog_product_attribute Product EAV
inventory Inventory
catalogrule_product Catalog Product Rule
cataloginventory_stock Stock
catalog_product_price Product Price
catalogsearch_fulltext Catalog Search
View indexer status⚓︎
Use this command to view the status of all indexers or specific indexers. For example, find out if an indexer needs to be reindexed.
To list status of all indexers:
To Reindex⚓︎
Use this command to reindex all or selected indexers one time only.
To reindex all indexers:
To use multiple threads for indexing use:
Reset indexer⚓︎
Use this command to invalidate the status of all indexers or specific indexers.
To invalidate all indexers.
References⚓︎
- https://devdocs.magento.com/guides/v2.3/extension-dev-guide/indexing.html
- https://devdocs.magento.com/guides/v2.3/config-guide/cli/config-cli-subcommands-index.html