SlideShare a Scribd company logo
1 of 20
MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  MICROSOFT SQL SERVER INTEGRATITON SERVICES  SQL Server Integration Services Dataflow
Data Flow The Data Flow Task Encapsulates the data flow engine Exists in the context of an overall control flow Performs traditional ETL in addition to other extended scenarios Is fast and scalable Data Flow Components Extract data from Sources Load data into Destinations Modify data with Transformations Service Paths Connect data flow components Create the pipeline
Data Flow Task One of the most valuable control flow tasks is the Data Flow Task.  Encapsulates the data flow engine Extract Transform Load
Understandinga ETL Processing
Data Flow Elements SQL Server Integration Services provides three different types of data flow components: Data flow source - Sources extract data from data stores such as tables and views in relational databases, files, and Analysis Services databases.  Data flow transformations - Transformations modify, summarize, and clean data. Data flow destination - Destinations load data into data stores or create in-memory datasets.
Integration Services Paths A Pathconnects two components in a data flow by connecting the output of one data flow component to the input of another component. A path has a source and a destination.
Defining Data Flow Sources In SSIS, a source is the data flow component that extracts data from different external data sources andmakes it  available to the other components in the data flow.  Sources have one regular output, and many sources in addition also have one error output. All the output columns are available as input columns to the next data flow component in the data flow.  Sources extract data from:  Relational tables and views  Files  Analysis Services databases
Understanding Data Flow Sources Data Source OLEDB Oracle Connection Source Adapter
Data Flow Destinations Enterprise Edition only Destinations are the data flow components that load the data from a data flow into different types of data sources or create an in-memory dataset. Destinations have one input and one error output.  Destinations load data to:  Relational tables and views  Files  Analysis Services databases and objects DataReaders and Recordsets
Understanding Data Flow Destinations  ADO.NET Connection Destination Adapter Target
Defining Data Flow Transformations SSIS Transformationsare the components in the data flow of a package that  give you the ability to modifyand manipulate data in the data flow.  A transformation performs an operation either on one row of data at a time or on several rows of data at once.  For example aggregate, merge, distribute, and modify dataand  also can perform lookup operations and generate sample datasets.
Understanding Data Flow Transformations
Mapping Columns and Dataflow Pipeline Source Transformation Destination
Transformations We can logically group them by functionality: Row Transformations  Rowset Transformations  Split and Join Transformations  Auditing Transformations  Business Intelligence Transformations  Custom Transformations
Row Transformations  The most common and easily configured transformations perform operations on rows without needing other rows from the source. These transformations, which logically work at the row level, often perform very well.
Rowset Transformations  Create new rowsets that can include
Split and Join Transformations
Auditing Transformations  Integration Services includes the following transformations to add audit information and count rows.
Business Intelligence Transformations  The final grouping of transformations lets you perform advanced operations on rows in the data flow pipeline.
Dataflow Summary EXCEL Connection OLEDB Oracle Connection Sources Transformations Destinations ADO.NET Connection

More Related Content

What's hot

SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration ServicesRobert MacLean
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration ServicesRobert MacLean
 
Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration servicesSlava Kokaev
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilityDan English
 
SQL Server Integration Services Best Practices
SQL Server Integration Services Best PracticesSQL Server Integration Services Best Practices
SQL Server Integration Services Best PracticesDenny Lee
 
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...Wolfgang Strasser
 
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...Edureka!
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration ServicesSlava Kokaev
 
Database migration
Database migrationDatabase migration
Database migrationOpris Monica
 
Group Meeting Vamsas Project Final
Group Meeting Vamsas Project FinalGroup Meeting Vamsas Project Final
Group Meeting Vamsas Project FinalPierre Marguerite
 
SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting ServicesAhmed Elbaz
 
Ssis 2016 RC3
Ssis 2016 RC3Ssis 2016 RC3
Ssis 2016 RC3MSDEVMTL
 
Lee Granger Bi Portfolio
Lee Granger Bi PortfolioLee Granger Bi Portfolio
Lee Granger Bi PortfolioLeeGranger
 

What's hot (20)

SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
SQL Server Integration Services
SQL Server Integration ServicesSQL Server Integration Services
SQL Server Integration Services
 
SSIS Presentation
SSIS PresentationSSIS Presentation
SSIS Presentation
 
