Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Writing historical events directly to tag is required if there are:

  • Tag Events scripts that fire when applicable
  • Alarms that are triggered when applicable
  • Reference tags used to indirectly reference MQTT Engine tags


Note

If using Postgres as the Historian, setting the following 'extra connection properties' in the DB connection settings will cause all data that can be stored to be stored in the historian. Without these connection properties, full batches of data will be tossed if duplicates are found in any batch.

Code Block
autosave=always;cleanupSavepoints=true




Anchor
writetodatabase
writetodatabase
Writing historical events directly to the database, via the Historian, bypassing the tag

...

autosave=always;cleanupSavepoints=true
Note
All other properties such as Sample Mode, Max Time Between Samples, Deadband etc are ignored when writing historic data
Note
If using Postgres as the Historian, setting the following 'extra connection properties' in the DB connection settings will cause all data that can be stored to be stored in the historian. Without these connection properties, full batches of data will be tossed if duplicates are found in any batch.
Code Block



Edge Client

The Edge side client should publish historic data asynchronously.

...