Skip to main content
17-Peridot
November 12, 2020
Question

Fastest way to purge data of things

  • November 12, 2020
  • 3 replies
  • 1705 views

Hi,

 

What is the fastest and reliable way to purge data of Things with logged Properties?

 

doing Value Stream purging from Composer either gets timeout or long ending execution. E.g. PurgeAllPropertyHistory

 

Is there any way to Purge logged property data of all the Things in one go? 

Any postgres query can be triggered from Thingworx to purge all the data?

3 replies

16-Pearl
November 12, 2020

Hello @TanmeyTWX 

 

Please follow the following article :

 

https://www.ptc.com/en/support/article/CS271772

 

Let me know if it doesn't resolve your query.

 

Thanks

Om Dukiya

TanmeyTWX17-PeridotAuthor
17-Peridot
November 12, 2020

Already tried this but since I have huge data, it is getting timed out for the service execution.

1-Visitor
November 17, 2020

If you're looking for fastest way, login to db and delete entries by query. From thingworx query transaction and delete and commit will take little time.