<?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 Sql queries with UNION ALL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759607#M453968</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have SQL 8 sql queries&amp;nbsp; and used union all to concatenate all .its taking 2.5 hours to create qvd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can any one suggest me the best approach to improve the load time by replacing the queries with Qlikview data model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example data :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sql duery1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;unionall&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql query 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;union all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql query 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Union all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sql query 8;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks IN advance,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 17:51:30 GMT</pubDate>
    <dc:creator>Josn_Qlik356</dc:creator>
    <dc:date>2024-11-16T17:51:30Z</dc:date>
    <item>
      <title>Sql queries with UNION ALL</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759607#M453968</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have SQL 8 sql queries&amp;nbsp; and used union all to concatenate all .its taking 2.5 hours to create qvd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can any one suggest me the best approach to improve the load time by replacing the queries with Qlikview data model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example data :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sql duery1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;unionall&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql query 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;union all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sql query 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Union all&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sql query 8;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks IN advance,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:51:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759607#M453968</guid>
      <dc:creator>Josn_Qlik356</dc:creator>
      <dc:date>2024-11-16T17:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sql queries with UNION ALL</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759611#M453970</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I think you are going to need to work with the folks on the database side here to work out what is the most efficient way of doing this.&lt;/P&gt;&lt;P&gt;It might be that they could create something that simplifies what you are pulling back, it might be that even if you broke it down on the QlikView side it would still take 2.5 hours to pull down and reconnect the data in Qlik.&lt;/P&gt;&lt;P&gt;Sorry if this does not seem very helpful.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 14:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759611#M453970</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2020-11-08T14:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sql queries with UNION ALL</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759620#M453972</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/120855"&gt;@Josn_Qlik356&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best way would be to create a single table out of 8 sql query at database level itself. Your database team can help you to create that table. Then you can extract only single table within Qlik.&lt;/P&gt;&lt;P&gt;If above not possible due to database constraints, you can create multiple qvw files for single query to run all applications in parallel. So in your case you would need to create 8 qvw apps for individual query creating individual qvds which you can run in parallel.&amp;nbsp; Then you can create multiple apps finish trigger to run the final application (you can&amp;nbsp; use *.qvd in final application to load individual query qvd). If you don't want to create 8 applications , you can further reduce the application by creating 4 application which can run two union queries.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Nov 2020 15:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-queries-with-UNION-ALL/m-p/1759620#M453972</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-11-08T15:54:19Z</dc:date>
    </item>
  </channel>
</rss>

