For analysing message frequency at a site it would be useful to be able to query the phyiscal_timeseries table by logical device id. This makes it easier to check on a logical device without going through the mapping table.
Add a logical id column to the phyiscal_timeseries table, this column may be NULL when a message comes from an unmapped physical device.
Also add a received_at column, defaulting to the current time.
Explore whether it is possible to add a calculated interval column that holds the difference between the message timestamp and the received time.
For analysing message frequency at a site it would be useful to be able to query the phyiscal_timeseries table by logical device id. This makes it easier to check on a logical device without going through the mapping table.
Add a logical id column to the phyiscal_timeseries table, this column may be NULL when a message comes from an unmapped physical device.
Also add a received_at column, defaulting to the current time.
Explore whether it is possible to add a calculated interval column that holds the difference between the message timestamp and the received time.