SlideShare a Scribd company logo
Microsoft SQL Server 2008 R2

  Introduction to Integration Services


                                         http://techmaster.vn
SQL Server 2008 R2 BI Technologies




                                 http://techmaster.vn
Contents
• Understanding the Data Integration
• Understanding the SQL Server 2008 R2
  Integration Services
• Understanding the SSIS Packages
• Understanding the SSIS Control Flow
• Understanding the SSIS Data Flow
                                         http://techmaster.vn
SQL Server 2008 R2 BI Structure
                                         Reporting and Visualization Tools (Dashboard, KPI,
      Presentation Layer
                                                           Scorecard,…)


                                               Turn data into information (analysis)
        Analytical Layer
                                                Multidimensional OLAP Database


Data Storage and Retrieval Layer                    Data Warehouse in RDBMS


                                          1. Extract the data from the multiple sources
  Data Transformation Layer                     2. Modify the data to consistent
                                           3. Load the data into Data Storage system


       Data Source Layer           Text, MS Excel, MS Access, MS SQL, Oracle,…| External Sources


                                                                                       http://techmaster.vn
Microsoft Business Intelligence Platform

   Analytic                              Scorecards, Analytics, Planning
   Applications                            (PerformancePoint Service)

                                                       Portal
                                                    (SharePoint)
   Data Delivery        Report Builder             End-user Analysis
                            SSRS                        (Excel)


                          Integrate                     Analyze                   Report
                    (SQL Integration Services)    (SQL Analysis Services)   (SQL Reporting Services)
   Infrastructure
   Platform                                 Data Warehouse, Data Marts,
                                                  Operational Data
                                                (SQL Server 2008 R2)

          Office         SQL
                                                                                                       http://techmaster.vn
Data Integration in Real World



 Extract data   Transform the   Load data into
from sources        data         data stores



                                        http://techmaster.vn
Data Integration Challenges
• Multiple sources with different formats.
• Structured, semi-structured, and unstructured
  data.
• Huge data volumes.
  Enterprises spend 60%–80% of their resources developing
                and testing their ETL processes


                                                            http://techmaster.vn
Introduction to Integration Services
SQL SERVER 2008 R2 INTEGRATION SERVICES



                                       http://techmaster.vn
Introducing Integration Services 2008 R2
• Primarily designed to implement ETL
  processes
• Provides a robust, flexible, fast, scalable and
  extensible architecture
• Challenges traditional ETL design approaches


                                            http://techmaster.vn
Introducing Integration Services 2008 R2
• Its capabilities are useful in many other
  scenarios:
  – Assessing data quality
  – Cleansing and standardizing data
  – Merging data from heterogeneous data stores
  – Implementing ad hoc data transfers
  – Automating administrative tasks
                                              http://techmaster.vn
SSIS Architecture
• SQL Server Integration
  Services (SSIS) service
• SSIS object model
• Two distinct runtime
  engines:
  – Control flow
  – Data flow
                            http://techmaster.vn
SSIS Architecture
• SSIS Designer
   – Graphical tool to create and maintain
     Integration Services packages.
• Integration Services Runtime
   – Saves the layout of packages, runs
     packages, and provides support for
     logging, breakpoints, configuration,
     connections, and transactions.
• Tasks and other executable:
   – The Integration Services run-time
     executables are the package,
     containers, tasks, and event handlers
                                             http://techmaster.vn
SSIS Architecture

• Data Flow engine (pipeline)
  – In-memory buffers
• Data Flow components
  – Sources,
  – Transformations
  – Destinations

                                http://techmaster.vn
SSIS Architecture
• Object Model
   – Allow for creating custom
     components for use in packages
• Integration Services Service
   – Lets you monitor running
     Integration Services packages and
     to manage the storage of
     packages.



                                         http://techmaster.vn
Introduction to Integration Services

PACKAGE ESSENTIALS

                                       http://techmaster.vn
What’s IS Package
• A package is the object that implements Integration
  Services functionality to extract, transform, and load
  data.
• Creation tools:
   – SSIS Designer in BI Development Studio.
   – SQL Server Import and Export Wizard
   – Integration Services Connections Project Wizard
