SlideShare a Scribd company logo
BATAM | 23 OCT 2019
Kiki Rizki Noviandi | Data Platform MVP
ABOUT ME
Microsoft Data Platform MVP Since 2006
Founder SQL Server Indonesia User Group Community
My Name : Kiki Rizki Noviandi
Milis : sqlserver-indo@yahoogroups.com
https://www.facebook.com/groups/sqlserverindonesia
http://www.kwad5.com
https://mvp.microsoft.com/en-us/PublicProfile/33869?fullName=Kiki%20Rizki%20Noviandi
SSIS ARCHITECTURE
INTRODUCTION
SQL Server Integration Services (SSIS) is an ETL tool (Extract,
Transform and Load) which is used for building enterprise-level data
integration and data transformation solutions. Integration services
help in developing solutions for complex business problems, as listed
below
Copying or downloading files
Sending e-mail messages in response to events
Updating DataWarehouses
Cleaning and mining data
Managing SQL server objects and data
SSIS ARCHITECTURE
Control Flow
Data Flow
CONTROL FLOW
 When first viewing a package…gives a view of what’s supposed to happen 
 Tasks (such as a data flow task, script task, send mail, FTP)
 Precedence constraints
 Containers
 Separate Engine than the Data Flow engine
EXAMPLE CONTROL FLOW
DATA FLOW
The Data Flow task encapsulates the data flow engine
that moves data between sources and destinations, and
lets the user transform, clean, and modify data as it is
moved.
Microsoft Books Online:
https://docs.microsoft.com/en-us/sql/integration-services/control-
flow/data-flow-task
TYPICAL DATA FLOW TASK
 Source(s)
Extract data
 Transformation
Modify, route, cleanse,
summarize data
 Destinations
Load data
LOTS OF OPTIONS
PACKAGES
An organized collection of connections, control flow elements,
data flow elements, event handlers, variables, parameters, and
configurations which are assembled using either the graphical
design tools that SQL Server Integration Services provides, or
build programmatically.
CONTENTS OF A PACKAGE
Tasks and Containers (Control Flow)
Data Sources and Destination (Data Flow)
Connection Managers (connections)
PACKAGE FUNCTIONALITY EXTENSION
OBJECTS
Configurations
A configuration is a set of
property-value pairs that defines
the properties of the package
and its tasks, containers,
variables, connections and
event handlers when the
Logging and Log Providers
A log is a collection of information that is
collected when the package runs
Variables
Integration services supports
system variables and user-
defined variables
TOUR OF THE “DEV” ENVIRONMENT
DEMO
LAUNCH SSDT
CREATE A NEW SSIS PROJECT
TOUR THE VARIOUS WINDOW PANES
CONTROL FLOW BASICS
CONTROL FLOW ELEMENTS
 Tasks
 Containers
 Precedence Constraints
FREQUENTLY USED
CONTROL FLOW TASKS
Data Profiling Task
“hunt for treasure and landmines”
Execute SQL Task
File System Task
Execute Process Task
Send Mail Task
Execute Package Task
Script Task
Data Flow Task
The “star of the opera”
CONTROL FLOW CONTAINERS
 Why Containers?
 Containing / organizing
 Executable unit within the package
 Can be enabled/disabled
 Two of the three containers provide Looping
 Transaction protection context
 Think “all, or nothing”
 Checkpoint context
 Restart point
 Three Kinds
 Sequence Container
 For Loop Container
 For Each Loop Container
PRECEDENCE CONSTRAINTS
 Precedence Constraints define:
 Workflow order
 Workflow conditions
 Downstream Task & Container Execution can be based on:
 Constraint evaluation
 Success
 Failure
 Completion
 Expression
 Expression and Constraint
 Expression or Constraint
 Multiple Constraint evaluation
 Logical AND
 Logical OR
DATA FLOW BASICS
DATA FLOW BASICS
 Various ways to accomplish ETL in SSIS
 BULK INSERT Task
 Execute SQL Task
 bcp.exe
 Command line utility for importing and exporting text files
 Most typically used ETL tool in SSIS is the Data Flow Task
 The “DFT” defines a “pipeline”
 At least one source
 At least one destination
 Optional: one or more transformations
