cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Duplicating a Stream with data

kr1
3-Visitor
3-Visitor

Duplicating a Stream with data

Hi everyone,

I am using Thingworx 8.0 with Postgres DB. I have a stream which receives approximately 20k records per day. Hence my query performance is very slow. Please suggest me a method to clone the existing stream to new stream without using for loop and Add Stream entry.Since for loop will slow down my server further.

1 REPLY 1
PaiChung
22-Sapphire I
(To:kr1)

I would offload the data to some historian over time to limit how much data is in the stream.

You can use QueryStreamEntriesWithData and PurgeStreamEntries

Top Tags