• Saved in XML format to the file system or SQL Server
                                                       http://techmaster.vn
Package Elements
• Connection managers
• Control flow components
• Data flow components
• Variables
• Event handlers
• Configurations
                                 http://techmaster.vn
Connection Managers
• Logical representation of
  a connection
• Stored in the package
  and cannot be shared
  between packages
• Used by package
  elements
• Do not need to connect
  to SQL Server
                                 http://techmaster.vn
Introduction to Integration Services

CONTROL FLOW

                                       http://techmaster.vn
Control Flow
• Control flow is the process-oriented
  workflow engine
• A package consists of a single
  control flow
• Control flow elements:
   – Containers
   – Tasks

   – Precedence constraints

   – Variables
   – Event handlers
                                         http://techmaster.vn
Containers
•   Provide structure and services for
     – Grouping tasks

     – Implementing repeating flows

•   Execute in sequence defined by precedence constraints in the control flow

•   Manage variable and transactional boundaries




                                                                        http://techmaster.vn
Tasks
• Perform discrete operations at runtime
• Execute in sequence defined by precedence
  constraints in the control flow
• Use properties configured at design time or
  assigned dynamically at runtime by using
  expressions

                                           http://techmaster.vn
Task Categories
Task                Descriptions
Data Flow           The Data Flow task defines and runs data flows that extract data, apply transformations,
                    and load data
Data Preparation    Data preparation tasks copy files and directories, download files and data, save data
                    returned by Web methods, or work with XML documents
Workflow            Workflow tasks communicate with other processes to run packages or programs, send
                    and receive messages between packages, send e-mail messages, read Windows
                    Management Instrumentation (WMI) data, or watch for WMI events.
SQL Server          SQL Server tasks access, copy, insert, delete, or modify SQL Server objects and data
Analysis Services   Analysis Services tasks create, modify, delete, or process Analysis Services objects
Scripting           Scripting tasks extend package functionality through custom scripts
Maintenance         Maintenance tasks perform administrative functions, such as backing up and shrinking
                    SQL Server databases, rebuilding and reorganizing indexes, and running SQL Server Agent
                    jobs

                                                                                                 http://techmaster.vn
Precedence Constraints
• Precedence constraints link executables, containers,
  and tasks in packages into a control flow, and specify
  conditions that determine whether executables run
• Configure conditions that determine whether the
  executable runs:
   – Success, Failure, or Completion constraints
   – Expressions
   – Logical AND/OR for
     multiple constraints
                                                   http://techmaster.vn
Variables
• Variables customize package
  behavior by changing expression
  values or object properties
• System variables store values
  collected during package
  execution
• All variables use case-sensitive
  names
• Variables can be scoped at
  package, container, or task level
                                      http://techmaster.vn
Event Handlers
• At run time executables raise events
• Event handlers can be defined to respond to
  these events
• Creating an event handler is similar to
  building a package; an event handler has
  tasks and containers, which are sequenced
  into the control flow
                                         http://techmaster.vn
Event Handlers
• Common events used to trigger event handlers:
  – OnPreExecute
  – OnPostExecute
  – OnError
• Examples:
  – Retrieve system information to assess resource
    availability before the package runs
  – Send an e-mail message when an error occurs
                                                http://techmaster.vn
Introduction to Integration Services

DATA FLOW

                                       http://techmaster.vn
Data Flow
• Data Flow is optional elements
  – Extract data
  – Modify data
  – Load data into data sources.
• The main data flow elements are
  – Sources
  – Transformations
  – Destinations.
                                    http://techmaster.vn
Data Flow Sources
• Sources extract data from:
  – Relational tables and views
  – Files
  – Analysis Services databases




                                  http://techmaster.vn
Data Flow Transformations
• Aggregate, merge, distribute, or modify data
• Include error outputs in some cases
• Transformation categories
  – Row
  – Rowset
  – Split and Join
  – Script
  – Other
                                                 http://techmaster.vn
Row Transformations
Transformation     Description
Character Map      The transformation that applies string functions to character data.
                   The transformation that adds copies of input columns to the
