Garbage collection
GarbageCollectionModule
This section describes how to configure the Garbage Collection. Garbage collection is used for the removal of historical inventory data from the Inventory database.
propertyName | Description |
---|---|
IsEnabled | Set to true , garbage collection will run. Set to false , no garbage collection will run. Default = true Note
|
Interval | Specifies the time that must pass since the prior run of the garbage collector has been completed. This value is specified in the hh:mm:ss format. Default = 02:00:00 |
SqlCommandTimeOut | Set the time limit of duration (in seconds) for how long garbage collection will run for each individual query to the database. 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 NoteThis 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. |
<ModuleConfiguration> <Module typeName="GarbageCollectionModule"> <Setter propertyName="IsEnabled">true</Setter> <Setter propertyName="Interval">"02:00:00"</Setter> <Setter propertyName="DaysOfCumulativeTableHistoryToKeep">90</Setter> <Setter propertyName="DaysOfMetricHistoryToKeep">30</Setter> <Setter propertyName="DaysToKeepAssignedIdsWithoutData">7</Setter> <Setter propertyName="SqlCommandTimeOut">180</Setter> </Module> </ModuleConfiguration>