SlideShare una empresa de Scribd logo
1 de 28
SQL Server Integration
Service 2008
What is SSIS?
   SQL Server Integration Services (SSIS)- Microsoft Platform for
    developers to Extract, Transform and Load (ETL) packages along
    with other automation tasks.

   SSIS contains graphical tools and wizards for building and
    debugging packages( consistent with Visual Studio IDE).

   SSIS is a replaces of Data Transformation Services (DTS).
SSIS Tools
   Wizards
     SQL Server Import and Export Wizard
     Package Migration Wizard
    …
   SSIS Designer
     built into the BI Development Studio and is the main surface for
      package development.
   Command-prompt utilities
     Dtexec (run an existing package at the command prompt )
     Dtutil (manage existing packages at the command prompt)
SSIS Development Environment

   SSIS Projects:
       Data Sources
       Data Source Views
       SSIS Packages:
           Control flow
               Tasks
               Loops, sequences and events
               Variables and scoping
               Precedence constraints

           Connections Manager

           Data flow
               Source and destination adapters
               Transformations
               Multiple sources with joins and unions
               Multiple destinations with splits and multicast
Packages
   Collection of tasks which are executed in an orderly fashion by the
    run time engine.

   It is a unit of work which is Retrieved, executed and saved.

   Its an XML file , which can be either saved in Sql Server or in an file
    system.

   Can be executed by –
      SQL Server Agent
      DTEXEC Or DTEXECUTil (Command line utility bundled with
       SSIS to execute a package, another similar one is DTEXECUI
       which has the GUI).
Control Flow and Tasks
   Main Workflow of the package.

   Dictates the sequence of execution of the package.

   SSIS provides three types of control flow elements:
      Task is a processing unit responsible for performing a
       designated step, such as running T-SQL Command, launching
       an external process, handling a file system operation and so on.
      Containers groups and organize tasks logically.
      Precedence constraints connect containers or tasks into one
       control flow depending on the outcome of an upstream task.
Containers
Precedence Constraints
                         Complete
   Success




       Failure
Connection Managers
   SSIS uses connection managers to integrate different
    data sources into packages.
Data Flow
   The most important task for moving the data from source to
    destination.

   It is a buffer oriented Architecture.

   Created by using different types of data flow elements including:
      Sources that extract data.
      Transformations that modify data.
      Destinations that load data.
      Data Paths that connect the outputs and inputs of data flow
       components into a data flow.
Event Handling and Logging
   During runtime, events are raised by the containers and tasks.
   Event Handlers perform following tasks:
      Clean up temporary data storage when a package or task
       finishes.
      Refresh data in a table when a lookup reference table fails.
      Send an email when an error or warning occurs.
Logging
   SQL Server Integration Services includes log providers that you can
    use to implement logging in packages, containers, and tasks.

   Logging captures runtime information about the package.

   Log Providers –
      Text File Log Provider.
      SQL Server Profiler Log Provider.
      SQL Server Log Provider.
      XML File log Provider.
      Windows Event Log Provider.
Contd..
   Elements in the log Schema:

       Computer- The name of the computer on which the log event
        occurred.
       Operator - The identity of the user who launched the package
       SourceName -The name of the container or task in which the
        log event occurred
       SourceID - The unique identifier of the package; the For Loop,
        Foreach Loop, or Sequence container; or the task in which the
        log event occurred.
       ExecutionID - The GUID of the package execution instance.
       MessageText - A message associated with the log entry.
       Data Bytes- A byte array specific to the log entry. The meaning
        of this field varies by log entry.
Transactions
   SSIS Container types can be configured to use transaction.
   Three Options for configuring transactions:

       Supported – joins any transaction started by the parent
        container.

       Not Supported – does not join or start a transaction.

       Required – Starts a transaction, unless one is already started by
        the parent. If transaction exists, it joins the existing one.
Checkpoints
   SSIS can restart failed packages from the point where it stopped,
    instead of running the whole package.

   The information about the package execution is written in a
    checkpoint file.

   Checkpoint file restarts the package from the point of failure.

   A package can be restarted only at the Control Flow Level. A
    package cannot be restarted in the middle of the data flow.
Configuring a package to restart
 The following table lists the package properties that you set to
 implement checkpoints.




The CheckpointUsage property can be set to the following values:
     Never
     Always
     IfExists
Variables
   SSIS supports two types of variables: system and user-defined.

   User-defined variables can be used in many ways in SSIS: in
    scripts; in the expressions used by precedence constraints, the For
    Loop container, the Derived Column transformation, and the
    Conditional Split transformation; and in the property expressions
    that update property values.
