<?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 Connection Handling in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228977#M80944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only one connection is open at a time. Every CONNECT will cause disconnecting from the previous database first. You can also control the specific timing by using DISCONNECT.&lt;/P&gt;&lt;P&gt;I doubt if QlikView "remembers" previous connections.&lt;/P&gt;&lt;P&gt;If you reorganize the script to reduce the number of connections, you will save some time - not sure if it's significant for you.&lt;/P&gt;&lt;P&gt;You can check in the log how long does it take to connect to each database every time, and then decide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Apr 2010 11:16:00 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2010-04-30T11:16:00Z</dc:date>
    <item>
      <title>Connection Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228976#M80943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;how does QB handle connections to different DB sources.&lt;BR /&gt;I.e. when does it close a connection?&lt;/P&gt;&lt;P&gt;I have 2 DB sources, MYSQL and ORACLE (always the same connection parameters).&lt;/P&gt;&lt;P&gt;For various reasons my current code looks like this:&lt;/P&gt;&lt;P&gt;CONNECT MYSQL;&lt;BR /&gt;LOAD SOMETHING;&lt;/P&gt;&lt;P&gt;CONNECT ORACLE;&lt;BR /&gt;LOAD SOMETHING;&lt;/P&gt;&lt;P&gt;CONNECT MYSQL;&lt;BR /&gt;LOAD SOMETHING;&lt;BR /&gt;LOAD SOMETHING ELSE;&lt;/P&gt;&lt;P&gt;CONNECT ORACLE;&lt;BR /&gt;LOAD SOMETHING;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;It works perfectly.&lt;BR /&gt;I was just wondering how many connections are opened during the script, and when are they closed?&lt;BR /&gt;Does QV 'remember' that the connection has been established before?&lt;BR /&gt;Does it make sense/ does pay off to invest the efforts to get the connections in better order, to reduce the number of connects?&lt;/P&gt;&lt;P&gt;Any info appreciated,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 10:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228976#M80943</guid>
      <dc:creator />
      <dc:date>2010-04-30T10:29:05Z</dc:date>
    </item>
    <item>
      <title>Connection Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228977#M80944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only one connection is open at a time. Every CONNECT will cause disconnecting from the previous database first. You can also control the specific timing by using DISCONNECT.&lt;/P&gt;&lt;P&gt;I doubt if QlikView "remembers" previous connections.&lt;/P&gt;&lt;P&gt;If you reorganize the script to reduce the number of connections, you will save some time - not sure if it's significant for you.&lt;/P&gt;&lt;P&gt;You can check in the log how long does it take to connect to each database every time, and then decide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 11:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228977#M80944</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-30T11:16:00Z</dc:date>
    </item>
    <item>
      <title>Connection Handling</title>
      <link>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228978#M80945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Oleg,&lt;/P&gt;&lt;P&gt;thanks for the fast reply. And guess what: After you mentioned Disconnect, I had a look at the help file. Ooops, here it says exactly what you wrote.&lt;/P&gt;&lt;P&gt;Damn, I should RTFM before posting ... &lt;IMG alt="Embarrassed" src="http://community.qlik.com/emoticons/emotion-10.gif" /&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;BR /&gt;Thilo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Apr 2010 11:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connection-Handling/m-p/228978#M80945</guid>
      <dc:creator />
      <dc:date>2010-04-30T11:27:23Z</dc:date>
    </item>
  </channel>
</rss>

