<?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: Sort Order and Merge By in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280734#M19320</link>
    <description>&lt;P&gt;For a DATA step merge, sorting before the merge is mandatory. Exception: if the datasets are stored in SPDS, then the sort is done automatically (this does not reduce the overall resource consumption, you just don't need to write and execute the SORT step on your own)&lt;/P&gt;
&lt;P&gt;If you use SAS SQL, no sorting is necessary, as SQL does this on the fly. But there is a big caution: with large datasets, the utilty file of the SQL step can grow out of proportion, and the random accesses to this file will be much less performant than the combined SORT/DATA steps. Perfomance penalties of orders of magnitude have been observed.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2016 12:16:41 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-06-28T12:16:41Z</dc:date>
    <item>
      <title>Sort Order and Merge By</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280725#M19319</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have 2 datasets. On these 2 datasets we are performing some merge operations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What will be impact if&lt;/P&gt;&lt;P&gt;1. input data sets are in Sorted order&lt;/P&gt;&lt;P&gt;2. Input data sets are not in sorted order&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 11:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280725#M19319</guid>
      <dc:creator>yudhishtirb</dc:creator>
      <dc:date>2016-06-28T11:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Order and Merge By</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280734#M19320</link>
      <description>&lt;P&gt;For a DATA step merge, sorting before the merge is mandatory. Exception: if the datasets are stored in SPDS, then the sort is done automatically (this does not reduce the overall resource consumption, you just don't need to write and execute the SORT step on your own)&lt;/P&gt;
&lt;P&gt;If you use SAS SQL, no sorting is necessary, as SQL does this on the fly. But there is a big caution: with large datasets, the utilty file of the SQL step can grow out of proportion, and the random accesses to this file will be much less performant than the combined SORT/DATA steps. Perfomance penalties of orders of magnitude have been observed.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2016 12:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280734#M19320</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-28T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Order and Merge By</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280985#M19323</link>
      <description>Addition to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; exception list: implicit sort is also being done for SPDE and most SAS/ACCESS to RDBMS engines.</description>
      <pubDate>Wed, 29 Jun 2016 06:33:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280985#M19323</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-06-29T06:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sort Order and Merge By</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280986#M19324</link>
      <description>Addition to &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt; exception list: implicit sort is also being done for SPDE and most SAS/ACCESS to RDBMS engines.</description>
      <pubDate>Wed, 29 Jun 2016 06:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Sort-Order-and-Merge-By/m-p/280986#M19324</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-06-29T06:33:50Z</dc:date>
    </item>
  </channel>
</rss>

