<?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>Question Re: Performance difference between Group By V/S Distinct in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/performance-difference-between-group-by-v-s-distinct/qaa-p/12130338#M4532862</link>
    <description>&lt;P&gt;1. &lt;B&gt;GROUP&lt;/B&gt; BY and &lt;B&gt;DISTINCT&lt;/B&gt; both generate the same query execution plan when no aggregates are used.&lt;/P&gt;&lt;P&gt;2. &lt;B&gt;GROUP&lt;/B&gt; &lt;STRONG&gt;BY &lt;/STRONG&gt;becomes important when aggregates are used. &lt;B&gt;DISTINCT&lt;/B&gt; is just for filtering out duplicate records from query result sets.&lt;/P&gt;&lt;P&gt;Based on my understanding, GROUP BY is good during complex scenario compared to DISTINCT.  &lt;/P&gt;</description>
    <pubDate>Mon, 06 Apr 2020 15:14:15 GMT</pubDate>
    <dc:creator>former_member575448</dc:creator>
    <dc:date>2020-04-06T15:14:15Z</dc:date>
    <item>
      <title>Performance difference between Group By V/S Distinct</title>
      <link>https://community.sap.com/t5/technology-q-a/performance-difference-between-group-by-v-s-distinct/qaq-p/12130337</link>
      <description>&lt;P&gt;Could you please let me know is there difference between Group by V/S Distinct from &lt;B&gt;performance &lt;/B&gt;point of view ?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 15:09:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/performance-difference-between-group-by-v-s-distinct/qaq-p/12130337</guid>
      <dc:creator>former_member575448</dc:creator>
      <dc:date>2020-04-06T15:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance difference between Group By V/S Distinct</title>
      <link>https://community.sap.com/t5/technology-q-a/performance-difference-between-group-by-v-s-distinct/qaa-p/12130338#M4532862</link>
      <description>&lt;P&gt;1. &lt;B&gt;GROUP&lt;/B&gt; BY and &lt;B&gt;DISTINCT&lt;/B&gt; both generate the same query execution plan when no aggregates are used.&lt;/P&gt;&lt;P&gt;2. &lt;B&gt;GROUP&lt;/B&gt; &lt;STRONG&gt;BY &lt;/STRONG&gt;becomes important when aggregates are used. &lt;B&gt;DISTINCT&lt;/B&gt; is just for filtering out duplicate records from query result sets.&lt;/P&gt;&lt;P&gt;Based on my understanding, GROUP BY is good during complex scenario compared to DISTINCT.  &lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 15:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/performance-difference-between-group-by-v-s-distinct/qaa-p/12130338#M4532862</guid>
      <dc:creator>former_member575448</dc:creator>
      <dc:date>2020-04-06T15:14:15Z</dc:date>
    </item>
  </channel>
</rss>

