FIX: Performance decreases when you stage many records in MDS for SQL Server 2012 or SQL Server 2014

Symptoms
You experience decreased performance when you stage many records (specifically, more than 1 million records) in Master Data Services (MDS) for Microsoft SQL Server 2012 or SQL Server 2014. The slow performance affects the leaf member staging scenario. Specifically, slw performance affects the udp_name_Leaf stored procedure.

Note In this procedure name, the word "name" is a placeholder for the actual staging table that was specified when the entity was created.

This performance issue occurs when the ImportType=6 parameter is used in the ImportType staging table column that instructs the staging procedures to permanently delete the members that are specified in the staging table from the entity.
More information
This performance issue affects statements against the #TablePR temporary table that is referenced in the udp_name_Leaf stored procedure.
Resolution
After you apply the fix, a clustered index is added in a stored procedure that is used when you stage data in MDS.

Cumulative Update 1 for SQL Server 2014 SP1

Cumulative Update 6 for SQL Server 2014

Cumulative Update 4 for SQL Server 2012 SP2

Cumulative Update 14 for SQL Server 2012 SP1

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:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
For more information about the udp_name_Leaf staging stored procedure, go to the following MSDN website: For more information about the leaf member staging table in the MDS, go to the following MSDN website: For more information about the Incremental Servicing Model for SQL Server, click the following article number to go to the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems
For more information about the naming schema for SQL Server updates, click the following article number to go to the article in the Microsoft Knowledge Base:
822499 Naming schema for Microsoft SQL Server software update packages
For more information about software update terminology, click the following article number to go to the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
Properties

Article ID: 2840657 - Last Review: 06/22/2015 14:59:00 - Revision: 5.0

Microsoft SQL Server 2012 Service Pack 2, Microsoft SQL Server 2012 Service Pack 1, Microsoft SQL Server 2012 Enterprise, Microsoft SQL Server 2012 Business Intelligence, Microsoft SQL Server 2014 Developer, Microsoft SQL Server 2014 Enterprise, Microsoft SQL Server 2014 Standard, Microsoft SQL Server 2014 Service Pack 1

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2840657
Feedback