Symptoms
When you perform RetrieveMultiple queries on large datasets in Microsoft Dynamics CRM 2011, you experience slow performance.
Cause
This problem occurs because large datasets cache the Microsoft SQL query plans for the RetrieveMultiple queries. The RetrieveMultiple optimization for the basic depth is required for the "local depth" read privilege and for the "deep depth" read privilege.
Resolution
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 2011. For more information about the latest cumulative update rollup for Microsoft Dynamics CRM 2011, click the following article number to view the article in the Microsoft Knowledge Base:
2466086 Update Rollup 2 for Microsoft Dynamics CRM 2011 is available If Update Rollup 8 or an earlier upudate rollup is installed, follow these steps to enable this hotfix on the computer that is running Microsoft Dynamics CRM 2011:
-
Click Start, click Run, type regedit in the Open box, and then click OK.
-
Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\
-
On the Edit menu, point to New, and then click DWORD Value.
-
Name the newly created DWORD registry entry by typing EnableRetrieveMultipleOptimization.
-
Right-click EnableRetrieveMultipleOptimization, and then click Modify.
-
In the Value data box, type 2, and then click OK.
Note The default value is 0. -
On the File menu, click Exit.
If Update Rollup 10 or a later update rollup is installed, see the "Optimizing the Performance of Queries against Large Datasets" section of the "Optimizing and Maintaining the Performance of a Microsoft Dynamics CRM 2011 Server Infrastructure" white paper. To download the white paper, go to the following Microsoft Download Center website:
Optimizing and Maintaining the Performance of a Dynamics CRM 2011 Server Infrastructure
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updatesFor more information about Microsoft Business Solutions CRM software hotfix and update package terminology, click the following article number to view the article in the Microsoft Knowledge Base:
887283 Microsoft Business Solutions CRM software hotfix and update package naming standards