FIX: CatalogFolder.DeployProject takes longer time to be complete when you deploy a project in SQL Server 2014 or SQL Server 2012

Applies to: SQL Server 2014 EnterpriseSQL Server 2014 EnterpriseSQL Server 2014 Developer More

Symptoms



When you deploy a project by using the CatalogFolder.DeployProject method in an instance of SQL Server 2014 or SQL Server 2012, the publication takes longer time than expected to be complete. Additionally, the publication may cause lots of network traffic.

This issue occurs because the CatalogFolder.DeployProject method retrieves all the data from the internal.operations table.

Resolution


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

Cumulative Update 1 for SQL Server 2014 SP1

Cumulative Update 8 for SQL Server 2014

Cumulative Update 6 for SQL Server 2012 SP2

Cumulative Update 7 for SQL Server 2014

Workaround


To work around this issue, use the Transact-SQL stored procedure catalog.deploy_project when you publish projects.

Status


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