Root / Assembly / ARCCore / AREnumType / PropertyKeyEnum / StreamProcessorP / _Member / TimestampResolution

PK

TimestampResolution

KeyValue
DescriptionThe time interval between each timestamp update in the PropertyStream.
Used by AddTimestampToPropertyStreamAsRequired.

Only relevant for CoreDB (there should only be one source of timestamps in the system).
(If this value is present, then StreamProcessor will insert timestamps at the specified interval).

Background: The PropertyStream principle lends itself well to keeping historical track of changes in your database. A method for timestamping the updates is therefore also natural to include.

But, by default, timestamps are not stored with each PropertyStream-line. (you might have expected each property stream line to start with a timestamp like '2020-04-26 11:02:37' but that is not the case.)

Instead, timestamps are inserted at regular intervals in the stream as Timestamp = [yyyy-MM-dd HH:mm ...]. This is a practical approach reflecting the fact that consecutive timestamps will often be identical anyway and therefore just taking up space.

The higher value chosen, the less space timestamps will take up in storage and transfer.

Set to the highest value acceptable according to your time-resolution needs. If you have a need for a one-minute accuracy for timestamps, set this value to 1 minute.

If you want exact values for when properties are created (down to the millisecond), set a resolution of one millisecond.
LongDescriptionProperties for which we want to store in-memory a Created, / Invalid field or similar are given the latest timestamp value found.
PKTypeAttributeThe time interval between each timestamp update in the PropertyStream.
Used by AddTimestampToPropertyStreamAsRequired.

Only relevant for CoreDB (there should only be one source of timestamps in the system).
(If this value is present, then StreamProcessor will insert timestamps at the specified interval).

Background: The PropertyStream principle lends itself well to keeping historical track of changes in your database. A method for timestamping the updates is therefore also natural to include.

But, by default, timestamps are not stored with each PropertyStream-line. (you might have expected each property stream line to start with a timestamp like '2020-04-26 11:02:37' but that is not the case.)

Instead, timestamps are inserted at regular intervals in the stream as Timestamp = [yyyy-MM-dd HH:mm ...]. This is a practical approach reflecting the fact that consecutive timestamps will often be identical anyway and therefore just taking up space.

The higher value chosen, the less space timestamps will take up in storage and transfer.

Set to the highest value acceptable according to your time-resolution needs. If you have a need for a one-minute accuracy for timestamps, set this value to 1 minute.

If you want exact values for when properties are created (down to the millisecond), set a resolution of one millisecond.


Cardinality, Description, EnumMember, EnumType, IsObligatory, LongDescription, Type

3 items


Generated 2020-10-13 11:11:03.080 UTC