Copy Column        transformation output.
                   The transformation that converts the data type of a column to a
Data Conversion    different data type.
                   The transformation that populates columns with the results of
Derived Column     expressions.
Export Column      The transformation that inserts data from a data flow into a file.
                   The transformation that reads data from a file and adds it to a data
Import Column      flow.
                   The transformation that uses script to extract, transform, or load
Script Component   data.
                   The transformation that runs SQL commands for each row in a data
OLE DB Command     flow.                                                   http://techmaster.vn
Rowset Transformations
Transformation   Description
                 The transformation that performs aggregations such as
Aggregate
                 AVERAGE, SUM, and COUNT.
Sort             The transformation that sorts data.
Percentage       The transformation that creates a sample data set using a
Sampling         percentage to specify the sample size.
                 The transformation that creates a sample data set by
Row Sampling
                 specifying the number of rows in the sample.
                 The transformation that creates a less normalized version
Pivot
                 of a normalized table.
                 The transformation that creates a more normalized
Unpivot
                 version of a nonnormalized table.
                                                                http://techmaster.vn
Split and Join Transformations
Transformation      Description
Conditional Split   The transformation that routes data rows to different outputs.
                    The transformation that distributes data sets to multiple
Multicast
                    outputs.
Union All           The transformation that merges multiple data sets.
Merge               The transformation that merges two sorted data sets.
                    The transformation that joins two data sets using a FULL, LEFT,
Merge Join
                    or INNER join.
                    The transformation that looks up values in a reference table
Lookup
                    using an exact match.
                    The transformation that writes data from a connected data
                    source in the data flow to a Cache connection manager that
Cache
                    saves the data to a cache file. The Lookup transformation
                    performs lookups on the data in the cache file. http://techmaster.vn
The Script Transformation
• Extends the capabilities of the data flow
• Similar to the Script Task, develop VB.NET or C# .NET
  scripts to introduce custom logic into the data flow
• Can be configured for these roles:
   – Source
   – Destination
   – Transformation
• Delivers optimized performance because it is precompiled

                                                     http://techmaster.vn
Other Transformations
• Add audit information
• Populate lookup caches
• Export and import data
• Count rows
• Manage slowly changing dimensions

                                      http://techmaster.vn
Introduction to Integration Services

DEMO

                                       http://techmaster.vn
THANK YOU




            http://techmaster.vn

More Related Content

What's hot (20)

PPTX
Presentation 1 - SSRS (1)
Anurag Rana
 
PPSX
SQL Reporting service presentation
Ahmed M. Rafik
 
PDF
SQL Server Integration Services – Enterprise Manageability
Dan English
 
DOC
Tx 09 G3 Jayasri Santhappan
jayasrisan
 
DOC
Sravya(1)
goutham426
 
PPTX
Professional Portfolio
MoniqueO Opris
 
PPT
Introduction To Msbi By Yasir
guest7c8e5f
 
PPTX
Ssrs introduction session 1
Muthuvel P
 
DOC
AAO BI Resume
Al Ottley
 
PPTX
Architecture of integration services
Slava Kokaev
 
PPTX
Msbi online training
Glory IT Technologies Pvt. Ltd.
 
PDF
MSBI Tutorials for Beginners | Business Intelligence Tutorial | Learn MSBI | ...
Edureka!
 
PPT
MSBI-SSRS PPT
VIT-AP UNIVERSITY
 
PDF
Creating a Tabular Model Using SQL Server 2012 Analysis Services
Code Mastery
 
DOC
simha msbi resume
T.N simha
 
PDF
Data Warehouse approaches with Dynamics AX
Alvin You
 
DOC
Srinivas BI Consultant Profile
Srinivas V
 
PPTX
SQL Server Reporting Services: IT Best Practices
Denny Lee
 
PDF
Mohamed sakr Senior ETL Developer
Mohamed Sakr
 
PPSX
New features of sql server 2016 bi features
Chris Testa-O'Neill
 
Presentation 1 - SSRS (1)
Anurag Rana
 
