Partilhar via


QuantumDuration Element for ApplicationExecutionSettings (ADF)

Defines the length of time for a generator quantum, which determines how frequently the generator attempts to process work.

Syntax

<ApplicationExecutionSettings>
    <QuantumDuration>

Element Characteristics

Characteristic Description

Data type

duration.

Default value

60 seconds.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added, deleted, and modified when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

None.

Remarks

The application quantum duration controls how often the generator fires rules to generate notifications. Shorter quantum durations generate notifications more often, but require more resources. You need to balance the need for timely notifications with the processing load placed on the Database Engine by running the rules more frequently. For more information, see Specifying the Generator Quantum Duration.

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.

Example

The following example shows how to define a generator quantum duration of 15 minutes.

<QuantumDuration>P0DT00H15M00S</QuantumDuration>

See Also

Reference

QuantumDuration Element for Distributor (ADF)
Application Definition File Reference

Other Resources

Specifying the Generator Quantum Duration
Updating Instances and Applications

Help and Information

Getting SQL Server 2005 Assistance