sql SSISDB清理

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sql SSISDB清理相关的知识,希望对你有一定的参考价值。

USE SSISDB
GO
 
--get SSISDB catalog properties - to be able to cleanup the following settings must be set to TRUE
--OPERATION_CLEANUP_ENABLED	TRUE
--VERSION_CLEANUP_ENABLED	TRUE
select * from [catalog].catalog_properties

--execute data retention cleanup (you will need to set RETENTION_WINDOW setting to lower setting (default 356) gradually (small steps)
--, because usualy there is not enough disk space when you do this for transaction log to grow)
EXEC [internal].[cleanup_server_retention_window]

EXEC [internal].[cleanup_server_project_version]

--inspect LOG size
DBCC SQLPERF('logspace')

以上是关于sql SSISDB清理的主要内容,如果未能解决你的问题,请参考以下文章