<?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: Impact on Resources When Increasing Logstream Retention Period in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548541#M16260</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/239109"&gt;@shyamkatika&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;As per the Qlik Replicate behavior, the retention settings work with two independent mechanisms. The time-based setting controls how long staging files are retained, and files older than the configured duration are eligible for deletion. The size-based setting acts as a threshold mechanism and is triggered only when the total size of staging files exceeds the defined limit, at which point the oldest files are deleted until the size falls below the threshold.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Retention:&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;Specify when the staging file should be deleted (note that active files will not be deleted):&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="double_indented"&gt;&lt;SPAN class="ui_item"&gt;Delete staging files after (hours):&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Select the check box and specify the maximum time before a file is deleted. Default is 48 hours. Maximum permitted time is 10,000 hours.&lt;/LI&gt;
&lt;LI class="double_indented"&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Delete oldest files when the total size of all staging files exceeds (MB):&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The maximum size that you want to allocate for the staging folder. If the specified size is reached,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Productshort variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will start deleting files from the oldest to the newest until the total size falls below the upper limit.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;A title="Logstream_Endpoint" href="https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Log%20Stream%20Staging/ls2.htm" target="_blank" rel="noopener"&gt;Logstream_Endpoint&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;In your scenario, even if the total size is below the configured limit, files older than the retention period (48 hours) will still be deleted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;However, as noted in the documentation, active files are not deleted. This means that if a file is still being read by a task (e.g., a child task), Replicate will retain it even if it exceeds the retention time, and deletion will occur only after it is no longer in use.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In summary, time-based retention acts as the primary control, size-based cleanup is conditional, and active usage always takes precedence over deletion.&lt;BR /&gt;&lt;BR /&gt;Hope this helps and answers your queries.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sachin B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2026 14:01:23 GMT</pubDate>
    <dc:creator>SachinB</dc:creator>
    <dc:date>2026-05-06T14:01:23Z</dc:date>
    <item>
      <title>Impact on Resources When Increasing Logstream Retention Period</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548414#M16244</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Currently, we have a logstream data retention period set to &lt;STRONG&gt;72 hours&lt;/STRONG&gt;. We are considering increasing this to &lt;STRONG&gt;144 hours&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Could you please help us understand the potential impact of this change on system resources, such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CPU utilization&lt;/LI&gt;&lt;LI&gt;Memory usage&lt;/LI&gt;&lt;LI&gt;Disk/storage consumption&lt;/LI&gt;&lt;LI&gt;Any other relevant parameters or performance considerations&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Additionally, if there are any best practices or recommendations for configuring higher retention periods, please share them.&lt;/P&gt;&lt;P&gt;Thanks in advance for your support!&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2026 11:34:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548414#M16244</guid>
      <dc:creator>shyamkatika</dc:creator>
      <dc:date>2026-05-05T11:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Impact on Resources When Increasing Logstream Retention Period</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548415#M16245</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/239109"&gt;@shyamkatika&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;If we increase the logstream retention from 72 hours to 144 hours, the main impact will be on disk usage. Since we are doubling the retention window, storage consumption will also increase accordingly based on the volume of logs being generated. CPU and memory impact should be minimal, as these are more dependent on active processing rather than how long the logs are retained.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;From a performance standpoint, having a longer retention means more data is available for recovery, but it could also slightly increase the time needed if a task has to catch up from an older point. Cleanup operations might also take a bit longer depending on the volume.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Before making this change, it would be good to ensure there is enough disk space available and to keep an eye on storage growth after the update. As long as storage is planned properly, increasing the retention should not cause any major issues.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sachin B&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2026 12:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548415#M16245</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2026-05-05T12:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Impact on Resources When Increasing Logstream Retention Period</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548510#M16259</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141158"&gt;@SachinB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I have a question regarding how Log Stream retention works in &lt;STRONG&gt;Qlik Replicate&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;If I configure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Retention time = &lt;STRONG&gt;48 hours&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Size limit = &lt;STRONG&gt;100,000 MB&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;What happens in the following scenario?&lt;/P&gt;&lt;P&gt;After 48 hours, the total log stream size is only &lt;STRONG&gt;50,000 MB&lt;/STRONG&gt; (i.e., below the configured size limit)&lt;/P&gt;&lt;P&gt;Will Replicate:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Delete the files immediately because the &lt;STRONG&gt;time limit is reached&lt;/STRONG&gt;, or&lt;/LI&gt;&lt;LI&gt;Retain them until the &lt;STRONG&gt;size limit is also reached&lt;/STRONG&gt;?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In other words, do the time and size settings work as an &lt;STRONG&gt;“OR” condition&lt;/STRONG&gt;, or is there any priority between them?&lt;/P&gt;&lt;P&gt;The reason I’m asking is to understand whether we can retain additional changes in the Log Stream staging layer when the size limit has not yet been reached.&lt;/P&gt;&lt;P&gt;Additionally, I would like to clarify:&lt;/P&gt;&lt;P&gt;If a log stream file is older than 48 hours, but a &lt;STRONG&gt;child task is still reading it&lt;/STRONG&gt;, will Replicate still delete the file, or will it wait until the read operation is completed?&lt;/P&gt;&lt;P&gt;Any clarification on this behavior would be very helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shyam Sundar.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 11:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548510#M16259</guid>
      <dc:creator>shyamkatika</dc:creator>
      <dc:date>2026-05-06T11:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Impact on Resources When Increasing Logstream Retention Period</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548541#M16260</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/239109"&gt;@shyamkatika&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;As per the Qlik Replicate behavior, the retention settings work with two independent mechanisms. The time-based setting controls how long staging files are retained, and files older than the configured duration are eligible for deletion. The size-based setting acts as a threshold mechanism and is triggered only when the total size of staging files exceeds the defined limit, at which point the oldest files are deleted until the size falls below the threshold.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class="ui_item"&gt;Retention:&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;Specify when the staging file should be deleted (note that active files will not be deleted):&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="double_indented"&gt;&lt;SPAN class="ui_item"&gt;Delete staging files after (hours):&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Select the check box and specify the maximum time before a file is deleted. Default is 48 hours. Maximum permitted time is 10,000 hours.&lt;/LI&gt;
