<?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 How to run multiple postgresql refresh materialized views in a given order in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377256#M139151</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run five &lt;/P&gt;&lt;P&gt;postgresql &lt;/P&gt;refresh materialized views in a particular order.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do it using tDBRow component? Please help me understand how&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 23:22:33 GMT</pubDate>
    <dc:creator>RanjithMeda</dc:creator>
    <dc:date>2024-11-15T23:22:33Z</dc:date>
    <item>
      <title>How to run multiple postgresql refresh materialized views in a given order</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377256#M139151</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to run five &lt;/P&gt;&lt;P&gt;postgresql &lt;/P&gt;refresh materialized views in a particular order.&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do it using tDBRow component? Please help me understand how&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377256#M139151</guid>
      <dc:creator>RanjithMeda</dc:creator>
      <dc:date>2024-11-15T23:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to run multiple postgresql refresh materialized views in a given order</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377257#M139152</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please have a look at this KB article about mutiple SQL statement's in a BEGIN/END block.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.talend.com/s/article/Executing-multiple-SQL-statements-with-one-tOracleRow-component-G7XJq" alt="https://community.talend.com/s/article/Executing-multiple-SQL-statements-with-one-tOracleRow-component-G7XJq" target="_blank"&gt;https://community.talend.com/s/article/Executing-multiple-SQL-statements-with-one-tOracleRow-component-G7XJq&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or you could create a store procedure and call the store procedure with tpostgresqlSP.&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 09:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377257#M139152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-12-27T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to run multiple postgresql refresh materialized views in a given order</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377258#M139153</link>
      <description>&lt;P&gt;1-Create a connection with tpostgresqlConnection first (Make sure that the MV are in the schema provided here)&lt;/P&gt;&lt;P&gt;2-Add tJDBCTableList =&amp;gt; in &lt;B&gt;Advanced settings use the filter or Regex filter with include ( just put the names of your tables seperated with a "|" for exqmple ("table1|table2|table3") in the order you want)&lt;/B&gt;&lt;/P&gt;&lt;P&gt;3- Add an iterate link to your tDBRow&lt;/P&gt;&lt;P&gt;4- Add the SQL query :&lt;/P&gt;&lt;P&gt; "REFRESH MATERIALIZED VIEW " + ((Integer)globalMap.get("tJDBCTableList _1_&lt;B&gt;CURRENT_TABLE&lt;/B&gt;"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also you can use tforEach =&amp;gt; add your MVs there and then use the component variable in your query&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 19:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-run-multiple-postgresql-refresh-materialized-views-in-a/m-p/2377258#M139153</guid>
      <dc:creator>UName1615412505</dc:creator>
      <dc:date>2021-12-27T19:13:47Z</dc:date>
    </item>
  </channel>
</rss>