Usage Scenarios
   Property Expressions
   Data Flow expressions
   Precedence constraint Expressions
   Parameters and Return codes
   For Loop
   Package Configuration
   Script tasks
Package Debugging
   Control flow
      Breakpoints
      Debug window
      Watch window


   Data flow
      Data viewer
      Row counts
Deploying the packages
   SSIS contains a feature called Package Deployment Utility which
    allows to assemble the SSIS packages, configurations and
    supporting files to deployment folder and builds an executable file.
Package Installer Wizard

Más contenido relacionado

La actualidad más candente

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
Microsoft Private Cloud
 
Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)
Anurag Rana
 

La actualidad más candente (20)

Data Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSONData Modelling Zone 2019 - data modelling and JSON
Data Modelling Zone 2019 - data modelling and JSON
 
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
 
SSIS Connection managers and data sources
SSIS Connection managers and data sourcesSSIS Connection managers and data sources
SSIS Connection managers and data sources
 
MS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTUREMS-SQL SERVER ARCHITECTURE
MS-SQL SERVER ARCHITECTURE
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
 
Data warehousing labs maunal
Data warehousing labs maunalData warehousing labs maunal
Data warehousing labs maunal
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Sql server 2019 new features
Sql server 2019 new featuresSql server 2019 new features
Sql server 2019 new features
 
Azure Data Factory
Azure Data FactoryAzure Data Factory
Azure Data Factory
 
Part3 Explain the Explain Plan
Part3 Explain the Explain PlanPart3 Explain the Explain Plan
Part3 Explain the Explain Plan
 
Sql server
Sql serverSql server
Sql server
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
Starburst Presto - CBO talk - Strata London 2019
Starburst Presto  - CBO talk - Strata London 2019Starburst Presto  - CBO talk - Strata London 2019
Starburst Presto - CBO talk - Strata London 2019
 
Apache Iceberg: An Architectural Look Under the Covers
Apache Iceberg: An Architectural Look Under the CoversApache Iceberg: An Architectural Look Under the Covers
Apache Iceberg: An Architectural Look Under the Covers
 
Migrate a successful transactional database to azure
Migrate a successful transactional database to azureMigrate a successful transactional database to azure
Migrate a successful transactional database to azure
 

Destacado

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
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control Flow
Slava Kokaev
 

