Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Added description for reindex in parallel mode command - #9208

Merged
magento-devops-reposync-svc merged 5 commits into
magento:masterfrom
nitish-ranjan05:patch-5
Nov 15, 2021
Merged

Added description for reindex in parallel mode command#9208
magento-devops-reposync-svc merged 5 commits into
magento:masterfrom
nitish-ranjan05:patch-5

Conversation

@nitish-ranjan05

@nitish-ranjan05 nitish-ranjan05 commented Oct 20, 2021

Copy link
Copy Markdown
Contributor

Purpose of this pull request

This pull request helps users to understand reindex in parallel mode command

Affected DevDocs pages

Description

  • Added commands and description for Reindex in parallel mode

whatsnew
Added the 'Reindexing in parallel mode` section to the Manage the indexers topic.

@BarnyShergold BarnyShergold left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition - just needs a few corrections.

- Category Product can be paralleled by store views.
- Catalog Price can be paralleled by website and customer groups.

By default, Catalog Price does not use a partitioning into dimension.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is sentence is not very clear - I'm not sure myself what it means. Please add more information to elaborate.


By default, Catalog Price does not use a partitioning into dimension.

If you want to use parallelization you need to set one of available modes of dimensions for product price indexer:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
If you want to use parallelization you need to set one of available modes of dimensions for product price indexer:
If you want to use parallelization you need to set one of the available modes of dimensions for the product price indexer:

bin/magento indexer:set-dimensions-mode catalog_product_price website
```

To check the current mode you can use next command:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To check the current mode you can use next command:
To check the current mode you can use the command:

@andrewbess andrewbess left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @nitish-ranjan05
Thank you for your contribution here.
Could you please check @BarnyShergold comment?


As of Magento 2.2.6 or later, Indexers are scoped and multi-threaded to support reindexing in parallel mode. This feature reduces processing time. It parallelizes by the indexer’s dimension and executes across multiple threads.

Index parallelization can affect only the indexers which are scoped, which means Magento split the data into multiple tables by indexer as its scope instead of keeping all data in one table.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could explained a bit more. Define 'scoped' a bit and how that determines how the data is broken up.

@dobooth dobooth added the Waiting for Response Waiting for response from internal/external parties label Nov 10, 2021
@dobooth dobooth added 2.3.x Magento 2.3 related changes 2.4.x Magento 2.4.x related changes Major Update Significant original updates to existing content and removed Waiting for Response Waiting for response from internal/external parties labels Nov 15, 2021
@dobooth

dobooth commented Nov 15, 2021

Copy link
Copy Markdown
Contributor

@magento import pr to magento-devdocs/devdocs

@m2-github-services

Copy link
Copy Markdown

@dobooth the Pull Request is successfully imported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

2.3.x Magento 2.3 related changes 2.4.x Magento 2.4.x related changes Major Update Significant original updates to existing content Partner: Ziffity partners-contribution PR created by Magento partner Progress: done

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants