SSIS[SQL SERVER INTEGRATION SERVICES]

SSIS[SQL SERVER INTEGRATION SERVICES]

Microsoft SSIS or SQL Server Integration Services is a data migration and integration tool that comes with the Microsoft SQL Server database that can be used to extract, integrate, and transform data. SSIS is an Extract, Transform and Load (ETL) solution.

SSIS is an upgrade of Data Transformation Services (DTS), which was an old data transformation solution included with SQL Server. The tool comes with the Microsoft SQL Server database and is used to extract data from relational databases and files so that it can be transformed.

File types supported by SSIS include XML, flat files, and Microsoft Excel. Many enterprises use the software as a data warehousing solution. Some of the tasks you can do with SSIS include:

  • Analyzing
  • Cleansing
  • Loading
  • Transformation
  • Aggregation
  • Merging
  • Extraction

SSIS Version History

SSIS may have been around for many years but it’s actually the successor to another program called Data Transformation Services (DTS). DTS was a component of SQL Server 7 and 2000 before Microsoft decided to upgrade the platform into the SSIS platform SSIS is important because it provides the user with a platform to move data from one source to another. The user can extract data from sources like SQL databases, Oracle databasesDB2 databases, and Microsoft Excel files before exporting them to another location. Other data integration and extraction features make the transition more manageable.

One of the reasons why SSIS is so widely used is because of its versatility. The program’s support for a range of databases and its simple graphical user interface (GUI) help new users to complete transformations and data warehousing tasks. Users have complete control to design an ETL process around their own requirements.

Related Post: SQL Server Monitoring Tools

The Main SSIS Component

There are a number of core components that make up the SSIS GUI in the SSIS Designer. These include:

  • Control Flowtab – Control flows are parts of a package that provide structure, tasks, and precedence constraints.
  • Data Flow tab – Pull and transform data from a variety of sources on the device. Data flow components include sources, transformations, and destinations.
  • Event Handlerstab – Create tasks in response to events at run-time.
  • Package Explorer tab – View a top-down perspective of package elements.

Control Flow

The control flow is where you control the workflow of tasks inside a package and the order in which those tasks will be executed. You can use this through the Control Flow tab. In SSIS, control flows are part of packages and enable the user to execute different tasks.

Types of tasks you can execute include executeSQL tasks, data flow tasksexecute package tasksscript taskssend mail tasks, and more (we’ve discussed tasks in further detail below). Control flows also include precedence constraints that connect executables, containers, and tasks together while dictating which order to complete the tasks.

Data Flow

A data flow is essentially an element that allows you to take data from a source, transform it, and place it into another destination. For example, you could use a data flow task to take data from a database and transform it into a Microsoft Excel file. You can manage data flows via the Data Flow tab and add them to the control flow.

There are three components that make up the data flow:

  • Sources – Extract data from sources including files, databases, and other locations.
  • Transformations – Process the data after it has been extracted from the source.
  • Destinations – Write the data in its end destination.

As part of the data flow, you can choose the transformations you want to prepare the data to reach its end location and complete the ETL cycle. Transformations handle tasks like data cleansingmergingsortingjoining, and distributing so that you can use the data where you need it.

Event Handlers

Executables create events at run time and you can use the events handler to perform tasks in response. Tasks you can perform include cleaning up temporary data storage, retrieving system information, refreshing data in a table, and sending emails to notify you when there is an error or when a task fails.

Event handlers are similar to packages in the sense that they have tasks and containers. You can create custom event handlers in the Event Handlers tab and then add them to a package.

Package Explorer

In the Package Explorer tab, you can view the hierarchy of elements of a package including connection managers, log providers, executables, precedence constraints, parameters, event handlers, variables, tasks, and containers. The package explorer is important for checking the contents of a package.

Related post: SQL Performance Tuning

SSIS Packages

