Skip to content

Instantly share code, notes, and snippets.

@matt40k
Created August 27, 2015 09:49
Show Gist options
  • Select an option

  • Save matt40k/fe08bf529ce38dc52470 to your computer and use it in GitHub Desktop.

Select an option

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
@matt40k

matt40k commented Aug 27, 2015

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment