Skip to content

Instantly share code, notes, and snippets.

@matt40k
Created August 27, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matt40k/fe08bf529ce38dc52470 to your computer and use it in GitHub Desktop.
Save matt40k/fe08bf529ce38dc52470 to your computer and use it in GitHub Desktop.
Reduce the retention and max project versions kept to help reduce the SSISDB size. Check the settings
-- Make a note of the before
-- Tempted to add into to preserve the before
select * from catalog.catalog_properties
-- Change the settings
exec catalog.configure_catalog retention_window, 30
exec catalog.configure_catalog max_project_versions, 2
-- Check the settings have stuck
select * from catalog.catalog_properties
-- Run the cleanup
exec internal.cleanup_server_retention_window
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment