<?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: KV Store size question in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460192#M4083</link>
    <description>&lt;P&gt;Because nothing compresses the backend mongo DB logs, etc on disc. The only way to shrink the kvstore is back it up, clear it and restore.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2019 13:56:45 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2019-12-11T13:56:45Z</dc:date>
    <item>
      <title>KV Store size question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460191#M4082</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;We are trying to automate KV Store backup/restore but there is something I do not understand yet.&lt;/P&gt;
&lt;P&gt;Prior 6.5.3, you had to stop the Search Head, then backup the KV Store directory. (&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.3/Admin/BackupKVstore" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.3/Admin/BackupKVstore&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;Now, there is an handy dedicated command for that which is great. (&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.8/Admin/BackupKVstore" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.8/Admin/BackupKVstore&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I am lost with the size difference thought.&lt;/P&gt;
&lt;P&gt;On our Search Head, KV Store directory weight ~1 GB.&lt;/P&gt;
&lt;P&gt;When I check our KV Store collections from the Monitoring Console, it weights less than 20 MBs total.&lt;/P&gt;
&lt;P&gt;When I try to backup using the backup command, the output weight a few MBs, which fits well with what I see from the Monitoring COnsole.&lt;/P&gt;
&lt;P&gt;So I am wondering why the size difference is so big between both methods. What would I loose if I restore the KV Store with the lightweight few MBs backup to a reconstructed Search Head?&lt;/P&gt;
&lt;P&gt;Any clue ?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 17:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460191#M4082</guid>
      <dc:creator>D2SI</dc:creator>
      <dc:date>2020-06-06T17:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: KV Store size question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460192#M4083</link>
      <description>&lt;P&gt;Because nothing compresses the backend mongo DB logs, etc on disc. The only way to shrink the kvstore is back it up, clear it and restore.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2019 13:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460192#M4083</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-12-11T13:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: KV Store size question</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460193#M4084</link>
      <description>&lt;P&gt;Thanks @starcher !&lt;/P&gt;

&lt;P&gt;It worked like a charm indeed!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 15:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/KV-Store-size-question/m-p/460193#M4084</guid>
      <dc:creator>D2SI</dc:creator>
      <dc:date>2019-12-18T15:40:53Z</dc:date>
    </item>
  </channel>
</rss>

