FIX: Slow performance when you run the SSIS Server Maintenance Job to remove old data in SQL Server 2012

Applies to: SQL Server 2012 EnterpriseSQL Server 2012 Business IntelligenceSQL Server 2012 Developer More

Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.

Symptoms


When you run the SSIS Server Maintenance Job to remove old data in Microsoft SQL Server 2012, the SSIS Server Maintenance Job may perform slowly.

Note The SSIS Server Maintenance Job calls the following stored procedures when it removes old data:
  • [internal].[cleanup_server_retention_window]
  • [internal].[cleanup_server_project_version]

Resolution


After you apply the fix, nonclustered indexes are added to various tables in the SSISDB database to improve the performance of the job and of the following internal stored procedures:
  • [SSISDB].[internal].[operation_messages]
  • [SSISDB].[internal].[executable_statistics]
  • [SSISDB].[internal].[execution_component_phases]
  • [SSISDB].[internal].[event_messages]
  • [SSISDB].[internal].[event_message_context]

Cumulative update information

Cumulative Update 4 for SQL Server 2012 SP1

The fix for this issue was first released in Cumulative Update 4. For more information about how to obtain this cumulative update package for SQL Server 2012 SP1, click the following article number to go to the article in the Microsoft Knowledge Base:
2833645 Cumulative update 4 for SQL Server 2012 SP1
Note Given that the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 SP1 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to go to the article in the Microsoft Knowledge Base:
2772858 The SQL Server 2012 builds that were released after SQL Server 2012 Service Pack 1 was released

Cumulative Update 7 for SQL Server 2012

The fix for this issue was first released in Cumulative Update 7. For more information about how to obtain this cumulative update package for SQL Server 2012, click the following article number to view the article in the Microsoft Knowledge Base:
2823247 Cumulative update package 7 for SQL Server 2012
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2692828 The SQL Server 2012 builds that were released after SQL Server 2012 was released

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 SSISDB and the SSIS Server Maintenance Job, see the "Operations and Project Version Cleanup" section of the following Microsoft TechNet webpage: For more information the Incremental Servicing Model for SQL Server, click the following article number to view 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 view 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 view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates