SQL Server Integration Services is a component of Microsoft SQL Server to perform data migration tasks.
A platform for data integration and workflow applications.
A tool for data extraction, transformation , and loading(ETF) First released with Microsoft SQL Server 2005, SSIS replaced Data Transformation Services, which had been a feature of SQL Server since Version 7.0. Unlike DTS, which was included in all versions, SSIS is only available in the "Standard" and "Enterprise" editions.
简单的说,SSIS是一个数据集成和工作流解决方案。它的典型应用就是建立SSIS包,将数据按需求打包转移.
数据的ETL: (Extraction, Transformation, Loading)
1 从各种不同的数据源中取数据
2 存入数据仓库
3 清理和标准化数据
4 自动数据管理和加载
Packages are the root of the hierarchy. Although an SSIS solution can contain a number of packages, they are not held, logically or physical, in any kind of container.
ContainerThe level beneath the package can be either a container or some kind of executable (a Control Flow executable). A container is a logical construct that can hold other containers or components grouped together under the "super-container."
ExecutableA component that implements the necessary SSIS interfaces and so makes itself available for use within SSIS. An example is the Script Component, which supports the running of Visual Basic.NET code within your package against contained Data Flow.
VariablesSSIS provides support for strongly typed partCommon Type System (CTS)–compliant variables as a part of any container or package.
ScopeScope refers to the visibility and usability of a variable to a piece of code, based on where in the code the variable is defined. For example, a variable with global scope is defined at package level and is visible to and usable by any package, container, or component in the hierarchy beneath it. By contrast, a variable defined at Data Flow task level is visible only to that task and its subtasks.
Precedence constraintsControl Flow design surface may have multiple Control Flow items, in this situation we need to decide which item will execute first. Using Precedence Constraints, we can define processing flow for Control Flow items. We can define different flow based on success or failure of any item.
Event HandlersEvent handlers are offered at most levels of the package hierarchy. The types of event handlers differ depending upon the type of object against which you want to handle events.
SQL Server Business Intelligence Development Studio (BIDS)
Control Flow
Container
Containers provide structure in packages and services to tasks in the control flow. Integration Services include the following container types, for grouping tasks and implementing repeating control flows:
Tasks do the work in packages. Integration Services includes tasks for performing a variety of functions.
Precedence constraints connect containers and task in packages into an ordered control flow. You can control the sequence execution for tasks and containers, and specify conditions that determine whether tasks and containers run.
数据流
It's processing responsibilities by employing the pipeline paradigm, carrying data record by record from its source to a destination and modifying it in transit by applying transformations. (There are exceptions to this rule, since some of them, such as Sort or Aggregate require the ability to view the entire data set before handing it over to their downstream counterparts). Items which are used to creating a data flow categorize into three parts.
由以下三个部分组成:
Data Flow Source
Data Flow Transformation
Data Flow Destination
下章主要讲述SSIS的实例应用。