DATA FLOW SOURCES
 Database Engines
 OLE-DB Source
 ADO .NET Source
 ODBC
 File sources
 Flat file
 Excel file
 Raw file
 XML file
 Others (pretty much anything)
DATA FLOW DESTINATIONS
 Database Engines
 OLE-DB destination
 ADO .NET destination
 File destinations
 Flat file
 Excel file
 Raw file
 Other destinations
 ODBC destination
 Recordset destination
 …
DATA FLOW TRANSFORMATIONS
 Row transformations
 Character map
 Copy column
 Derived column
 Import column / Export column
 Rowset transformations
 Aggregate
 Sort
 Pivot and Unpivot
 Row sampling and Precentage sampling
 Split & join transformations
 Conditional Split
 Lookup
 Merge
 Merge Join
 Multicast
 Union All
Auditing transformations
Audit
Row count
BI transformations
Slowly changing dimension
Fuzzy grouping
Fuzzy lookup
Data mining query
Custom transformations
Script component
QUESTION ?
THANK YOU

More Related Content

What's hot

SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
Robert MacLean
 
SSIS control flow
SSIS control flowSSIS control flow
SSIS control flow
Slava Kokaev
 
SSIS Presentation
SSIS PresentationSSIS Presentation
SSIS Presentation
BarbaraBederman
 
Microsoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbaiMicrosoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbai
Unmesh Baile
 
Ssn0020 ssis 2012 for beginners
Ssn0020   ssis 2012 for beginnersSsn0020   ssis 2012 for beginners
Ssn0020 ssis 2012 for beginners
Antonios Chatzipavlis
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control Flow
Slava Kokaev
 
SSIS Connection managers and data sources
SSIS Connection managers and data sourcesSSIS Connection managers and data sources
SSIS Connection managers and data sources
Slava Kokaev
 
03 Integration Services Project
03 Integration Services Project03 Integration Services Project
03 Integration Services Project
Slava Kokaev
 
Sql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & IkeSql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & Ike
Ike Ellis
 
Sql server etl framework
Sql server etl frameworkSql server etl framework
Sql server etl framework
nijs
 
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
Mike Curtis
 
Web Application SG
Web Application SGWeb Application SG
Web Application SG
Jae Sung Park
 
vinay reddy resume 2yrs
vinay reddy resume 2yrsvinay reddy resume 2yrs
vinay reddy resume 2yrs
Vinay Reddy
 
Deploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dcDeploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dc
Joseph D'Antoni
 
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Naji El Kotob
 
Ado
AdoAdo
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
LiquidHub
 
Web service
Web serviceWeb service
Web service
abhay singh
 
SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433
jasonyousef
 

What's hot (19)

SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
SSIS control flow
SSIS control flowSSIS control flow
SSIS control flow
 
SSIS Presentation
SSIS PresentationSSIS Presentation
SSIS Presentation
 
Microsoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbaiMicrosoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbai
 
Ssn0020 ssis 2012 for beginners
Ssn0020   ssis 2012 for beginnersSsn0020   ssis 2012 for beginners
Ssn0020 ssis 2012 for beginners
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control Flow
 
SSIS Connection managers and data sources
SSIS Connection managers and data sourcesSSIS Connection managers and data sources
SSIS Connection managers and data sources
 
03 Integration Services Project
03 Integration Services Project03 Integration Services Project
03 Integration Services Project
 
Sql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & IkeSql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & Ike
 
Sql server etl framework
Sql server etl frameworkSql server etl framework
Sql server etl framework
 
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
2010 SUNYLA - The X Layer - a solution for a special collection a Buffalo State
 
Web Application SG
Web Application SGWeb Application SG
Web Application SG
 
vinay reddy resume 2yrs
vinay reddy resume 2yrsvinay reddy resume 2yrs
vinay reddy resume 2yrs
 
Deploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dcDeploying data tier applications sql saturday dc
Deploying data tier applications sql saturday dc
 
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
Microsoft SQL Server 2012 Components and Tools (Quick Overview) - Rev 1.3
 
Ado
AdoAdo
Ado
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Web service
Web serviceWeb service
Web service
 
