AnsweredAssumed Answered

PIServer.UpdateValues Method with Compression

Question asked by Bhikadiya Champion on Sep 19, 2016
Latest reply on Sep 20, 2016 by Bhikadiya



We have application server writing to PI server using latest AF SDK. Below is the method we used,


List<AFValue> updates = new List<AFValue>();

var errors = vPIServer.UpdateValues(updates, OSIsoft.AF.Data.AFUpdateOption.Replace, OSIsoft.AF.Data.AFBufferOption.BufferIfPossible);


We also configured PI Buffer Subsystem on application server, so that every values passing through buffer into PI.


We found two issues,

1. Writing to PI Server is slow

2. No compression on tag data. Every (duplicate) values has been archiving. Note: We have correct compression setting at tag level.


What changes, we have to make to a) Speed up the write operations & b) Use Tag Compression


- Thanks . Muki