Architecture of integration services
Architecture of integration servicesArchitecture of integration services
Architecture of integration services
 
SQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise ManageabilitySQL Server Integration Services – Enterprise Manageability
SQL Server Integration Services – Enterprise Manageability
 
SQL Server Integration Services Best Practices
SQL Server Integration Services Best PracticesSQL Server Integration Services Best Practices
SQL Server Integration Services Best Practices
 
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...
Professional Recycling - SSIS Custom Control Flow Components With Visual Stud...
 
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...
SSIS Tutorial For Beginners | SQL Server Integration Services (SSIS) | MSBI T...
 
Ssn0020 ssis 2012 for beginners
Ssn0020   ssis 2012 for beginnersSsn0020   ssis 2012 for beginners
Ssn0020 ssis 2012 for beginners
 
SSIS begineer
SSIS begineerSSIS begineer
SSIS begineer
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration Services
 
Database migration
Database migrationDatabase migration
Database migration
 
Bdc Screens
Bdc ScreensBdc Screens
Bdc Screens
 
Ado
AdoAdo
Ado
 
Web service
Web serviceWeb service
Web service
 
Group Meeting Vamsas Project Final
Group Meeting Vamsas Project FinalGroup Meeting Vamsas Project Final
Group Meeting Vamsas Project Final
 
SQL Server Reporting Services
SQL Server Reporting ServicesSQL Server Reporting Services
SQL Server Reporting Services
 
Ssis 2016 RC3
Ssis 2016 RC3Ssis 2016 RC3
Ssis 2016 RC3
 
Lee Granger Bi Portfolio
Lee Granger Bi PortfolioLee Granger Bi Portfolio
Lee Granger Bi Portfolio
 
Beyond InfoPath
Beyond InfoPathBeyond InfoPath
Beyond InfoPath
 

Viewers also liked

Control Flow Using SSIS
Control Flow Using SSISControl Flow Using SSIS
Control Flow Using SSISRam Kedem
 
Business intelligence the next generation of knowledge management (1)
Business intelligence the next generation of knowledge  management (1)Business intelligence the next generation of knowledge  management (1)
Business intelligence the next generation of knowledge management (1)ichsanovsky
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Skillwise Group
 
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package ExecutionPramod Singla
 
Step by Step design cube using SSAS
Step by Step design cube using SSASStep by Step design cube using SSAS
Step by Step design cube using SSASAhsan Kabir
 
SSIS Basic Data Flow
SSIS Basic Data FlowSSIS Basic Data Flow
SSIS Basic Data FlowRam Kedem
 
SSIS Data Flow Tasks
SSIS Data Flow Tasks SSIS Data Flow Tasks
SSIS Data Flow Tasks Ram Kedem
 
Business Intelligence with SQL Server
Business Intelligence with SQL ServerBusiness Intelligence with SQL Server
Business Intelligence with SQL ServerPeter Gfader
 
Developing ssas cube
Developing ssas cubeDeveloping ssas cube
Developing ssas cubeSlava Kokaev
 
Introduction to Azure Data Factory
Introduction to Azure Data FactoryIntroduction to Azure Data Factory
Introduction to Azure Data FactorySlava Kokaev
 
SSAS - Other Cube Browsers
SSAS - Other Cube BrowsersSSAS - Other Cube Browsers
SSAS - Other Cube BrowsersPeter Gfader
 
Designing and implementing_an_etl_framework
Designing and implementing_an_etl_frameworkDesigning and implementing_an_etl_framework
Designing and implementing_an_etl_frameworkBharat Vadlamudi
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processingnurmeen1
 
OLAP OnLine Analytical Processing
OLAP OnLine Analytical ProcessingOLAP OnLine Analytical Processing
OLAP OnLine Analytical ProcessingWalid Elbadawy
 
Informatica power center 9.x developer & admin Basics | Demo | Introduction
Informatica power center 9.x developer & admin Basics | Demo | Introduction Informatica power center 9.x developer & admin Basics | Demo | Introduction
Informatica power center 9.x developer & admin Basics | Demo | Introduction Kernel Training
 

Viewers also liked (18)

Control Flow Using SSIS
Control Flow Using SSISControl Flow Using SSIS
Control Flow Using SSIS
 
