Transcript
Page 1: The  ABC  of  ETL  with  SSIS

The ABC of ETL with SSIS

James Beresfordwww.bimonkey.com

Page 2: The  ABC  of  ETL  with  SSIS

To cover the basics of ETL using Microsoft BI tools

AIM

Page 3: The  ABC  of  ETL  with  SSIS

Agenda Tools Database Structure SSIS Package Level Components

Page 4: The  ABC  of  ETL  with  SSIS

•Database Engine•Integration Server•SQL AgentSQL Server

•dtexec•dtutil

Command Line

•SSMS: SQL Server Management Studio•BIDS: Business Intelligence Development Studio•SQL ProfilerGUI Tools

SQL Server Tools for ETL

Page 5: The  ABC  of  ETL  with  SSIS

SQL Server•Database Engine

stores data – optional

•Integration Server

executes packages

•SQL Agentschedules packages - optional

Page 6: The  ABC  of  ETL  with  SSIS

GUI Tools – SSMS

Page 7: The  ABC  of  ETL  with  SSIS

GUI Tools – BIDS

Where you will spend 95% of your time

Page 8: The  ABC  of  ETL  with  SSIS

GUI Tools – SQL Profiler

Page 9: The  ABC  of  ETL  with  SSIS

Command Line

dtutil - moves

dtexec - does

Page 10: The  ABC  of  ETL  with  SSIS

Database Structure

Audit and Control

Staging

Persistent Consumed

Page 11: The  ABC  of  ETL  with  SSIS

Control Structures

Audit and Control

Control Mechanisms

Logging

Page 12: The  ABC  of  ETL  with  SSIS

BIDS doesn’t work properly!

Use dtutil batch scripts

Deployment

Page 13: The  ABC  of  ETL  with  SSIS

File Systemvs

Package Storevs

SQL Server

Deployment

Page 14: The  ABC  of  ETL  with  SSIS

Create an Execution Account

Do not use SA account

Execution

Page 15: The  ABC  of  ETL  with  SSIS

SSIS SSIS functional units are Packages…

…then within Packages:

Control Flow

Data Flow

Page 16: The  ABC  of  ETL  with  SSIS

SSIS Packages

• Connection managers • Checkpoints• Event Handlers • Configurations• Variables & Expressions• Logging

Page 17: The  ABC  of  ETL  with  SSIS

Connection Managers

Components which refer to a data source or destination

Page 18: The  ABC  of  ETL  with  SSIS

CheckpointsKey Properties at Package Level:

• CheckpointFileName• CheckpointUsage• SaveCheckpoints

FailPackageOnFailure = True for all restart points

Page 19: The  ABC  of  ETL  with  SSIS

Event Handlers

As packages execute, a series of events occur, e.g: • Validation Completing• Errors• Variable values changing

Page 20: The  ABC  of  ETL  with  SSIS

Configurations

Configurations are External Sources

of

Package Execution Settings

Page 21: The  ABC  of  ETL  with  SSIS

Variables & Expressions

Variables provide changeable values to be used by packages

SSIS has its own expression language

Page 22: The  ABC  of  ETL  with  SSIS

Logging

Logging Providers record execution details

Page 23: The  ABC  of  ETL  with  SSIS

SSIS Packages

Control Flow

&

Data Flow

Page 24: The  ABC  of  ETL  with  SSIS

Control Flow

Mission Control!

Page 25: The  ABC  of  ETL  with  SSIS

Control Flow

Containers

Precedence Constraints

Non Data Tasks

Page 26: The  ABC  of  ETL  with  SSIS

Containers

Provide looping

Support Transactions

Page 27: The  ABC  of  ETL  with  SSIS

Precedence Constraints

Control flow of package

Success / Failure & Expressions

Page 28: The  ABC  of  ETL  with  SSIS

Non Data Tasks

• Execute SQL• Execute Package• FTP• Send Mail• Process SSAS Objects• etc…

Page 29: The  ABC  of  ETL  with  SSIS

Data Flow• Sources and Destinations• SCD• Lookup• Data Conversion• Derived Columns• OLEDB Command• Custom components

Page 30: The  ABC  of  ETL  with  SSIS

Learning Resources

learnintegrationservices.com

http://blogs.conchango.com/jamiethomson/


Top Related