QuantumDuration Element for Distributor (ADF)

Defines the length of time for a distributor quantum, which determines how frequently Notification Services invokes the distributor.

语法

<Distributors>
    <Distributor>
        ...
        <QuantumDuration>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

60 seconds.

Occurrence

Optional once per Distributor element.

Updateable

Can be modified, but not added or deleted, when updating the application.

Element Relationships

Relationship Elements

Parent element

Distributor Element (ADF)

Child elements

None.

备注

The distributor quantum duration controls how often Notification Services invokes the distributor to process available work items. Note than the distributor quantum has an effect only when the distributor is idle. When the distributor is processing work items, it waits until it is finished processing the current work item before it attempts to process additional work items.

Shorter quantum durations cause Notification Services to invoke the distributor more frequently, but require more resources. You need to balance the need for responsiveness during idle periods with the processing load placed on the Microsoft SQL Server database engine by running the distributor more frequently. For more information, see 指定生成器量程持续时间.

The format of the XML duration data type is PnYnMnDTnHnMnS. For more information about XML data types, see Primitive XML Data Types in the MSDN Library.

示例

The following example shows how to define a distributor quantum duration of 1 minute and 30 seconds.

<QuantumDuration>P0DT00H01M30S</QuantumDuration>

请参阅

参考

Application Definition File Reference

其他资源

指定生成器量程持续时间
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助