SQL Reporting service presentation
Ahmed M. Rafik
 
SQL Server Integration Services – Enterprise Manageability
Dan English
 
Tx 09 G3 Jayasri Santhappan
jayasrisan
 
Sravya(1)
goutham426
 
Professional Portfolio
MoniqueO Opris
 
Introduction To Msbi By Yasir
guest7c8e5f
 
Ssrs introduction session 1
Muthuvel P
 
AAO BI Resume
Al Ottley
 
Architecture of integration services
Slava Kokaev
 
Msbi online training
Glory IT Technologies Pvt. Ltd.
 
MSBI Tutorials for Beginners | Business Intelligence Tutorial | Learn MSBI | ...
Edureka!
 
MSBI-SSRS PPT
VIT-AP UNIVERSITY
 
Creating a Tabular Model Using SQL Server 2012 Analysis Services
Code Mastery
 
simha msbi resume
T.N simha
 
Data Warehouse approaches with Dynamics AX
Alvin You
 
Srinivas BI Consultant Profile
Srinivas V
 
SQL Server Reporting Services: IT Best Practices
Denny Lee
 
Mohamed sakr Senior ETL Developer
Mohamed Sakr
 
New features of sql server 2016 bi features
Chris Testa-O'Neill
 

Viewers also liked (20)

DOC
SQL Server (BI/T-SQL) Consultant
Rajabpdev
 
PDF
BI Dashboards with SQL Server 2008 R2
Eduardo Castro
 
PPTX
SQL Server 2008 R2 - Developing Rich Reporting Solutions Presentation
Microsoft Private Cloud
 
PDF
Elsd sql server_integration_services
Steve Xu
 
PPT
Integration Services Presentation V2
Catherine Eibner
 
PPTX
SQL Server Integration Services Tips & Tricks
Guillermo Caicedo
 
DOCX
Agnes's SSIS Project Documentation
agnestetter
 
PPTX
Introduction to microsoft sql server 2008 r2
Eduardo Castro
 
PPTX
SQL Server Integration Services
Robert MacLean
 
PPTX
D rpbox completed
cshcamacho
 
PPTX
Data communication
Md Javedul Ferdous
 
PDF
The Value Propositions of Employer Branding
rajivnaithani
 
PPT
Six Sigma Measure
Fahad Hussain
 
PPT
Apresentacao Marcus Aurélius
glauber_alien
 
PPT
Jonge Democraten - Individueel pensioen zonder sociale partners.
BeFrank
 
PDF
A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...
SAS Asia Pacific
 
PPTX
Programming SharePoint 2010 with Visual Studio 2010
Quang Nguyễn Bá
 
PPT
INTERIOR-iD Slideshow
Radaschitz
 
PPTX
How to Write Funny For Work and Play
Lucia Novara
 
SQL Server (BI/T-SQL) Consultant
Rajabpdev
 
BI Dashboards with SQL Server 2008 R2
Eduardo Castro
 
SQL Server 2008 R2 - Developing Rich Reporting Solutions Presentation
Microsoft Private Cloud
 
Elsd sql server_integration_services
Steve Xu
 
Integration Services Presentation V2
Catherine Eibner
 
SQL Server Integration Services Tips & Tricks
Guillermo Caicedo
 
Agnes's SSIS Project Documentation
agnestetter
 
Introduction to microsoft sql server 2008 r2
Eduardo Castro
 
SQL Server Integration Services
Robert MacLean
 
D rpbox completed
cshcamacho
 
Data communication
Md Javedul Ferdous
 
The Value Propositions of Employer Branding
rajivnaithani
 
Six Sigma Measure
Fahad Hussain
 
Apresentacao Marcus Aurélius
glauber_alien
 
Jonge Democraten - Individueel pensioen zonder sociale partners.
BeFrank
 
A Journey through the Spatial Data Mining and Geographic Knowledge Discover J...
SAS Asia Pacific
 
Programming SharePoint 2010 with Visual Studio 2010
Quang Nguyễn Bá
 
INTERIOR-iD Slideshow
Radaschitz
 
