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 /en-us/help/3067839
Cumulative Update 6 for SQL Server 2014 /en-us/help/3031047
Cumulative Update 4 for SQL Server 2012 SP2 /en-us/help/3007556
Cumulative Update 14 for SQL Server 2012 SP1 /en-us/help/3023636
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:
General information about the udp_name_Leaf staging stored procedureFor more information about the leaf member staging table in the MDS, go to the following MSDN website:
General information about the leaf members staging tableFor 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