Reindex one indexer, not all of them

In Adobe Commerce (Magento 2), reindexing everything after one price change wastes minutes on a big catalogue. List the indexers, then run just the one you need.

bin/magento indexer:status
bin/magento indexer:reindex catalog_product_price

You can pass several indexer codes separated by spaces.

Another small bin/magento habit: lock a config value with --lock-env, so nobody changes it in the admin.

Vishwas Bhatnagar

More quick notes

More