One of the fundamental tasks you will have to learn when using SSIS is how to create a package. A package is a collection of connections, control flow elements, data flow elements, event handlers, parameters, and configurations that you use to process data. The contents of a package can be broken down into three components:

  • Control flow (Tasks and containers) – The control flow includes tasks and containers that execute when the package is run.
  • Data flow (Data sources and destinations) – The data flow determines how data is processed and transformed from source to destination.
  • Connection managers – The link between the package and a data source that defines the connection string other components of the package use to interact with the source data.

SSIS Tasks

In SSIS you can add tasks to the control flow. There are a range of different tasks that you can configure. Some of the main tasks you can complete are:

  • Execute SQL Task – Allows you to run one or more SQL statements from a package.
  • Data Flow Task – Extracts, transforms and loads data from a single source or multiple sources. Cleans and modifies data in transit.
  • Analysis Services Processing Task – Processes Analysis Services objects (tabular models, cubes, dimensions, etc.). Processes one or multiple objects at a time.
  • Execute Package Task – Allows a package to run another package as part of the workflow. Often used to breakdown complex workflows into multiple packages.
  • Execute Process Task – Used to run an application or batch file as part of an SSIS package.
  • FTP Task – Downloads and uploads data files with FTP. Also allows the user to copy files to a destination directory.
  • Script Task – Enter code to perform a task that isn’t included in SSIS. Can combine multiple tasks in one script.
  • Send Mail Task – Sends emails to the user if a package workflow succeeds, fails or an event (e.g. if a database backup fails) takes place.
  • XML Task – Access, merge, validate and modify XML files. Can be used to merge multiple XML data sources into one document.

Advantages and Disadvantages of SSIS

Like any other tool, SSIS has its own set of advantages and disadvantages as an ETL tool. Ultimately the significance of these depends on how you wish to use the tool within your organization.

The main advantages of SSIS

Flexibility

SSIS brings to the table a high degree of flexibility as an ETL and data transformation tool. The user can import data from heterogeneous data sources and then transform it how they see fit. Configuration options like control flows and data flows gives the user complete control over the process.

Ease of Use

Coming to grips with the user interface and configuring SSIS is simple. Everything you need is easy to find, and you can click through to the control flow and data flow tabs without searching endlessly. If you’re ever unsure about structure, you can check through the Package Explorer.

Documentation

SSIS offers a number of features that enable you to create documentation as you transform your data. You can add annotated packages, control flows, and data flows. Writing descriptions for SSIS elements allows you to make a record as you go.

The disadvantages of SSIS

Limited Operating System Support

One of the biggest limitations of SSIS is that it only supports Microsoft Windows. Even with integrations, SSIS’s lack of support for other operating systems limits its data integration capabilities in many environments. If your environment is primarily based on Windows then this drawback will be less significant.

Lack of integration Options

The limited OS support is made worse by SSIS’s limited integration with other tools. While there are extensions you can use these pale in comparison to the versatility of open-source tools like Python. SSIS isn’t necessarily a fit for every environment, particularly if you don’t want to be confined to Windows services.


To view or add a comment, sign in

More articles by Yuvaraj Pandey

  • DATA MANAGEMENT

    Data management is the practice of ingesting, processing, securing and storing an organization’s data, where it is then…

  • SCALA

    What is Scala? A Robust and High-Caliber programming language that changed the world of big data. Scala is capable…

  • RISK MANAGEMENT

    What is Risk Management? Risk management structures are tailored to do more than just point out existing risks. A good…

  • TERADATA

    What Does Teradata Mean? Teradata is a fully scalable relational database management system produced by Teradata Corp…

  • SPARK

    What is Spark? Spark Architecture, an open-source, framework-based component that processes a large amount of…

  • POWER BI

    What Is Power BI? Power BI is a set of Business Intelligence and Analytics Services from Microsoft. It offers…

  • DOT NET DEVELOPER

    What is .NET? .

  • DATA NETWORK

    Data networks refer to systems designed to transfer data between two or more access points via the use of system…

  • DATA EXTRACTION

    What is Data Extraction? Data extraction is the process of collecting or retrieving disparate types of data from a…

  • DATA VISUALIZATION

    Before jumping into the term “Data Visualization”, let’s have a brief discussion on the term “Data Science” because…

Insights from the community

Others also viewed

Explore topics