SQL Server Developer 70-433
SQL Server Developer 70-433SQL Server Developer 70-433
SQL Server Developer 70-433
 

Similar to SSIS: Flow tasks, containers and precedence constraints

It ready dw_day3_rev00
It ready dw_day3_rev00It ready dw_day3_rev00
It ready dw_day3_rev00
Siwawong Wuttipongprasert
 
SQL Server 2008 Integration Services
SQL Server 2008 Integration ServicesSQL Server 2008 Integration Services
SQL Server 2008 Integration Services
Eduardo Castro
 
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data ServicesCreating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
sumedha.r
 
Lee Granger Bi Portfolio
Lee Granger Bi PortfolioLee Granger Bi Portfolio
Lee Granger Bi Portfolio
LeeGranger
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
llangit
 
06 SSIS Data Flow
06 SSIS Data Flow06 SSIS Data Flow
06 SSIS Data Flow
Slava Kokaev
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
ukdpe
 
Microsoft SQL Server 2012
Microsoft SQL Server 2012 Microsoft SQL Server 2012
Microsoft SQL Server 2012
Dhiren Gala
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
Tobias Koprowski
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration Services
Slava Kokaev
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
ukdpe
 
SQL Server Denali: BI on Your Terms
SQL Server Denali: BI on Your Terms SQL Server Denali: BI on Your Terms
SQL Server Denali: BI on Your Terms
Andrew Brust
 
What's New for Data?
What's New for Data?What's New for Data?
What's New for Data?
ukdpe
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft Private Cloud
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
Igor Moochnick
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
Tobias Koprowski
 
Roles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL AzureRoles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL Azure
Eduardo Castro
 
Mobile
MobileMobile
Mobile
firstmedit
 
Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)
James Serra
 
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive session
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive sessionMicrosoft ignite 2018 SQL server 2019 big data clusters - deep dive session
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive session
Travis Wright
 

Similar to SSIS: Flow tasks, containers and precedence constraints (20)

It ready dw_day3_rev00
It ready dw_day3_rev00It ready dw_day3_rev00
It ready dw_day3_rev00
 
SQL Server 2008 Integration Services
SQL Server 2008 Integration ServicesSQL Server 2008 Integration Services
SQL Server 2008 Integration Services
 
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data ServicesCreating Flexible Data Services For Enterprise Soa With Wso2 Data Services
Creating Flexible Data Services For Enterprise Soa With Wso2 Data Services
 
Lee Granger Bi Portfolio
Lee Granger Bi PortfolioLee Granger Bi Portfolio
Lee Granger Bi Portfolio
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
06 SSIS Data Flow
06 SSIS Data Flow06 SSIS Data Flow
06 SSIS Data Flow
 
Windows Azure and a little SQL Data Services
Windows Azure and a little SQL Data ServicesWindows Azure and a little SQL Data Services
Windows Azure and a little SQL Data Services
 
Microsoft SQL Server 2012
Microsoft SQL Server 2012 Microsoft SQL Server 2012
Microsoft SQL Server 2012
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration Services
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 
SQL Server Denali: BI on Your Terms
SQL Server Denali: BI on Your Terms SQL Server Denali: BI on Your Terms
SQL Server Denali: BI on Your Terms
 
What's New for Data?
What's New for Data?What's New for Data?
What's New for Data?
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
 
Roles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL AzureRoles y Responsabilidades en SQL Azure
Roles y Responsabilidades en SQL Azure
 
Mobile
MobileMobile
Mobile
 
Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)Azure Synapse Analytics Overview (r1)
Azure Synapse Analytics Overview (r1)
 
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive session
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive sessionMicrosoft ignite 2018 SQL server 2019 big data clusters - deep dive session
Microsoft ignite 2018 SQL server 2019 big data clusters - deep dive session
 

More from Kiki Noviandi

Power bi overview
Power bi overview Power bi overview
Power bi overview
Kiki Noviandi
 
Ssis event handler
Ssis event handlerSsis event handler
Ssis event handler
Kiki Noviandi
 
Developing (KPI) Key Performance Indicators
Developing (KPI) Key Performance IndicatorsDeveloping (KPI) Key Performance Indicators
Developing (KPI) Key Performance Indicators
Kiki Noviandi
 
