默认 CRM 2011 维护作业的默认计划是什么?

What is the default schedule for the default CRM 2011 maintenance jobs?

我的 CRM 2011 安装在一天中的特定时间(上午 11 点)I/O 出现了巨大的峰值。 我很怀疑这是默认的重建索引作业。

一切都是默认值,最新应用的更新是RU13。 Sql 是 sql 2008 r2, sp1.

我发现这个 MSDN blog 以及其他来源建议将默认作业的时间表更新为晚上 运行,或者根本不更新。

但我无法找到这些默认 CRM 作业的默认计划。我知道他们每天都在执行,但什么时候执行? 凌晨 1 点、下午 1 点、服务开始后 1 小时?

另外,有没有办法查看执行历史?

我记得很久以前就找到了这个问题的答案,但我现在找不到 link。作业的默认计划取决于您最初安装 Dynamics 的时间。 IIRC,作业计划在安装后 24 小时开始。这是一种愚蠢的默认设置,因为大多数人会在工作日的中间安装它,但这就是为什么他们建议您将其更改为更适合您的业务日程安排。

Dynamics CRM 2011 Asynchronous Service regularly executes multiple internal maintenance jobs for each organization (database) and that these are scheduled initially at the time of organization creation on default frequencies (daily, monthly, etc.). Hopefully, you're also aware of the need to reschedule these jobs to execute during non-peak usage hours so as to minimize impact on system performance

您可以在此 MSDN blog

中找到更多详细信息

Austin 那里的有趣评论给了你一些见解。

MSCRM_CONFIG.[dbo].ScalegroupOrganizationMaintenanceJobs table keeps track of LastResultCode and LastRunTime

Useful query:

select
LastRunTime,
CASE OperationType
       WHEN 14 THEN 'DeletionService'
       WHEN 15 THEN 'IndexManagement'
       WHEN 30 THEN 'ReindexAll'
       WHEN 32 THEN 'CleanupInactiveWorkflowAssemblies'
       WHEN 40 THEN 'GoalRollup'
END OperationType, OperationType,
enabled, ExecutionTime,LastResultCode,LastResultData
,MaintenanceWindowEndTime,MaintenanceWindowStartTime, ModifiedOn
,NextRunTime,RecurrencePattern, RecurrenceStartTime, StartedOn, State, IsDeleted

from ScaleGroupOrganizationMaintenanceJobs
order by LastRunTime desc