Επεξεργασία

Κοινή χρήση μέσω


Optimize performance with auto cleanup tasks

Applies to these Dynamics 365 apps:
Human Resources

Issue

Microsoft Dynamics 365 Human Resources can experience performance issues if the batch job history grows too large.

Cause

Batch jobs that run frequently can lead to unsustainable growth of the batch job history. This can cause performance issues.

Resolution

Schedule an automatic task to clean up your batch job history. We recommend setting up the task to run weekly, but you might need to run the cleanup more or less frequently, depending on your environment. The following procedure contains our recommended settings, but you can change these according to your needs.

  1. In Human Resources, select System administration.

  2. In the Search bar, enter Batch job history clean-up.

    Search for batch job history cleanup.

  3. In History limit (days), enter 30.

    Set history limit to 30.

  4. Select Run in the background and then select Recurrence.

    Set recurrence.

  5. Under Define recurrence, set the Start date and Start time to occur during off-hours or the weekend, and then select NO END DATE.

    Define recurrence start date and time.

  6. Under RECURRENCE PATTERN, select Days and set REPEAT AFTER SPECIFIED INTERVAL to 7.

    Set cleanup to repeat weekly.

  7. Select OK.

  8. Change any other parameters under Run in the background as necessary, and then select OK.