<?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: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an &amp;quot;LSN '~' could not be found&amp;quot; error. in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475501#M12325</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The source endpoint is Amazon RDS for SQL Server.&lt;/P&gt;
&lt;P&gt;It did not fall under the limitations you described.&lt;/P&gt;
&lt;P&gt;This event seems to be due to inactive transaction logs being backed up after 5 minutes, as described in the AWS response, rather than transaction backups due to storage being full as described in the limitation.&lt;/P&gt;
&lt;P&gt;For AWSDMS, the following guide is available, but is there a similar feature or other workaround for Qlik?&lt;/P&gt;
&lt;P&gt;　-https://repost.aws/knowledge-center/dms-tlog-full-sql-server-source&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hironori Fujihira&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Aug 2024 08:58:49 GMT</pubDate>
    <dc:creator>iti-attunity-sup</dc:creator>
    <dc:date>2024-08-09T08:58:49Z</dc:date>
    <item>
      <title>When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475493#M12323</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;A customer was running a CDC test in an Amazon RDS for SQL Server source environment with a large amount of data flowing, and was informed that CDC failed with the following error about 5 minutes after the start of CDC.&lt;/P&gt;
&lt;P&gt;In response, we checked the @pollingInterval setting and transaction log size for sufficiency and found no problems.&lt;BR /&gt;We then checked with AWS, and received the following response that the specifications are as follows&lt;/P&gt;
&lt;P&gt;--------------------------------------------------&lt;BR /&gt;In Amazon RDS for SQL Server, transaction log backups are performed every 5 minutes by design.&lt;BR /&gt;During a transaction log backup, SQL Server truncates the inactive portion of the transaction log.&lt;BR /&gt;Unfortunately, it is not possible to change the behavior of RDS for SQL Server itself to archive and truncate the inactive transaction log every 5 minutes.&lt;BR /&gt;--------------------------------------------------&lt;/P&gt;
&lt;P&gt;In other words, if Qlik takes more than 5 minutes to capture a source due to a large amount of data, this event would occur.&lt;/P&gt;
&lt;P&gt;Please let me know how to avoid this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is an excerpt from the source capture log of this event occurrence&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;=====&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;00004736: 2024-07-24T13:23:47 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-07-24T13:23:03.460. Last LSN scanned: 00000400:003ED5E0:0003. #scanned events: 281242. (sqlserver_log_utils.c:5000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;00004736: 2024-07-24T13:25:55 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-07-24T13:23:27.357. Last LSN scanned: 00000400:005A563B:0006. #scanned events: 613718. (sqlserver_log_utils.c:5000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;00004736: 2024-07-24T13:28:06 [SOURCE_CAPTURE ]I: Throughput monitor: Last DB time scanned: 2024-07-24T13:23:44.790. Last LSN scanned: 00000400:007668B5:0024. #scanned events: 729336. (sqlserver_log_utils.c:5000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;00004736: 2024-07-24T13:29:48 [SOURCE_CAPTURE ]E: LSN '00000400:008D1611:0002' could not be found, neither in the transaction log nor in the backup log [1020102] (sqlserver_endpoint_capture.c:814)　★&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;=====&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;BR /&gt;Hironori Fujihira&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 08:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475493#M12323</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-08-09T08:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475498#M12324</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;Would you please share which endpoint you are running now? If you are running&amp;nbsp;&lt;A title="Amazon RDS for SQL server as a source endpoint" href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/AWS%20RDS%20MSSQL/aws_SQLServer_DB_source.htm#:~:text=Using-,Amazon%20RDS%20for%20SQL%20server%20as%20a%20source,-This%20section%20describes" target="_blank" rel="noopener"&gt;Amazon RDS for SQL server as a source endpoint&lt;/A&gt;, then you may hit the &lt;A title="limitation" href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/AWS%20RDS%20MSSQL/aws_limitations_source_SQLServerDB.htm#:~:text=Amazon%20RDS%20for%20SQL%20Server%20moves,instance%20that%20is%20running%20SQL%20Server%3F" target="_blank" rel="noopener"&gt;limitation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;In this scenario, you may use&amp;nbsp;&lt;A title="Microsoft SQL Server (MS-CDC) as a source endpoint" href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-landing.htm#:~:text=This%20endpoint%20can%20also%20be%20used%20to%20replicate%20from%20an%20Amazon%20RDS%20for%20SQL%20Server%20source." target="_blank" rel="noopener"&gt;Microsoft SQL Server (MS-CDC) as a source endpoint&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please take note some limitations exist in MS-CDC but not in SQL Server CDC for example DDL support etc.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 08:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475498#M12324</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-08-09T08:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475501#M12325</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;John.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The source endpoint is Amazon RDS for SQL Server.&lt;/P&gt;
&lt;P&gt;It did not fall under the limitations you described.&lt;/P&gt;
&lt;P&gt;This event seems to be due to inactive transaction logs being backed up after 5 minutes, as described in the AWS response, rather than transaction backups due to storage being full as described in the limitation.&lt;/P&gt;
&lt;P&gt;For AWSDMS, the following guide is available, but is there a similar feature or other workaround for Qlik?&lt;/P&gt;
&lt;P&gt;　-https://repost.aws/knowledge-center/dms-tlog-full-sql-server-source&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hironori Fujihira&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 08:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475501#M12325</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-08-09T08:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475629#M12329</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned by the Expert on the question that&amp;nbsp;&lt;SPAN&gt;Amazon RDS for SQL Server moves the online logs to the backup location when the maximum allocated storage size is reached. This may sometimes occur before&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Productshort variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;has read the logs, resulting in missing changes on the target.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Ans this Backup location is not reachable by the Qlik replicate.&lt;/P&gt;
&lt;P&gt;As a normal Workaround for ON Prem Environment. either you provide access to backup transaction logs or configure online logs o that they can hold transaction logs longer to be read by Qlik&amp;nbsp; replicate task further.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both options are not possible as Availability is managed by Amazon itself.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So over come this issue We suggest in this scenario, you may use&amp;nbsp;&lt;A title="Microsoft SQL Server (MS-CDC) as a source endpoint" href="https://help.qlik.com/en-US/replicate/May2024/Content/Replicate/Main/MicrosoftSQLServer-MSCDC/MicrosoftSQLServer-MSCDC-landing.htm#:~:text=This%20endpoint%20can%20also%20be%20used%20to%20replicate%20from%20an%20Amazon%20RDS%20for%20SQL%20Server%20source." target="_blank" rel="noopener nofollow noreferrer"&gt;Microsoft SQL Server (MS-CDC) as a source endpoint&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Please take note some limitations exist in MS-CDC but not in SQL Server CDC for example DDL support etc.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushil Kumar&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 00:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2475629#M12329</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-08-10T00:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2476548#M12380</link>
      <description>&lt;P&gt;The source DB is Amazon RDS for SQL Server, but if the source endpoint is used in a Microsoft SQL Server (MS-CDC) configuration as you have indicated, do you need to issue a Microsoft SQL Server (MS-CDC) licence?&lt;/P&gt;
&lt;P&gt;Or is the current Amazon RDS for SQL Server licence sufficient?&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hironori Fujihira&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 01:12:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2476548#M12380</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-08-16T01:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: When performing CDC on a large amount of data with Amazon RDS for SQL Server source, I get an "LSN '~' could not be found" error.</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2476554#M12382</link>
      <description>&lt;P&gt;Hello Team,&lt;BR /&gt;Good Day&lt;/P&gt;
&lt;P&gt;Thanks for reaching QLIK community Forum!!&lt;/P&gt;
&lt;P&gt;Amazon RDS on Sql server and Microsoft SQL server(MS-CDC) are of two different endpoints. If you have license for Amazon RDS then you need license to use Microsoft SQL Server.&lt;/P&gt;
&lt;P&gt;Hope this helps!!&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;shivananda&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 03:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/When-performing-CDC-on-a-large-amount-of-data-with-Amazon-RDS/m-p/2476554#M12382</guid>
      <dc:creator>kng</dc:creator>
      <dc:date>2024-08-16T03:31:19Z</dc:date>
    </item>
  </channel>
</rss>

