<?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>article Save over 50% log space by Enabling Windows NTFS Compression in Qlik Sense Documents</title>
    <link>https://community.qlik.com/t5/Qlik-Sense-Documents/Save-over-50-log-space-by-Enabling-Windows-NTFS-Compression/ta-p/1910580</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Recently we’ve been adding a lot of content on our Qlik Sense Enterprise server. This combined with frequent reloads for near real-time data means our ArchivedLog folder is growing fast. With a 1 year retention in place, we’re currently sitting at 32gb. I expect we’ll double this by the end of the year. This may not seem like much but with the current disk space available in our SAN, it’s becoming a problem (There’s not just Qlik that’s growing rapidly).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I looked into multiple solutions such as having a daily/weekly script run to timestamp &amp;amp; zip files and keep them available for audit purposes but I still wanted to have my files available without restoring anything. That’s when I thought about using the almost forgotten feature, NTFS compression. This feature was once seen as bad because CPU power was much more limited than today and we’re now also running on SSDs. Both of these factors have made file compression a non issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I simply navigated to my &lt;EM&gt;ArchivedLog&lt;/EM&gt; directory and enabled file compression (may take a while…). All the files were compressed and I was now using &lt;/SPAN&gt;&lt;STRONG&gt;60%&lt;/STRONG&gt;&lt;SPAN&gt; less space than before with no impact whatsoever on my task durations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please note that you should be attempting this on your &lt;STRONG&gt;Dev&lt;/STRONG&gt; environment first AND that this is better done outside business hours as there is a chance you will encounter file locking while the compression is running for the first time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I like this feature as I have nothing to script and test and I can always turn this off without any issues. None of my app reloads, including the monitoring apps that read log files have increased in load times.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Let me know if your savings are as good or better as mine!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EnableNTFSCompression2.gif" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/76450iE41D7636DA7778DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="EnableNTFSCompression2.gif" alt="EnableNTFSCompression2.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Environment&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise November 2021&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.&lt;/P&gt;
&lt;H3&gt;Related Content&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;Refer to &lt;/SPAN&gt;&lt;A href="https://www.windowscentral.com/how-use-ntfs-compression-windows-10" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;this page&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; for a written guide on enabling file compression.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Apr 2022 13:24:42 GMT</pubDate>
    <dc:creator>MichelLalancette</dc:creator>
    <dc:date>2022-04-06T13:24:42Z</dc:date>
    <item>
      <title>Save over 50% log space by Enabling Windows NTFS Compression</title>
      <link>https://community.qlik.com/t5/Qlik-Sense-Documents/Save-over-50-log-space-by-Enabling-Windows-NTFS-Compression/ta-p/1910580</link>
      <description>&lt;P&gt;Save over 50% log space by Enabling Windows NTFS Compression!&lt;/P&gt;
&lt;P&gt;A scriptless solution to reduce disk space usage.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2022 13:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Sense-Documents/Save-over-50-log-space-by-Enabling-Windows-NTFS-Compression/ta-p/1910580</guid>
      <dc:creator>MichelLalancette</dc:creator>
      <dc:date>2022-04-06T13:24:42Z</dc:date>
    </item>
  </channel>
</rss>

