Solutions
...
Litmus Production Record Datab...
How are data recorded in Litmu...
How are data for a Tags stored
4min
storing data based on id relations to be able to store tag process or meta data users have to create a tag configuration first as described by the chapter core concept behind recording process and meta data for process tags docid\ amceahd6bo48cyboguikw , the tag configuration represents a hierarchy structure with a lot of variability every tag configuration, which in eav terms equals an entity, is defined by a unique combination of a device name and tag name inside litmus production record database, which will get its own distinct id assigned in the example below, the unique combination is device 1 / tag 1 all further definitions for this hierarchy such as value and alarm (green boxes as process values) as well as plant , line and asset (purple boxes as meta data) are in eav terms attributes the relation between an entity and an attribute is created by forming a relation between the respective id of the entity and the id's of an attribute data are later recorded just with the reference to their respective attribute process and meta data unique relation and identifiers in most use cases for an eav data model like patient records recording observations data are stored directly against an entity itself this is also done for both process and meta data for tags, despite that the data are recorded on a continues base such a way of recording is possible, as litmus production record database borrows a further concept from what many may consider a historian principle, which is to record also the time a value has been recorded called the recordtime in litmus production record database this makes litmus production record database borrow concepts from a timeseries historian as well as an eav database model users are therefore able to retrieve tag data by searching for the combination of device name, tag name and item as well as the time frame, similar to how users would retrieve data from a historian example is shown by the chapters reading tag data with local timestamp docid\ dnaqtjj5tuspztvtklune reading tag data with utc timestamp docid\ muhd62fyk6 8dipfspxxm reading tag meta data with utc timestamp docid\ c3pdeu74ois5fwttkac2z reading tag meta data with local timestamp docid 4d uxfurqokhsyc0ycvyo