Business intelligence the next generation of knowledge management (1)
Business intelligence the next generation of knowledge  management (1)Business intelligence the next generation of knowledge  management (1)
Business intelligence the next generation of knowledge management (1)
 
Ssis
SsisSsis
Ssis
 
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuningSQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
SQLDay2013_ChrisWebb_CubeDesign&PerformanceTuning
 
Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1Advanced integration services on microsoft ssis 1
Advanced integration services on microsoft ssis 1
 
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
9\9 SSIS 2008R2_Training - Package Reliability and Package Execution
 
Step by Step design cube using SSAS
Step by Step design cube using SSASStep by Step design cube using SSAS
Step by Step design cube using SSAS
 
SSIS Basic Data Flow
SSIS Basic Data FlowSSIS Basic Data Flow
SSIS Basic Data Flow
 
SSIS Data Flow Tasks
SSIS Data Flow Tasks SSIS Data Flow Tasks
SSIS Data Flow Tasks
 
Business Intelligence with SQL Server
Business Intelligence with SQL ServerBusiness Intelligence with SQL Server
Business Intelligence with SQL Server
 
Developing ssas cube
Developing ssas cubeDeveloping ssas cube
Developing ssas cube
 
Introduction to Azure Data Factory
Introduction to Azure Data FactoryIntroduction to Azure Data Factory
Introduction to Azure Data Factory
 
Informatica power center 9 Online Training
Informatica power center 9 Online TrainingInformatica power center 9 Online Training
Informatica power center 9 Online Training
 
SSAS - Other Cube Browsers
SSAS - Other Cube BrowsersSSAS - Other Cube Browsers
SSAS - Other Cube Browsers
 
Designing and implementing_an_etl_framework
Designing and implementing_an_etl_frameworkDesigning and implementing_an_etl_framework
Designing and implementing_an_etl_framework
 
Online analytical processing
Online analytical processingOnline analytical processing
Online analytical processing
 
OLAP OnLine Analytical Processing
OLAP OnLine Analytical ProcessingOLAP OnLine Analytical Processing
OLAP OnLine Analytical Processing
 
Informatica power center 9.x developer & admin Basics | Demo | Introduction
Informatica power center 9.x developer & admin Basics | Demo | Introduction Informatica power center 9.x developer & admin Basics | Demo | Introduction
Informatica power center 9.x developer & admin Basics | Demo | Introduction
 

Similar to 06 SSIS Data Flow

White jason presentation
White jason presentationWhite jason presentation
White jason presentationWhiteJason
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssisdeepakk073
 
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.3Naji El Kotob
 
Sql business intelligence
Sql business intelligenceSql business intelligence
Sql business intelligenceSqlperfomance
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfoliopleeloy
 
SSIS: Flow tasks, containers and precedence constraints
SSIS: Flow tasks, containers and precedence constraintsSSIS: Flow tasks, containers and precedence constraints
SSIS: Flow tasks, containers and precedence constraintsKiki Noviandi
 
SQL Server Integration Services with Oracle Database 10g
SQL Server Integration Services with Oracle Database 10gSQL Server Integration Services with Oracle Database 10g
SQL Server Integration Services with Oracle Database 10gLeidy Alexandra
 
Business Intelligence Portfolio 2003
Business Intelligence Portfolio 2003Business Intelligence Portfolio 2003
Business Intelligence Portfolio 2003troylrockwell
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Servicesllangit
 
introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxYashaswiniSrinivasan1
 
Informatica
InformaticaInformatica
Informaticamukharji
 
Bi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkBi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkSlava Kokaev
 
Data Virtualization Primer -
Data Virtualization Primer -Data Virtualization Primer -
Data Virtualization Primer -Kenneth Peeples
 
Microsoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft Private Cloud
 

Similar to 06 SSIS Data Flow (20)

White jason presentation
White jason presentationWhite jason presentation
White jason presentation
 
Msbi online training
Msbi online trainingMsbi online training
Msbi online training
 
Introduction of ssis
Introduction of ssisIntroduction of ssis
Introduction of ssis
 
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
 
Sql business intelligence
Sql business intelligenceSql business intelligence
Sql business intelligence
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Olap
OlapOlap
Olap
 
REPORT ON (1)
REPORT ON (1)REPORT ON (1)
REPORT ON (1)
 
