Optimize performance by scheduling batch jobs after hours
Applies to these Dynamics 365 apps:
Human Resources
Issue
Microsoft Dynamics 365 Human Resources can experience performance issues if long-running batch jobs run during typical business hours.
Resolution
Schedule the following batch jobs during off hours. We also recommend reviewing the frequency of batch jobs that run frequently. If possible, reduce the recurrence of the batch job. In many cases, the default frequency is sufficient.
The following batch jobs should run at night or after hours. Be sure to check the time zone for these recurring batch jobs. Some batch jobs might use Pacific Standard Time (PST).
Batch job | Default occurrence |
---|---|
Batch job history cleanup | 1 time per month |
Export staging cleanup | 1 time per day |
Common Data Service integration missed request sync | 1 time per day |
Database compression system job that needs to run regularly during off hours | 1 time per day |
Database index rebuild system job that needs to run regularly during off hours | 1 time per day |
In Human Resources, select System administration.
In the Search bar, search for one of the above batch jobs.
Select Run in the background, and then select Recurrence.
Under Define recurrence, set the Start date and Start time to occur during off hours or the weekend. Select No end date.
Select OK.
If needed, change any other parameters under Run in the background, and then select OK.