How to turn off Compression on SQL Collector Tags.
How to turn off Compression on SQL Collector Tags.
I want all values from my SQL Collector.
Example this happed today
Timestamp Value
2025-03-10 11:41:55.978 31.79
2025-03-10 11:25:34.045 31.79
The 2025-03-10 11:41:55.978 is not stored. I had to send it manually after realizing that PostgreSQL and Canary had different summary values.
Note: I am new to Canary, I had sent this on Canary Historian Storage Methodology feedback, I guess this should be a better place.
4 replies
-
Hi ,
Welcome to the Canary Community! Thanks for the question.
By default, the Historian stores by exception whenever there is a value or quality change. This is a way for us to limit the amount of disk space we need to store the data.
If you want to store every timestamp regardless of value or quality change, you'll need to modify a DataSet setting within the C:\ProgramData\Canary\Historian\historian.service.json file.
- Stop the Historian service.
- Find the DataSet within the file above and set the "IsStoreEveryTvqEnabled" parameter to true.
- Start the Historian service.
It is important to note that this functionality does not work with all Collector types as some Collectors log by exception and do not send every timestamp. The SQL Collector is an exception to this in that it does send every timestamp it scrapes from the table.