Compressing Stored Data


EnOS Storage Policy supports storing time series data after compression (lossy compression). When configuring storage policy for asset measurement points, you can choose to configure data compression algorithms to save storage resource.


EnOS Storage Policy supports the following data compression algorithms:

  • Dead Band Compression: By comparing the difference between the data of adjacent measurement points, determine whether to store the data. If the deviation between the current measurement point data and the last saved point data exceeds the specified limit, the current measurement point data will be saved. Otherwise, the measurement point data will be discarded.

  • Swinging Door Compression: A linear trend compression algorithm. In essence, it replaces a series of continuous measurement point data with a straight line determined by the start and end points. It is suitable for compressing measurement point data that changes slowly.


When configuring data compression parameters, you can choose to use one or both algorithms. Currently, EnOS Storage Policy supports compressing AI Raw Data, AI Normalized Data, and Generic Data types.


For detailed information about the compression algorithms, see Data Compression Algorithm.

Configuring Data Compression Parameters

Take the following steps to configure data compression parameters for asset measurement points:

  1. Log in to the EnOS Management Console or the Edge Extensive and select EnOS Edge > Edge Management > Edge Details > TSDB.

  2. Move the cursor on the target storage type and click the Edit icon to open the Edit Storage Policy page.

  3. Find the target model and measurement point, move the cursor on the target measurement point, and click the Compression icon to open the Point Configuration window.

    ../_images/configuring_data_compression_1edge.png
  4. Configure data compression algorithm for the measurement point. If you choose to use the Dead Band Compression, configure the following parameters:

    • excdev:Specify the deviation limit between the data of adjacent measurement points (data type is float).

    • excmax:Specify the maximum time interval (in seconds) between adjacent measurement points (data type is int). If no measurement point data has been stored beyond this time interval, the data of a measurement point will be forced to be stored.

    • excmin:Specify the minimum time interval (in seconds) between adjacent measurement points (data type is int). If the time interval between the current measurement point and the last saved point is less than this time, the data of the current measurement point will be discarded.

  5. If you choose to use the Swinging Door Compression, configure the following parameters:

    • compdev:Enter the deviation limit between the data of adjacent measurement points (data type is float).

    • compmax:Specify the maximum time interval (in seconds) between adjacent measurement points (data type is int). If no measurement point data has been stored beyond this time interval, the data of a measurement point will be forced to be stored.

    • compmin:Specify the minimum time interval (in seconds) between adjacent measurement points (data type is int). If the time interval between two measurement points is less than this time, the data of a measurement point will be discarded.

    ../_images/configuring_data_compression_3edge.png
  6. Click OK to save the measurement point data compression configuration.


If you need to edit the data compression storage configuration for multiple measurement points, you can download the point storage configuration file, input value for the compression parameters, and then upload the configuration file. For more information, see Downloading and Uploading Measurement Point Storage Configuration.


After saving the measurement point data compression configuration, you click view view on the storage type to view the configured compression parameters of measurement points.