Garbage collection

GarbageCollectionModule

This module is used for configuration of garbage collection settings. Garbage collection is used for removal of historical inventory data from the Inventory database.

propertyName

Description

IsEnabled

Set to true , garbage collection will run. Only set number of value changes will be saved.

Set to false , no garbage collection will run.

Default = true

Interval

Specifies the time that must pass since the prior run of the garbage collector has completed. This value is specified in the hh:mm:ss format.

Default = 02:00:00

MaxSequenceNumbers

Number of saved value changes.

Default = 1

SqlCommandTimeOut

Set the time limit of duration (in seconds) for how long garbage collection will run for each individual data table of the client. When set to 0 , the duration has no limit (infinite duration).

Default = 180

DaysOfCumulativeTableHistoryToKeep

Set the number of days to keep historical data of user login, metering, metering concurrency, and cloud metering.

Default = 90

DaysOfMetricHistoryToKeep

Set the number of days to keep statistical troubleshooting data.

Default = 30

Note

This data can only be read by Snow Software staff.

DaysToKeepAssignedIdsWithoutData

Set the number of days that the garbage collector will keep the entries for the devices that tried to reach Snow Inventory but never reported a full inventory scan, before being removed.

Example 31.
<ModuleConfiguration>
    <Module typeName="GarbageCollectionModule">
      <Setter propertyName="IsEnabled">true</Setter>
      <Setter propertyName="Interval">"02:00:00"</Setter>
      <Setter propertyName="MaxSequenceNumbers">1</Setter>
      <Setter propertyName="DaysOfCumulativeTableHistoryToKeep">90</Setter>
      <Setter propertyName="DaysOfMetricHistoryToKeep">30</Setter>
      <Setter propertyName="DaysToKeepAssignedIdsWithoutData">7</Setter>
      <Setter propertyName="SqlCommandTimeOut">180</Setter>
    </Module>
</ModuleConfiguration>