How to Write Funny For Work and Play
Lucia Novara
 
Ad

Similar to Introduction to Microsoft SQL Server 2008 R2 Integration Services (20)

PPTX
Exploring Scalability, Performance And Deployment
rsnarayanan
 
PPTX
Microsoft SQL Server 2012
Dhiren Gala
 
PDF
Session 2: SQL Server 2012 with Christian Malbeuf
CTE Solutions Inc.
 
PPTX
White jason presentation
WhiteJason
 
PDF
Business Intelligence Portfolio
guest5a8ee60b
 
DOC
Msbi course content
Varnaaz Technologies
 
PDF
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
PPTX
Colin\'s BI Portfolio
colinsobers
 
PDF
MS Business Intelligence with SQL Server 2005
sandip1004
 
PPTX
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Microsoft TechNet
 
PPT
Bi Ppt Portfolio Elmer Donavan
EJDonavan
 
PPT
SQL Server 2008 Integration Services
Eduardo Castro
 
PDF
Business Intelligence Portfolio
garyt1953
 
PDF
BI Dashboards with SQL Server
Eduardo Castro
 
DOC
Bi developer gary thompson
Gary Thompson
 
PDF
Business Intelligence Portfolio Rahel Thomas
BIPortfolioRThomas
 
PDF
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
PPTX
Sql business intelligence
Sqlperfomance
 
DOC
Bi developer gary t
garyt1953
 
PPTX
Business Intelligence Portfolio
pleeloy
 
Exploring Scalability, Performance And Deployment
rsnarayanan
 
Microsoft SQL Server 2012
Dhiren Gala
 
Session 2: SQL Server 2012 with Christian Malbeuf
CTE Solutions Inc.
 
White jason presentation
WhiteJason
 
Business Intelligence Portfolio
guest5a8ee60b
 
Msbi course content
Varnaaz Technologies
 
Microsoft India – SQL Server 2008 R2 Datasheet
Microsoft Private Cloud
 
Colin\'s BI Portfolio
colinsobers
 
MS Business Intelligence with SQL Server 2005
sandip1004
 
Business Intelligence For It Professionals Part 2 Seamless Data Integration 90
Microsoft TechNet
 
Bi Ppt Portfolio Elmer Donavan
EJDonavan
 
SQL Server 2008 Integration Services
Eduardo Castro
 
Business Intelligence Portfolio
garyt1953
 
BI Dashboards with SQL Server
Eduardo Castro
 
Bi developer gary thompson
Gary Thompson
 
Business Intelligence Portfolio Rahel Thomas
BIPortfolioRThomas
 
DesignMind SQL Server 2008 Migration
Mark Ginnebaugh
 
Sql business intelligence
Sqlperfomance
 
Bi developer gary t
garyt1953
 
Business Intelligence Portfolio
pleeloy
 
Ad

More from Quang Nguyễn Bá (16)

PPTX
Lesson 09 Resources and Settings in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 08 Documents and Printings in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 07 Actions and Commands in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 06 Styles and Templates in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 05 Data Binding in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 04 WPF Controls
Quang Nguyễn Bá
 
PPTX
Lesson 03 Layouts in WPF
Quang Nguyễn Bá
 
PPTX
Lesson 02 Introduction to XAML
Quang Nguyễn Bá
 
PPTX
Lesson 01 Introduction to WPF
Quang Nguyễn Bá
 
PPTX
TDD - Test Driven Dvelopment | Test First Design
Quang Nguyễn Bá
 
PPTX
Scrum sử dụng Team Foundation Server 2012
Quang Nguyễn Bá
 
PPTX
Giới thiệu WCF
Quang Nguyễn Bá
 
PPTX
MOSS 2007 Overview
Quang Nguyễn Bá
 
PPTX
SharePoint Programming Basic
Quang Nguyễn Bá
 
PPTX
SharePoint 2010 Business Intelligence
Quang Nguyễn Bá
 
PPTX
SharePoint Web part programming
Quang Nguyễn Bá
 
Lesson 09 Resources and Settings in WPF
Quang Nguyễn Bá
 
