FIX: Poor performance when many table-valued parameters are used in SQL Server

Assume that you run a stored procedure on a database that passes many table-valued parameters in Microsoft SQL Server 2008 R2, SQL Server 2012, SQL Server 2008, or SQL Server 2014. In this situation, you experience high contention for the sys.sysprivs(2:1:101) and sys.syssoftobjrefs tables in the Tempdb database.

Note This issue also occurs when there is very heavy usage of Tempdb objects. For example, Tempdb objects are created and dropped frequently.


Service Pack information

To resolve this issue, apply Microsoft SQL Server 2008 SP4. For more information about how to obtain SQL Server 2008 SP4, click the following article number to view the article in the Microsoft Knowledge Base:
2979596 SQL Server 2008 Service Pack 4 release information

Hotfix information

Hotfix for SQL Server 2008 SP3

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Cumulative update information

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 1 for SQL Server 2014

Cumulative Update 9 for SQL Server 2012 SP1

Cumulative Update 11 for SQL Server 2008 R2 SP2

About cumulative updates for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Artikelnummer: 2920987 – Letzte Überarbeitung: 09/30/2014 19:20:00 – Revision: 6.0

Microsoft SQL Server 2008 R2 Service Pack 2, Microsoft SQL Server 2012 Service Pack 1, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2008 Service Pack 3

  • kbfix kbsurveynew kbexpertiseadvanced kbhotfixserver kbautohotfix KB2920987