<?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 tuning checklist in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905659#M1145435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The rest what you write comes from other MUCH MORE QUESTIONABLE resources, which I would not trust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source is here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sorry can't get the link through the content filter...will report as copy/paste&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2008 16:15:21 GMT</pubDate>
    <dc:creator>ThomasZloch</dc:creator>
    <dc:date>2008-12-11T16:15:21Z</dc:date>
    <item>
      <title>performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905654#M1145430</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;im designing a tool for codereview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i would appreciate if checklist of things that i need to validate for code review could be shared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 06:55:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905654#M1145430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T06:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905655#M1145431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the onlly reasonable checks which can be implemented in a tool, are already implemented in the code inspector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All recommendations of the usual lists in the internet, like&lt;/P&gt;&lt;P&gt;+ use FOR ALL ENTRIES instead of joins&lt;/P&gt;&lt;P&gt;+ avoid into corresponding&lt;/P&gt;&lt;P&gt;+ avoid nested loops &lt;/P&gt;&lt;P&gt;+ avoid select * &lt;/P&gt;&lt;P&gt;+ avoid selects inside loops&lt;/P&gt;&lt;P&gt;are highly questionable and never always correct, some are even recommendations to the worse side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you ask in a performance forum, then I can only recommend you review the execution not the coding!&lt;/P&gt;&lt;P&gt;The tools for the execution review are available. Use the code inspector for the rest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfríed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 07:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905655#M1145431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905656#M1145432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 11:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905656#M1145432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905657#M1145433</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;These statements I would consider as highly questionable regarding performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; In SELECT statement, only the required fields are selected in the same order as they reside on the database table/structure/view&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for  SELECT list order isn't important, number of fields and selectivity in the WHERE clause is.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; No SELECT * is used&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it contradicts with the 1st statement, isn't it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Wild cards like u2018A%u2019 is avoided as much as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; depends: a proper Index range scan  will allow for wild cards of type 'A%' ,&lt;/P&gt;&lt;P&gt;an index skip scan access even for '%A'  if you have other WHERE fields with it in the index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;gt; Nested Select is not used instead u201CInner Joinu201D and/or u201CFor all Entriesu201D is used. u201CFor all Entriesu201D is to be used over u201CLoop at ITAB / Select / ENDLOOPu201D (FOR ALL ENTRIES retrieves a unique result set so ensure you retrieve the full key from the database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best .............................................&amp;gt;   worst&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; JOIN  -&amp;gt; NESTED SELECT -&amp;gt; FAE -&amp;gt; LOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;gt; When creating joins over database tables there should be an index at least on the inner table for the fields in the join condition else use u201C FOR ALL ENTRIESu201D select statement&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; The other way round it makes sense: To have no index is better in Join than in FAE. A join scans only once , an FAE table scans n-entries times if no index is availbale. So better have an index in place for BOTH.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;gt; Usage of JOIN is limited to a maximum of 2 i.e. not more than 3 database tables are joined at one time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Think of real complex data models (Amazon, ebay, ...SAP ) do you think they join only 2 tables&lt;/P&gt;&lt;P&gt;to get their data ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;gt;      &lt;/P&gt;&lt;P&gt;&amp;gt; Avoid the aggregate (Count, Max, Min) functions in the database selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; databases are made for this! Think of data buffering - not every time data has to be read from disk&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 13:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905657#M1145433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905658#M1145434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Flavya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is something strange in your answer, the link which you provide goes to a presentation of Uli Marquard, presented at the TechEd. These recommendations I would fully support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rest what you write comes from other MUCH MORE QUESTIONABLE resources, which I would not trust. Yukon Kid has picked some already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link alone whould be a much better answer than the combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 14:10:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905658#M1145434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T14:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905659#M1145435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The rest what you write comes from other MUCH MORE QUESTIONABLE resources, which I would not trust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source is here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;sorry can't get the link through the content filter...will report as copy/paste&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 16:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905659#M1145435</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-12-11T16:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905660#M1145436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The website where it is copy&amp;amp;pasted from has been spaming SDN in the past, so it is blocked by the content filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@ Flavya: I am getting tired of rejecting your posts for being copied or simply wrong. This is your final warning =&amp;gt; read the rules, or you will be banned from the site and your user ID deleted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2008 16:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905660#M1145436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-11T16:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905661#M1145437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Use below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avoid using Select * in the SQL query, select required fields only.&lt;/P&gt;&lt;P&gt;Kindly check the Order of selected fields and Order of where clause in SQL query&lt;/P&gt;&lt;P&gt;Avoid using SELECT within the LOOP statements. Instead, use the READ statement.&lt;/P&gt;&lt;P&gt;Use JOINs instead of NESTED SELECTS &lt;/P&gt;&lt;P&gt;Instead of using WHERE clause in LOOP or READ, try to use it in SELECT itself.&lt;/P&gt;&lt;P&gt;Use Up To 1 rows instead of SELECT SINGLE if all the key fields are not available in the where clause&lt;/P&gt;&lt;P&gt;Use BINARY SEARCH for reading table&lt;/P&gt;&lt;P&gt;Sort internal table by fields for Read with binary search having where clause&lt;/P&gt;&lt;P&gt;Check internal table is not empty before using For All Entries in Internal table&lt;/P&gt;&lt;P&gt;Sort the table with fields before using Delete adjacent duplicates with comparing option&lt;/P&gt;&lt;P&gt;SORT should be used with BY option&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATE should be used with COMPARING option&lt;/P&gt;&lt;P&gt;Check whether Parameter and Select Option of the selection screen are used in the program&lt;/P&gt;&lt;P&gt;Modifying components of an Internal table &lt;/P&gt;&lt;P&gt;Use SELECT &amp;lt;fields&amp;gt; INTO TABLE &amp;lt;internal table&amp;gt; instead of SELECT &amp;lt;fields&amp;gt; INTO CORRESPONDING FIELDS OF TABLE &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Krishna....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905661#M1145437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T14:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905662#M1145438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Avoid using Select * in the SQL query, select required fields only.&lt;/P&gt;&lt;P&gt;Reduce by factor of two at least or forget it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Kindly check the Order of selected fields and Order of where clause in SQL query&lt;/P&gt;&lt;P&gt;better leave earlier in the evening, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Avoid using SELECT within the LOOP statements. Instead, use the READ statement.&lt;/P&gt;&lt;P&gt;o.k, but there is one exception SINGLE RECORD BUFFER tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Use JOINs instead of NESTED SELECTS &lt;/P&gt;&lt;P&gt;yes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Instead of using WHERE clause in LOOP or READ, try to use it in SELECT itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;Use Up To 1 rows instead of SELECT SINGLE if all the key fields are not available in the where clause&lt;/P&gt;&lt;P&gt;o.k., performance unchanged, but can be understood easier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Use BINARY SEARCH for reading table&lt;/P&gt;&lt;P&gt;actually use SORTED tables if possible, if not use standard tables with BINARY SEARCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Sort internal table by fields for Read with binary search having where clause&lt;/P&gt;&lt;P&gt;must be done, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Check internal table is not empty before using For All Entries in Internal table&lt;/P&gt;&lt;P&gt;always&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Sort the table with fields before using Delete adjacent duplicates with comparing option&lt;/P&gt;&lt;P&gt;optional&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; SORT should be used with BY option&lt;/P&gt;&lt;P&gt;actually there is default key which can be o.k.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATE should be used with COMPARING option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether Parameter and Select Option of the selection screen are used in the program&lt;/P&gt;&lt;P&gt;Modifying components of an Internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Use SELECT &amp;lt;fields&amp;gt; INTO TABLE &amp;lt;internal table&amp;gt; instead of SELECT &amp;lt;fields&amp;gt; INTO&lt;/P&gt;&lt;P&gt;&amp;gt; CORRESPONDING FIELDS OF TABLE &amp;lt;internal table&amp;gt;&lt;/P&gt;&lt;P&gt;not comparable, actually does not fit to 1 recommendation, &lt;/P&gt;&lt;P&gt;INTO CORRESPONDING is absolutely no performance problem, it can be used if required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of these recommendations will actually not change the performance which you can really see, &lt;/P&gt;&lt;P&gt;they change the measured time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ The mayor impact comes from slow executions .... no or wrong index!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ To many records read .... wrong WHERE condition, empty FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ Poor usage of buffered tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ Many identical executions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ Slow processing of internal tables, especially in nested processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately there not so easy to check in the coding, but what can be done is in the code inspector.&lt;/P&gt;&lt;P&gt;The rest must be done with the traces on execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Dec 2008 14:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905662#M1145438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-15T14:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905663#M1145439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Dec 2008 15:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905663#M1145439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-16T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905664#M1145440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 09:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905664#M1145440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-19T09:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905665#M1145441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &amp;gt; Use BINARY SEARCH for reading table&lt;/P&gt;&lt;P&gt;&amp;gt; actually use SORTED tables if possible, if not use standard tables with BINARY SEARCH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless there's only a few records, or the key isn't unique, I always use a HASHED table.  I recently switched a program that was using SORTED to using HASHED for a few thousand records in some internal tables being used as buffers, and it was about twice as fast.  Even though most of the actual reads were not using the entire table key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2008 20:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905665#M1145441</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2008-12-19T20:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905666#M1145442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Even though most of the actual reads were not using the entire table key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don't understand that, the key of the HASHED table must be unique. And the hashed read is only fast, if you use the unique key, otherwise it will scan the table sequentially. It will even scan the table, if&lt;/P&gt;&lt;P&gt;your key is something:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUID, field1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where GUID alone is already unique. If the unique key is defined by the two fields, a read with GUID alone will be slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect Hashed tables to be twice as fast only if the table has 5000 or more lines, then also the logarithmic time dependence of the SORTED table grows very very slowly. Twice as fast is o.k., but not the issue, a standard table without binary search would be several orders slower.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Measurements on internal tables: Reads and Loops:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_blogpost" href="https://community.sap.com/" __jive_macro_name="blogpost" modifiedtitle="true" __default_attr="44623"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905666#M1145442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: performance tuning checklist</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905667#M1145443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use for all entries rather than inner join,&lt;/P&gt;&lt;P&gt;dont use nested use&lt;/P&gt;&lt;P&gt;also avoid select single and select *&lt;/P&gt;&lt;P&gt;use parrel processing method&lt;/P&gt;&lt;P&gt;dont give lots of where condition some times it also improved the program load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-tuning-checklist/m-p/4905667#M1145443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:48:57Z</dc:date>
    </item>
  </channel>
</rss>