It ready dw_day3_rev00
It ready dw_day3_rev00It ready dw_day3_rev00
It ready dw_day3_rev00
 
SSIS: Flow tasks, containers and precedence constraints
SSIS: Flow tasks, containers and precedence constraintsSSIS: Flow tasks, containers and precedence constraints
SSIS: Flow tasks, containers and precedence constraints
 
SQL Server Integration Services with Oracle Database 10g
SQL Server Integration Services with Oracle Database 10gSQL Server Integration Services with Oracle Database 10g
SQL Server Integration Services with Oracle Database 10g
 
Business Intelligence Portfolio 2003
Business Intelligence Portfolio 2003Business Intelligence Portfolio 2003
Business Intelligence Portfolio 2003
 
Introduction To Sql Services
Introduction To Sql ServicesIntroduction To Sql Services
Introduction To Sql Services
 
introductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptxintroductionofssis-130418034853-phpapp01.pptx
introductionofssis-130418034853-phpapp01.pptx
 
Informatica session
Informatica sessionInformatica session
Informatica session
 
Informatica
InformaticaInformatica
Informatica
 
Bi Architecture And Conceptual Framework
Bi Architecture And Conceptual FrameworkBi Architecture And Conceptual Framework
Bi Architecture And Conceptual Framework
 
Data Virtualization Primer -
Data Virtualization Primer -Data Virtualization Primer -
Data Virtualization Primer -
 
dvprimer-concepts
dvprimer-conceptsdvprimer-concepts
dvprimer-concepts
 
Microsoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations PresentationMicrosoft SQL Server - SQL Server Migrations Presentation
Microsoft SQL Server - SQL Server Migrations Presentation
 

More from Slava Kokaev

Introduction to Azure Stream Analytics
Introduction to Azure Stream AnalyticsIntroduction to Azure Stream Analytics
Introduction to Azure Stream AnalyticsSlava Kokaev
 
Business process modeling and analysis for data warehouse design
Business process modeling and analysis for data warehouse designBusiness process modeling and analysis for data warehouse design
Business process modeling and analysis for data warehouse designSlava Kokaev
 
Introduction BI Semantic Model with Sql Server Data Tools copy
Introduction BI Semantic Model with Sql Server Data Tools   copyIntroduction BI Semantic Model with Sql Server Data Tools   copy
Introduction BI Semantic Model with Sql Server Data Tools copySlava Kokaev
 
Architecture modeling with UML and Visual Studio 2010 Ultimate
Architecture modeling with UML and Visual Studio 2010 UltimateArchitecture modeling with UML and Visual Studio 2010 Ultimate
Architecture modeling with UML and Visual Studio 2010 UltimateSlava Kokaev
 
Data visualization
Data visualizationData visualization
Data visualizationSlava Kokaev
 
Business intelligence architecture
Business intelligence architectureBusiness intelligence architecture
Business intelligence architectureSlava Kokaev
 
Designing and developing Business Process dimensional Model or Data Warehouse
Designing and developing  Business Process dimensional Model  or Data WarehouseDesigning and developing  Business Process dimensional Model  or Data Warehouse
Designing and developing Business Process dimensional Model or Data WarehouseSlava Kokaev
 
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingMS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingSlava Kokaev
 

More from Slava Kokaev (8)

Introduction to Azure Stream Analytics
Introduction to Azure Stream AnalyticsIntroduction to Azure Stream Analytics
Introduction to Azure Stream Analytics
 
Business process modeling and analysis for data warehouse design
Business process modeling and analysis for data warehouse designBusiness process modeling and analysis for data warehouse design
Business process modeling and analysis for data warehouse design
 
Introduction BI Semantic Model with Sql Server Data Tools copy
Introduction BI Semantic Model with Sql Server Data Tools   copyIntroduction BI Semantic Model with Sql Server Data Tools   copy
Introduction BI Semantic Model with Sql Server Data Tools copy
 
Architecture modeling with UML and Visual Studio 2010 Ultimate
Architecture modeling with UML and Visual Studio 2010 UltimateArchitecture modeling with UML and Visual Studio 2010 Ultimate
Architecture modeling with UML and Visual Studio 2010 Ultimate
 
Data visualization
Data visualizationData visualization
Data visualization
 
Business intelligence architecture
Business intelligence architectureBusiness intelligence architecture
Business intelligence architecture
 
