Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

Symptoms

When you perform RetrieveMultiple queries on large datasets in Microsoft Dynamics CRM 2011, you experience slow performance.

↑ Back to the top


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.

↑ Back to the top


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: 

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


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

↑ Back to the top


Keywords: kbqfe, kbfix, kbmbsmigrate, kbmbspartner, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2535245
Revision : 1
Created on : 1/7/2017
Published on : 8/15/2012
Exists online : False
Views : 295