Lesson 08 Documents and Printings in WPF
Quang Nguyễn Bá
 
Lesson 07 Actions and Commands in WPF
Quang Nguyễn Bá
 
Lesson 06 Styles and Templates in WPF
Quang Nguyễn Bá
 
Lesson 05 Data Binding in WPF
Quang Nguyễn Bá
 
Lesson 04 WPF Controls
Quang Nguyễn Bá
 
Lesson 03 Layouts in WPF
Quang Nguyễn Bá
 
Lesson 02 Introduction to XAML
Quang Nguyễn Bá
 
Lesson 01 Introduction to WPF
Quang Nguyễn Bá
 
TDD - Test Driven Dvelopment | Test First Design
Quang Nguyễn Bá
 
Scrum sử dụng Team Foundation Server 2012
Quang Nguyễn Bá
 
Giới thiệu WCF
Quang Nguyễn Bá
 
MOSS 2007 Overview
Quang Nguyễn Bá
 
SharePoint Programming Basic
Quang Nguyễn Bá
 
SharePoint 2010 Business Intelligence
Quang Nguyễn Bá
 
SharePoint Web part programming
Quang Nguyễn Bá
 

Recently uploaded (20)

PDF
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PPTX
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Kit-Works Team Study_20250627_한달만에만든사내서비스키링(양다윗).pdf
Wonjun Hwang
 
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
Edge AI and Vision Alliance
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
MuleSoft MCP Support (Model Context Protocol) and Use Case Demo
shyamraj55
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 

