Freigeben über


Vacuum Element (ADF)

Contains settings used by the data removal process, which removes obsolete event and notification data from the application database.

Syntax

<ApplicationExecutionSettings>
    ...
    <Vacuum>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Optional once per ApplicationExecutionSettings element.

Updates

Can be added and deleted when updating the application.

Element Relationships

Relationship Elements

Parent element

ApplicationExecutionSettings Element (ADF)

Child elements

RetentionAge Element (ADF)

VacuumSchedule Element (ADF)

Hinweise

Vacuuming removes obsolete event and notification data from the application database. For more information about the vacuuming process, see Entfernen von veralteten Anwendungsdaten.

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

If you omit the Vacuum element and its child elements, the vacuuming process does not run and obsolete data is not automatically removed from the application database.

Beispiel

The following example shows how to define a data retention age of three days (P3DT00H00M00S) and to configure the vacuuming process to run from 3:00 A.M. to 5:00 A.M. (UTC) and from 11:00 P.M. to 1:00 A.M. (UTC) every day.

<Vacuum>
    <RetentionAge>P3DT00H00M00S</RetentionAge>
    <VacuumSchedule>
        <Schedule>
            <StartTime>23:00:00</StartTime>
            <Duration>P0DT02H00M00S</Duration>
        </Schedule>
        <Schedule>
            <StartTime>03:00:00</StartTime>
            <Duration>P0DT02H00M00S</Duration>
        </Schedule>
    </VacuumSchedule>
</Vacuum>

Siehe auch

Verweis

Application Definition File Reference

Andere Ressourcen

Konfigurieren der Datenentfernung
Aktualisieren von Instanzen und Anwendungen

Hilfe und Informationen

Informationsquellen für SQL Server 2005