Peter ter Braake TrainSQL@live.nl SSIS in Denali Peter ter Braake TrainSQL@live.nl
Agenda New for developers SSISDB Catalog Dependency Analyser
New for developers Source Assistant en Destination Assistant Vervangen Connection project Undo / Redo button Transformation configuration zonder inputs Vernieuwde toolbox Tasks/transforms verdelen in groepen Grouping in Data Flow Hetzelfde als in Control Flow Parameters Met package of project scope Alleen in nieuwe project deployment mode Upgrade oude projecten ‘gewone’ upgrade Switchen naar nieuwe project deployment mode
Agenda New for developers SSISDB Catalog Dependency Analyser
SSISDB Catalog Database waarin packages worden opgeslagen Vergelijkbaar met ReportServer database Naast packages ook overige SSIS items Alleen gebruikt met nieuwe project deployment Bevat sprocs en views voor Execution Validation Monitoring Te maken door rechtsklik op Integration Services folder in SSMS Create Catalog Vereist CLR enabled on Instance
Environments Environment is verzameling van (environment) variables Vervangen configurations Environments worden gekoppeld aan projecten Directe of relatieve verwijzing Environment variables worden gekoppeld aan Integration Services parameters Voor elke package execution kunnen we kiezen welke gekoppelde environment te gebruiken
Run a package T-SQL: Grafisch vanuit SSMS catalog.create_execution to create an execution object and specify the project, package, environment reference, and if the 32-bit runtime should be used while running on a 64-bit computer. The ID of the execution is returned with the @execution_id output argument. catalog.set_execution_parameter_value (optional) to override a server default parameter value. The specified value will be used only with this instance of package execution. catalog.start_execution to start the execution. Grafisch vanuit SSMS
Monitoring Grafisch in SSMS Query onderstaande views met T-SQL: catalog.operations: To display all types of operations. catalog.operation_messages: To display messages related to all types of operations. catalog.executions: To display only package execution operations. catalog.validations: To display only project and package validation operations. catalog.extended_operation_info: To display additional validation details
catalog.operations Status Value of status Column Created 1 Running 2 Value of operation_type Column Integration Services initialization 1 Operations cleanup (SQL Agent job) 2 Project versions cleanup (SQL Agent job) 3 Deploy project 101 Restore project 106 Create and start package execution 200 Stop operation (stopping a validation or execution) 202 Validate project 300 Validate package 301 Configure catalog 1000 Status Value of status Column Created 1 Running 2 Canceled 3 Failed 4 Pending 5 Ended unexpectedly 6 Succeeded 7 Stopping 8 Completed 9
Agenda New for developers SSISDB Catalog Dependency Analyser
Dependency Services Verzamelt impact and data lineage informatie Werkt op (zie volgende slide) SQL Server Integration Services Impact (Rode pijlen in graph): welke objecten hangen van elkaar af Wat valt er om als ik deze tabel verander? Data lineage (Groene pijlen in graph): Waar komen gegevens vandaan? Kolom prijs komt via Derived Column uit flatfile
supported objects: Database server Database Table View Column TSQL Stored Procedure File Package Connection Manager Task Component Source Component Destination Component Transformation Component External Input and Output Columns Variable XML Document
Installeren Run IALSetup.cmd from command prompt In binn folder E.g. ialsetup.cmd -f "C:\...\MSSQL11.MSSQLSERVER\MSSQL\DATA" -s localhost IALSetup maakt DependencyCatalog database Zelf nog encryptie key aanmaken: USE DependencyCatalog GO CREATE MASTER KEY ENCRYPTION BY PASSWORD = ‘P@ssw0rd‘ GO
Impact Analysis setting Meaning None View does not show the impact between objects. Incoming Objects that have an impact on the selected object. Outgoing Objects on which the selected object has an impact. Bidirectional Objects on which the selected object has an impact, and objects that have an impact on the selected object.
Data Lineage Property Meaning None View does not show the impact between objects. Incoming Objects that provide data to the selected object. Outgoing Objects that receive data from the selected object. Bidirectional Objects that provide data to the selected object, and objects that receive data from the selected object.
Agenda New for developers SSISDB Catalog Dependency Analyser Vragen ???
The END Peter ter Braake TrainSQL@live.nl 06-57582223