Introduction to Microsoft SQL Server 2008 R2 Integration Services

  • 1. Microsoft SQL Server 2008 R2 Introduction to Integration Services http://techmaster.vn
  • 2. SQL Server 2008 R2 BI Technologies http://techmaster.vn
  • 3. Contents • Understanding the Data Integration • Understanding the SQL Server 2008 R2 Integration Services • Understanding the SSIS Packages • Understanding the SSIS Control Flow • Understanding the SSIS Data Flow http://techmaster.vn
  • 4. SQL Server 2008 R2 BI Structure Reporting and Visualization Tools (Dashboard, KPI, Presentation Layer Scorecard,…) Turn data into information (analysis) Analytical Layer Multidimensional OLAP Database Data Storage and Retrieval Layer Data Warehouse in RDBMS 1. Extract the data from the multiple sources Data Transformation Layer 2. Modify the data to consistent 3. Load the data into Data Storage system Data Source Layer Text, MS Excel, MS Access, MS SQL, Oracle,…| External Sources http://techmaster.vn
  • 5. Microsoft Business Intelligence Platform Analytic Scorecards, Analytics, Planning Applications (PerformancePoint Service) Portal (SharePoint) Data Delivery Report Builder End-user Analysis SSRS (Excel) Integrate Analyze Report (SQL Integration Services) (SQL Analysis Services) (SQL Reporting Services) Infrastructure Platform Data Warehouse, Data Marts, Operational Data (SQL Server 2008 R2) Office SQL http://techmaster.vn
  • 6. Data Integration in Real World Extract data Transform the Load data into from sources data data stores http://techmaster.vn
  • 7. Data Integration Challenges • Multiple sources with different formats. • Structured, semi-structured, and unstructured data. • Huge data volumes. Enterprises spend 60%–80% of their resources developing and testing their ETL processes http://techmaster.vn
  • 8. Introduction to Integration Services SQL SERVER 2008 R2 INTEGRATION SERVICES http://techmaster.vn
  • 9. Introducing Integration Services 2008 R2 • Primarily designed to implement ETL processes • Provides a robust, flexible, fast, scalable and extensible architecture • Challenges traditional ETL design approaches http://techmaster.vn
  • 10. Introducing Integration Services 2008 R2 • Its capabilities are useful in many other scenarios: – Assessing data quality – Cleansing and standardizing data – Merging data from heterogeneous data stores – Implementing ad hoc data transfers – Automating administrative tasks http://techmaster.vn
  • 11. SSIS Architecture • SQL Server Integration Services (SSIS) service • SSIS object model • Two distinct runtime engines: – Control flow – Data flow http://techmaster.vn
  • 12. SSIS Architecture • SSIS Designer – Graphical tool to create and maintain Integration Services packages. • Integration Services Runtime – Saves the layout of packages, runs packages, and provides support for logging, breakpoints, configuration, connections, and transactions. • Tasks and other executable: – The Integration Services run-time executables are the package, containers, tasks, and event handlers http://techmaster.vn
  • 13. SSIS Architecture • Data Flow engine (pipeline) – In-memory buffers • Data Flow components – Sources, – Transformations – Destinations http://techmaster.vn
  • 14. SSIS Architecture • Object Model – Allow for creating custom components for use in packages • Integration Services Service – Lets you monitor running Integration Services packages and to manage the storage of packages. http://techmaster.vn
  • 15. Introduction to Integration Services PACKAGE ESSENTIALS http://techmaster.vn
  • 16. What’s IS Package • A package is the object that implements Integration Services functionality to extract, transform, and load data. • Creation tools: – SSIS Designer in BI Development Studio. – SQL Server Import and Export Wizard – Integration Services Connections Project Wizard • Saved in XML format to the file system or SQL Server http://techmaster.vn
  • 17. Package Elements • Connection managers • Control flow components • Data flow components • Variables • Event handlers • Configurations http://techmaster.vn
  • 18. Connection Managers • Logical representation of a connection • Stored in the package and cannot be shared between packages • Used by package elements • Do not need to connect to SQL Server http://techmaster.vn
  • 19. Introduction to Integration Services CONTROL FLOW http://techmaster.vn
  • 20. Control Flow • Control flow is the process-oriented workflow engine • A package consists of a single control flow • Control flow elements: – Containers – Tasks – Precedence constraints – Variables – Event handlers http://techmaster.vn
  • 21. Containers • Provide structure and services for – Grouping tasks – Implementing repeating flows • Execute in sequence defined by precedence constraints in the control flow • Manage variable and transactional boundaries http://techmaster.vn
  • 22. Tasks • Perform discrete operations at runtime • Execute in sequence defined by precedence constraints in the control flow • Use properties configured at design time or assigned dynamically at runtime by using expressions http://techmaster.vn
  • 23. Task Categories Task Descriptions Data Flow The Data Flow task defines and runs data flows that extract data, apply transformations, and load data Data Preparation Data preparation tasks copy files and directories, download files and data, save data returned by Web methods, or work with XML documents Workflow Workflow tasks communicate with other processes to run packages or programs, send and receive messages between packages, send e-mail messages, read Windows Management Instrumentation (WMI) data, or watch for WMI events. SQL Server SQL Server tasks access, copy, insert, delete, or modify SQL Server objects and data Analysis Services Analysis Services tasks create, modify, delete, or process Analysis Services objects Scripting Scripting tasks extend package functionality through custom scripts Maintenance Maintenance tasks perform administrative functions, such as backing up and shrinking SQL Server databases, rebuilding and reorganizing indexes, and running SQL Server Agent jobs http://techmaster.vn
  • 24. Precedence Constraints • Precedence constraints link executables, containers, and tasks in packages into a control flow, and specify conditions that determine whether executables run • Configure conditions that determine whether the executable runs: – Success, Failure, or Completion constraints – Expressions – Logical AND/OR for multiple constraints http://techmaster.vn
  • 25. Variables • Variables customize package behavior by changing expression values or object properties • System variables store values collected during package execution • All variables use case-sensitive names • Variables can be scoped at package, container, or task level http://techmaster.vn
  • 26. Event Handlers • At run time executables raise events • Event handlers can be defined to respond to these events • Creating an event handler is similar to building a package; an event handler has tasks and containers, which are sequenced into the control flow http://techmaster.vn
  • 27. Event Handlers • Common events used to trigger event handlers: – OnPreExecute – OnPostExecute – OnError • Examples: – Retrieve system information to assess resource availability before the package runs – Send an e-mail message when an error occurs http://techmaster.vn
  • 28. Introduction to Integration Services DATA FLOW http://techmaster.vn
  • 29. Data Flow • Data Flow is optional elements – Extract data – Modify data – Load data into data sources. • The main data flow elements are – Sources – Transformations – Destinations. http://techmaster.vn
  • 30. Data Flow Sources • Sources extract data from: – Relational tables and views – Files – Analysis Services databases http://techmaster.vn
  • 31. Data Flow Transformations • Aggregate, merge, distribute, or modify data • Include error outputs in some cases • Transformation categories – Row – Rowset – Split and Join – Script – Other http://techmaster.vn
  • 32. Row Transformations Transformation Description Character Map The transformation that applies string functions to character data. The transformation that adds copies of input columns to the Copy Column transformation output. The transformation that converts the data type of a column to a Data Conversion different data type. The transformation that populates columns with the results of Derived Column expressions. Export Column The transformation that inserts data from a data flow into a file. The transformation that reads data from a file and adds it to a data Import Column flow. The transformation that uses script to extract, transform, or load Script Component data. The transformation that runs SQL commands for each row in a data OLE DB Command flow. http://techmaster.vn
  • 33. Rowset Transformations Transformation Description The transformation that performs aggregations such as Aggregate AVERAGE, SUM, and COUNT. Sort The transformation that sorts data. Percentage The transformation that creates a sample data set using a Sampling percentage to specify the sample size. The transformation that creates a sample data set by Row Sampling specifying the number of rows in the sample. The transformation that creates a less normalized version Pivot of a normalized table. The transformation that creates a more normalized Unpivot version of a nonnormalized table. http://techmaster.vn
  • 34. Split and Join Transformations Transformation Description Conditional Split The transformation that routes data rows to different outputs. The transformation that distributes data sets to multiple Multicast outputs. Union All The transformation that merges multiple data sets. Merge The transformation that merges two sorted data sets. The transformation that joins two data sets using a FULL, LEFT, Merge Join or INNER join. The transformation that looks up values in a reference table Lookup using an exact match. The transformation that writes data from a connected data source in the data flow to a Cache connection manager that Cache saves the data to a cache file. The Lookup transformation performs lookups on the data in the cache file. http://techmaster.vn
  • 35. The Script Transformation • Extends the capabilities of the data flow • Similar to the Script Task, develop VB.NET or C# .NET scripts to introduce custom logic into the data flow • Can be configured for these roles: – Source – Destination – Transformation • Delivers optimized performance because it is precompiled http://techmaster.vn
  • 36. Other Transformations • Add audit information • Populate lookup caches • Export and import data • Count rows • Manage slowly changing dimensions http://techmaster.vn
  • 37. Introduction to Integration Services DEMO http://techmaster.vn
  • 38. THANK YOU http://techmaster.vn