Sql server master data services
Sql server master data servicesSql server master data services
Sql server master data services
Kiki Noviandi
 
SSIS : Ftp and script task
SSIS : Ftp and script taskSSIS : Ftp and script task
SSIS : Ftp and script task
Kiki Noviandi
 
Cyber crime Bani Umar bintaro
Cyber crime   Bani Umar bintaroCyber crime   Bani Umar bintaro
Cyber crime Bani Umar bintaro
Kiki Noviandi
 
Database overview
Database  overviewDatabase  overview
Database overview
Kiki Noviandi
 
Query and operators optimization
Query and operators optimizationQuery and operators optimization
Query and operators optimization
Kiki Noviandi
 
Sql in memory database
Sql in memory databaseSql in memory database
Sql in memory database
Kiki Noviandi
 
Sql performance tools
Sql performance toolsSql performance tools
Sql performance tools
Kiki Noviandi
 

More from Kiki Noviandi (10)

Power bi overview
Power bi overview Power bi overview
Power bi overview
 
Ssis event handler
Ssis event handlerSsis event handler
Ssis event handler
 
Developing (KPI) Key Performance Indicators
Developing (KPI) Key Performance IndicatorsDeveloping (KPI) Key Performance Indicators
Developing (KPI) Key Performance Indicators
 
Sql server master data services
Sql server master data servicesSql server master data services
Sql server master data services
 
SSIS : Ftp and script task
SSIS : Ftp and script taskSSIS : Ftp and script task
SSIS : Ftp and script task
 
Cyber crime Bani Umar bintaro
Cyber crime   Bani Umar bintaroCyber crime   Bani Umar bintaro
Cyber crime Bani Umar bintaro
 
Database overview
Database  overviewDatabase  overview
Database overview
 
Query and operators optimization
Query and operators optimizationQuery and operators optimization
Query and operators optimization
 
Sql in memory database
Sql in memory databaseSql in memory database
Sql in memory database
 
Sql performance tools
Sql performance toolsSql performance tools
Sql performance tools
 

Recently uploaded

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 

Recently uploaded (20)

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 

