You experience slow performance when you perform RetrieveMultiple queries on large datasets in Microsoft Dynamics CRM 2011

Article translations Article translations
Article ID: 2535245 - View products that this article applies to.
Expand all | Collapse all

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:  
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM\
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Name the newly created DWORD registry entry by typing EnableRetrieveMultipleOptimization.
  5. Right-click EnableRetrieveMultipleOptimization, and then click Modify.
  6. In the Value data box, type 2, and then click OK.

    Note
    The default value is 0.
  7. 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: 

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 updates
For 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

Properties

Article ID: 2535245 - Last Review: August 15, 2012 - Revision: 2.0
Applies to
  • Microsoft Dynamics CRM 2011
Keywords: 
kbqfe kbfix kbmbsmigrate kbexpertiseinter kbsurveynew KB2535245

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com