Destacado (20)

Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLBit...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLBit...Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLBit...
Tools and Tips: From Accidental to Efficient Data Warehouse Developer (SQLBit...
 
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 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
 
05 SSIS Control Flow
05 SSIS Control Flow05 SSIS Control Flow
05 SSIS Control Flow
 
06 SSIS Data Flow
06 SSIS Data Flow06 SSIS Data Flow
06 SSIS Data Flow
 
Control Flow Using SSIS
Control Flow Using SSISControl Flow Using SSIS
Control Flow Using SSIS
 
SSIS 2008 R2 data flow
SSIS 2008 R2 data flowSSIS 2008 R2 data flow
SSIS 2008 R2 data flow
 
SSIS control flow
SSIS control flowSSIS control flow
SSIS control flow
 
Data Mining and Business Intelligence Tools
Data Mining and Business Intelligence ToolsData Mining and Business Intelligence Tools
Data Mining and Business Intelligence Tools
 
Beyond the Gig Economy
Beyond the Gig EconomyBeyond the Gig Economy
Beyond the Gig Economy
 
African Americans: College Majors and Earnings
African Americans: College Majors and Earnings African Americans: College Majors and Earnings
African Americans: College Majors and Earnings
 
SXSW 2016 takeaways
SXSW 2016 takeawaysSXSW 2016 takeaways
SXSW 2016 takeaways
 
SXSW 2016: The Need To Knows
SXSW 2016: The Need To KnowsSXSW 2016: The Need To Knows
SXSW 2016: The Need To Knows
 
8 Tips for Scaling Mobile Users in China by Edith Yeung
8 Tips for Scaling Mobile Users in China by Edith Yeung8 Tips for Scaling Mobile Users in China by Edith Yeung
8 Tips for Scaling Mobile Users in China by Edith Yeung
 
GAME ON! Integrating Games and Simulations in the Classroom
GAME ON! Integrating Games and Simulations in the Classroom GAME ON! Integrating Games and Simulations in the Classroom
GAME ON! Integrating Games and Simulations in the Classroom
 
Top Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big EventTop Rumors About Apple March 21 Big Event
Top Rumors About Apple March 21 Big Event
 
Creative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage StartupsCreative Traction Methodology - For Early Stage Startups
Creative Traction Methodology - For Early Stage Startups
 
IT in Healthcare
IT in HealthcareIT in Healthcare
IT in Healthcare
 
The Physical Interface
The Physical InterfaceThe Physical Interface
The Physical Interface
 

Similar a Ssis 2008

Ssis2008 120710214348-phpapp02
Ssis2008 120710214348-phpapp02Ssis2008 120710214348-phpapp02
Ssis2008 120710214348-phpapp02
sumitkumar3201
 
B Woodward Portfolio
B Woodward PortfolioB Woodward Portfolio
B Woodward Portfolio
bwoodward
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
garyt1953
 
OPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATIONOPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATION
SUMIT KUMAR
 
MMYERS Portfolio
MMYERS PortfolioMMYERS Portfolio
MMYERS Portfolio
Mike Myers
 
Introduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration ServicesIntroduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration Services
Quang Nguyễn Bá
 
durga_resume
durga_resumedurga_resume
durga_resume
durga p
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration Services
Slava Kokaev
 
Exploring Scalability, Performance And Deployment
Exploring Scalability, Performance And DeploymentExploring Scalability, Performance And Deployment
Exploring Scalability, Performance And Deployment
rsnarayanan
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
guest5a8ee60b
 

Similar a Ssis 2008 (20)

Ssis2008 120710214348-phpapp02
Ssis2008 120710214348-phpapp02Ssis2008 120710214348-phpapp02
Ssis2008 120710214348-phpapp02
 
Ssis event handler
Ssis event handlerSsis event handler
Ssis event handler
 
Microsoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbaiMicrosoft-business-intelligence-training-in-mumbai
Microsoft-business-intelligence-training-in-mumbai
 
B Woodward Portfolio
B Woodward PortfolioB Woodward Portfolio
B Woodward Portfolio
 
1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS1\9.SSIS 2008R2_Training - Introduction to SSIS
1\9.SSIS 2008R2_Training - Introduction to SSIS
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Oracle RI ETL process overview.
Oracle RI ETL process overview.Oracle RI ETL process overview.
Oracle RI ETL process overview.
 
7\9 SSIS 2008R2_Training - Script Task
7\9 SSIS 2008R2_Training - Script Task7\9 SSIS 2008R2_Training - Script Task
7\9 SSIS 2008R2_Training - Script Task
 
OPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATIONOPEN TEXT ADMINISTRATION
OPEN TEXT ADMINISTRATION
 
MS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data miningMS SQL SERVER: SSIS and data mining
MS SQL SERVER: SSIS and data mining
 
Microsoft sql server integration services| Rahul Singh
Microsoft sql server integration services| Rahul Singh Microsoft sql server integration services| Rahul Singh
Microsoft sql server integration services| Rahul Singh
 
MMYERS Portfolio
MMYERS PortfolioMMYERS Portfolio
MMYERS Portfolio
 
Introduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration ServicesIntroduction to Microsoft SQL Server 2008 R2 Integration Services
Introduction to Microsoft SQL Server 2008 R2 Integration Services
 
2\9.SSIS 2008R2 _Training - Control Flow
2\9.SSIS 2008R2 _Training - Control Flow2\9.SSIS 2008R2 _Training - Control Flow
2\9.SSIS 2008R2 _Training - Control Flow
 
durga_resume
durga_resumedurga_resume
durga_resume
 
01 Architecture Of Integration Services
01 Architecture Of Integration Services01 Architecture Of Integration Services
01 Architecture Of Integration Services
 
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...To Study  E T L ( Extract, Transform, Load) Tools Specially  S Q L  Server  I...
To Study E T L ( Extract, Transform, Load) Tools Specially S Q L Server I...
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000
 
Exploring Scalability, Performance And Deployment
Exploring Scalability, Performance And DeploymentExploring Scalability, Performance And Deployment
Exploring Scalability, Performance And Deployment
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Ssis 2008

  • 2. What is SSIS?  SQL Server Integration Services (SSIS)- Microsoft Platform for developers to Extract, Transform and Load (ETL) packages along with other automation tasks.  SSIS contains graphical tools and wizards for building and debugging packages( consistent with Visual Studio IDE).  SSIS is a replaces of Data Transformation Services (DTS).
  • 3. SSIS Tools  Wizards  SQL Server Import and Export Wizard  Package Migration Wizard …  SSIS Designer  built into the BI Development Studio and is the main surface for package development.  Command-prompt utilities  Dtexec (run an existing package at the command prompt )  Dtutil (manage existing packages at the command prompt)
  • 4. SSIS Development Environment  SSIS Projects:  Data Sources  Data Source Views  SSIS Packages:  Control flow  Tasks  Loops, sequences and events  Variables and scoping  Precedence constraints  Connections Manager  Data flow  Source and destination adapters  Transformations  Multiple sources with joins and unions  Multiple destinations with splits and multicast
  • 5.
  • 6. Packages  Collection of tasks which are executed in an orderly fashion by the run time engine.  It is a unit of work which is Retrieved, executed and saved.  Its an XML file , which can be either saved in Sql Server or in an file system.  Can be executed by –  SQL Server Agent  DTEXEC Or DTEXECUTil (Command line utility bundled with SSIS to execute a package, another similar one is DTEXECUI which has the GUI).
  • 7.
  • 8. Control Flow and Tasks  Main Workflow of the package.  Dictates the sequence of execution of the package.  SSIS provides three types of control flow elements:  Task is a processing unit responsible for performing a designated step, such as running T-SQL Command, launching an external process, handling a file system operation and so on.  Containers groups and organize tasks logically.  Precedence constraints connect containers or tasks into one control flow depending on the outcome of an upstream task.
  • 9.
  • 11.
  • 12. Precedence Constraints Complete Success Failure
  • 13. Connection Managers  SSIS uses connection managers to integrate different data sources into packages.
  • 14. Data Flow  The most important task for moving the data from source to destination.  It is a buffer oriented Architecture.  Created by using different types of data flow elements including:  Sources that extract data.  Transformations that modify data.  Destinations that load data.  Data Paths that connect the outputs and inputs of data flow components into a data flow.
  • 15.
  • 16. Event Handling and Logging  During runtime, events are raised by the containers and tasks.  Event Handlers perform following tasks:  Clean up temporary data storage when a package or task finishes.  Refresh data in a table when a lookup reference table fails.  Send an email when an error or warning occurs.
  • 17.
  • 18. Logging  SQL Server Integration Services includes log providers that you can use to implement logging in packages, containers, and tasks.  Logging captures runtime information about the package.  Log Providers –  Text File Log Provider.  SQL Server Profiler Log Provider.  SQL Server Log Provider.  XML File log Provider.  Windows Event Log Provider.
  • 19. Contd..  Elements in the log Schema:  Computer- The name of the computer on which the log event occurred.  Operator - The identity of the user who launched the package  SourceName -The name of the container or task in which the log event occurred  SourceID - The unique identifier of the package; the For Loop, Foreach Loop, or Sequence container; or the task in which the log event occurred.  ExecutionID - The GUID of the package execution instance.  MessageText - A message associated with the log entry.  Data Bytes- A byte array specific to the log entry. The meaning of this field varies by log entry.
  • 20. Transactions  SSIS Container types can be configured to use transaction.  Three Options for configuring transactions:  Supported – joins any transaction started by the parent container.  Not Supported – does not join or start a transaction.  Required – Starts a transaction, unless one is already started by the parent. If transaction exists, it joins the existing one.
  • 21. Checkpoints  SSIS can restart failed packages from the point where it stopped, instead of running the whole package.  The information about the package execution is written in a checkpoint file.  Checkpoint file restarts the package from the point of failure.  A package can be restarted only at the Control Flow Level. A package cannot be restarted in the middle of the data flow.
  • 22. Configuring a package to restart The following table lists the package properties that you set to implement checkpoints. The CheckpointUsage property can be set to the following values:  Never  Always  IfExists
  • 23. Variables  SSIS supports two types of variables: system and user-defined.  User-defined variables can be used in many ways in SSIS: in scripts; in the expressions used by precedence constraints, the For Loop container, the Derived Column transformation, and the Conditional Split transformation; and in the property expressions that update property values.
  • 24.
  • 25. Usage Scenarios  Property Expressions  Data Flow expressions  Precedence constraint Expressions  Parameters and Return codes  For Loop  Package Configuration  Script tasks
  • 26. Package Debugging  Control flow  Breakpoints  Debug window  Watch window  Data flow  Data viewer  Row counts
  • 27. Deploying the packages  SSIS contains a feature called Package Deployment Utility which allows to assemble the SSIS packages, configurations and supporting files to deployment folder and builds an executable file.

Notas del editor

  1. The SQL Server Import and Export Wizard provides the simplest method of constructing basic packages and copying data between data sources. The Package Installation Wizard guides you through the process of deploying packages and updating package configurations. The Package Configuration Wizard guides you though the steps to create the configurations that update the values of properties of packages and package objects at run time. The Package Migration Wizard guides you though the steps to migrate SQL Server 2000 DTS packages to SQL Server 2005.