SSIS: Flow tasks, containers and precedence constraints

  • 1. BATAM | 23 OCT 2019 Kiki Rizki Noviandi | Data Platform MVP
  • 2. ABOUT ME Microsoft Data Platform MVP Since 2006 Founder SQL Server Indonesia User Group Community My Name : Kiki Rizki Noviandi Milis : sqlserver-indo@yahoogroups.com https://www.facebook.com/groups/sqlserverindonesia http://www.kwad5.com https://mvp.microsoft.com/en-us/PublicProfile/33869?fullName=Kiki%20Rizki%20Noviandi
  • 4. INTRODUCTION SQL Server Integration Services (SSIS) is an ETL tool (Extract, Transform and Load) which is used for building enterprise-level data integration and data transformation solutions. Integration services help in developing solutions for complex business problems, as listed below Copying or downloading files Sending e-mail messages in response to events Updating DataWarehouses Cleaning and mining data Managing SQL server objects and data
  • 6. CONTROL FLOW  When first viewing a package…gives a view of what’s supposed to happen   Tasks (such as a data flow task, script task, send mail, FTP)  Precedence constraints  Containers  Separate Engine than the Data Flow engine
  • 8. DATA FLOW The Data Flow task encapsulates the data flow engine that moves data between sources and destinations, and lets the user transform, clean, and modify data as it is moved. Microsoft Books Online: https://docs.microsoft.com/en-us/sql/integration-services/control- flow/data-flow-task
  • 9. TYPICAL DATA FLOW TASK  Source(s) Extract data  Transformation Modify, route, cleanse, summarize data  Destinations Load data
  • 11. PACKAGES An organized collection of connections, control flow elements, data flow elements, event handlers, variables, parameters, and configurations which are assembled using either the graphical design tools that SQL Server Integration Services provides, or build programmatically.
  • 12. CONTENTS OF A PACKAGE Tasks and Containers (Control Flow) Data Sources and Destination (Data Flow) Connection Managers (connections)
  • 13. PACKAGE FUNCTIONALITY EXTENSION OBJECTS Configurations A configuration is a set of property-value pairs that defines the properties of the package and its tasks, containers, variables, connections and event handlers when the Logging and Log Providers A log is a collection of information that is collected when the package runs Variables Integration services supports system variables and user- defined variables
  • 14. TOUR OF THE “DEV” ENVIRONMENT
  • 15. DEMO LAUNCH SSDT CREATE A NEW SSIS PROJECT TOUR THE VARIOUS WINDOW PANES
  • 17. CONTROL FLOW ELEMENTS  Tasks  Containers  Precedence Constraints
  • 18. FREQUENTLY USED CONTROL FLOW TASKS Data Profiling Task “hunt for treasure and landmines” Execute SQL Task File System Task Execute Process Task Send Mail Task Execute Package Task Script Task Data Flow Task The “star of the opera”
  • 19. CONTROL FLOW CONTAINERS  Why Containers?  Containing / organizing  Executable unit within the package  Can be enabled/disabled  Two of the three containers provide Looping  Transaction protection context  Think “all, or nothing”  Checkpoint context  Restart point  Three Kinds  Sequence Container  For Loop Container  For Each Loop Container
  • 20. PRECEDENCE CONSTRAINTS  Precedence Constraints define:  Workflow order  Workflow conditions  Downstream Task & Container Execution can be based on:  Constraint evaluation  Success  Failure  Completion  Expression  Expression and Constraint  Expression or Constraint  Multiple Constraint evaluation  Logical AND  Logical OR
  • 22. DATA FLOW BASICS  Various ways to accomplish ETL in SSIS  BULK INSERT Task  Execute SQL Task  bcp.exe  Command line utility for importing and exporting text files  Most typically used ETL tool in SSIS is the Data Flow Task  The “DFT” defines a “pipeline”  At least one source  At least one destination  Optional: one or more transformations
  • 23. DATA FLOW SOURCES  Database Engines  OLE-DB Source  ADO .NET Source  ODBC  File sources  Flat file  Excel file  Raw file  XML file  Others (pretty much anything)
  • 24. DATA FLOW DESTINATIONS  Database Engines  OLE-DB destination  ADO .NET destination  File destinations  Flat file  Excel file  Raw file  Other destinations  ODBC destination  Recordset destination  …
  • 25. DATA FLOW TRANSFORMATIONS  Row transformations  Character map  Copy column  Derived column  Import column / Export column  Rowset transformations  Aggregate  Sort  Pivot and Unpivot  Row sampling and Precentage sampling  Split & join transformations  Conditional Split  Lookup  Merge  Merge Join  Multicast  Union All Auditing transformations Audit Row count BI transformations Slowly changing dimension Fuzzy grouping Fuzzy lookup Data mining query Custom transformations Script component

Editor's Notes

  1. Note: My demos use Visual Studio 2012 Demo: Launch SSDT Demo: Create a new SSIS Project Demo: Tour the various window panes
  2. When you think of “Control Flow” think of the terms “workflow” (what, and in what order), and, “general contractor”.
  3. Demo each of these Tasks. Talk about Connection Managers, Project v. Package. Talk about Task naming. Talk about annotations (“Leave a trail”). We’ll look at the Data Flow Task later. Script Task usage: “If I can’t get the job done any other way”.)
  4. Demo: Place ExecSQL, FST, and ExecProcess Tasks in a Sequence Container. Demo: Hide/show container contents Demo: Disable/enable container. Demo: Execute only the container.
  5. Demo: importing SuperBowl Excel file into the SQLSat_SSIS_DemoDB.dbo.SuperBowlData (already exists).
  6. Demo: Conditional Split Transform, ScoreDiff column > 14.0 (“BigWin”; default output “NotABigWin”) Demo: Derived Column Transform, WinMargin column in place replacement with text string “Big win!” Connect to a Union All Transform and run that Task alone. {Nothing will happen to the data, but the Task will succeed}.
  7. Business Intelligence Development Studio Control Flow Over View Connection Managers Using the Execute SQL Task Using the Script Task Working with Variables Working with Precedence Constraints Using Loop Containers Logging and Error Handling