VacuumSchedule Element (ADF)

Contains elements that define the vacuuming (data removal) schedule.

语法

<ApplicationExecutionSettings>
    ...
    <Vacuum>
        ...
        <VacuumSchedule>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per Vacuum element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

Vacuum Element (ADF)

Child elements

Schedule Element for VacuumSchedule (ADF)

备注

Vacuuming removes older event and notification data from the application database. For more information about the vacuuming process, see 配置数据删除操作.

The vacuuming process runs daily at the specified time(s) for the specified duration.

Vacuuming schedules cannot overlap. If schedules overlap, Notification Services stops the earlier vacuuming process before the later one starts.

示例

The following example shows a populated VacuumSchedule element that specifies that vacuuming runs from 1:00 A.M. to 4:00 A.M. (UTC) every day.

<VacuumSchedule>
    <Schedule>
        <StartTime>01:00:00</StartTime>
        <Duration>P0DT03H00M00S</Duration>
    </Schedule>
</VacuumSchedule>

请参阅

参考

Application Definition File Reference

其他资源

配置数据删除操作
更新实例和应用程序

帮助和信息

获取 SQL Server 2005 帮助