<?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: PERFORMANCE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536790#M575836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can improve performance by optimizing your SELECT statements in your program. You can use the ST05 transaction to see what SELECT staterments are performing badly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 09:28:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-23T09:28:49Z</dc:date>
    <item>
      <title>PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536788#M575834</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;We have to get data from GLPCA, which is having lakhs of records. Taking lot of time to run. Is there any method to improve the performance??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Select query follows the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:23:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536788#M575834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536789#M575835</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;The best way to increase the performance is &lt;/P&gt;&lt;P&gt;using all the primary keys in the where clause of a select statement and u can also specify the indexes if exists for that table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:28:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536789#M575835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536790#M575836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can improve performance by optimizing your SELECT statements in your program. You can use the ST05 transaction to see what SELECT staterments are performing badly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536790#M575836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536791#M575837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some of my favs at SDN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Welcome to the Performance Forum! &lt;/P&gt;&lt;P&gt;/people/joerg.nalik/blog/2005/08/04/welcome-to-the-performance-forum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Analyzing performance problems on a production system &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/markus.kohler/blog/2006/09/14/analyzing-performance-problems-on-a-production-system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Performance improvement hints: date, time, timestamps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/harry.dietz/blog/2005/10/11/performance-improvement-hints-date-time-timestamps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Performance of Nested Loops &lt;/P&gt;&lt;P&gt;/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Performance improvement hints 4: loop at itab where... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/harry.dietz/blog/2005/11/03/performance-improvement-hints-4-loop-at-itab-where&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Query Performance, Pareto, Goldratt's TOC &amp;amp; Me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/vikash.agrawal/blog/2006/11/15/query-performance-pareto-goldratt146s-toc-me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Query Performance &amp;#150; Is "Aggregates" the way out for me? &lt;/P&gt;&lt;P&gt;/people/vikash.agrawal/blog/2006/04/17/query-performance-150-is-aggregates-the-way-out-for-me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Performance Tuning - an overlooked activity &lt;/P&gt;&lt;P&gt;/people/hema.rao/blog/2006/09/25/performance-tuning--an-overlooked-activity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Performance improvement hints 3: internal table - fill and read &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/harry.dietz/blog/2005/10/28/performance-improvement-hints-3-internal-table--fill-and-read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: When Old Data Affects Performance. And When Not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/helmut.stefani/blog/2006/02/13/when-old-data-affects-performance-and-when-not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Getting Through the Maze of Query Performance Improvement&amp;#150;a Quantitative Approach &lt;/P&gt;&lt;P&gt;/people/vikash.agrawal/blog/2006/10/19/getting-through-the-maze-of-query-performance-improvement150a-quantitative-approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Using Field Symbols in Loop Statements - Performance Boost? &lt;/P&gt;&lt;P&gt;/people/rich.heilman2/blog/2006/03/07/using-field-symbols-in-loop-statements--performance-boost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Query Optimization &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/prakash.darji/blog/2006/01/26/query-optimization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Internal table - fill and read: how to measure &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/harry.dietz/blog/2005/12/12/internal-table--fill-and-read-how-to-measure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Query Creation Checklist &lt;/P&gt;&lt;P&gt;/people/prakash.darji/blog/2006/01/27/query-creation-checklist&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Simple ABAP Benchmark &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/sergio.ferrari2/blog/2006/01/18/simple-abap-benchmark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: The power of the "Code Inspector" &lt;/P&gt;&lt;P&gt;/people/community.user/blog/2006/11/30/the-power-of-the-147code-inspector148&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Parallel Processing in ABAP &lt;/P&gt;&lt;P&gt;/people/naresh.pai/blog/2005/06/16/parallel-processing-in-abap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/nitzan.levi/blog/2004/10/03/code-review-150-it146s-a-kind-of-magic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP Network Blog: Writing Optimized query-Basic &lt;/P&gt;&lt;P&gt;/people/puru.govind/blog/2006/09/21/writing-optimized-query-basic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SDN WIKI&lt;/P&gt;&lt;P&gt;&lt;A href="https://wiki.sdn.sap.com/wiki/display/HOME/ABAP" target="test_blank"&gt;https://wiki.sdn.sap.com/wiki/display/HOME/ABAP&lt;/A&gt;&lt;EM&gt;Performance&lt;/EM&gt;and+Tuning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ABhay Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 09:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536791#M575837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536792#M575838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I clearly mentioned i am using index fields in select query and in select clause it has only few which are needed ( reducing data transfer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what are other options by which I can improve the performance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 10:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536792#M575838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T10:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536793#M575839</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;If yo ualreayd have INDICES on the table then try to use AS MANY FIELDS IN THE WHERE CLUASE as you have in the INDEX. Also make sure that you give the fields in the WHERE CLAUSE in the same sequnce as the sequence you used to define the INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From LEFT TO RIGHT you should not leave any GAP in the fields that you are using in the WHERE CLAUSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you have 1 2 3 4 as fields of index then make sure you put 1 2 3 4 in the same sequence with out missing any field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of fields you use in WHERE CLAUSE and the sequence in which you use decides the INDEX being used or ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also make your query as simple as possible my pushing all the DATA ANALYSIS to ABAP programming and keeping the query simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 10:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536793#M575839</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-23T10:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536794#M575840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I confirm my query includes all key fields of a seconday index fully and i maintained the same sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one concern is I've used an aggreagate function SUM on one field by using Grouping clause...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any inputs other than index related..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Praneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 11:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536794#M575840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T11:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536795#M575841</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;Since you have used Aggregate function, which requires an analysis at the database side, there is a high chance that your INDEX is not used and a table scan is forced.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you do your SUM using the internal table operation SUM instead of doing it in the SELECT query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from this I dont see any other options of improvement for your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 11:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536795#M575841</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-23T11:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536796#M575842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u said is right. At the same time if I do grouping I am able to retrieve 1400+ records among lakhs of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I follow ur suggestion, then I need to retrieve the lakhs of records from database (which increases data transfer volume ) then I need to process them to have SUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't u think what I am doing is right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct me if I am wrong!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536796#M575842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T05:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536797#M575843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Praneet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just some additional info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a selection screen and selecting the data based on the values given in the selection screen?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do one thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Get all the data into the internal table using only the primary keys or fields in index in the where clause(don't give the selection screen fields here if they are not a primary keys or index fields).&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have all the data in the internal table irrespective of the fields in the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now loop at the internal table and delete the records which are not w.r.t the values given in the selection screen.This way now you will have only the records w.r.t the values in the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definitely improve the performance.Generally we tend to fetch the data w.r.t the selection screen fields in the where clause of the select statement.When these selection-screen fields are neither a primary key nor an index field then it will drastically reduce the performance.So,always see to that in the where clause of the select statement we provide only primary  key fields or index fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536797#M575843</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-07-24T05:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: PERFORMANCE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536798#M575844</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;If there is no other way to ristrict the number of records to read from the database then I advise you to go ahead and use the Aggregate function if it can reduce your number of records since memory is also one concern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can reduce the number of records by using something else in the WHERE clause that is also advised, but gettnig lacks of records into the program is not advised since this can lead to dumps at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more option is to use SELECT ENDSELCT along with PACKAGE SIZE option to get the data in some packets and process them, but this will again reduce the DB performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 05:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance/m-p/2536798#M575844</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-24T05:20:09Z</dc:date>
    </item>
  </channel>
</rss>

