<?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 Migrating from InfluxDB to PostgreSQL in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914548#M64620</link>
    <description>&lt;P&gt;I have a list of streams (InfluxDB as persistence provider) with data in it, and I would like to migrate to Postgres (the default persistence provider)&lt;BR /&gt;&lt;BR /&gt;Now, how can I proceed further? Does Thingworx provide any migration tools?&lt;BR /&gt;If I use the export data option, which is not working,&lt;/P&gt;</description>
    <pubDate>Fri, 22 Dec 2023 20:27:50 GMT</pubDate>
    <dc:creator>sabharees</dc:creator>
    <dc:date>2023-12-22T20:27:50Z</dc:date>
    <item>
      <title>Migrating from InfluxDB to PostgreSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914548#M64620</link>
      <description>&lt;P&gt;I have a list of streams (InfluxDB as persistence provider) with data in it, and I would like to migrate to Postgres (the default persistence provider)&lt;BR /&gt;&lt;BR /&gt;Now, how can I proceed further? Does Thingworx provide any migration tools?&lt;BR /&gt;If I use the export data option, which is not working,&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 20:27:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914548#M64620</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-12-22T20:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914558#M64621</link>
      <description>&lt;P&gt;If there is an official tool, PTC support will know and be able to provide the link. most probably, this will be a manual effort, but you should create a ticket with support.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 09:53:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914558#M64621</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2023-11-24T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914567#M64622</link>
      <description>&lt;P&gt;I suggest as &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/244971"&gt;@Rocko&lt;/a&gt; below opening a support ticket, because the Export Data option should be the thing to use here.&lt;/P&gt;
&lt;P&gt;Out of curiosity, what exactly is not working?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 10:32:58 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914567#M64622</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2023-11-24T10:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914574#M64623</link>
      <description>&lt;P&gt;If I export the data from streams using the Export Data option, and then change the persistence provider to Thingworx PP from Influx PP,&amp;nbsp;&lt;BR /&gt;I get a successfully imported data message in the application log but am not able to see any data in the stream.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 11:04:25 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914574#M64623</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-11-24T11:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914800#M64640</link>
      <description>&lt;P&gt;I saw the fact you specified "successfully imported" but I did not see that you imported - is that a typo?.&lt;/P&gt;
&lt;P&gt;Specifically the steps should be:&lt;/P&gt;
&lt;P&gt;1. Export data from Stream using Export Data&lt;/P&gt;
&lt;P&gt;2. Change the Stream's PP (Restart the Stream after changing the PP)&lt;/P&gt;
&lt;P&gt;3. Import back the data&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 11:37:10 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914800#M64640</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2023-11-27T11:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914804#M64641</link>
      <description>&lt;P&gt;I followed the steps, but the issue persists. I can see only one row(total rows - 15k approx) imported after receiving an import successful message in the application logs.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sabharees_0-1701086063147.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/93861iCB4B72AF70FB7BB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sabharees_0-1701086063147.png" alt="sabharees_0-1701086063147.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 11:56:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914804#M64641</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-11-27T11:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914806#M64642</link>
      <description>&lt;P&gt;1. How did you try to export data? Stream by stream, or for all Streams?&lt;/P&gt;
&lt;P&gt;2. How long does it take to export data for a single Stream? InfluxDB PP has a read timeout that is closing a connection to it in case it waits to retrieve data for more than that period. It's the Read timeout, set by default at 10 seconds.&lt;/P&gt;
&lt;P&gt;3. How large is the data export file for a Stream you know it should have 15k rows?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:02:56 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914806#M64642</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2023-11-27T12:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914808#M64643</link>
      <description>&lt;P&gt;I tested the functionality with one stream and increased the read and write timeout to 30 seconds.&lt;/P&gt;&lt;P&gt;Backups show a file size of 453 bytes for the data-0.twx file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sabharees_0-1701086759895.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/93862i06A91AB0CE9DD28D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sabharees_0-1701086759895.png" alt="sabharees_0-1701086759895.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:07:27 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914808#M64643</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-11-27T12:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914810#M64644</link>
      <description>&lt;P&gt;Increase them to more than 30 seconds (60-120 etc, step by step). The data-0.twx is definitely small for 15k rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:09:18 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914810#M64644</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2023-11-27T12:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914816#M64646</link>
      <description>&lt;P&gt;I increased the timeout to 300 seconds, but still, the issue persists even for the stream having 550 rows.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:22:07 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914816#M64646</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-11-27T12:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914820#M64649</link>
      <description>&lt;P&gt;If you look in the Influx logs and ThingWorx Application Log, isn't there any error?&lt;/P&gt;
&lt;P&gt;What version of Influx are you using?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:35:11 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914820#M64649</guid>
      <dc:creator>VladimirRosu</dc:creator>
      <dc:date>2023-11-27T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from InfluxDB to PSQL</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914824#M64650</link>
      <description>&lt;P&gt;I use influx OSS 2.7 in my EC2 instance.&amp;nbsp;&lt;BR /&gt;Also, I can see some errors regarding stream queues.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sabharees_0-1701089041138.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/93863i249CD5BA3434B7B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sabharees_0-1701089041138.png" alt="sabharees_0-1701089041138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 12:46:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/Migrating-from-InfluxDB-to-PostgreSQL/m-p/914824#M64650</guid>
      <dc:creator>sabharees</dc:creator>
      <dc:date>2023-11-27T12:46:12Z</dc:date>
    </item>
  </channel>
</rss>

