<?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: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482397#M12771</link>
    <description>&lt;P&gt;thank you for your response&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149217"&gt;@SushilKumar&lt;/a&gt;&amp;nbsp;. just another follow up question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;before i ask the question here is the scenario:&lt;/P&gt;
&lt;P&gt;in our qlikreplicate tasks that is replicating data from oracle and applying changes on target: bigquery (fyi...it connects to bigquery using simba bigquery odbc driver) :&lt;/P&gt;
&lt;P&gt;1) at let's say 8:00 AM, the log file shows that qlikreplicate tries to issue a truncate table sql statement on top of bigquery. it's trying to truncate an intermediate table with name: attrep_changesXXXXXX.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) now this task gets "stuck". the log file shows that it's accepting all these incoming changes but nothing is getting applied on bigquery (i.e. no [TARGET_APPLY] statements in the log file). the lag on this task is steadily increasing by the minute&lt;/P&gt;
&lt;P&gt;3) the lag on this task (from the QEM UI) is now around "3:19:03" and exactly 3 hours 20 mins later at 11:20 AM (3 hours 20 mins = 12000 seconds), the log file shows this error:&lt;/P&gt;
&lt;P&gt;[TARGET_APPLY ]T: Failed (retcode -1) to execute statement: 'TRUNCATE TABLE `rt_metadata`.`attrep_changesXXXXXXXX`' [1022502] (ar_odbc_stmt.c:4996)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: RetCode: SQL_ERROR SqlState: HY000 NativeError: 100 Message: [Simba][BigQuery] (100) Error interacting with REST API: [1022502] (ar_odbc_stmt.c:5003)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: Connection failure error codes are: 100,8711,115,120 (provider_syntax_manager.c:2927)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: Network error encountered (ar_odbc_util.c:1271)&lt;/P&gt;
&lt;P&gt;[TARGET_APPLY ]T: Failed to truncate net changes table [1022506] (odbc_bulk.c:871)&lt;/P&gt;
&lt;P&gt;4) immediately after the above, the log file shows that it tries to restablish the ODBC connection to bigquery and it succeeds in making the connection and it is able to apply the accumulated changes on bigquery successfully and now the lag is down to 0&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;question:&lt;/P&gt;
&lt;P&gt;which of these values(in the bigquery target endpoint) should i reduce to make sure that qlikreplicate doesn't wait 12000 seconds before trying to establish a connection to bigquery again?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionalConnectionProperties -&amp;gt; Timeout=12000 -- Related to network timeout.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;excecuteTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;6000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- Wait for Querry timeout Submit by QR to database or Target endpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;loadTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;12000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--- Wait for Querry timeout&amp;nbsp;Submit by QR to database or Target endpoint for Full load of tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 01:17:08 GMT</pubDate>
    <dc:creator>suhailmemon</dc:creator>
    <dc:date>2024-09-19T01:17:08Z</dc:date>
    <item>
      <title>general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482377#M12766</link>
      <description>&lt;P&gt;We use qlikreplicate and in there we have a bigquery endpoint as target where we have the following properties setup as internal parameters:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionalConnectionProperties -&amp;gt;&amp;nbsp; Timeout=12000&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;excecuteTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;6000 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;loadTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;12000&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;are all the above timeout values in seconds? can someone please explain what each of these mean? how do these different timeout values work with each other? which timeout value do we hit into first in which scenario?&lt;/P&gt;
&lt;P&gt;thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 23:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482377#M12766</guid>
      <dc:creator>suhailmemon</dc:creator>
      <dc:date>2024-09-18T23:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482393#M12769</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/158500"&gt;@suhailmemon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Thanks for reaching out to Qlik via Qlik Community Support page. Timeout mainly put as internal parameters to overcome certain situations. Qlik Replicate is Software it captures and Generate Changes in terms of SQL statements.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;In your case&amp;nbsp;&lt;SPAN&gt;The error occurs when Qlik Replicate is working on a query to the source or target and the query takes longer than anticipated, leading to the timeout.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Below configured in Seconds.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN&gt;additionalConnectionProperties -&amp;gt; Timeout=12000 -- Related to network timeout.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;excecuteTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;6000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- Wait for Querry timeout Submit by QR to database or Target endpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;loadTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;12000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--- Wait for Querry timeout&amp;nbsp;Submit by QR to database or Target endpoint for Full load of tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;If our response has been helpful, please consider clicking "Accept as Solution". This will assist other users in easily finding the answer. if you require further assistance, please raise a Support case.&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Regards,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Sushil Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 00:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482393#M12769</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-09-19T00:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482397#M12771</link>
      <description>&lt;P&gt;thank you for your response&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149217"&gt;@SushilKumar&lt;/a&gt;&amp;nbsp;. just another follow up question.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;before i ask the question here is the scenario:&lt;/P&gt;
