使用Project Deployment Model,将SSIS Project部署到Integration Services Catalog之后,SSISDB负责管理SSIS Project。在SSISDB中,有两个schema:internal和catalog。Internal 框架下的object是内部使用的,catalog框架下的object是供user使用的。在SSISDB中,能够使用TSQL和package交互,比如,使用视图查看package的执行信息,调用stored procedure执行package,根据package的history message对package进行troubleshoot,管理package执行的参数或环境变量。
一,Catalog objects
1,Catalog的object 有Folder,Project,Package ,Executable 和 Parameter
- 使用 [catalog].[folders] 查看Folder
- 使用 [catalog].[projects] 查看Project
- 使用 [catalog].[packages] 查看Package
- 使用 [catalog].[executables] 和 [catalog].[executable_statistics] 查看Executable
- 使用 [catalog].[object_parameters] 和 [catalog].[execution_parameter_values] 查看 Parameter
Executable 是package的可执行组件,位于Control flow tab中,是一个Task 或者 Container。
An executable is a task or container that you add to the control flow of a package.
2,参数
[catalog].[object_parameters] :Displays the parameters for all packages and projects in the Integration Services catalog.
关键的字段:
Column name |
Data type |
Description |
---|---|---|
parameter_id |
bigint |
The unique identifier (ID) of the parameter. |
project_id |
bigint |
The unique ID of the project. |
object_type |
smallint |
The type of parameter. The value is 20 for a project parameter and the value is 30 for a package parameter. |
object_name |
sysname |
The name of the corresponding project or package. </ |