Configuring the CQRS pausing
Important
This evolution requires enabling the following feature flag: Portail admin Domain > Pause Cqrs Label.
A CQRS table is a copy of an existing database table. It contains less information, allows you to read easily its data in some cases, such as, when starting a search.
Importing data to these tables, when creating or modifying multiple objects at the same time, can saturate the system and causes performance issues for the users.
The:
- CQRS Assignment table contains all information related to the project (phases, sub-phases, tasks, customers of the project, etc).
- CQRS Employee table contains all information related to the employees.
The CQRS Pause menu allows you to put temporarily on hold the CQRS Assignment and/or Emplyees tables imports.
The pausing of the CQRS tables is configured from the Administration console > Configuration > CQRS Pause.
| 1 | In the CQRS pause screen, click on Pause CQRS. |
| 2 | In the window displayed, selected the tables that must be putted on hold among: |
- All tables;
- CQRS Assignment table;
- CQRS Employee table.
| 3 | Click on Confirm. |
The selected tables are paused. The user name, date and hour of pausing and the status of the relevant tables is indicated in the table.
| 1 | In the CQRS Pause screen, click on Resume CQRS. |
| 2 | Confirm the action. |
The import of the selected tables is resumed.
| 1 | For the Strategy (available values: Stack or Discard; default value: Discard) parameter, select the strategy to apply when pausing the CQRS tables among: |
- Discard - Recommended when the import has over 10,000 items. It is the default strategy.
- Stack - Recommended when the import has less than 10,000 items.
| 2 | Click on Save. |
The strategy is set up.
Note
It is not possible to modify the strategy to apply when the tables are paused.