&lt;LI class="double_indented"&gt;
&lt;P&gt;&lt;SPAN class="ui_item"&gt;Delete oldest files when the total size of all staging files exceeds (MB):&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;The maximum size that you want to allocate for the staging folder. If the specified size is reached,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="mc-variable Replicate.Productshort variable"&gt;Replicate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;will start deleting files from the oldest to the newest until the total size falls below the upper limit.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;A title="Logstream_Endpoint" href="https://help.qlik.com/en-US/replicate/November2024/Content/Replicate/Main/Log%20Stream%20Staging/ls2.htm" target="_blank" rel="noopener"&gt;Logstream_Endpoint&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;In your scenario, even if the total size is below the configured limit, files older than the retention period (48 hours) will still be deleted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="isSelectedEnd"&gt;&lt;SPAN&gt;However, as noted in the documentation, active files are not deleted. This means that if a file is still being read by a task (e.g., a child task), Replicate will retain it even if it exceeds the retention time, and deletion will occur only after it is no longer in use.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In summary, time-based retention acts as the primary control, size-based cleanup is conditional, and active usage always takes precedence over deletion.&lt;BR /&gt;&lt;BR /&gt;Hope this helps and answers your queries.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sachin B&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2026 14:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Impact-on-Resources-When-Increasing-Logstream-Retention-Period/m-p/2548541#M16260</guid>
      <dc:creator>SachinB</dc:creator>
      <dc:date>2026-05-06T14:01:23Z</dc:date>
    </item>
  </channel>
</rss>

