<?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: SQL script returns more data than I can store in RAM in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234558#M23878</link>
    <description>Hi,&lt;BR /&gt;What's your target output? Do you want to extract&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;100 GB of data from&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Postgresql and load it into other DB?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Tue, 17 Jan 2017 07:28:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-17T07:28:49Z</dc:date>
    <item>
      <title>SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234557#M23877</link>
      <description>Hi!&amp;nbsp; 
&lt;BR /&gt;I use a large SQL script in tPostgresqlInput, which returns more than 100 GB of data while I am using a server with RAM 16 GB. 
&lt;BR /&gt;There is no way to cache all the data in memory, so setting xms/xmx is not a solution. Could you please give me a piece of advice what &amp;nbsp;I can do in such a situation? Maybe I can fetch the data from PostgreSQL partitially (but remember that the SQL script is rather complex, it builds a data mart table) or swap selected data to the server hdd? 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 11 Jan 2017 09:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234557#M23877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-11T09:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234558#M23878</link>
      <description>Hi,&lt;BR /&gt;What's your target output? Do you want to extract&amp;nbsp;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;100 GB of data from&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Postgresql and load it into other DB?&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 17 Jan 2017 07:28:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234558#M23878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-17T07:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234559#M23879</link>
      <description>Hi Sabrina!&lt;BR /&gt;Yes, it is another DB (PostgreSQL) on another server. There is no direct connection between source and target databases but both of them are connected to ETL-server.</description>
      <pubDate>Tue, 17 Jan 2017 08:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234559#M23879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-17T08:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234560#M23880</link>
      <description>Hi,
&lt;BR /&gt;Why don't you simply push selected data on one or more CSV files, then reuse these files to load data into the target DB?
&lt;BR /&gt;Regards,
&lt;BR /&gt;TRF</description>
      <pubDate>Tue, 17 Jan 2017 10:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234560#M23880</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-01-17T10:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234561#M23881</link>
      <description>As TRF said, you need to break this problem down. Even if your SQL query is really complicated, it can be filtered with a WHERE clause. A nice way to try to solve this problem could be as simple as iterating over multiple calls of this query and changing the WHERE clause each time. This would break the memory load into manageable chunks while not having the overhead of creating a load a files. You will need to think about what you will filter on and whether it is suitable to break the data into the chunk sizes you can work with though.</description>
      <pubDate>Tue, 17 Jan 2017 11:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234561#M23881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-17T11:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL script returns more data than I can store in RAM</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234562#M23882</link>
      <description>TRF, rhall_2.0
&lt;BR /&gt;thanks for your answers. I thought there could be a way to fetch data from source RDBMS server by batches without any additional rework of my jobs.</description>
      <pubDate>Fri, 20 Jan 2017 11:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-script-returns-more-data-than-I-can-store-in-RAM/m-p/2234562#M23882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T11:11:29Z</dc:date>
    </item>
  </channel>
</rss>

