<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Property Garbage Value in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822976#M59522</link>
    <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/397183"&gt;@pshashipreetham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current values of the persisted properties are stored in the property_vtq table I believe.&amp;nbsp; The value is just stored as a byte array so multiple types can be represented in the same database table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Nick&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 13:12:09 GMT</pubDate>
    <dc:creator>nmilleson</dc:creator>
    <dc:date>2022-09-12T13:12:09Z</dc:date>
    <item>
      <title>Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822755#M59497</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The properties are getting logged in InfluxDB Value Stream, when the Table/Measurement data is purged, the Latest/lastvalue is still seen on the Thing.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shashi_Preetham_0-1662789513249.png" style="width: 864px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/64633iD60FF2AEA627C185/image-dimensions/864x207?v=v2" width="864" height="207" role="button" title="Shashi_Preetham_0-1662789513249.png" alt="Shashi_Preetham_0-1662789513249.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;When Checked through QueryNamedPropertyHistory, there are no values for the property;;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Shashi_Preetham_1-1662789567939.png" style="width: 809px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/64634i05A05666432BBFC2/image-dimensions/809x186?v=v2" width="809" height="186" role="button" title="Shashi_Preetham_1-1662789567939.png" alt="Shashi_Preetham_1-1662789567939.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Did following testing:&lt;BR /&gt;1. Restarted the Thingworx and checked, still the values exist&lt;/P&gt;
&lt;P&gt;2. Cleared the Tomcat Cache and checked. still the values exist.&lt;/P&gt;
&lt;P&gt;3, Imported the Thing from one Env to another Env, the values are still reflecting in another env, but again can't see in the QueryNamedPropertyHistory.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So if not DB, where are these values are getting stored ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 06:19:35 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822755#M59497</guid>
      <dc:creator>pshashipreetham</dc:creator>
      <dc:date>2022-09-10T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822888#M59514</link>
      <description>&lt;P&gt;What you're seeing there is one of the core features of ThingWorx, called persistence. It has been there from day 1 and it acts in the following way: if a property's "persisted" checkbox is enabled, the the system will store the last value of that property (only the last value). That's how ThingWorx remembers that property value after platform or Thing restart. If you disable that checkbox, it will not remember it.&lt;/P&gt;
&lt;P&gt;"persisted" has no relationship with "logged". They work in different ways, using separate subsystems.&lt;/P&gt;
&lt;P&gt;This is also explained in &lt;A href="https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Composer/Things/ThingProperties/ThingProperties.html" target="_blank" rel="noopener"&gt;this&lt;/A&gt; Help Center section, albeit not that specific.&lt;/P&gt;
&lt;P&gt;In short: standard behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 07:22:21 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822888#M59514</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2022-09-12T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822898#M59516</link>
      <description>&lt;P&gt;Persistent vs logged properties are also discussed deeply in this tech tip and its comments:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.ptc.com/t5/IoT-Tips/Persistent-vs-Logged-Properties/ta-p/819410" target="_blank"&gt;https://community.ptc.com/t5/IoT-Tips/Persistent-vs-Logged-Properties/ta-p/819410&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 07:31:39 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822898#M59516</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2022-09-12T07:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822949#M59521</link>
      <description>&lt;P&gt;When you exported the entity in the .xml file you can see the actual persisted value. In tag "ThingProperties" - e.g.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nmutter_0-1662983770345.png" style="width: 400px;"&gt;&lt;img src="https://community.ptc.com/t5/image/serverpage/image-id/64670i5B4A2CC3DA301641/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nmutter_0-1662983770345.png" alt="nmutter_0-1662983770345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;These values will also be imported into your other instance via the .xml exported file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They are also persisted in the database but not in a value stream but in a separate table which (of my knowledge) you cannot clear from Composer (only with SQL query).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I do not know how you can remove these values. You could just export the xml - remove the values - import it again. But this is quite some effort (depending on the amount of assets)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 11:59:25 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822949#M59521</guid>
      <dc:creator>nmutter</dc:creator>
      <dc:date>2022-09-12T11:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822976#M59522</link>
      <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/397183"&gt;@pshashipreetham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The current values of the persisted properties are stored in the property_vtq table I believe.&amp;nbsp; The value is just stored as a byte array so multiple types can be represented in the same database table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Nick&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 13:12:09 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822976#M59522</guid>
      <dc:creator>nmilleson</dc:creator>
      <dc:date>2022-09-12T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822981#M59523</link>
      <description>&lt;P&gt;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/205559"&gt;@nmilleson&lt;/a&gt; Correct now, but as with any internal technical details, good to keep in mind that they may change at any time without warning.&lt;/P&gt;
&lt;P&gt;(Of course with the APIs being the approved route into the information provided here)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 13:27:09 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/822981#M59523</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2022-09-12T13:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/823078#M59533</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/205559"&gt;@nmilleson&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/116627"&gt;@VladimirRosu&lt;/a&gt;&amp;nbsp;, for the info you have provided, helped a lot and solved our issue.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 18:21:29 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/823078#M59533</guid>
      <dc:creator>pshashipreetham</dc:creator>
      <dc:date>2022-09-12T18:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Property Garbage Value</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/823149#M59540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/205559"&gt;@nmilleson&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.ptc.com/t5/user/viewprofilepage/user-id/116627"&gt;@VladimirRosu&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;One question, Over here in our use case, Model DB is Postgres and Time Series DB is INFLUX DB, so the Thing is connected to the Value Stream of InfluxDB, the properties values will be stored in the INFLUX DB. In this scenario also will the Properties Values are stored in the property_vtq when purged ?&lt;BR /&gt;&lt;BR /&gt;Because we are doing an Purging on InFluxDB Timeseries data which is more than One year.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 05:28:24 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Property-Garbage-Value/m-p/823149#M59540</guid>
      <dc:creator>pshashipreetham</dc:creator>
      <dc:date>2022-09-13T05:28:24Z</dc:date>
    </item>
  </channel>
</rss>

