基本数据仓库批量插入数据写入程序

Microsoft.SystemCenter.DataWarehouse.BulkInsertBulkDataWriter (WriteActionModuleType)

要创建使用 SQL 的批量插入功能插入数据的自定义数据仓库数据写入程序的基本模块

Element properties:

TypeWriteActionModuleType
IsolationAny
AccessibilityPublic
RunAsMicrosoft.SystemCenter.DataWarehouse.ActionAccount
InputTypeSystem.BaseData

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
MaxExecutionAttemptCountint$Config/MaxExecutionAttemptCount$最大写入操作执行尝试计数声明不能处理数据项之前,模块将执行的最大尝试次数。值零指示模块将连续执行(尝试次数不受限制)
ExecutionAttemptTimeoutIntervalSecondsint$Config/ExecutionAttemptTimeoutIntervalSeconds$后续执行尝试超时时间间隔(按秒计)两次连续执行尝试之间的时间间隔,用秒表示
BulkInsertBatchSizeint$Config/BulkInsertBatchSize$批量插入批大小批量插入操作的最大批大小
MaxBatchesToProcessBeforeMaintenanceCountint$Config/MaxBatchesToProcessBeforeMaintenanceCount$在进行维护之前要处理的最大数据项批数目在运行数据集维护操作之前,模块将处理的最大数据项批数目

Source Code:

<WriteActionModuleType ID="Microsoft.SystemCenter.DataWarehouse.BulkInsertBulkDataWriter" Accessibility="Public" RunAs="Microsoft.SystemCenter.DataWarehouse.ActionAccount" Batching="false">
<Configuration>
<IncludeSchemaTypes>
<SchemaType>Microsoft.SystemCenter.DataWarehouse.BulkDataWriterSchema</SchemaType>
<SchemaType>Microsoft.SystemCenter.DataWarehouse.SqlAuthenticationSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element name="ManagementGroupId" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="DataSetId" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="DataRoutingKey" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="BulkInsertBatchSize" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
<xsd:element name="MaxBatchesToProcessBeforeMaintenanceCount" type="xsd:positiveInteger" minOccurs="1" maxOccurs="1"/>
<xsd:element name="TableName" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="MaxExecutionAttemptCount" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="ExecutionAttemptTimeoutIntervalSeconds" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<xsd:element name="DataItemXPathIteratorExpression" type="xsd:string" minOccurs="0" maxOccurs="1"/>
<xsd:element name="TableColumns" type="ColumnDefinitionsType" minOccurs="1" maxOccurs="1"/>
<xsd:element name="SqlAuthentication" type="SqlAuthenticationType" minOccurs="0" maxOccurs="1"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="MaxExecutionAttemptCount" ParameterType="int" Selector="$Config/MaxExecutionAttemptCount$"/>
<OverrideableParameter ID="ExecutionAttemptTimeoutIntervalSeconds" ParameterType="int" Selector="$Config/ExecutionAttemptTimeoutIntervalSeconds$"/>
<OverrideableParameter ID="BulkInsertBatchSize" ParameterType="int" Selector="$Config/BulkInsertBatchSize$"/>
<OverrideableParameter ID="MaxBatchesToProcessBeforeMaintenanceCount" ParameterType="int" Selector="$Config/MaxBatchesToProcessBeforeMaintenanceCount$"/>
</OverrideableParameters>
<ModuleImplementation Isolation="Any">
<Managed>
<Assembly>Microsoft.EnterpriseManagement.HealthService.Modules.DataWarehouse, Culture="", PublicKeyToken="31bf3856ad364e35", Version="7.0.5000.0"</Assembly>
<Type>Microsoft.EnterpriseManagement.HealthService.Modules.DataWarehouse.BulkInsertModule</Type>
</Managed>
</ModuleImplementation>
<InputType>System!System.BaseData</InputType>
</WriteActionModuleType>