← All posts Blog

Compressed vs Raw Data Analysis

Tuning exception and compression to instrument precision — less data, full fidelity, faster performance.

By AF Consulting℠ LLC · January 2026

1. Raw Data Sets

This article shows how to apply proper exception and compression settings to PI tags based on instrument precision. This reduces the amount of data that needs to be stored and processed for trending, analytics, and more — and using compressed data instead of raw data for operational analysis leads to faster performance for applications and end users.

The analysis below was conducted over 29 days using three datasets from a customer's process: tank level, tank pressure, and chill water temperature.

Raw tank level data for 29 days.

Raw tank level, 29 days

Raw tank pressure data for 29 days.

Raw tank pressure, 29 days

Raw chiller temperature data for 29 days.

Raw chiller temperature, 29 days

2. Summary of the Analysis

This summary table shows the results of setting the proper exception and compression on each measurement's raw data.

Compression summary table

The precision of the measurements was taken from typical industrial instrument specifications. The maximum error (raw value − linear interpolation of compressed values) is below the precision of the instruments. This means the eliminated data was noise that added no benefit to store — the compressed data represents the raw data accurately to the precision of the instruments and does not miss any of the true signals.

3. Exception and Compression Setting Analysis

The evaluation used a tag tuning spreadsheet that mimics the PI System compression and exception behavior. The settings for each tag were tested so that the maximum difference between the original raw value and the interpolated compressed value is less than the precision/repeatability of the instrument. Here is an example of the tag tuning spreadsheet.

Tag tuning spreadsheet

4. Tank Pressure

Comparing the raw data to interpolated values from the compressed data at the same timestamps, the maximum deviation from any raw value was 0.008 psi — well below the instrument precision of 0.01 psi. The resulting compressed data is only 24.4% of the raw data, which means less storage, less bandwidth, and higher performance on trending and AF analytics.

Tank pressure compression comparison

Below is a trend comparing the raw and compressed datasets for the 29-day period. The difference is imperceptible.

Tank pressure 29-day comparison

Below is the same comparison for a 1-day period — again imperceptible.

Tank pressure 1-day comparison

Below is the 1-hour period. You can see small differences, but note each horizontal band is 0.01 psi, the precision of the instrument.

Tank pressure 1-hour comparison

5. Tank Level

The maximum deviation from any raw value was 0.02 ft, well below the instrument precision of 0.0208 ft (1/4 in). The resulting compressed data is only 38.5% of the raw data.

Tank level compression comparison

Raw vs compressed for the 29-day period.

Tank level 29-day comparison

Raw vs compressed for the 1-day period — imperceptible.

Tank level 1-day comparison

Raw vs compressed for the 1-hour period — negligible differences.

Tank level 1-hour comparison

6. Chiller Temperature

The maximum deviation from any raw value was 0.07 °F, well below the instrument precision of 0.1 °F. The resulting compressed data is only 27% of the raw data.

Chiller temperature compression comparison

Raw vs compressed for the 29-day period.

Chiller temperature 29-day comparison

Raw vs compressed for the 1-day period — imperceptible.

Chiller temperature 1-day comparison

Raw vs compressed for the 1-hour period. Each horizontal band represents half the precision of the instrument.

Chiller temperature 1-hour comparison

Want help applying this to your environment?

Talk to our team about a tailored AF assessment.