Designing and developing Business Process dimensional Model or Data Warehouse
Designing and developing  Business Process dimensional Model  or Data WarehouseDesigning and developing  Business Process dimensional Model  or Data Warehouse
Designing and developing Business Process dimensional Model or Data Warehouse
 
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data WarehousingMS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
MS SQL Server Analysis Services 2008 and Enterprise Data Warehousing
 

06 SSIS Data Flow

  • 1. MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES MICROSOFT SQL SERVER INTEGRATITON SERVICES SQL Server Integration Services Dataflow
  • 2. Data Flow The Data Flow Task Encapsulates the data flow engine Exists in the context of an overall control flow Performs traditional ETL in addition to other extended scenarios Is fast and scalable Data Flow Components Extract data from Sources Load data into Destinations Modify data with Transformations Service Paths Connect data flow components Create the pipeline
  • 3. Data Flow Task One of the most valuable control flow tasks is the Data Flow Task. Encapsulates the data flow engine Extract Transform Load
  • 5. Data Flow Elements SQL Server Integration Services provides three different types of data flow components: Data flow source - Sources extract data from data stores such as tables and views in relational databases, files, and Analysis Services databases. Data flow transformations - Transformations modify, summarize, and clean data. Data flow destination - Destinations load data into data stores or create in-memory datasets.
  • 6. Integration Services Paths A Pathconnects two components in a data flow by connecting the output of one data flow component to the input of another component. A path has a source and a destination.
  • 7. Defining Data Flow Sources In SSIS, a source is the data flow component that extracts data from different external data sources andmakes it available to the other components in the data flow. Sources have one regular output, and many sources in addition also have one error output. All the output columns are available as input columns to the next data flow component in the data flow. Sources extract data from: Relational tables and views Files Analysis Services databases
  • 8. Understanding Data Flow Sources Data Source OLEDB Oracle Connection Source Adapter
  • 9. Data Flow Destinations Enterprise Edition only Destinations are the data flow components that load the data from a data flow into different types of data sources or create an in-memory dataset. Destinations have one input and one error output. Destinations load data to: Relational tables and views Files Analysis Services databases and objects DataReaders and Recordsets
  • 10. Understanding Data Flow Destinations ADO.NET Connection Destination Adapter Target
  • 11. Defining Data Flow Transformations SSIS Transformationsare the components in the data flow of a package that give you the ability to modifyand manipulate data in the data flow. A transformation performs an operation either on one row of data at a time or on several rows of data at once. For example aggregate, merge, distribute, and modify dataand also can perform lookup operations and generate sample datasets.
  • 12. Understanding Data Flow Transformations
  • 13. Mapping Columns and Dataflow Pipeline Source Transformation Destination
  • 14. Transformations We can logically group them by functionality: Row Transformations Rowset Transformations Split and Join Transformations Auditing Transformations Business Intelligence Transformations Custom Transformations
  • 15. Row Transformations The most common and easily configured transformations perform operations on rows without needing other rows from the source. These transformations, which logically work at the row level, often perform very well.
  • 16. Rowset Transformations Create new rowsets that can include
  • 17. Split and Join Transformations
  • 18. Auditing Transformations Integration Services includes the following transformations to add audit information and count rows.
  • 19. Business Intelligence Transformations The final grouping of transformations lets you perform advanced operations on rows in the data flow pipeline.
  • 20. Dataflow Summary EXCEL Connection OLEDB Oracle Connection Sources Transformations Destinations ADO.NET Connection