&lt;P&gt;in our qlikreplicate tasks that is replicating data from oracle and applying changes on target: bigquery (fyi...it connects to bigquery using simba bigquery odbc driver) :&lt;/P&gt;
&lt;P&gt;1) at let's say 8:00 AM, the log file shows that qlikreplicate tries to issue a truncate table sql statement on top of bigquery. it's trying to truncate an intermediate table with name: attrep_changesXXXXXX.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) now this task gets "stuck". the log file shows that it's accepting all these incoming changes but nothing is getting applied on bigquery (i.e. no [TARGET_APPLY] statements in the log file). the lag on this task is steadily increasing by the minute&lt;/P&gt;
&lt;P&gt;3) the lag on this task (from the QEM UI) is now around "3:19:03" and exactly 3 hours 20 mins later at 11:20 AM (3 hours 20 mins = 12000 seconds), the log file shows this error:&lt;/P&gt;
&lt;P&gt;[TARGET_APPLY ]T: Failed (retcode -1) to execute statement: 'TRUNCATE TABLE `rt_metadata`.`attrep_changesXXXXXXXX`' [1022502] (ar_odbc_stmt.c:4996)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: RetCode: SQL_ERROR SqlState: HY000 NativeError: 100 Message: [Simba][BigQuery] (100) Error interacting with REST API: [1022502] (ar_odbc_stmt.c:5003)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: Connection failure error codes are: 100,8711,115,120 (provider_syntax_manager.c:2927)&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;[TARGET_APPLY ]T: Network error encountered (ar_odbc_util.c:1271)&lt;/P&gt;
&lt;P&gt;[TARGET_APPLY ]T: Failed to truncate net changes table [1022506] (odbc_bulk.c:871)&lt;/P&gt;
&lt;P&gt;4) immediately after the above, the log file shows that it tries to restablish the ODBC connection to bigquery and it succeeds in making the connection and it is able to apply the accumulated changes on bigquery successfully and now the lag is down to 0&lt;/P&gt;
&lt;P&gt;------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;question:&lt;/P&gt;
&lt;P&gt;which of these values(in the bigquery target endpoint) should i reduce to make sure that qlikreplicate doesn't wait 12000 seconds before trying to establish a connection to bigquery again?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;additionalConnectionProperties -&amp;gt; Timeout=12000 -- Related to network timeout.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;excecuteTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;6000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-- Wait for Querry timeout Submit by QR to database or Target endpoint&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;loadTimeout -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;12000&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;--- Wait for Querry timeout&amp;nbsp;Submit by QR to database or Target endpoint for Full load of tables&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 01:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482397#M12771</guid>
      <dc:creator>suhailmemon</dc:creator>
      <dc:date>2024-09-19T01:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482841#M12803</link>
      <description>&lt;P&gt;can anyone please answer the above question?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Sep 2024 01:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482841#M12803</guid>
      <dc:creator>suhailmemon</dc:creator>
      <dc:date>2024-09-21T01:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482916#M12806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/158500"&gt;@suhailmemon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The 'additionalConnectionProperties' parameter allows you to add configuration properties available in the Simba ODBC connector.&lt;BR /&gt;&lt;BR /&gt;According to the Simba document,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;STRONG&gt;Timeout&lt;/STRONG&gt;&lt;BR /&gt;The length of time, in seconds, for which the connector retries a failed API&amp;nbsp;call before&lt;BR /&gt;timing out. The specified value must be an integer. A value of 0 indicates no timeout.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Default value is 300.&amp;nbsp;&lt;SPAN&gt;Is there a specific reason why you set the value to 12,000? Please lower the value and let us know the results.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Desmond&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 02:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482916#M12806</guid>
      <dc:creator>DesmondWOO</dc:creator>
      <dc:date>2024-09-23T02:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: general question about timeout values in additionalconnectionproperties, loadtimeout and executetimeout</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482917#M12807</link>
      <description>&lt;P&gt;i'm not sure why the value was set so high. sounds good we will lower the value and let you know how the test goes. thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 03:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/general-question-about-timeout-values-in/m-p/2482917#M12807</guid>
      <dc:creator>suhailmemon</dc:creator>
      <dc:date>2024-09-23T03:16:06Z</dc:date>
    </item>
  </channel>
</rss>

