<?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 comparison between Code Pushdown Techniqu... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/performance-comparison-between-code-pushdown-technique-vs-traditional-abap/qaa-p/13908192#M4888997</link>
    <description>&lt;P&gt;cds is for data modeling&lt;/P&gt;&lt;P&gt;barely for performance boost&lt;/P&gt;&lt;P&gt;can you also share the cds code?&lt;/P&gt;</description>
    <pubDate>Sun, 20 Oct 2024 13:03:21 GMT</pubDate>
    <dc:creator>junwu</dc:creator>
    <dc:date>2024-10-20T13:03:21Z</dc:date>
    <item>
      <title>Performance comparison between Code Pushdown Technique vs Traditional ABAP</title>
      <link>https://community.sap.com/t5/technology-q-a/performance-comparison-between-code-pushdown-technique-vs-traditional-abap/qaq-p/13905642</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/1816040"&gt;@everyone&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="harshb863_2-1729365175719.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/181240iF05CA4E250E3E16B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="harshb863_2-1729365175719.png" alt="harshb863_2-1729365175719.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 1 -&lt;/STRONG&gt;&amp;nbsp;&lt;STRONG&gt;When we use code pushdown technique and pushed where conditions to CDS along with Parameterized CDS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 2 - When we use Parameterized CDS but didn't pushed where conditions to CDS&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Case 3 - When we use normal CDS view with pushing where condition to CDS ( All filtering happened on Application layer )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In the above mentioned three cases here are the observations -&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In this scenario I have utilized code pushdown technique and pushed all where condition in CDS and also I am utilizing Parameterized CDS to narrow down data from Database itself but in this scenario when I ran SQL Traces ( &lt;STRONG&gt;Case 1&amp;nbsp;&lt;/STRONG&gt;) it took more time in execution than the scenario where I just utilized parameterized CDS without any where condition (&amp;nbsp;&lt;STRONG&gt;Case 2&amp;nbsp;&lt;/STRONG&gt;) and the fastest execution happened when I utilized normal CDS (&amp;nbsp;&lt;STRONG&gt;Case 3&amp;nbsp;&lt;/STRONG&gt;)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have some open question related to CDS performance tuning as below -&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Is Code pushdown ( &lt;STRONG&gt;with Parameter and where&lt;/STRONG&gt; ) slower than application layer filtering&lt;/LI&gt;&lt;LI&gt;if not then how can we decide when to use parameterized CDS or when to use normal&lt;/LI&gt;&lt;LI&gt;is where on CDS taking more time than application layer filtering&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Looking forward to get the correct understanding..&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/55"&gt;@Andre_Fischer&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/139"&gt;@thomas_jung&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/97"&gt;@RichHeilman&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harshit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 03:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/performance-comparison-between-code-pushdown-technique-vs-traditional-abap/qaq-p/13905642</guid>
      <dc:creator>harshb86371</dc:creator>
      <dc:date>2024-10-20T03:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Performance comparison between Code Pushdown Techniqu...</title>
      <link>https://community.sap.com/t5/technology-q-a/performance-comparison-between-code-pushdown-technique-vs-traditional-abap/qaa-p/13908192#M4888997</link>
      <description>&lt;P&gt;cds is for data modeling&lt;/P&gt;&lt;P&gt;barely for performance boost&lt;/P&gt;&lt;P&gt;can you also share the cds code?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Oct 2024 13:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/performance-comparison-between-code-pushdown-technique-vs-traditional-abap/qaa-p/13908192#M4888997</guid>
      <dc:creator>junwu</dc:creator>
      <dc:date>2024-10-20T13:03:21Z</dc:date>
    </item>
  </channel>
</rss>