Editor's Notes

  1. For beginners, the data flow can look very similar to the control flow. Ensure that students appreciate the difference between the arrows in control flow (precedence constraints) and data flow (service paths).Extended scenarios can consist of, for example, non-ETL data transfers, data cleansing, or text mining.When describing the sample data flow on the slide, use the analogy of a conveyor belt in a factory. Raw material (source data) is placed on the conveyor belt and passes through various processes (transformations). Quality assurance components might reject some material, in which case it can be scrapped (logged) or fixed and blended back in with the quality material. Eventually, finished goods (clean, valid data) arrive at the end of the conveyor belt (data warehouse).
  2. Developing Project Data Sources and Package ConnectionsBecause the main purpose of SSIS is to move data from sources to destinations, the nextmost important step is to add the pointers to these sources and destinations. These pointersare called data sources and connections. Data sources are stored at the project level and arefound in Solution Explorer under the logical folder named Data Sources. Connections, on theother hand, are defined within packages and are found in the Connection Managers pane atthe bottom of the Control Flow or Data Flow tab. Connections can be based on project datasources or can stand alone within packages. The next sections walk you through the uses andimplementation of project data sources and package connections.
  3. To work with the Data Flow Task, you can either drag a Data Flow Task from the Control Flow toolbox onto the workspace and then double-click it,or you can click the Data Flow tab within the SSIS Designer. After clicking the Data Flow tab, you see the Data Flow Designer, where you can use the data flow to handle and transform datasets. Lesson 2, “Creating and Editing Control Flow Objects,” showed how to use control flow tasksand containers.Notice the difference between the ControlFlow toolbox items and the Data Flow toolbox items.When you are working in the data flow, the toolbox shows items related to data flow development,including data flow sources, data flow transformations, and data flow destinations.In this lesson, you will look at the details of the source and destination adapters as well asthe transformations.
  4. If you run a package in SSIS Designer, you can view the data in a data flow by attaching data viewers to a path. A data viewer can be configured to display data in a grid, histogram, scatter plot, or column chart. A data viewer is a useful debugging tool. For more information, see Debugging Data Flow. For example, if a path connects an OLE DB source and a Sort transformation, the OLE DB source is the source of the path, and the Sort transformation is the destination of the path. The source is the component where the path starts, and the destination is the component where the path ends. The SSIS Designer provides the Data Flow Path Editor dialog box for setting path properties, viewing the metadata of the data columns that pass through the path, and configuring data viewers.
  5. ADO.NET SourceProvides connections to tables or queries through an ADO.NETprovider.Excel SourceAllows extractions from an Excel worksheet defined in an Excelfile.Flat File Source Connects to a delimited or fixed-width file created with differentcode pages.OLE DB Source Connects to installed OLE DB providers, such as SQL Server,Access, SSAS, and Oracle.Raw File SourceStores native SSIS data in a binary file type useful for data staging.XML SourceAllows raw data to be extracted from an XML file; requires an XMLschema to define data associations.
  6. Data flow source adapters use package connections, which point to the server instance or file location of the data source. (The only exception is the raw file adapter, which does not use a package connection.) A source adapter extracts data from sources and moves it into the data flow, where it will be modified and sent to a destination.The source for a data flow typically has one regular output. The regular output contains output columns, which are columns the source adds to the data flow.
  7. Data flow destinations are similar to sources in that they use package connections. However, destinations are the endpoints in a package, defining the location to which the data shouldbe pushed.For example, if you are sending data to an Excel file from a database table, your destination will be an Excel Destination adapter.All the source adapters (except the Data Reader source) have matching destination adapters in the SSIS data flow. And there are other destination adapters that let you send data toeven more destinationsADO.NET Destination Allows insertion of data by using an ADO.NET managedprovider.Data Mining Model Training Lets you pass data from the data flow into a data miningmodel in SSAS.DataReader Destination Lets you put data in an ADO.NET record set that can beprogrammatically referenced.Dimension Processing Lets SSAS dimensions be processed directly from dataflowing through the data flow.Excel Destination Used for inserting data into Excel, including Excel 2007.Flat File DestinationAllows insertion of data to a flat file such as a comma delimitedor tab-delimited file.OLE DB Destination Uses the OLE DB provider to insert rows into a destinationsystem that allows an OLE DB connection.Partition Processing Allows SSAS partitions to be processed directly fromdata flowing through the data flow.Raw File Destination Stores native SSIS data in a binary fi le type useful fordata staging.Recordset Destination Takes the data flow data and creates a record set in a package variable of type object.SQL Server Compact DestinationLets you send data to a mobile device running SQL Mobile.SQL Server Destination Provides a high-speed destination specific to SQL Server2008 if the package is running on SQL Server.
  8. Like the source, the destination adapter requires configuration,both in the connection and table that the rows should be inserted into as well as in mapping the data flow columns to thedestination table columns.
  9. As with the source and destination adapters, you drag transformations from the DataFlow toolbox onto the Data Flow tab of the SSIS Designer, and edit them by right-clicking thetransformation you want to change and then clicking Edit. You connect sources, transformations,and destinations through data paths, which you create by dragging the output arrowonto another component in the data flow. The green data path arrows are for rows that aresuccessfully transformed, and the red output path arrows are for rows that failed the transformationbecause of an error, such as a truncation or conversion error. Figure 1-25 shows adata flow that connects a source to several transformations through data paths and onto adestination.
  10. Notice that this OLE DB Destination uses the AdventureWorksDW2008 connection and is configured by default to use the Table Or View—Fast Load option of the Data Access Mode drop-down list. This means that records will be processed with bulk insert statements rather than one row at a time.Figure 1-24 shows the Mappings tab of the same OLE DB Destination Editor. This is where you map columns available from the data flow to the destination columns in the destinationadapter. All the destination adapters have a Mappings tab. FIGURE 1-24 Each destination adapter requires you to map data from the data flow input columns to thedestination columns.Notice that not all columns are mapped. However, if one of the unmapped destination columnsis marked as NOT NULL, the destination fails the package when it is run. In the sectiontitled “Using Transformations” later in this lesson, you see how to use the Slowly ChangingDimension Transformation to handle new records and updates.
  11. Transformations perform a wide variety of operations on the underlying data, and the transformation you choose depends on your data processing requirements. Some transformations operate similarly to other transformations; therefore, we can categorize them into naturalgroupings of like components.
  12. Character MapPerforms common text operations, such as Uppercase, and allowsadvanced linguistic bit conversion operations.Copy Column Duplicates column values in each row to new named columns.Data ConversionCreates new columns in each row based on new data typesconverted from other columns—for example, converting text tonumeric.Derived Column Uses the SSIS Expression language to perform in-place calculationson existing values; alternatively, allows the addition ofnew columns based on expressions and calculations from othercolumns and variables.Export Column Exports binary large object (BLOB) columns, one row at a time,to a file.Import Column Loads binary files such as images into the pipeline; intended for aBLOB data type destination.OLE DB Command Performs database operations such as updates and deletes,one row at a time, based on mapped parameters from inputrows.
  13. Aggregate Associates records based on defined groupings and generates aggregationssuch as SUM, MAX, MIN, and COUNT.Percent Sampling Filters the input rows by allowing only a defined percent to bepassed to the output path.Pivot Takes multiple input rows and pivots the rows to generate an outputwith more columns based on the original row values.Row Sampling Outputs a fixed number of rows, sampling the data from the entireinput, no matter how much larger than the defined output theinput is.Sort Orders the input based on defined sort columns and sort directionand allows the removal of duplicates across the sort columns.UnpivotTakes a single row and outputs multiple rows, moving columnvalues to the new row based on defined columns.
  14. Cache Transform Allows data that will be used in a Lookup Transformation to becached and available for multiple Lookup components.Conditional Split Routes or filters data based on Boolean expressions to one or moreoutputs, from which each row can be sent out only one outputpath.Multicast Generates one or more identical outputs, from which every row issent out every output.Union All Combines one or more similar inputs, stacking rows one on top ofanother, based on matching columnsMerge Join Joins the rows of two sorted inputs based on a defined joincolumn(s), adding columns from each source.Lookup Allows matching between pipeline column values to external databasetables; additional columns can be added to the data flow fromthe external table.Merge Combines the rows of two similar sorted inputs, one on top of theother, based on a defined sort key.
  15. Audit Adds additional columns to each row based on system packagevariables such as ExecutionStartTime and PackageName.Row Count Tracks the number of rows that flow through the transformationand stores the number in a package variable after the final row.
  16. Slowly Changing DimensionProcesses dimension changes, including tracking dimensionhistory and updating dimension values. The Slowly ChangingDimension Transformation handles these common dimensionchange types: Historical Attributes, Fixed Attributes, and Changing Attributes.Data Mining QueryApplies input rows against a data mining model for prediction.Fuzzy Grouping Associates column values with a set of rows based on similarity,for data cleansing.Fuzzy Lookup Joins a data flow input to a reference table based on column similarity. The Similarity Threshold setting specifies the closeness of allowed matches—a high setting means that matching values are closer in similarity.Script Component Provides VB.NET scripting capabilities against rows, columns, inputs, and outputs in the data flow pipeline.Term Extraction Analyzes text input columns for English nouns and noun phrases.Term Lookup Analyzes text input columns against a user-defined set of words for association.