Value Streams
ThingWorx value streams provide time series information about a Thing’s property values.
For users that are familiar with the functionality of streams, there are some noteworthy differences between streams and value streams in ThingWorx. The key difference is the way the data is written and returned.
• Streams are independent data stores and can access data continuously. That is, querying a single column value returns the entire row.
• Value streams store data from an associated Thing’s property. That is, querying the Thing’s property data returns the values for that property only.
This method of data storage in value streams contributes to the elimination of sparsely-populated data tables that can be evident with streams. This Thing-centric access of its data in a value stream provides built-in support for multi-tenancy. In addition, scripts are not required to write Thing property data to its value stream.
Based on these differences, streams remain most beneficial for non-thing driven models, while value streams are most useful for thing-driven models.
Value streams can also be used in a federation scenario, where the value stream data is written to another
ThingWorx server. See the
Federation section for more information.
Related Links