<?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 Why is join slow? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434152#M172658</link>
    <description>&lt;P&gt;I've seen a lot about not using join subsearches, how it's slow, etc etc. Which proves to be true in practice.&lt;/P&gt;

&lt;P&gt;What I would like to find out is why it is slow. Any insight here would be helpful.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Mar 2019 19:58:39 GMT</pubDate>
    <dc:creator>chirsf</dc:creator>
    <dc:date>2019-03-07T19:58:39Z</dc:date>
    <item>
      <title>Why is join slow?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434152#M172658</link>
      <description>&lt;P&gt;I've seen a lot about not using join subsearches, how it's slow, etc etc. Which proves to be true in practice.&lt;/P&gt;

&lt;P&gt;What I would like to find out is why it is slow. Any insight here would be helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 19:58:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434152#M172658</guid>
      <dc:creator>chirsf</dc:creator>
      <dc:date>2019-03-07T19:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is join slow?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434153#M172659</link>
      <description>&lt;P&gt;I believe it's slow because of the algorithm and virtual memory the join command uses (it basically has to build a Cartesian product of two datasets and then  work from there). With amount of processing and memory consumption often causes the join subsearches to timeout as well. If you've not read it alreadym, here is an excellent Splunk documentation on when to use join and when to use it's alternatives.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.4/Search/Abouteventcorrelation"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.4/Search/Abouteventcorrelation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 22:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434153#M172659</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-03-07T22:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why is join slow?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434154#M172660</link>
      <description>&lt;P&gt;Take a look at these two articles, specifically the posts by @daljeanis :&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/561130/how-to-join-two-tables-where-the-key-is-named-diff.html"&gt;https://answers.splunk.com/answers/561130/how-to-join-two-tables-where-the-key-is-named-diff.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/660008/which-is-the-best-approach-to-join-two-database-ta.html"&gt;https://answers.splunk.com/answers/660008/which-is-the-best-approach-to-join-two-database-ta.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The problem is that &lt;CODE&gt;join&lt;/CODE&gt; is an SQL concept, and Splunk is not a relational database.  The command exists (and works), but its very often not the best approach&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-join-slow/m-p/434154#M172660</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2019-03-08T10:20:18Z</dc:date>
    </item>
  </channel>
</rss>

