Article ID: 2535245 - Last Review: June 2, 2011 - Revision: 1.0

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

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/2466086/ ) Update Rollup 2 for Microsoft Dynamics CRM 2011 is available

To enable this hotfix on the computer that is running Microsoft Dynamics CRM 2011, follow these steps:
  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.

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  (http://support.microsoft.com/kb/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  (http://support.microsoft.com/kb/887283/ ) Microsoft Business Solutions CRM software hotfix and update package naming standards

APPLIES TO
  • Microsoft Dynamics CRM 2011
Keywords: 
kbqfe kbfix kbmbsmigrate kbexpertiseinter kbsurveynew KB2535245