Question about the Article - CS204091 Difference between Streams,Value Streams and Datatables in ...
Hi,
I'm reading the article https://www.ptc.com/en/support/article/CS204091?&posno=1&q=204091&ProductFamily=ThingWorx&source=search , but feel a little bit confused about the phrase "Why is there a performance hit at 100,000 records?" .
The phrase has two statements:
- If using a Stream to store more than 100,000 records and the query or get that is being exercised on that Stream to return data always has the timestamp fields filled out there should not be a huge performance hit because, only a specific number of records will be returned for that subset of time that is specified in the initial query based on the timestamp
- The key here is to utilize the default timestamp field when adding records to the Stream and not attempting to query on a custom timestamp field within the query parameter. This is because the initial pull of data from the Stream will return the entire Stream instead of grabbing a subset of records based on the default timestamp field and that is where the performance hit will be seen
#1 said it's NOT a huge performance hit as the initial query based on the timestamp returns the subset of time,
but #2 said it's a performance hit because initial pull returns entire stream instead of subset even if the query based on default timestamp.
So, is it a performance hit or not for the query on stream based on default timestamp ?
Regards,
Sean

