One of the most significant differences between previous versions of SSIS and SQL Server 2012 is the introduction of the SSIS catalog. The catalog only applies for those who are in the project deployment model and gives you many new features for administering and configuring packages. It also enables you to run packages in T-SQL or through PowerShell.
Behind the scenes, a catalog is simply a database where your packages are stored and configured. As packages run, it stores operational information about the packages’ run and any errors. Because the packages are in a database called SSISDB, much of their management can be done through T-SQL or PowerShell, that’s in addition to the normal way of managing them, which is through Management Studio.
The easiest way to create the SSIS catalog (you have only one catalog per database instance) and its accompanying database is with Management Studio. In Management Studio, connect to your database engine and navigate to the Integration Services node in Object Explorer. Right-click the Integration Services Catalogs node and select Create Catalog. This opens the Create Catalog dialog box (shown in Figure 52-1) where you must type a password that will encrypt all packages. To fully utilize the package catalog, you must also have the Common Language Runtime (CLR) integration turned on by checking the Enable CLR box. Click OK to create the database and catalog.
After the catalog is created, you’re then able to configure the catalog by right-clicking the SSISDB catalog and selecting Properties, which opens the Catalog Properties screen. One of the catalog’s jobs is to store operational log data about your packages’ execution like errors, warnings, and duration. In the Catalog Properties dialog box (Figure 52-2), you can configure how many days of that history are kept. By default, the catalog will store 365 days of history, which may be far too much for most environments.
By default, the catalog stores only basic logging. If you want to store more detailed logging for debugging, you can choose Verbose for the Server-wide Default Logging Level option, but note that this will slow down your packages and take much more space in your catalog to store the logs.
Lastly, as you deploy packages, there is a rudimentary version control system in the catalog. By default, 10 versions of your project are kept in case of a problem, but you can change that in the Catalog Properties screen with the Maximum Number of Versions per Project option.
In the catalog, folders are containers for multiple projects, much like a solution is in Visual Studio. Imagine a data warehousing project with many subject areas like HR, finance, and inventory. You could create a folder called Data Warehouse and deploy all the projects for each subject area into that central folder.
To create a new folder, right-click the catalog and select Create Folder. Name the folder and click OK. You cannot deploy an SSIS project in the project deployment model without a folder first being created. Security permissions can also be shared among any projects in a folder.
In this Try It, you create and configure the SSIS catalog. After this lesson, you will understand how to use the SSIS catalog and folder structure.
This lesson has no samples to download.
Create an SSIS catalog database on your database instance. Configure the catalog to retain only 45 days of history. Also, create a folder called Data Warehouse for your projects to be deployed into.