910 likes | 2.04k Views
The ABC of ETL with SSIS. James Beresford www.bimonkey.com. AIM. To cover the basics of ETL using Microsoft BI tools. Tools Database Structure SSIS Package Level Components. Agenda. SQL Server Tools for ETL. Database Engine stores data – optional Integration Server
E N D
The ABC of ETL with SSIS James Beresford www.bimonkey.com
AIM To cover the basics of ETL using Microsoft BI tools
Tools • Database Structure • SSIS • Package Level • Components Agenda
Database Engine • stores data – optional • Integration Server • executes packages • SQL Agent • schedules packages - optional SQL Server
GUI Tools – BIDS Where you will spend 95% of your time
Command Line dtutil - movesdtexec - does
Audit and Control Control Structures Control Mechanisms Logging
Deployment BIDS doesn’t work properly!Use dtutil batch scripts
Deployment File SystemvsPackage StorevsSQL Server
Execution Create an Execution AccountDo not use SA account
SSIS functional units are Packages… • …then within Packages: • Control Flow • Data Flow SSIS
Connection managers • Checkpoints • Event Handlers • Configurations • Variables & Expressions • Logging SSIS Packages
Connection Managers Components which refer to a data source or destination
Key Properties at Package Level: • CheckpointFileName • CheckpointUsage • SaveCheckpoints • FailPackageOnFailure = True for all restart points Checkpoints
Event Handlers • As packages execute, a series of events occur, e.g: • Validation Completing • Errors • Variable values changing
Configurations are External Sources of Package Execution Settings Configurations
Variables provide changeable values to be used by packages SSIS has its own expression language Variables & Expressions
Logging Logging Providers record execution details
Control Flow & Data Flow SSIS Packages
Control Flow Mission Control!
Containers Precedence Constraints Non Data Tasks Control Flow
Provide looping Support Transactions Containers
Control flow of package Success / Failure & Expressions Precedence Constraints
Execute SQL • Execute Package • FTP • Send Mail • Process SSAS Objects • etc… Non Data Tasks
Sources and Destinations • SCD • Lookup • Data Conversion • Derived Columns • OLEDB Command • Custom components Data Flow
learnintegrationservices.com http://blogs.conchango.com/jamiethomson/ Learning Resources