<?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 problem at Select Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478451#M1060544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2008 13:22:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-07T13:22:22Z</dc:date>
    <item>
      <title>performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478436#M1060529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt; I have a  performance question. Which code can i use instead of this code &lt;/P&gt;&lt;P&gt; " select * from t001a into table it_tp_auth where bukrs in kd_bukrs ". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thus the program runs faster ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 11:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478436#M1060529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-08T11:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478437#M1060530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Specify required fields instead of using *.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478437#M1060530</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2008-09-08T12:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478438#M1060531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;cannot be optimized, as you're already using the primary key. What makes you think that this statement causes problems?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478438#M1060531</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-08T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478439#M1060532</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;select * is taking more time instead specify the fileds u want &lt;/P&gt;&lt;P&gt;to in the select statement .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 09:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478439#M1060532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478440#M1060533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use ' select single * from t001a into table '&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajnesh Dharmat on Sep 9, 2008 2:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 12:30:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478440#M1060533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-09T12:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478441#M1060534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heidi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The optimum solution is to fetch only the necessary fields , with all the key fields and they should be there in the order they are in the database table instead of using the select *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shobana.K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 09:12:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478441#M1060534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T09:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478442#M1060535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; and they should be there in the order they are in the database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still interested in some proof of this statement. Does the order really make a difference, or are you just guessing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 11:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478442#M1060535</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-09-12T11:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478443#M1060536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Select only the required fields from table T001.&lt;/P&gt;&lt;P&gt;Then performance should improve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kumar Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 11:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478443#M1060536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T11:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478444#M1060537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas - I'm pretty sure you're right...in most cases. But this may actually have been true in earlier releases and may also hold true for non-Oracle, non-DB2 databases. But I don't recall seeing any performance advantage in the order in the WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having said that, I generally try to put them in the order of the index I expect to use. This may guide future programmers if problems come up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 13:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478444#M1060537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478445#M1060538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since T001A is fully buffered, it's pointless copying it into an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2008 14:41:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478445#M1060538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-12T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478446#M1060539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that you will get a benchmark of the Believers "SELECT - WHERE orders" - because it's the tradition of a myth : It poped up long before (and maybe with a little truth in it for databases from the stone age - or it was never true) and the myth is hard to eliminate. &lt;/P&gt;&lt;P&gt;And they will spread it out until forever without raising questions about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's more easier than to benchmark &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I never waste any thought about orders of SELECT or WHERE fields.&lt;/P&gt;&lt;P&gt;I do spent a lot of time for ordering the INDEX keys in a meaningful sequence.&lt;/P&gt;&lt;P&gt;Sometimes you can put the most selective field in the front (if IT's a mandatory field in queries - you have the ad-hoc query type that can blow up your efforts for index ordering completly)&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>Mon, 15 Sep 2008 08:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478446#M1060539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-15T08:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478447#M1060540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;that was my estimation. But I go into wrong direction.&lt;/P&gt;&lt;P&gt;I must TC : FB1lN optimize. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I select my interval for company code largely, the program (RFITEMAP) is very slow. What I can make in this report, so that preformance becomes better. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: ( selection criterion )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company code : 1 to 200 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; very slow&lt;/P&gt;&lt;P&gt;company code: 1 ---&amp;gt; normal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My estimation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I write a report, with same selection screen.   In this report&lt;/P&gt;&lt;P&gt;can I call with (Submit) FBL1N and transfer all entered values to FBL1N ?&lt;/P&gt;&lt;P&gt;**************************************************************&lt;/P&gt;&lt;P&gt;report:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report dummy.&lt;/P&gt;&lt;P&gt;tables: lfa.&lt;/P&gt;&lt;P&gt;select-options: bukrs for lfa-bukrs.&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;loop at bukrs into wa_bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT FBL1N  with p_param1 =wa_bukrs.&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***********************************************************&lt;/P&gt;&lt;P&gt; is this realizable ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Heidi Heinzberger on Sep 16, 2008 10:13 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 20:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478447#M1060540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T20:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478448#M1060541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you submit this report with a company code and no other criteria, it will be slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Sep 2008 20:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478448#M1060541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-16T20:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478449#M1060542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt; has someone an idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Heidi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 06:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478449#M1060542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T06:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478450#M1060543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can not believe that there is problem related to the T001a table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table is fully buffered, so it should come from the buffer. Field lists, order or WHERE fields are completely irrelevant in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run it several times and run a SQL trace at the end, if it is still in the SQL trace then there is problem with your buffers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If is come from the buffer then it is fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe 'where bukrs in kd_bukrs' your in condition is empty, then it can happen that it reads fast a lot of things which can need some time, better fill the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually no T-table should appear in the SQL trace, as far as I know they are all buffered!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Example: ( selection criterion )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; company code : 1 to 200 -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; very slow&lt;/P&gt;&lt;P&gt;&amp;gt; company code: 1 ---&amp;gt; normal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like buffer fill, and read from buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: The Order of the fields in the WHERE is irrelevant. Even orders of tables in joins should be irrelevant, but I think there are execptions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:17:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478450#M1060543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-24T07:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: performance problem at Select Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478451#M1060544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;s&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2008 13:22:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-problem-at-select-query/m-p/4478451#M1060544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-07T13:22:22Z</dc:date>
    </item>
  </channel>
</rss>

