27.04.2012, 02:17 | #1 |
Участник
|
crminthefield: Avoid Performance Issues by Rescheduling CRM 2011 Maintenance Jobs
Источник: http://blogs.msdn.com/b/crminthefiel...ance-jobs.aspx
============== By default CRM 2011 will create six maintenance jobs which are scheduled to run daily. These jobs are executed by the Microsoft Dynamics CRM Asynchronous Processing Service (maintenance). Depending on when the organization was created the maintenance jobs may run right when users are in the system. The CRM users may notice slowness or timeouts if the jobs are running while they are working in CRM. It is recommended to reschedule the jobs to a time when there there will be a limited number of users in the system to avoid impact to the users. How to Reschedule the Jobs The maintenance jobs can be rescheduled using the CRM 2011 Maintenance Job Editor Tool. Below are the steps to use this tool. 1. Download the CRM 2011 Maintenance Job Editor Tool http://crmjobeditor.codeplex.com/ 2. Copy extracted contents to the C:\Program Files\Microsoft Dynamics CRM\tools directory. 3. Double Click the CRM2011JobEditor.exe to launch the tool. 4. Select your organization. 5. Each of the jobs will be staggered a few minutes so they do not execute at the same time. To ensure they remain staggered you can go through each Job and update the Starting At Time by changing the only the hour, switch between AM/PM and then click Update. Alternatively, you may update the Starting At Time and choose the Apply Settings To All Jobs in the Organization option instead of updating each individual job. Before: After: Disabling the Reindex All Job The Reindex All job will ReIndex and Shrink your CRM database. Many customers will not want to shrink the database and may already have SQL maintenance jobs in place that will Reindex databases. For those reasons they may want to disable this particular job and control the maintenance within SQL. There is not a “disable” feature for the jobs, but the Next Run Time for this job can be set into the future such as 12/31/2099 so that it will never execute. Additionally the following errors may be logged in the event viewer application logs if this particular job is running for a long duration or timing out on a larger database. This would be another situation where you may choose to disable the Reindex All job and perform these actions within a SQL maintenance plan. Query execution time of x seconds exceeded the threshold of 10 seconds. Thread: 13; Database:
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|