<?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: Error when trying to start a Qlik task in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145307#M8446</link>
    <description>&lt;P&gt;Thanks John for your quick response!&lt;/P&gt;
&lt;P&gt;Do we need to run this query at the time we are trying to start the task?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, the link you provided doesn't work&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 14:10:53 GMT</pubDate>
    <dc:creator>pmaclell</dc:creator>
    <dc:date>2023-12-07T14:10:53Z</dc:date>
    <item>
      <title>Error when trying to start a Qlik task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145253#M8444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We are seeing the following error when trying to starting a Qlik task:&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Encountered an unexpeceted error.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;SqlStat: 42000 NativeError:8623 [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]The query processor ran out of internal resources and could not produce a query plan. This is a rare event and only expected for extremely complex queries or queries that reference a very large number of tables or partitions. Please simplify the query. If you believe you have received this message in error, contact Customer Support Services for more information. (PcbMsg: 418)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;The database we are using we are replicating 104 tables and some do have partitioned tables.&lt;/P&gt;
&lt;P&gt;We are using the Log Stream when when creating our tasks.&lt;/P&gt;
&lt;P&gt;Is this error being generted because Qlik is trying to perform operations under the covers and ran into issues with a particular table?&lt;/P&gt;
&lt;P&gt;Are there any recommended troubleshooting steps to pinpoint what is causing this issue and try to reslove it?&lt;/P&gt;
&lt;P&gt;Appreciate your time.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 12:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145253#M8444</guid>
      <dc:creator>pmaclell</dc:creator>
      <dc:date>2023-12-07T12:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to start a Qlik task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145298#M8445</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153566"&gt;@pmaclell&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The error pointed to a potential issue with the query itself in SQL Server, please check out the helpful link:&amp;nbsp;&lt;A title="Problem tracing Error: 8623 with extended events" href="https://dba.stackexchange.com/questions/269930/problem-tracing-error-8623-with-extended-events#:~:text=Error%3A%208623%2C%20Severity%3A%2016%2C%20State%3A%201%20The%20query%20processor%20ran%20out%20of%20internal%20resources%20and%20could%20not%20produce%20a%20query%20plan.%20This%20is%20a%20rare%20event%20and%20only%20expected%20for%20extremely%20complex%20queries%20or%20queries%20that%20reference%20a%20very%20large%20number%20of%20tables%20or%20partitions.%20Please%20simplify%20the%20query." target="_blank" rel="noopener"&gt;Problem tracing Error: 8623 with extended events&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Quote: &amp;nbsp;The problem was that event size was to big so that it was dropped. You can check this by querying sys.dm_xe_sessions as e.g.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE style="border-style: none; width: 100%; background-color: lightgrey;" border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;FONT face="courier new,courier"&gt;SELECT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.name, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.total_regular_buffers,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.regular_buffer_size,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.total_large_buffers,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.large_buffer_size,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.dropped_event_count,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.dropped_buffer_count,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; s.largest_event_dropped_size&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM sys.dm_xe_sessions AS s;&lt;/FONT&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&lt;SPAN&gt;If any event has been dropped you will se the number of dropped events in column dropped_event_count and the max size of any dropped event in largest_event_dropped_size. If this value is larger that the regular_buffer_size then you need to increase the regular buffer size.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 14:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145298#M8445</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-12-07T14:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to start a Qlik task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145307#M8446</link>
      <description>&lt;P&gt;Thanks John for your quick response!&lt;/P&gt;
&lt;P&gt;Do we need to run this query at the time we are trying to start the task?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, the link you provided doesn't work&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 14:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145307#M8446</guid>
      <dc:creator>pmaclell</dc:creator>
      <dc:date>2023-12-07T14:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to start a Qlik task</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145323#M8448</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/153566"&gt;@pmaclell&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your feedback. Excuse me for the invalid link, I fixed it already.&lt;/P&gt;
&lt;P&gt;I think you can run the query after the task failure.&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>Thu, 07 Dec 2023 14:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Error-when-trying-to-start-a-Qlik-task/m-p/2145323#M8448</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-12-07T14:30:06Z</dc:date>
    </item>
  </channel>
</rss>

