<?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: Query time out issues in the SQL Server in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875075#M1489</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90520"&gt;@suvbin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The information is pretty limited. Please confirm "&lt;SPAN&gt;database ID 2&lt;/SPAN&gt;" is the target endpoint database, sample query is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;select DB_NAME(2)&lt;/LI-CODE&gt;&lt;P&gt;If the assuming is correct then:&lt;/P&gt;&lt;P&gt;1-&amp;nbsp;Add the&amp;nbsp;&lt;A title="internal parameter" href="https://help.qlik.com/en-US/replicate/November2021/Content/Replicate/Main/SQL%20Server/SQLServerDBTarget_AdvProps.htm#ar_sqlserverds_1727505754_1644560" target="_blank" rel="noopener"&gt;internal parameter&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;executeTimeout&lt;/STRONG&gt; to the target endpoint and set the value to a reasonable value eg &lt;STRONG&gt;3600&lt;/STRONG&gt; (it's seconds, means 1 hour).&lt;/P&gt;&lt;P&gt;2- If you still want to speed up the Full Load then Parallel Load helps however please confirm if the source endpoint &amp;amp; target endpoints are supported, see &lt;A title="Supported endpoints" href="https://help.qlik.com/en-US/replicate/November2021/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/Parallel_Load.htm" target="_blank" rel="noopener"&gt;Supported endpoints&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 26 Dec 2021 01:26:25 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2021-12-26T01:26:25Z</dc:date>
    <item>
      <title>Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875064#M1488</link>
      <description>&lt;P&gt;Facing Query time out issues many times with SQL server. What could be the issue. i have a table with&amp;nbsp;&lt;SPAN&gt;66,000,000 records. Its taking around 5 hours to load. And then its getting failed .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;[Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Time-out occurred while waiting for buffer latch type 2 for page (1:43), database ID 2.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt; [Microsoft][ODBC Driver 17 for SQL Server]Query timeout expired.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How to resolve this?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Dec 2021 16:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875064#M1488</guid>
      <dc:creator>suvbin</dc:creator>
      <dc:date>2021-12-25T16:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875075#M1489</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90520"&gt;@suvbin&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The information is pretty limited. Please confirm "&lt;SPAN&gt;database ID 2&lt;/SPAN&gt;" is the target endpoint database, sample query is:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;select DB_NAME(2)&lt;/LI-CODE&gt;&lt;P&gt;If the assuming is correct then:&lt;/P&gt;&lt;P&gt;1-&amp;nbsp;Add the&amp;nbsp;&lt;A title="internal parameter" href="https://help.qlik.com/en-US/replicate/November2021/Content/Replicate/Main/SQL%20Server/SQLServerDBTarget_AdvProps.htm#ar_sqlserverds_1727505754_1644560" target="_blank" rel="noopener"&gt;internal parameter&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;executeTimeout&lt;/STRONG&gt; to the target endpoint and set the value to a reasonable value eg &lt;STRONG&gt;3600&lt;/STRONG&gt; (it's seconds, means 1 hour).&lt;/P&gt;&lt;P&gt;2- If you still want to speed up the Full Load then Parallel Load helps however please confirm if the source endpoint &amp;amp; target endpoints are supported, see &lt;A title="Supported endpoints" href="https://help.qlik.com/en-US/replicate/November2021/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/Parallel_Load.htm" target="_blank" rel="noopener"&gt;Supported endpoints&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 01:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875075#M1489</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-12-26T01:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875076#M1490</link>
      <description>&lt;P&gt;Thank you John for the reply. Do I need to run this query at source or target?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 02:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875076#M1490</guid>
      <dc:creator>suvbin</dc:creator>
      <dc:date>2021-12-26T02:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875077#M1491</link>
      <description>&lt;P&gt;Error is : Failed to commit 10000 rows to target &amp;lt;table-name&amp;gt;&lt;BR /&gt;RetCode: SQL_SUCCESS SqlState: 42000 NativeError: 9002 Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The transaction log for database 'tempdb' is full due to 'ACTIVE_TRANSACTION'.&lt;/P&gt;
&lt;P&gt;I think by looking above error itseems like its target database.&amp;nbsp; the replicate job is from logstream staging to target.&lt;/P&gt;
&lt;P&gt;Both source and target is Microsft SQL Server.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 02:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875077#M1491</guid>
      <dc:creator>VijayaDeepthi</dc:creator>
      <dc:date>2021-12-26T02:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875111#M1492</link>
      <description>&lt;P&gt;Vijaya,&lt;/P&gt;
&lt;P&gt;Where did you get that "&lt;SPAN&gt;The transaction log for database 'tempdb' is full&amp;nbsp;"&amp;nbsp;&lt;/SPAN&gt;message from ?&lt;/P&gt;
&lt;P&gt;It would appear self explanatory and easily fixable able the DBA for the target DB.&lt;/P&gt;
&lt;P&gt;How is this related to the question Suvbin posted about? Was there a log attached which I missed?&lt;/P&gt;
&lt;P&gt;hth,&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 15:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875111#M1492</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2021-12-26T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query time out issues in the SQL Server</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875236#M1493</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/110970"&gt;@Heinvandenheuvel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I do not think you missed anything. Looks like&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/90520"&gt;@suvbin&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/158096"&gt;@VijayaDeepthi&lt;/a&gt;&amp;nbsp;comes from same company. is that correct?&lt;/P&gt;&lt;P&gt;Regarding&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;The transaction log for database 'tempdb' is full&amp;nbsp;", the above internal parameter does not help however there are options:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1- R&lt;/SPAN&gt;emove the limit on the transaction log size and let it expands until the load is finished, or&lt;/P&gt;&lt;P&gt;2. Change the recovery model to simple so the transaction logs are minimized&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 11:31:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Query-time-out-issues-in-the-SQL-Server/m-p/1875236#M1493</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2021-12-27T11:31:58Z</dc:date>
    </item>
  </channel>
</rss>

