<?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 SQL Server LOG_BACKUP full in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450419#M10999</link>
    <description>&lt;P&gt;We run Replicate and Compose on-prem, writing to a SQL Server instance also on-prem. Our DBA has scheduled 4-hour backups for all the company's SQL Servers which is supposed to truncate the transaction logs for all the databases after doing so. However, the logs for both my test and production data warehouse databases seem to be immune to such truncation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JacobTews_0-1715182339478.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165720iC840FEB4C6385AD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JacobTews_0-1715182339478.png" alt="JacobTews_0-1715182339478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice in particular the fact that the&amp;nbsp;&lt;STRONG&gt;log&amp;nbsp;&lt;/STRONG&gt;for the test data warehouse is actually bigger than the test data warehouse itself!&lt;/P&gt;
&lt;P&gt;Any systems-knowledgeable folks out there have any insights?&lt;/P&gt;
&lt;P&gt;Is there a setting in Replicate that I have inadvertently toggled to cause such behavior?&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 May 2024 15:33:38 GMT</pubDate>
    <dc:creator>JacobTews</dc:creator>
    <dc:date>2024-05-08T15:33:38Z</dc:date>
    <item>
      <title>SQL Server LOG_BACKUP full</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450419#M10999</link>
      <description>&lt;P&gt;We run Replicate and Compose on-prem, writing to a SQL Server instance also on-prem. Our DBA has scheduled 4-hour backups for all the company's SQL Servers which is supposed to truncate the transaction logs for all the databases after doing so. However, the logs for both my test and production data warehouse databases seem to be immune to such truncation:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JacobTews_0-1715182339478.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165720iC840FEB4C6385AD9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JacobTews_0-1715182339478.png" alt="JacobTews_0-1715182339478.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notice in particular the fact that the&amp;nbsp;&lt;STRONG&gt;log&amp;nbsp;&lt;/STRONG&gt;for the test data warehouse is actually bigger than the test data warehouse itself!&lt;/P&gt;
&lt;P&gt;Any systems-knowledgeable folks out there have any insights?&lt;/P&gt;
&lt;P&gt;Is there a setting in Replicate that I have inadvertently toggled to cause such behavior?&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik Replicate" id="qlikReplicate"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 15:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450419#M10999</guid>
      <dc:creator>JacobTews</dc:creator>
      <dc:date>2024-05-08T15:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server LOG_BACKUP full</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450422#M11000</link>
      <description>&lt;P&gt;Just heard from the DBA, who tested a shrink operation and had success:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JacobTews_0-1715182458653.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/165721iF4F93F2199C246C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JacobTews_0-1715182458653.png" alt="JacobTews_0-1715182458653.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Seems like maybe this is actually a SQL Server question, not a Replicate one, but if anyone has any thoughts, I'd still like to hear them. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 15:35:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450422#M11000</guid>
      <dc:creator>JacobTews</dc:creator>
      <dc:date>2024-05-08T15:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server LOG_BACKUP full</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450452#M11002</link>
      <description>&lt;P&gt;Is the target in Simple mode or Full/Bulk-logged mode?&amp;nbsp; If it's a target using Replicate to populate the table, I'm not sure I'd keep it in Full mode since you can recover any data loss by rerunning the transactions in Replicate (especially if the target isn't running Tlog backups).&amp;nbsp; This most likely is the reason why the transaction logs are growing.&lt;/P&gt;
&lt;P&gt;You don't say what kind of backups are scheduled (full, transactional, etc.).&amp;nbsp; If the target is in Full recovery mode, then I'd suggest running periodic tlog backups to maintain the size.&amp;nbsp; Or, just run it in simple mode and shrink the tlog periodically if the size is an issue.&amp;nbsp; The shrink (or truncation) will only be effective if all of the transactions are committed (in simple mode) or committed and backed up (in full/bulk-log mode).&amp;nbsp; The caution about shrinking tlogs is that they may cause some system overhead when they grow, because they will grow again, and the only benefit is reclaiming disk space. But again, they will just grow back.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 17:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450452#M11002</guid>
      <dc:creator>PGN</dc:creator>
      <dc:date>2024-05-08T17:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Server LOG_BACKUP full</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450560#M11011</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/223649"&gt;@JacobTews&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/108119"&gt;@PGN&lt;/a&gt;&amp;nbsp;Is correct. Target database act a normal database where Qlik replicate works as a normal Application user it will connect and execute the DML received from QR engine . Tlogs/backup logs housekeeping impact Qr working when SQL server used as a Source.&lt;/P&gt;
&lt;P&gt;So you can have you Tlog backup more frequently and reduce the Tlog/backup logs retention shorter then the Source Sql server.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sushil Kumar&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When SQL server is used as&amp;nbsp;Target.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 01:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/SQL-Server-LOG-BACKUP-full/m-p/2450560#M11011</guid>
      <dc:creator>SushilKumar</dc:creator>
      <dc:date>2024-05-09T01:18:26Z</dc:date>
    </item>
  </channel>
</rss>

