<?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: Select endselect utilization of application server in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628831#M1761532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;where is the load&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The SELECT should open up a DB connection and a LOOP when paired with ENDSELECT to select the DB entries. what ever is done in middle would be done while this connection still there with the DB and then it closes only after the ENDSELECT is executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you plan to do too many logic or Application layer logic in between that would keep the open DB access and introduce a delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jul 2013 03:23:11 GMT</pubDate>
    <dc:creator>arindam_m</dc:creator>
    <dc:date>2013-07-23T03:23:11Z</dc:date>
    <item>
      <title>Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628830#M1761531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let say suppose&amp;nbsp; there is a program where in we have below scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;manipulation of data and appending it to internal table ( Now at this point where is the load on application server or database )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion or comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Aarif Baig.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 03:08:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628830#M1761531</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2013-07-23T03:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628831#M1761532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you mean by &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;where is the load&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The SELECT should open up a DB connection and a LOOP when paired with ENDSELECT to select the DB entries. what ever is done in middle would be done while this connection still there with the DB and then it closes only after the ENDSELECT is executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you plan to do too many logic or Application layer logic in between that would keep the open DB access and introduce a delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 03:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628831#M1761532</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-07-23T03:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628832#M1761533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will create a low performance if you do open DB connection between SELECT ... END SELECT statement. Avoid this statement to get better performance of your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 03:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628832#M1761533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-23T03:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628833#M1761534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arindam,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where is the Load?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I meant was that where exactly are we working at this point DB layer or application layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But do you think that will effect the overall time taken to execute a report because if we do the same processing on application layer it will take the same time to do the processing there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 04:22:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628833#M1761534</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2013-07-23T04:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628834#M1761535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not from a perspective of total time taken but its more about the resources blocked. &lt;/P&gt;&lt;P&gt;You could do it both ways. But there will be unnecessary blocking of the DB resources when you are doing a processing in the middle of DB access. Its advisable to finish the DB tasks then carry on with the application server. The only lag time might be the constant switching required to manage the whole execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 04:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628834#M1761535</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-07-23T04:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628835#M1761536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When SELECT is used the load will be on DB server and the database table in the SELECT statement will be open until ENDSELECT gets executed.For manipulations of data with work areas and internal table inside SELECT and ENDSELECT&amp;nbsp; the load will be on application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 05:03:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628835#M1761536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-23T05:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628836#M1761537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aarif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in an ABAP system the ABAP work process is the user of the database. As long as there is no database commit (implicit, when the work process is rolled out at the end of an UI step or by an RFC - or explicit, by a COMMIT WORK), the work process won't 'release' the DB connection.&lt;/P&gt;&lt;P&gt;Therefore it is of no harm to use SELECT ... ENDSELECT with processing in between as compared to reading first everything from database into a internal table and then doing the processing. What might become critical are database changes that are done during a very long running transaction, since here Redo-Logs and DB-Locks might pile up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Randolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 07:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628836#M1761537</guid>
      <dc:creator>former_member184455</dc:creator>
      <dc:date>2013-07-23T07:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628837#M1761538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Randolf,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "the work process won't 'release' the DB connection." that means the database resources will still remain allocated even if we don't use select endselect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 11:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628837#M1761538</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2013-07-23T11:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628838#M1761539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Aarif Baig ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if 3 entries satisfy our requirement using where class criteria in the table then &lt;/P&gt;&lt;P&gt;Select and endselect will hit the database 3 times , if we use " select into table " then it will hit database only once .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 11:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628838#M1761539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-23T11:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628839#M1761540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Madhu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it will not hit database thrice, please check a blog related to this on SCN I will try to find it and will update you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 13:07:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628839#M1761540</guid>
      <dc:creator>aarif_baig</dc:creator>
      <dc:date>2013-07-23T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select endselect utilization of application server</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628840#M1761541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aarif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. A problem that could arise if you have a SELECT ... ENDSELECT running for hours (in this case you should think about packaging anyway) is that on database platforms that keep a before image (table content at moment of first SELECT) the redo logs could overflow when the current or other users modify the database table that is read.&lt;/P&gt;&lt;P&gt;From the application server point of view, the SELECT ... ENDSELECT is more memory-friendly, since it does not load so much data for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Randolf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 14:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-endselect-utilization-of-application-server/m-p/9628840#M1761541</guid>
      <dc:creator>former_member184455</dc:creator>
      <dc:date>2013-07-23T14:46:49Z</dc:date>
    </item>
  </channel>
</rss>