Editor's Notes

  • #3: Key Points: Integration Services (SSIS) provides a scalable enterprise data integration platform with exceptional Extract, Transform, Load (ETL) and integration capabilities, enabling organizations to more easily manage data from a wide array of data sourcesMaster Data Services (MDS) enables organizations to start with simple solutions for analytic or operational requirements, and then adapt the solutions to additional requirements incrementallyThe latest version of SQL Server from Microsoft SQL Server 2008 offers hundreds of new DBMS features that boost the productivity of database administrators and developers, improve support for larger databases, and enhance securityReporting Services (SSRS) provides a full range of ready-to-use tools and services to help you create, deploy, and manage reports for your organization, as well as programming features that enable you to extend and customize your reporting functionalityAnalysis Services (SSAS) delivers online analytical processing (OLAP) and data mining functionality for business intelligence applicationsConclusion: With SQL Server 2008 R2 customers get all the technologies needed to build a reliable and secure BI platform. SQL Server 2008 R2 has the strongest combination of price/performance, manageability, security, and DBA productivity.
  • #40: Update column values or create new columnsTransform each row in the pipeline input
  • #41: The transformations create new rowsets that can include aggregate and sorted values, sample rowsets, or pivoted and unpivotedrowsets.
  • #42: The transformations distribute rows to different outputs, create copies of the transformation inputs, join multiple inputs into one output, and perform lookup operations.