Compression deviation
- Last UpdatedOct 04, 2024
- 2 minute read
Once events are sent to the PI Snapshot subsystem, a compression algorithm can further filter data and reduce storage to only significant values as they are moved into the archive. An event is recorded:
-
After a specified minimum duration of time since the previous event, if it exceeds a specified deviation in value from that event.
-
After a specified maximum duration of time since the previous event.
-
When activated, compression reporting filters events and stores only periodic values (including duplicates), unless an event represents a significant change in the short-term trend of values.
To turn off compression and archive every event that passes exception reporting, disable the attribute.
— Enter the deviation in value required to record an event, either as a number of engineering units, or as a percentage of the point's value.
For most flows, pressures, and levels, use a deviation specification of 1 or 2 percent of . For temperatures, the deviation should usually be 1 or 2 degrees.
—Enter the minimum time that must elapse after an event before a compressed value can be recorded. The minimum time should be set to 0 if exception reporting is activated for the same point.
— Enter the maximum time that can elapse after an event before automatically recording the next event as a compressed value. The recommended maximum time is one work shift (for example, 8 hours). If this value is too low, the compression effects are too limited to save significant archive space. If this value is too high, useful data may be lost. Events that reach the Data Archive server in asynchronous order bypass the compression calculation and are automatically recorded to the archive.
The compression specifications consist of a deviation (), a minimum time (), and a maximum time ().
Events are also archived if the elapsed time is greater than the maximum time. Duplicate values will be archived if the elapsed time exceeds . Under no circumstances does this cause Data Archive to generate events; it only filters events that are externally generated.
The most important compression specification is the deviation, . For non-numeric tags, and are ignored. They will be displayed by applications as zero.
Note: specifies the compression deviation in engineering units; specifies the compression deviation in percent of . If you change one, the other is automatically changed to be compatible. If you try to change both at once, takes precedence.